]> sourceware.org Git - glibc.git/blame - ChangeLog
Split arch-fork.h from fork.h
[glibc.git] / ChangeLog
CommitLineData
def4bcb2
RM
12014-05-16 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5 Don't do #include_next.
6 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8 Don't do #include_next.
9 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13
c72399fb
AM
142014-05-16 Allan McRae <allan@archlinux.org>
15
d51d659d
AM
16 * po/sv.po: Update Swedish translation from translation project.
17
c72399fb
AM
18 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19 in sed expression.
20
d0583c40
AJ
212014-05-16 Aurelien Jarno <aurelien@aurel32.net>
22
23 [BZ #16917]
24 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25 errno if the TIOCGPTN ioctl fails with an error different than
26 EINVAL.
27 * login/tst-ptsname.c: New file.
28 * login/Makefile (tests): Add tst-ptsname.
29
d16e6ec7
AJ
30 [BZ #16943]
31 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32 and prlimit64.
33
cf26a0cb
SP
342014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35
36 [BZ #16849]
37 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38 herrno to return EAI_AGAIN.
39
5675da1e
RM
402014-05-14 Roland McGrath <roland@hack.frob.com>
41
a5d87b3d
RM
42 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
43 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
54 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
56 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
57 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
58 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
60 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
62 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
63 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
64 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
65 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
66 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
68 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
70 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
71 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
72 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
73 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
74 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
75 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
76 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77 Moved ...
78 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
79 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
80 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
81 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
83 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
85 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
86 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
87 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
88 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
89 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
90 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
91 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
93 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
94 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
95 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
96 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
97 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
98 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
99 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
100 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
102 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
104 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
106 Moved ...
107 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
109 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
111 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
115 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
121 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
125 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
127 Moved ...
128 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
131
039890a6
RM
132 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
133 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
134 (libpthread-sysdep_routines): Add elision-related stuff here instead.
135 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
136 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
138 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
139 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
140 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
141 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
142 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
143 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
144 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
145 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
146 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
147 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
148 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
150 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
151 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
152 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
153 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
154 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
155 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
156 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
157 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
158 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
162 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
163
65c89320
RM
164 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
165 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
166
348f8e8c
RM
167 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
168 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
169 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
170 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
171 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
172 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
173 Moved ...
174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
175 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
176 Moved ...
177 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
178 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
179 Moved ...
180 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
181 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
182 Moved ...
183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
184 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
185 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
186 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
187 Moved ...
188 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
189 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
190 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
191 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
192 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
193 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
194 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
196 Moved ...
197 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
198 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
199 Moved ...
200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
201 ... here.
202 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
203 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
204 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
205 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
207 Moved ...
208 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
209 ... here.
210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
211 Moved ...
212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
213 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
214 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
215 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
216 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
217 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
218 Moved ...
219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
220 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
221 Moved ...
222 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
223 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
224 Moved ...
225 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
226 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
227 Moved ...
228 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
229 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
230 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
231 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
232 Moved ...
233 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
234 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
235 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
236 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
238 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
239 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
241 Moved ...
242 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
243 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
244 Moved ...
245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
246 ... here.
247 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
248 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
249 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
250 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
252 Moved ...
253 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
254 ... here.
255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
256 Moved ...
257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
258 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
259 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
260 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
261 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
262 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
263 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
264 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
265 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
266 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
267 Moved ...
268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
270 Moved ...
271 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
272 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
273 Moved ...
274 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
275 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
276 Moved ...
277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
278 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
279 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
280 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
281 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
282 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
283 Moved ...
284 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
285 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
286 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
287 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
289 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
290 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
292 Moved ...
293 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
295 Moved ...
296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
297 ... here.
298 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
299 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
300 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
301 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
302 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
303 Moved ...
304 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
305 ... here.
306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
307 Moved ...
308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
309 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
310 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
311 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
312 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
313 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
314 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
315 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
316 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
317 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
318 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
319
5085af05
RM
320 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
321 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
322
708f0813
RM
323 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
324 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
325
c96067bc
RM
326 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
327 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
328 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
329 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
330 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
331 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
332 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
333 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
334 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
335 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
336 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
337 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
338 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
339 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
340 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
341 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
342 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
343 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
344 Moved ...
345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
346 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
347 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
348 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
349 Moved ...
350 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
351 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
352 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
353 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
354 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
356 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
358 Moved ...
359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
361 Moved ...
362 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
363 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
364 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
368 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
369 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
370 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
371 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
372 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
373 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
374 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
375 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
376 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
377 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
378 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
379
ec136444
RM
380 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
381 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
382 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
383 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
384 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
385
2fbdf533
RM
386 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
387 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
388 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
389 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
390 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
391 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
392 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
393 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
394 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
395 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
396
4c68138b
RM
397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
399
4eaae765
RM
400 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
401 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
402 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
403 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
404 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
405 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
406 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
407 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
408 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
409 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
410 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
411 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
412 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
413 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
414 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
415 Update #include.
416 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
417 Likewise.
418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
419 Likewise.
420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
421 Likewise.
422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
423 Likewise.
424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
425 Likewise.
426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
427 Likewise.
428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
429 Likewise.
430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
431 Likewise.
432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
433 Likewise.
4ef6befa
RM
434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
439 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
444 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 449
941d7dfd
RM
450 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
451 that was previously under [RESET_PID].
452 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
453 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
454 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
455
1b731c35
RM
456 * sysdeps/i386/nptl/Implies: New file.
457 * sysdeps/x86_64/nptl/Implies: New file.
458 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
459 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
460 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
461 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
462
e2787137
RM
463 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
464 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
465 (__libc_vfork): New strong alias.
466 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
467 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
468
469 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
470 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
471 (__libc_vfork): New strong alias.
472 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
473 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
474
5675da1e
RM
475 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
476 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
477 (__libc_vfork): New strong alias.
478 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
479 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
480 * nptl/pt-vfork.c: New file.
481 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
482 (libpthread: GLIBC_2.20): New version set (empty).
483
4f02e2b8
WN
4842014-05-14 Will Newton <will.newton@linaro.org>
485
486 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
487 rather than #if.
488
0bf061d3
JM
4892014-05-14 Joseph Myers <joseph@codesourcery.com>
490
1a84c3d6
JM
491 [BZ #16564]
492 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
493 arguments with exponent 65 or above.
494 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
495 arguments 0x1p113L or above.
496 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
497 to arguments 0x1p107L or above.
498 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
499 positive arguments with exponent 65 or above.
500 * math/auto-libm-test-in: Add more tests of log1p.
501 * math/auto-libm-test-out: Regenerated.
502
01dbacd2
JM
503 [BZ #16928]
504 * math/s_cacos.c (__cacos): Ensure zero real part of result from
505 non-finite arguments is +0.
506 * math/s_cacosf.c (__cacosf): Likewise.
507 * math/s_cacosl.c (__cacosl): Likewise.
508 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
509 * sysdeps/i386/fpu/libm-test-ulps: Update.
510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
511
913d03c8
JM
512 [BZ #16927]
513 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
514 value.
515 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
516 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
517 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
518 for explicit high bit of mantissa when testing for argument equal
519 to 1.
520 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
521 * sysdeps/i386/fpu/libm-test-ulps: Update.
522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
523
0bf061d3
JM
524 [BZ #16516]
525 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
526 (__erf): Scale by 16 instead of 8 in potentially underflowing
527 case. Ensure exception if result actually underflows.
528 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
529 (__erff): Scale by 16 instead of 8 in potentially underflowing
530 case. Ensure exception if result actually underflows.
531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
532 (efx8): Remove variable.
533 (__erfl): Scale by 16 instead of 8 in potentially underflowing
534 case. Ensure exception if result actually underflows.
535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
536 (efx8): Remove variable.
537 (__erfl): Scale by 16 instead of 8 in potentially underflowing
538 case. Ensure exception if result actually underflows.
539 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
540 (efx8): Remove variable.
541 (__erfl): Scale by 16 instead of 8 in potentially underflowing
542 case. Ensure exception if result actually underflows.
543 * math/auto-libm-test-in: Add more tests of erf.
544 * math/auto-libm-test-out: Regenerated.
545
73ba67cb
AS
5462014-05-14 Andreas Schwab <schwab@suse.de>
547
3d8c8bff
AS
548 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
549 Remove code conditionalized on USE___THREAD.
550
73ba67cb
AS
551 * config.h.in (HAVE_PT_CHOWN): Define as 0.
552 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
553 not definedness.
554
5c521ecd
JM
5552014-05-14 Joseph Myers <joseph@codesourcery.com>
556
5e7698c6
JM
557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
558 Define unconditionally.
559 (__ASSUME_O_CLOEXEC): Likewise.
560 (__ASSUME_SOCK_CLOEXEC): Likewise.
561 (__ASSUME_IN_NONBLOCK): Likewise.
562 (__ASSUME_PIPE2): Likewise.
563 (__ASSUME_EVENTFD2): Likewise.
564 (__ASSUME_SIGNALFD4): Likewise.
565 (__ASSUME_DUP3): Likewise.
566 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
567 (__ASSUME_DUP3): Do not define.
568 (__ASSUME_EVENTFD2): Likewise.
569 (__ASSUME_IN_NONBLOCK): Likewise.
570 (__ASSUME_O_CLOEXEC): Likewise.
571 (__ASSUME_PIPE2): Likewise.
572 (__ASSUME_SIGNALFD4): Likewise.
573 (__ASSUME_SOCK_CLOEXEC): Likewise.
574 (__ASSUME_UTIMES): Undefine.
575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
576 (__ASSUME_UTIMES): Do not define.
577 (__ASSUME_O_CLOEXEC): Likewise.
578 (__ASSUME_SOCK_CLOEXEC): Likewise.
579 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
580 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
581 0x020621].
582 (__ASSUME_PIPE2): Likewise.
583 (__ASSUME_EVENTFD2): Likewise.
584 (__ASSUME_SIGNALFD4): Likewise.
585 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
586 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
587 Do not define.
588 (__ASSUME_EVENTFD2): Likewise.
589 (__ASSUME_SIGNALFD4): Likewise.
590 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
591 (__ASSUME_32BITUIDS): Likewise.
592 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
593 (__ASSUME_IPC64): Likewise.
594 (__ASSUME_ST_INO_64_BIT): Likewise.
595 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
596 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
597 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
598 (__ASSUME_UTIMES): Do not define.
599 (__ASSUME_PSELECT): Likewise.
600 (__ASSUME_PPOLL): Likewise.
601 (__ASSUME_O_CLOEXEC): Likewise.
602 (__ASSUME_SOCK_CLOEXEC): Likewise.
603 (__ASSUME_IN_NONBLOCK): Likewise.
604 (__ASSUME_PIPE2): Likewise.
605 (__ASSUME_EVENTFD2): Likewise.
606 (__ASSUME_SIGNALFD4): Likewise.
607 (__ASSUME_DUP3): Likewise.
608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
609 (__ASSUME_UTIMES): Likewise.
610 (__ASSUME_O_CLOEXEC): Likewise.
611 (__ASSUME_SOCK_CLOEXEC): Likewise.
612 (__ASSUME_IN_NONBLOCK): Likewise.
613 (__ASSUME_PIPE2): Likewise.
614 (__ASSUME_EVENTFD2): Likewise.
615 (__ASSUME_SIGNALFD4): Likewise.
616 (__ASSUME_DUP3): Likewise.
617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
618 (__ASSUME_UTIMES): Likewise.
619 (__ASSUME_O_CLOEXEC): Likewise.
620 (__ASSUME_SOCK_CLOEXEC): Likewise.
621 (__ASSUME_IN_NONBLOCK): Likewise.
622 (__ASSUME_PIPE2): Likewise.
623 (__ASSUME_EVENTFD2): Likewise.
624 (__ASSUME_SIGNALFD4): Likewise.
625 (__ASSUME_DUP3): Likewise.
626 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
627 Likewise.
628 (__ASSUME_UTIMES): Likewise.
629 (__ASSUME_EVENTFD2): Likewise.
630 (__ASSUME_SIGNALFD4): Likewise.
631 * sysdeps/unix/sysv/linux/tile/kernel-features.h
632 (__ASSUME_O_CLOEXEC): Likewise.
633 (__ASSUME_SOCK_CLOEXEC): Likewise.
634 (__ASSUME_IN_NONBLOCK): Likewise.
635 (__ASSUME_PIPE2): Likewise.
636 (__ASSUME_EVENTFD2): Likewise.
637 (__ASSUME_SIGNALFD4): Likewise.
638 (__ASSUME_DUP3): Likewise.
639 (__ASSUME_UTIMES): Undefine.
640
5c521ecd
JM
641 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
642 feclearexcept. Remove symbol versioning code.
643 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
644 symbol versioning code.
645 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
646 symbol versioning code.
647 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
648 feupdateenv. Remove symbol versioning code.
649 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
650 fegetexceptflag. Remove symbol versioning code.
651 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
652 fesetexceptflag. Remove symbol versioning code.
653 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
654 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
655 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
656 (__posix_fadvise64_l32): Remove prototype.
657 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
658 code.
659
5da9dfad
RM
6602014-05-13 Roland McGrath <roland@hack.frob.com>
661
662 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
663 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
664 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
665 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
666
893b4f37
SK
6672014-05-13 Sami Kerola <kerolasa@iki.fi>
668
669 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
670 current working directory
671
e0db6517
RM
6722014-05-13 Roland McGrath <roland@hack.frob.com>
673
58aa195d
RM
674 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
675 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
676 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
677 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
678 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
679 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
680 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
682 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
684 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
686 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
688 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
690 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
692 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
694 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
696 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
698 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
699 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
700 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
701 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
702 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
703 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
704 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
705 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
706 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
707 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
708 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
709 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
710 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
711 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
712 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
713 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
714 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
715 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
716
8c6d01f0
RM
717 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
718 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
719
720 * sysdeps/unix/sysv/linux/arm/Makefile
721 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
722 Add rt-aeabi_unwind_cpp_pr1.
723 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
724 Add nptl-aeabi_unwind_cpp_pr1.
725 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
726 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
727 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
728 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
729 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
730 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
731
732 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
733 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
734 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
735 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
736
bba6da4e
RM
737 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
738 Deconditionalize the code that was previously under [RESET_PID].
739 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
740
e0db6517
RM
741 * sysdeps/generic/exit-thread.h: New file.
742 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
743 * include/unistd.h (__exit_thread): Remove declaration.
744 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
745 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
746 * csu/libc-start.c: Include <exit-thread.h>.
747 (LIBC_START_MAIN): Pass no argument to __exit_thread.
748 * nptl/pthread_create.c: Include <exit-thread.h>.
749 (start_thread): Call __exit_thread in place of __exit_thread_inline.
750 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
751 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
752 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
753 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
754 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
755 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
756 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
757 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
758 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
759 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
760 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
761 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
762 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
763 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
764 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
765 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
766
01eb16fd
AS
7672014-05-13 Andreas Schwab <schwab@suse.de>
768
769 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
770
637461d9
JM
7712014-05-12 Joseph Myers <joseph@codesourcery.com>
772
773 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
774 (__ASSUME_UTIMES): Do not condition on kernel version.
775 (__ASSUME_PSELECT): Define unconditionally.
776 (__ASSUME_PPOLL): Likewise.
777 (__ASSUME_ATFCTS): Likewise.
778 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
779 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
780 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
781 (__ASSUME_UTIMENSAT): Define unconditionally.
782 (__ASSUME_PRIVATE_FUTEX): Likewise.
783 (__ASSUME_FALLOCATE): Likewise.
784 (__ASSUME_O_CLOEXEC): Likewise.
785 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
786 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
787 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
788 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
789 (__ASSUME_IN_NONBLOCK): Likewise.
790 (__ASSUME_PIPE2): Likewise.
791 (__ASSUME_EVENTFD2): Likewise.
792 (__ASSUME_SIGNALFD4): Likewise.
793 (__ASSUME_DUP3): Likewise.
794 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
795 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
796 (__ASSUME_AT_RANDOM): Likewise.
797 (__ASSUME_PREADV): Likewise.
798 (__ASSUME_PWRITEV): Likewise.
799 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
800 (__ASSUME_F_GETOWN_EX): Define unconditionally.
801 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
802 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
803 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
804 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
805 (__ASSUME_O_CLOEXEC): Define unconditionally.
806 (__ASSUME_PSELECT): Do not undefine conditionally.
807 (__ASSUME_PPOLL): Likewise.
808 (__ASSUME_ATFCTS): Likewise.
809 (__ASSUME_SET_ROBUST_LIST): Likewise.
810 (__ASSUME_UTIMENSAT): Likewise.
811 (__ASSUME_FDATASYNC): Define unconditionally.
812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
813 (__ASSUME_SIGFRAME_V2): Likewise.
814 )__ASSUME_EVENTFD2): Likewise.
815 (__ASSUME_SIGNALFD4): Likewise.
816 (__ASSUME_PSELECT): Do not undefine conditionally.
817 (__ASSUME_PPOLL): Likewise.
818 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
819 (__ASSUME_PSELECT): Define unconditionally.
820 (__ASSUME_PPOLL): Likewise.
821 (__ASSUME_O_CLOEXEC): Likewise.
822 (__ASSUME_SOCK_CLOEXEC): Likewise.
823 (__ASSUME_IN_NONBLOCK): Likewise.
824 (__ASSUME_PIPE2): Likewise.
825 (__ASSUME_EVENTFD2): Likewise.
826 (__ASSUME_SIGNALFD4): Likewise.
827 (__ASSUME_DUP3): Likewise.
828 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
829 (__ASSUME_O_CLOEXEC): Likewise.
830 (__ASSUME_SOCK_CLOEXEC): Likewise.
831 (__ASSUME_IN_NONBLOCK): Likewise.
832 (__ASSUME_PIPE2): Likewise.
833 (__ASSUME_EVENTFD2): Likewise.
834 (__ASSUME_SIGNALFD4): Likewise.
835 (__ASSUME_DUP3): Likewise.
836 * sysdeps/unix/sysv/linux/mips/kernel-features.h
837 (__ASSUME_EVENTFD2): Likewise.
838 (__ASSUME_SIGNALFD4): Likewise.
839 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
840
315eb1d8
AS
8412014-05-12 Andreas Schwab <schwab@suse.de>
842
843 [BZ #16932]
844 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
845 (_nss_nis_gethostbyname4_r): Return error if item length is larger
846 than maximum RPC packet size.
847 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
848 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
849 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
850 (_nss_nis_getservbyport_r): Likewise.
851
91df99f7
WN
8522014-05-12 Will Newton <will.newton@linaro.org>
853
854 * malloc/Makefile (tests): Add tst-mallopt.
855 * malloc/tst-mallopt.c: New file.
856
0a982a29
RM
8572014-05-09 Roland McGrath <roland@hack.frob.com>
858
859 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
860 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
861
0ded08a5
AZ
8622014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
863
864 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
865 (tst-tlsmod6.so): Likewise.
866
55d4d550
RM
8672014-05-09 Roland McGrath <roland@hack.frob.com>
868
869 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
870
77d08aca
JM
8712014-05-09 Joseph Myers <joseph@codesourcery.com>
872
873 [BZ #16064]
874 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
875 and <dl-procinfo.h>.
876 (__fegetenv): Save SSE state in envp->__eip if supported.
877 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
878 envp->__eip if supported.
879 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
880 and <dl-procinfo.h>.
881 (__fesetenv): Always set __eip, __cs_selector, __opcode,
882 __data_offset and __data_selector in environment to 0. Set SSE
883 state if supported.
884 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
885 test-fenv-sse.
886 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
887 -mfpmath=sse.
888 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
889
28162f4d
WN
8902014-05-09 Will Newton <will.newton@linaro.org>
891
892 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
893 and libc_relro_required for ARM.
894 * sysdeps/arm/preconfigure: Regenerate.
895
5a414ff7
DV
8962014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
897 Stefan Liebler <stli@linux.vnet.ibm.com>
898
899 * config.make.in (enable-lock-elision): New Makefile variable.
900 * configure.ac: Likewise.
901 * configure: Regenerate.
902 * sysdeps/s390/configure.ac:
903 Add check for gcc transactions support.
904 * sysdeps/s390/configure: Regenerate.
905 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
906 Build elision files if enabled.
907 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
908 Add lock elision support for s390.
909 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
910 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
911 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
912 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
913 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
914 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
915 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
916 Likewise.
917 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
918 Likewise.
919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
920 Likewise.
921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
922 Likewise.
923 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
924 (__lll_timedlock_elision, __lll_lock_elision)
925 (__lll_unlock_elision, __lll_trylock_elision)
926 (lll_timedlock_elision, lll_lock_elision)
927 (lll_unlock_elision, lll_trylock_elision): Add.
928 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
929 (pthread_mutex_t): Add lock elision support for s390.
930
c0c08d02
W
9312014-05-14 Wilco <wdijkstr@arm.com>
932
933 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
934 * sysdeps/arm/fedisblxcpt.c: Likewise.
935 * sysdeps/arm/feenablxcpt.c: Likewise.
936 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
937 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
938 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
939 Call optimized (libc_fesetenv_vfp).
940 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
941 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
942 Call optimized (libc_feupdateenv_vfp).
943 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
944 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
945 writes.
946 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
947 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
948
1a2f40e5
W
9492014-05-14 Wilco <wdijkstr@arm.com>
950
951 * sysdeps/arm/fclrexcpt.c: Cleanup.
952 * sysdeps/arm/fedisblxcpt.c: Cleanup.
953 * sysdeps/arm/feenablxcpt.c: Cleanup.
954 * sysdeps/arm/fegetenv.c: Cleanup.
955 * sysdeps/arm/fegetexcept.c: Cleanup.
956 * sysdeps/arm/fegetround.c: Cleanup.
957 * sysdeps/arm/feholdexcpt.c: Cleanup.
958 * sysdeps/arm/fesetenv.c: Cleanup.
959 * sysdeps/arm/fesetround.c: Cleanup.
960 * sysdeps/arm/feupdateenv.c: Cleanup.
961 * sysdeps/arm/fgetexcptflg.c: Cleanup.
962 * sysdeps/arm/fraiseexcpt.c: Cleanup.
963 * sysdeps/arm/fsetexcptflg.c: Cleanup.
964 * sysdeps/arm/ftestexcept.c: Cleanup.
965 * sysdeps/arm/get-rounding-mode.h: Cleanup.
966 * sysdeps/arm/setfpucw.c: Cleanup.
967
f63c86fe
WN
9682014-05-09 Will Newton <will.newton@linaro.org>
969
970 * sysdeps/arm/armv7/strcmp.S: New file.
971 * NEWS: Mention addition of ARMv7 optimized strcmp.
972
7a1a51b5
RM
9732014-05-08 Roland McGrath <roland@hack.frob.com>
974
95afbbe5
RM
975 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
976 look for %.ac rather than %.in.
977
978 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
979 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
980 * sysdeps/mach/hurd/configure: Regenerated.
981 * sysdeps/unix/sysv/linux/configure: Regenerated.
982
7a1a51b5
RM
983 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
984
5057ad3b
SE
9852014-05-07 Steve Ellcey <sellcey@mips.com>
986
987 [BZ# 16922]
988 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
989 (LONG_SUB): Ditto.
990 (PTR_SUB): Ditto.
991
8dc97517
AS
9922014-05-07 Andreas Schwab <schwab@suse.de>
993
994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
995 when skipping over non-matching result from nscd.
996
ce0c5b8f
OB
9972014-05-07 Ondřej Bílka <neleai@seznam.cz>
998
999 [BZ #16876]
1000 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1001
a1189263
OB
1002 [BZ #16877]
1003 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1004 nscd security class.
ce0c5b8f 1005
0f58d252
RM
10062014-05-06 Roland McGrath <roland@hack.frob.com>
1007
1008 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1009 * sysdeps/arm/unwind.h: ... here.
1010
83df9ad0
AJ
10112014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1012
ce0c5b8f
OB
1013 [BZ# 16916]
1014 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1015 Define.
83df9ad0 1016
f360f94a
VR
10172014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1018
1019 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1020 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1021 multiarch strncpy for PPC64.
1022 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1023 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1025 multiarch optimizations.
1026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1027 (__libc_ifunc_impl_list): Likewise.
1028 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1029 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1030 multiarch stpncpy for PPC64.
1031 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1032 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1033
978a41c3
AS
10342014-05-06 Andreas Schwab <schwab@suse.de>
1035
1036 [BZ #16912]
1037 * gmon/mcount.c (_MCOUNT_DECL): Use
1038 atomic_compare_and_exchange_bool_acq instead of
1039 catomic_compare_and_exchange_bool_acq.
1040
eb1ed03d
RM
10412014-05-05 Roland McGrath <roland@hack.frob.com>
1042
fe658845
RM
1043 * elf/Makefile (others, install-bin): Remove pldd.
1044 (pldd-modules): Variable removed.
1045 ($(objpfx)pldd): Target removed.
1046 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1047 (others, install-bin): Append pldd here.
1048 ($(objpfx)pldd): New target.
1049
eb1ed03d
RM
1050 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1051 to 0, so the first #if test emitted later doesn't see it undefined.
1052 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1053 * sysdeps/gnu/errlist.c: Regenerated.
1054
19c4bec0
AZ
10552014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1056
1057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1058 [libc_hidden_builtin_def]: Define to empty value.
1059 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1060 [libc_hidden_builtin_def]: Likewise.
1061 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1062 [libc_hidden_builtin_def]: Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1064 [libc_hidden_builtin_def]: Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1066 __redirect_memcpy and define ifunc as default hidden symbol.
1067 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1069
7776e669
AC
10702014-05-04 Adam Conrad <adconrad@0c3.net>
1071
1072 * locale/iso-4217.def: Reintroduce XDR currency.
1073
d69aeb12
AM
10742014-05-04 Allan McRae <allan@archlinux.org>
1075
1076 * po/eo.po: Update Esperanto translation from translation project.
1077
8f1df5cf
CD
10782014-05-02 Carlos O'Donell <carlos@redhat.com>
1079
1080 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1081 and FEATURE_INDEX_MAX to 1.
1082 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1083
13e402e7
SE
10842014-05-01 Steve Ellcey <sellcey@mips.com>
1085
1086 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1087 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1088 * iconvdata/big5.c (ONE_DIRECTION): Define.
1089 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1090 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1091 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1092 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1093 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1094 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1095 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1096 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1097 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1098 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1099 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1100 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1101 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1102 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1103 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1104 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1105 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1106 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1107 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1108 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1109 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1110 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1111 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1112 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1113 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1114 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1115 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1116 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1117 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1118 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1119 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1120 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1121 * iconvdata/johab.c (ONE_DIRECTION): Define.
1122 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1123 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1124 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1125 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1126 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1127 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1128 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1129 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1130 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1131 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1132
c727f032
RM
11332014-05-01 Roland McGrath <roland@hack.frob.com>
1134
8f2f08d0
RM
1135 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1136 (_IO_JUMPS_OFFSET): Define to 0.
1137
c727f032
RM
1138 * nptl/sysdeps/pthread/bits/libc-lock.h
1139 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1140 (__libc_lock_define_initialized_recursive): Always define using
1141 initializer. Modern compilers treat uninitialized (implicit zero) and
1142 explicit zero initializers the same (i.e. put the datum in bss).
1143
a849e800
AS
11442014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1145
1146 * nscd/nscd-client.h: Include <string.h>.
1147
5331255b
DM
11482014-05-01 David S. Miller <davem@davemloft.net>
1149
1150 [BZ #16885]
1151 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1152 multiple zero bytes exist at the end of a string.
1153 Reported by Aurelien Jarno <aurelien@aurel32.net>
1154
1155 * string/test-strcmp.c (check): Add explicit test for situations where
1156 there are multiple zero bytes after the first.
1157
4fdfe821
AS
11582014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1159
1160 [BZ #16890]
1161 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1162 when compiling wprintf.
1163 * stdio-common/tstdiomisc.c (t3): New function.
1164 (main): Call it.
1165
0cdddc25
SE
11662014-05-01 Steve Ellcey <sellcey@mips.com>
1167
1168 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1169 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1170 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1171 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1172
6426d77e
SE
11732014-05-01 Steve Ellcey <sellcey@mips.com>
1174
1175 * stdlib/longlong.h: Updated from GCC.
1176
6d96f5e4
WN
11772014-05-01 Will Newton <will.newton@linaro.org>
1178 Bernard Ogden <bernie.ogden@linaro.org>
1179
7470db0c
WN
1180 * NEWS: Update fixed bug list.
1181
6d96f5e4
WN
1182 [BZ #15119]
1183 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1184
211d653c
DM
11852014-04-30 David S. Miller <davem@davemloft.net>
1186
4fa262fa
DM
1187 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1188 (libc_feholdexcept_setround_sparc_ctx): New function.
1189 (libc_fesetenv_sparc_ctx): Likewise.
1190 (libc_feupdateenv_sparc_ctx): Likewise.
1191 (libc_feholdsetround_sparc_ctx): Likewise.
1192 (libc_feholdexcept_setround_ctx): Define.
1193 (libc_feholdexcept_setroundf_ctx): Likewise.
1194 (libc_feholdexcept_setroundl_ctx): Likewise.
1195 (libc_fesetenv_ctx): Likewise.
1196 (libc_fesetenvf_ctx): Likewise.
1197 (libc_fesetenvl_ctx): Likewise.
1198 (libc_feupdateenv_ctx): Likewise.
1199 (libc_feupdateenvf_ctx): Likewise.
1200 (libc_feupdateenvl_ctx): Likewise.
1201 (libc_feresetround_ctx): Likewise.
1202 (libc_feresetroundf_ctx): Likewise.
1203 (libc_feresetroundl_ctx): Likewise.
1204 (libc_feholdsetround_ctx): Likewise.
1205 (libc_feholdsetroundf_ctx): Likewise.
1206 (libc_feholdsetroundl_ctx): Likewise.
1207
1d3d93ef
DM
1208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1209 with __USE_GNU instead of XOPEN cpp guards.
1210
8aa583c3
DM
1211 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1212 0.
1213
211d653c
DM
1214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1215 with XOPEN cpp guards.
1216
60c8f1f6
JB
12172014-04-30 Julian Brown <julian@codesourcery.com>
1218
1219 [BZ #16888]
1220 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1221 handling.
1222
9a461d46
JM
12232014-04-30 Joseph Myers <joseph@codesourcery.com>
1224
d0f5b3f8
JM
1225 [BZ #9894]
1226 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1227 Change to 2.6.32.
1228 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1229 * sysdeps/unix/sysv/linux/configure: Regenerated.
1230 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1231 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1232 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1233 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1234 * README: Update reference to required Linux kernel version.
1235 * manual/install.texi (Linux): Update reference to required Linux
1236 kernel headers version.
1237 * INSTALL: Regenerated.
1238
9a461d46
JM
1239 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1240 header inclusion.
1241 [POSIX] (limits.h): Likewise.
1242 [POSIX] (math.h): Likewise.
1243 [POSIX] (sys/wait.h): Likewise.
1244 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1245 function.
1246 [POSIX] (stddef.h): Do not allow header inclusion.
1247
1775babf
AZ
12482014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249
57f41c40 1250 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1251
8f630cca
YY
12522014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1253
1254 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1255 Return immediately after lll_futex_wake.
1256
1cdeb237
SP
12572014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1258
bc8f194c
SP
1259 [BZ #16791]
1260 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1261 structure.
1262 (datahead_init_pos): Call datahead_init_common early.
1263 (datahead_init_neg): Likewise.
1264
1cdeb237
SP
1265 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1266 datahead_init_neg): New functions.
1267 * nscd/aicache.c (addhstaiX): Use them.
1268 * nscd/grpcache.c (cache_addgr): Likewise.
1269 * nscd/hstcache.c (cache_addhst): Likewise.
1270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1271 * nscd/netgroupcache.c (do_notfound): Likewise.
1272 (addgetnetgrentX): Likewise.
1273 (addinnetgrX): Likewise.
1274 * nscd/pwdcache.c (cache_addpw): Likewise.
1275 * nscd/servicescache.c (cache_addserv): Likewise.
1276
16b293a7
SP
12772014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1278 Atsushi Onoe <atsushi@onoe.org>
1279
1280 [BZ #14308]
1281 [BZ #12994]
1282 [BZ #13651]
1283 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1284 one response is valid.
1285 * resolv/res_send.c (send_dg): Check for validity of other
1286 response if the current response is a referral.
1287
a28a9b94
SE
12882014-04-29 Steve Ellcey <sellcey@mips.com>
1289
1290 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1291
2ca180e9
SL
12922014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1293
1294 [BZ #16823]
1295 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1296 Always divide by positive zero when computing -Inf result.
1297 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1298 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1299
18f2945a
AZ
13002014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
1302 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1303 FPSCR if value do not change.
1304 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1305 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1306 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1307 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1308 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1309 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1310 function.
1311
5abebba4
CD
13122014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1313
1314 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1315 * sysdeps/unix/sysv/linux/hppa: Move directory from
1316 ports/systeps/unix/sysv/linux/hppa.
1317 * README: Update listing for hppa-*-linux-gnu.
1318
f7ed60c2
OB
13192014-04-28 Ondřej Bílka <neleai@seznam.cz>
1320
fff763a5
OB
1321 [BZ #16754]
1322 * manual/stdio.texi (Hook functions): Fix types of stream hook
1323 functions.
f7ed60c2
OB
1324 [BZ #16854]
1325 * socket/sys/socket.h: Fix typo in comment.
1326
df639d73
WD
13272014-04-28 Wilco <wdijkstr@arm.com>
1328
f7ed60c2 1329 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1330 * sysdeps/arm/math_private.h: New file.
1331 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1332
48332d82
L
13332014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1334
1335 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1336 with __int128_t.
1337 (La_x86_64_retval): Likewise.
1338
e5e0d9a4
IB
13392014-04-24 Ian Bolton <ian.bolton@arm.com>
1340
1341 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1342 fpsr if value didn't change.
1343 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1344 to fpcr if value didn't change.
1345 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1346 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1347 fpsr or fpcr if value didn't change.
1348 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1349 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1350 fpcr if value didn't change.
1351 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1352 to fpsr if value didn't change.
1353
bacc75f7
SP
13542014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 * nptl/tst-sem3.c: Use test-skeleton.c
1357 (main): Rename to do_test. Use return instead of
1358 exit.
1359 * nptl/tst-sem4.c: Use test-skeleton.c
1360 (main): Rename to do_test.
1361
a059d359
DM
13622014-04-22 David S. Miller <davem@davemloft.net>
1363
1364 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1365 (struct sigaction): New struct member __glibc_reserved0, change
1366 type of sa_flags to int.
1367
ea6c92f3
YZ
13682014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1369
1370 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1371 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1372
766c4a36
SP
13732014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1374
1375 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1376 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1377
140cc7ab
VK
13782014-04-22 Will Newton <will.newton@linaro.org>
1379 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1380
1381 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1382 (__longjmp): Add longjmp and longjmp_target SystemTap
1383 probes.
1384 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1385 (__sigsetjmp): Add setjmp SystemTap probe.
1386
c54e5cf7
CD
13872014-04-17 Carlos O'Donell <carlos@redhat.com>
1388
1389 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1390 match manual order.
1391
75ffb047
AZ
13922014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1395
2cd925f7
AZ
1396 * sysdeps/powerpc/fpu/fenv_private.h
1397 (libc_feholdexcept_setroundl_ctx): Define to
1398 libc_feholdexcept_setround_ppc_ctx.
1399 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1400 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1401 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1402 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1403
39e6cd8d
IB
14042014-04-17 Ian Bolton <ian.bolton@arm.com>
1405
1406 * sysdeps/aarch64/math-tests.h: New file.
1407
f9281df9
SY
14082014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1409
1410 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1411 New.
1412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1413 Check and set bit_AVX2_Usable.
1414 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1415 macro.
1416 (bit_AVX2): Likewise.
1417 (index_AVX2_Usable): Likewise.
1418 (CPUID_AVX2): Likewise.
1419 (HAS_AVX2): Likewise.
1420
37d35007
WN
14212014-04-17 Will Newton <will.newton@linaro.org>
1422
7c677662
WN
1423 * manual/setjmp.texi (System V contexts): Add note that
1424 calling setcontext on a context created by a call to a
1425 signal handler is undefined. Update text to note that
1426 setcontext from a signal handler is possible but not
1427 recommended.
1428
37d35007 1429 [BZ #16629]
e04a4e9d
WN
1430 * stdlib/tst-setcontext.c: Include signal.h.
1431 (main): Check that the signal stack before and
1432 after swapcontext is the same.
1433
37d35007
WN
1434 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1435 Re-implement to restore registers in user code and avoid
1436 rt_sigreturn system call.
1437
423a7160
W
14382014-04-17 Wilco <wdijkstr@arm.com>
1439
1440 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1441 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1442 * math/test-fenv.c: Skip exception trap tests on targets which only
1443 support non-stop mode.
1444
bc93ab29
IB
14452014-04-17 Ian Bolton <ian.bolton@arm.com>
1446 Wilco Dijkstra <wilco.dijkstra@arm.com>
1447
1448 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1449 (libc_feholdsetround_aarch64_ctx)
1450 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1451 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1452 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1453 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1454 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1455 (libc_feresetround_noexl_ctx): Define.
1456
95fc5fa3
RH
14572014-04-16 Richard Henderson <rth@redhat.com>
1458
ddb04724
RH
1459 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1460
d77c0899
RH
1461 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1462 unwind tables.
1463
a3df56fc
RH
1464 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1465 const from the non-libc, non-ldso copy.
1466
95fc5fa3
RH
1467 * sysdeps/alpha/libm-test-ulps: Regenerate.
1468
7e0b6763
IB
14692014-04-16 Ian Bolton <ian.bolton@arm.com>
1470 Wilco Dijkstra <wilco.dijkstra@arm.com>
1471
1472 * sysdeps/aarch64/fpu/math_private.h: New file.
1473
a9ea2e0c
MS
14742014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1475
1476 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1477
ea8ba7cd
IZ
14782014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1479
1480 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1481 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1483 Intel MPX bound registers before _dl_profile_fixup.
1484 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1485 registers after _dl_profile_fixup. Save and restore bound
1486 registers bnd0/bnd1 when calling _dl_call_pltexit.
1487 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1488 (LR_BND_OFFSET): Likewise.
1489 (LRV_BND0_OFFSET): Likewise.
1490 (LRV_BND1_OFFSET): Likewise.
1491
9f2a4fbc
ST
14922014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1493
1494 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1495 to...
1496 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1497 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1498 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1499 fields.
9f2a4fbc 1500
fd15a59b
ST
15012014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1502
1503 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1504
f19dfa0a
SL
15052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1506
1507 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1508
4fa8bc3b
SL
15092014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1510
1511 [BZ #14770]
1512 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1513 * sysdeps/s390/configure: Regenerate.
1514
8ea587db
SL
1515 [BZ #16824]
1516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1517 Set round-to-nearest internally to reduce error accumulation.
1518
aa5f0ff1
AM
15192014-04-16 Alan Modra <amodra@gmail.com>
1520
1521 [BZ #16740]
1522 [BZ #16619]
1523 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1524 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1525 * NEWS: Update fixed bug list.
aa5f0ff1 1526
bb9c256f
SP
15272014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1528
1529 * benchtests/Makefile: Depend on libraries in build directory.
1530 (bench-math): Separate out math tests.
1531 (bench-pthread): Separate out pthread tests.
1532 (bench): Include math and pthread tests.
1533
f737dfd0
CD
15342014-04-14 Carlos O'Donell <carlos@redhat.com>
1535
1536 [BZ #16831]
1537 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1538 _dl_debug_initialize.
1539
0699f766
CD
1540 * configure.ac: Remove SELinux header check.
1541 * configure: Regenerate.
1542 * nscd/selinux.c (perms): Array of const char* to permission names.
1543 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1544 default policy. Call string_to_security_class and string_to_av_perm to
1545 translate strings. Enforce default policy and call avs_has_perm with
1546 results of translated strings.
1547
809bd45f
DM
15482014-04-13 David S. Miller <davem@davemloft.net>
1549
1550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1551
89e691f2
AM
15522014-04-12 Allan McRae <allan@archlinux.org>
1553
1554 [BZ #16838]
1555 * manual/string.texi (Collation Functions): Fix qsort argument
1556 order in example.
1557 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1558
9c9daaeb
CM
15592014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1560
1561 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1562 Make the test a no-op if there are no exceptions defined.
1563
95561fb9
PP
15642014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1565
fe8d072c 1566 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1567 enable-hardcoded-path-in-tests
1568
970c602a
WN
15692014-04-11 Will Newton <will.newton@linaro.org>
1570
1571 * benchtests/Makefile (extra-objs): Add json-lib.o.
1572 (bench-func): Tidy up JSON output.
1573 * benchtests/bench-skeleton.c: Include json-lib.h.
1574 (main): Use JSON library functions to do output of
1575 benchmark results.
1576 * benchtests/bench-timing-type.c (main): Output the
1577 timing type simply, leaving formatting to the user.
1578 * benchtests/json-lib.c: New file.
1579 * benchtests/json-lib.h: Likewise.
1580
36875b06
TR
15812014-04-11 Torvald Riegel <triegel@redhat.com>
1582
1583 [BZ #15215]
1584 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1585 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1586 memory barriers. Add comments.
1587 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1588 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1589 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1590 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1591 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1592 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1593
579db35a
SL
15942014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1595
1596 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1597 * sysdeps/s390/s390-64/configure.ac: ... this ...
1598 * sysdeps/s390/configure.ac: ... to here.
1599 * sysdeps/s390/s390-32/configure: Delete file.
1600 * sysdeps/s390/s390-64/configure: Delete file.
1601 * sysdeps/s390/configure: Regenerate.
1602
c12e9f37
JAPH
16032014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1604
1605 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1606
439bda32
WN
16072014-04-11 Will Newton <will.newton@linaro.org>
1608
1609 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1610 to zero if it is not defined elsewhere. (mtrim): Test
1611 the value of MALLOC_DEBUG with #if rather than #ifdef.
1612
6a5d6ea1
TR
16132014-04-10 Torvald Riegel <triegel@redhat.com>
1614
1615 * benchtests/pthread_once-inputs: New file.
1616 * benchtests/pthread_once-source.c: New file.
1617 * benchtests/README: Update documentation.
1618
a4c75cfd
IZ
16192014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1620 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1623 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1624 * sysdeps/x86_64/configure: Regenerated.
1625 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1626 macro.
1627 (REGISTER_SAVE_RAX): Likewise.
1628 (REGISTER_SAVE_RCX): Likewise.
1629 (REGISTER_SAVE_RDX): Likewise.
1630 (REGISTER_SAVE_RSI): Likewise.
1631 (REGISTER_SAVE_RDI): Likewise.
1632 (REGISTER_SAVE_R8): Likewise.
1633 (REGISTER_SAVE_R9): Likewise.
1634 (REGISTER_SAVE_BND0): Likewise.
1635 (REGISTER_SAVE_BND1): Likewise.
1636 (REGISTER_SAVE_BND2): Likewise.
1637 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1638 bound registers when calling _dl_fixup.
1639
27822ce6
AZ
16402014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1643 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1644 of its definition.
27822ce6
AZ
1645 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1646 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1647 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1648 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1649 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1650 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1651 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1652
a88ddc90
PTB
16532014-04-09 Peter Brett <peter@peter-b.co.uk>
1654
1655 [BZ #15514]
1656 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1657 pathconf(_PC_NAME_MAX).
1658
01f8eac2
AZ
16592014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1660
1661 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1662 Remove macro usage.
1663 (__PTHREAD_SPINS): Move definition to ...
1664 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1665 (__PTHREAD_SPINS): ... here.
1666 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1667 (__PTHREAD_SPIN): Likewise.
1668 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1669 (__PTHREAD_SPIN): Likewise.
1670 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1671 (__PTHREAD_SPIN): Likewise.
1672 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1673 (__PTHREAD_SPIN): Likewise.
1674 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1675 (__PTHREAD_SPIN): Likewise.
1676 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1677 (__PTHREAD_SPIN): Likewise.
1678 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1679 (__PTHREAD_SPIN): Likewise.
1680 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1681 (__PTHREAD_SPIN): Likewise.
1682 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1683 (__PTHREAD_SPIN): Likewise.
1684 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1685 (__PTHREAD_SPIN): Likewise.
1686 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1687 (__PTHREAD_SPIN): Likewise.
1688 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1689 (__PTHREAD_SPIN): Likewise.
1690
de21c33c
AZ
1691 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1692 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1693 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1694 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1695 imply folder.
1696 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1697 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1698 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1699 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1700 correct imply path.
1701 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1702 strlen symbol for non multi-arch builds.
1703 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1704 missing hidden_def and weak_alias.
1705
862c472e
CD
17062014-04-08 Carlos O'Donell <carlos@redhat.com>
1707
1708 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1709
8667f90e
WN
17102014-04-07 Will Newton <will.newton@linaro.org>
1711
1712 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1713 and contents. [!_LIBC] Remove #ifndef and contents.
1714 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1715 * string/memccpy.c (__memccpy): Use ANSI prototype.
1716 * string/memfrob.c (memfrob): Likewise.
1717 * string/strcoll.c (STRCOLL): Likewise.
1718 * string/strlen.c (strlen): Likewise.
1719 * string/strtok.c (STRTOK): Likewise.
1720 * string/strcat.c: Remove unused #include of memcopy.h.
1721 (strcat): Use ANSI prototype.
1722 * string/strchr.c: Remove unused #include of memcopy.h.
1723 (strchr): Use ANSI prototype.
1724 * string/strcmp.c: Remove unused #include of memcopy.h.
1725 (strcmp): Use ANSI prototype.
1726 * string/strcpy.c: Remove unused #include of memcopy.h.
1727 (strcpy): Use ANSI prototype.
1728
7ffa9423
AZ
17292014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1732 * config.make.in (config-extra-cppflags): Set it from
1733 libc_extra_cppflags.
1734 * configure.ac (libc_extra_cflags): Make it accumulate over
1735 configure fragments.
1736 (libc_extra_cppflags): New flag.
1737 * configure. Regenerate.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1739 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1740 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1742
8bd70862
AZ
1743 [BZ #16815]
1744 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1745 result for FE_DOWNWARD rounding mode.
1746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1747 Likewise.
1748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749
d42f3448
CM
17502014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1751
1752 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1753 in function argument name.
1754
1c21d115
DS
17552014-04-03 David Svoboda <svoboda@cert.org>
1756
1757 [BZ #5666]
1758 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1759 explicitly.
1760
fcccd512
RM
17612014-04-03 Roland McGrath <roland@hack.frob.com>
1762
1763 * elf/dl-unmap-segments.h: New file.
1764 * sysdeps/generic/ldsodefs.h
1765 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1766 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1767 * elf/dl-fptr.c: Likewise.
1768 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1769 * sysdeps/aarch64/tlsdesc.c: Likewise.
1770 * sysdeps/arm/tlsdesc.c: Likewise.
1771 * sysdeps/i386/tlsdesc.c: Likewise.
1772 * sysdeps/tile/dl-runtime.c: Likewise.
1773 * sysdeps/x86_64/tlsdesc.c: Likewise.
1774 * elf/dl-load.h: New file.
1775 * elf/dl-load.c: Include it.
1776 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1777 Macros moved to dl-load.h.
1778 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1779 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1780 Use _dl_unmap_segments in place of __munmap.
1781 Break out segment-mapping loop into ...
1782 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1783
f6488e2b
WN
17842014-04-03 Will Newton <will.newton@linaro.org>
1785
1786 * elf/dl-lookup.c (do_lookup_x): Remove comment
1787 referring to nested function and move variable
1788 declarations down to before first use.
1789
6f05bafe
JM
17902014-04-02 Joseph Myers <joseph@codesourcery.com>
1791
a84e78c8
JM
1792 [BZ #16799]
1793 [BZ #16800]
1794 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1795 with 0 numerator.
1796 * math/s_catanf.c (__catanf): Likewise.
1797 * math/s_catanh.c (__catanh): Likewise.
1798 * math/s_catanhf.c (__catanhf): Likewise.
1799 * math/s_catanhl.c (__catanhl): Likewise.
1800 * math/s_catanl.c (__catanl): Likewise.
1801 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1802 by positive zero when computing -Inf result.
1803 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1804 (catanh_test): Likewise.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1807
6f05bafe
JM
1808 [BZ #16789]
1809 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1810 instead of using underflowing value in computing result.
1811 * math/s_clog10.c (__clog10): Likewise.
1812 * math/s_clog10f.c (__clog10f): Likewise.
1813 * math/s_clog10l.c (__clog10l): Likewise.
1814 * math/s_clogf.c (__clogf): Likewise.
1815 * math/s_clogl.c (__clogl): Likewise.
1816 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1817 (clog10_test): Likewise.
1818 * sysdeps/i386/fpu/libm-test-ulps: Update.
1819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1820
b0abbc21
AM
18212014-04-02 Alan Modra <amodra@gmail.com>
1822
1823 [BZ #16739]
1824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1825 output when value is near a power of two. Use int64_t for lx and
1826 remove casts. Use decimal rather than hex exponent constants.
1827 Don't use long double multiplication when double will suffice.
1828 * math/libm-test.inc (nextafter_test_data): Add tests.
1829 * NEWS: Add 16739 and 16786 to bug list.
1830
af6b1797
AM
1831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1832
483818d7
AM
1833 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1834
f6c55796
WN
18352014-04-01 Will Newton <will.newton@linaro.org>
1836
1837 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1838 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1839
13f7fe35
FW
18402014-04-01 Florian Weimer <fweimer@redhat.com>
1841
1842 [BZ #13347]
1843 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1844 * nptl/tst-setuid2.c: New file.
1845 * nptl/Makefile (xtests): Add tst-setuid2.
1846
c859b32e
AM
18472014-04-01 Alan Modra <amodra@gmail.com>
1848
1849 [BZ #16786]
1850 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1851
54fa2475
JM
18522014-03-31 Joseph Myers <joseph@codesourcery.com>
1853
8795b4a4
JM
1854 [BZ #6803]
1855 [BZ #6804]
1856 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1857 set errno as appropriate.
1858 * math/w_scalbf.c (__scalbf): Likewise.
1859 * math/w_scalbl.c (__scalbl): Likewise.
1860 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1861 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1862 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1863 Add more NaN tests.
1864
54fa2475
JM
1865 [BZ #16349]
1866 * math/w_atan2.c: Include <errno.h>.
1867 (__atan2): Set errno for result underflowing to zero.
1868 * math/w_atan2f.c: Include <errno.h>.
1869 (__atan2f): Set errno for result underflowing to zero.
1870 * math/w_atan2l.c: Include <errno.h>.
1871 (__atan2l): Set errno for result underflowing to zero.
1872 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1873 tests.
1874 * math/auto-libm-test-out: Regenerated.
1875
757d9dd5
AZ
18762014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877
1878 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1879 Encode instruction correctly in little endian.
1880 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1881 Likewise.
1882 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1883 Likewise.
1884 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1885 Likewise.
1886 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1887 Likewise.
1888
d7a68734
JM
18892014-03-31 Joseph Myers <joseph@codesourcery.com>
1890
47c5adeb
JM
1891 [BZ #9894]
1892 * sysdeps/unix/sysv/linux/kernel-features.h
1893 [__sparc__ && !__arch64__ && !__sparc_v9__]
1894 (__ASSUME_SET_ROBUST_LIST): Do not define.
1895 [__sparc__ && !__arch64__ && !__sparc_v9__]
1896 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1897 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1898 Likewise.
1899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1900 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1901 (__ASSUME_REQUEUE_PI): Likewise.
1902 (__ASSUME_SET_ROBUST_LIST): Likewise.
1903 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1904 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1905 Undefine.
1906 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1907 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1908 Likewise.
1909 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1910 Likewise.
1911 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1912 Likewise.
1913 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1914 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1915 Undefine.
1916 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1917 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1918 Likewise.
1919
d7a68734
JM
1920 [BZ #16648]
1921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1923 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1924
c760f5c2
WN
19252014-03-31 Will Newton <will.newton@linaro.org>
1926
1927 * benchtests/Makefile (bench): Add ffs and ffsll to list
1928 of tests.
1929 * benchtests/ffs-inputs: New file.
1930 * benchtests/ffsll-inputs: Likewise.
1931
ea6029b1
JM
19322014-03-29 Joseph Myers <joseph@codesourcery.com>
1933
1934 [BZ #16770]
1935 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1936 too large before casting to int.
1937 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1938 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1939 * math/libm-test.inc (scalb_test_data): Add more tests.
1940
cf806aff
SP
19412014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1942
56737508
SP
1943 * benchtests/Makefile (DETAILED_OPT): New make option.
1944 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1945 set.
1946 * benchtests/bench-skeleton.c: Include stdbool.h.
1947 (main): Store and print timings per input.
1948 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1949 member to each argument value.
1950 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1951 (_print_arg_data): Initialize per-input timing to 0.
1952
cb5e4aad
SP
1953 * benchtests/Makefile (timing-type): New binary.
1954 (bench-clean): Also remove bench-timing-type.
1955 (bench): New target for timing-type.
1956 (bench-func): Print output in JSON format.
1957 * benchtests/bench-skeleton.c (main): Print output in JSON
1958 format.
1959 * benchtests/bench-timing-type.c: New file.
1960 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1961 (TIMING_PRINT_STATS): Remove.
1962 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1963 name separately.
1964
cf806aff
SP
1965 * benchtests/bench-modf.c: Remove.
1966 * benchtests/modf-inputs: New inputs file.
1967
289e0779
JM
19682014-03-28 Joseph Myers <joseph@codesourcery.com>
1969
1970 [BZ #16362]
1971 * math/s_clog10.c (M_PI_LOG10E): New macro.
1972 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1973 imaginary parts are 0.
1974 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1975 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1976 imaginary parts are 0.
1977 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1978 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1979 imaginary parts are 0.
1980 * math/libm-test.inc (clog10_test_data): Update expected results
1981 for when real and imaginary parts are 0.
1982
277ae3f1
PP
19832014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1984
1985 * elf/dl-load.c: Finish conversion of __builtin_expect into
1986 __glibc_{un}likely.
1987
03a7091f
JM
19882014-03-27 Joseph Myers <joseph@codesourcery.com>
1989
1990 [BZ #16348]
1991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1992 1+x for argument with exponent below -67.
1993 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1994 Likewise.
1995 * math/auto-libm-test-in: Add more tests of exp.
1996 * math/auto-libm-test-out: Regenerated.
1997
ea7d8b95
SP
19982014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1999
dd3022d7
SP
2000 [BZ #16759]
2001 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2002 (nscd_getnetgrent): Use it.
2003
ea7d8b95
SP
2004 [BZ #16760]
2005 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2006 of stpcpy.
2007
df5b85da
AK
20082014-03-27 Andi Kleen <ak@linux.intel.com>
2009
57f41c40
AS
2010 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2011 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2012 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2013 (lll_robust_unlock): Remove out of line section. Use cfi
2014 intrinsics.
df5b85da 2015 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2016 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2017 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2018 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2019 (lll_robust_unlock): Remove out of line section. Use cfi
2020 intrinsics.
df5b85da
AK
2021 (LLL_STUB_UNWIND_INFO*): Remove.
2022
fbd6b5a4
SP
20232014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2024
2025 [BZ #16758]
2026 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2027 blank values.
2028
1b26b855
PP
20292014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2030
2031 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2032
9be36fb8
JM
20332014-03-26 Joseph Myers <joseph@codesourcery.com>
2034
2035 [BZ #16198]
2036 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2037 fnstenv.
2038 * math/test-fenv-preserve.c: New file.
2039 * math/Makefile (tests): Add test-fenv-preserve.
2040
60a2f3c1
WN
20412014-03-26 Will Newton <will.newton@linaro.org>
2042
2043 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2044
a5e5f1e2
RM
20452014-03-25 Roland McGrath <roland@hack.frob.com>
2046
2047 * scripts/versionlist.awk: Partition the version sets and emit all
2048 GLIBC_* (sorted) before all others (sorted).
2049
00f4012a
JM
20502014-03-25 Joseph Myers <joseph@codesourcery.com>
2051
2052 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2053 GLIBC_2.2.5 version.
2054
7bc5a741
AZ
20552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2056
2057 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2058 calls.
2059
7578473b
AZ
2060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2061 previous change.
2062
f3f1dab3
AZ
2063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2064
6da36183
AS
20652014-03-25 Andreas Schwab <schwab@suse.de>
2066
2067 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2068 label to be used after in6ailist is initialized.
2069
f3f1dab3 20702014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2071
7578473b 2072 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2073 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2074
046651c1
JM
20752014-03-25 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #16357]
2078 [BZ #16599]
2079 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2080 min_plus_half.
2081 (fp_formats): Update initializers.
2082 (init_fp_formats): Initialize new field.
2083 (output_for_one_input_case): Allow underflow for results up to
2084 min_plus_half.
2085 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2086 * math/auto-libm-test-in: Don't mark some underflows from asin and
2087 atanh as spurious.
2088 * math/auto-libm-test-out: Regenerated.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2091
003e49ed
AS
20922014-03-25 Andreas Schwab <schwab@suse.de>
2093
2094 * libio/Makefile (tst-ftell-partial-wide-ENV)
2095 (tst-ftell-active-handler-ENV): Define.
2096
de031874
SL
20972014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2098
2099 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2100
55a81e3b
PP
21012014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2102
2103 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2104
f3426898
JM
21052014-03-24 Joseph Myers <joseph@codesourcery.com>
2106
2107 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2108 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2109 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2110
a42faf59
PP
21112014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2112
2113 [BZ #16634]
a42faf59 2114 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2115 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2116 (open_path): Change from boolean 'secure' to complete flag 'mode'
2117 (_dl_map_object): Adjust.
a42faf59
PP
2118 * elf/Makefile (tests): Add tst-dlopen-aout.
2119 * elf/tst-dlopen-aout.c: New test.
2120
50936127
SL
21212014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2122
2123 [BZ #16714]
2124 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2125 (struct stat): Rename member pad0 to __glibc_reserved0.
2126
26011b5c
SL
2127 [BZ #16712]
2128 * sysdeps/s390/s390-32/bits/wordsize.h
2129 (__WORDSIZE32_SIZE_ULONG): New define.
2130 * sysdeps/s390/s390-64/bits/wordsize.h
2131 (__WORDSIZE32_SIZE_ULONG): Likewise.
2132 * sysdeps/generic/stdint.h (SIZE_MAX):
2133 Define as UL if __WORDSIZE32_SIZE_ULONG.
2134
a2d86bf1
SL
2135 [BZ #16713]
2136 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2137 (__glibc_reserved0): New variable.
2138 (sa_flags): Change type to int.
2139
78b6eebc
SL
2140 * posix/Makefile (before-compile): Use += before-compile instead
2141 of a :=.
2142
f1399b5a
SL
2143 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2144 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2145
a071766e
AS
21462014-03-20 Andreas Schwab <schwab@suse.de>
2147
2148 [BZ #16743]
2149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2150 non-matching result from nscd.
2151
27c673b8
SP
21522014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2153
2154 * scripts/bench.py: Moved to ...
2155 * benchtests/scripts/bench.py: ... here.
2156 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2157
44152e4b
AS
21582014-03-24 Andreas Schwab <schwab@suse.de>
2159
2160 [BZ #16002]
2161 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2162 alloca_account and account alloca use for struct in6ailist.
2163
b376a11a
JM
21642014-03-24 Joseph Myers <joseph@codesourcery.com>
2165
2166 [BZ #16284]
2167 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2168 rounding mode to recompute results that overflow to infinity or
2169 underflow to zero.
2170 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2171 bug 16284.
2172 * math/auto-libm-test-out: Regenerated.
2173 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2174 (ccosh_test): Likewise.
2175 (csin_test_data): Use plus_oflow.
2176 (csin_test): Use ALL_RM_TEST.
2177 (csinh_test_data): Use plus_oflow.
2178 (csinh_test): Use ALL_RM_TEST.
2179 * sysdeps/i386/fpu/libm-test-ulps: Update.
2180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2181
f7be7376
JM
21822014-03-21 Joseph Myers <joseph@codesourcery.com>
2183
1ca2d03e
JM
2184 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2185 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2186 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2187
f7be7376
JM
2188 [BZ #16731]
2189 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2190 when x - 1 is zero.
2191 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2192 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2193 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2195 argument is 1.
2196 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2197 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2198 zero.
2199 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2200 * sysdeps/i386/fpu/libm-test-ulps: Update.
2201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2202
fdf4534d
SP
22032014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2204
df26ea53
SP
2205 * scripts/bench.pl: Remove file.
2206 * scripts/bench.py: New benchmark script.
2207 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2208 * benchtests/README: Mention python dependency.
2209 * scripts/pylintrc: New file.
2210 * scripts/pylint: New file.
2211
fdf4534d
SP
2212 * bits/mathdef.h: Use #ifdef instead of #if.
2213 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2214 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2215 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2216 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2217 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2218 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2219
6f23d093
AZ
22202014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2222
2223 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2225 and strpbrk-ppc64 objects.
2226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2227 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2228 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2229 multiarch strpbrk for POWER7.
2230 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2231 multiarch strpbrk for PPC64.
2232 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2233 ifunc selector.
2234 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2235 strpbrk for POWER7.
2236
8c92dfff
JM
22372014-03-20 Joseph Myers <joseph@codesourcery.com>
2238
2239 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2240 (atan_test): Likewise.
2241 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2242 (atanh_test): Use ALL_RM_TEST.
2243 (atan2_test_data): Likewise.
2244 (cabs_test): Likewise.
2245 (cacosh_test): Likewise.
2246 (carg_test): Likewise.
2247 (casin_test): Likewise.
2248 (casinh_test): Likewise.
2249 (cbrt_test): Likewise.
2250 (csqrt_test): Likewise.
2251 (erf_test): Likewise.
2252 (erfc_test): Likewise.
2253 (pow10_test): Likewise.
2254 (exp2_test): Likewise.
2255 (hypot_test): Likewise.
2256 (j0_test): Likewise.
2257 (j1_test): Likewise.
2258 (lgamma_test): Likewise.
2259 (gamma_test): Likewise.
2260 (sincos_test): Likewise.
2261 (tanh_test): Likewise.
2262 (y0_test): Likewise.
2263 (y1_test): Likewise.
2264 * sysdeps/i386/fpu/libm-test-ulps: Update.
2265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266
6eaf95cb
AZ
22672014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268
a387428c
SP
2269 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2271 and strcspn-ppc64 objects.
2272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2273 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2274 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2275 multiarch strcspn for POWER7.
2276 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2277 multiarch strcspn for PPC64.
2278 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2279 ifunc selector.
2280 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2281 strcspn for POWER7.
2282
ae3a5dff
JM
22832014-03-20 Joseph Myers <joseph@codesourcery.com>
2284
2285 * math/gen-libm-test.pl (generate_testfile): Expect only function
2286 name as argument to AUTO_TESTS_* and pass results for all rounding
2287 modes to parse_args.
2288 (parse_auto_input): Separate inputs of automatic tests from
2289 outputs before storing in %auto_tests.
2290 * math/libm-test.inc (acos_test_data): Update call to
2291 AUTO_TESTS_f_f.
2292 (acos_test): Use ALL_RM_TEST.
2293 (acos_tonearest_test_data): Remove.
2294 (acos_test_tonearest): Likewise.
2295 (acos_towardzero_test_data): Likewise.
2296 (acos_test_towardzero): Likewise.
2297 (acos_downward_test_data): Likewise.
2298 (acos_test_downward): Likewise.
2299 (acos_upward_test_data): Likewise.
2300 (acos_test_upward): Likewise.
2301 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2302 (asin_test_data): Likewise.
2303 (asin_test): Use ALL_RM_TEST.
2304 (asin_tonearest_test_data): Remove.
2305 (asin_test_tonearest): Likewise.
2306 (asin_towardzero_test_data): Likewise.
2307 (asin_test_towardzero): Likewise.
2308 (asin_downward_test_data): Likewise.
2309 (asin_test_downward): Likewise.
2310 (asin_upward_test_data): Likewise.
2311 (asin_test_upward): Likewise.
2312 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2313 (atan_test_data): Likewise.
2314 (atanh_test_data): Likewise.
2315 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2316 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2317 (carg_test_data): Likewise.
2318 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2319 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2320 (ccosh_test_data): Likewise.
2321 (cexp_test_data): Likewise.
2322 (clog_test_data): Likewise.
2323 (clog10_test_data): Likewise.
2324 (cos_test_data): Update call to AUTO_TESTS_f_f.
2325 (cos_test): Use ALL_RM_TEST.
2326 (cos_tonearest_test_data): Remove.
2327 (cos_test_tonearest): Likewise.
2328 (cos_towardzero_test_data): Likewise.
2329 (cos_test_towardzero): Likewise.
2330 (cos_downward_test_data): Likewise.
2331 (cos_test_downward): Likewise.
2332 (cos_upward_test_data): Likewise.
2333 (cos_test_upward): Likewise.
2334 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2335 (cosh_test): Use ALL_RM_TEST.
2336 (cosh_tonearest_test_data): Remove.
2337 (cosh_test_tonearest): Likewise.
2338 (cosh_towardzero_test_data): Likewise.
2339 (cosh_test_towardzero): Likewise.
2340 (cosh_downward_test_data): Likewise.
2341 (cosh_test_downward): Likewise.
2342 (cosh_upward_test_data): Likewise.
2343 (cosh_test_upward): Likewise.
2344 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2345 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2346 (ctan_test_data): Likewise.
2347 (ctan_test): Use ALL_RM_TEST.
2348 (ctan_tonearest_test_data): Remove.
2349 (ctan_test_tonearest): Likewise.
2350 (ctan_towardzero_test_data): Likewise.
2351 (ctan_test_towardzero): Likewise.
2352 (ctan_downward_test_data): Likewise.
2353 (ctan_test_downward): Likewise.
2354 (ctan_upward_test_data): Likewise.
2355 (ctan_test_upward): Likewise.
2356 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2357 (ctanh_test): Use ALL_RM_TEST.
2358 (ctanh_tonearest_test_data): Remove.
2359 (ctanh_test_tonearest): Likewise.
2360 (ctanh_towardzero_test_data): Likewise.
2361 (ctanh_test_towardzero): Likewise.
2362 (ctanh_downward_test_data): Likewise.
2363 (ctanh_test_downward): Likewise.
2364 (ctanh_upward_test_data): Likewise.
2365 (ctanh_test_upward): Likewise.
2366 (erf_test_data): Update call to AUTO_TESTS_f_f.
2367 (erfc_test_data): Likewise.
2368 (exp_test_data): Likewise.
2369 (exp_test): Use ALL_RM_TEST.
2370 (exp_tonearest_test_data): Remove.
2371 (exp_test_tonearest): Likewise.
2372 (exp_towardzero_test_data): Likewise.
2373 (exp_test_towardzero): Likewise.
2374 (exp_downward_test_data): Likewise.
2375 (exp_test_downward): Likewise.
2376 (exp_upward_test_data): Likewise.
2377 (exp_test_upward): Likewise.
2378 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2379 (exp10_test): Use ALL_RM_TEST.
2380 (exp10_tonearest_test_data): Remove.
2381 (exp10_test_tonearest): Likewise.
2382 (exp10_towardzero_test_data): Likewise.
2383 (exp10_test_towardzero): Likewise.
2384 (exp10_downward_test_data): Likewise.
2385 (exp10_test_downward): Likewise.
2386 (exp10_upward_test_data): Likewise.
2387 (exp10_test_upward): Likewise.
2388 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2389 (expm1_test_data): Likewise.
2390 (expm1_test): Use ALL_RM_TEST.
2391 (expm1_tonearest_test_data): Remove.
2392 (expm1_test_tonearest): Likewise.
2393 (expm1_towardzero_test_data): Likewise.
2394 (expm1_test_towardzero): Likewise.
2395 (expm1_downward_test_data): Likewise.
2396 (expm1_test_downward): Likewise.
2397 (expm1_upward_test_data): Likewise.
2398 (expm1_test_upward): Likewise.
2399 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2400 (fma_test): Use ALL_RM_TEST.
2401 (fma_towardzero_test_data): Remove.
2402 (fma_test_towardzero): Likewise.
2403 (fma_downward_test_data): Likewise.
2404 (fma_test_downward): Likewise.
2405 (fma_upward_test_data): Likewise.
2406 (fma_test_upward): Likewise.
2407 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2408 (j0_test_data): Update call to AUTO_TESTS_f_f.
2409 (j1_test_data): Likewise.
2410 (jn_test_data): Update call to AUTO_TESTS_if_f.
2411 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2412 (log_test_data): Update call to AUTO_TESTS_f_f.
2413 (log10_test_data): Likewise.
2414 (log1p_test_data): Likewise.
2415 (log2_test_data): Likewise.
2416 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2417 (pow_tonearest_test_data): Likewise.
2418 (sin_test_data): Update call to AUTO_TESTS_f_f.
2419 (sin_test): Use ALL_RM_TEST.
2420 (sin_tonearest_test_data): Remove.
2421 (sin_test_tonearest): Likewise.
2422 (sin_towardzero_test_data): Likewise.
2423 (sin_test_towardzero): Likewise.
2424 (sin_downward_test_data): Likewise.
2425 (sin_test_downward): Likewise.
2426 (sin_upward_test_data): Likewise.
2427 (sin_test_upward): Likewise.
2428 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2429 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2430 (sinh_test): Use ALL_RM_TEST.
2431 (sinh_tonearest_test_data): Remove.
2432 (sinh_test_tonearest): Likewise.
2433 (sinh_towardzero_test_data): Likewise.
2434 (sinh_test_towardzero): Likewise.
2435 (sinh_downward_test_data): Likewise.
2436 (sinh_test_downward): Likewise.
2437 (sinh_upward_test_data): Likewise.
2438 (sinh_test_upward): Likewise.
2439 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2440 (sqrt_test): Use ALL_RM_TEST.
2441 (sqrt_tonearest_test_data): Remove.
2442 (sqrt_test_tonearest): Likewise.
2443 (sqrt_towardzero_test_data): Likewise.
2444 (sqrt_test_towardzero): Likewise.
2445 (sqrt_downward_test_data): Likewise.
2446 (sqrt_test_downward): Likewise.
2447 (sqrt_upward_test_data): Likewise.
2448 (sqrt_test_upward): Likewise.
2449 (tan_test_data): Update call to AUTO_TESTS_f_f.
2450 (tan_test): Use ALL_RM_TEST.
2451 (tan_tonearest_test_data): Remove.
2452 (tan_test_tonearest): Likewise.
2453 (tan_towardzero_test_data): Likewise.
2454 (tan_test_towardzero): Likewise.
2455 (tan_downward_test_data): Likewise.
2456 (tan_test_downward): Likewise.
2457 (tan_upward_test_data): Likewise.
2458 (tan_test_upward): Likewise.
2459 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2460 (tgamma_test_data): Likewise.
2461 (y0_test_data): Likewise.
2462 (y1_test_data): Likewise.
2463 (yn_test_data): Update call to AUTO_TESTS_if_f.
2464 (main): Do not call removed functions.
2465
d71aeee8
JM
24662014-03-19 Joseph Myers <joseph@codesourcery.com>
2467
2468 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2469 (ldexp_test_data): Remove.
2470 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2471 scalbn_test_data.
2472 (scalb_test): Use ALL_RM_TEST.
2473
baaf1ded
AS
24742014-03-19 Andreas Schwab <schwab@suse.de>
2475
2476 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2477
b1115e91
JM
24782014-03-19 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #16649]
2481 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2482 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2484 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2485 (__ASSUME_PREADV): Undefine.
2486 (__ASSUME_PWRITEV): Likewise.
2487
0283ecca
RM
24882014-03-18 Roland McGrath <roland@hack.frob.com>
2489
7d375303
RM
2490 * bits/mman-linux.h: Add comment about non-Linux use.
2491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2492 bits/mman-linux.h resting place.
2493
0283ecca
RM
2494 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2495 * bits/mman-linux.h: ... here.
2496
aebe1003
AZ
24972014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2498
2499 * conform/conformtest.pl: Add standard definition when calling C
2500 preprocessor on data files.
2501 (checknamespace): Remove unused variable.
2502
b29b6bb8
JM
25032014-03-18 Joseph Myers <joseph@codesourcery.com>
2504
2505 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2506 minus_oflow, plus_uflow and minus_uflow in expected results.
2507 * math/libm-test.inc (scalbn_test_data): Add more tests of
2508 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2509 minus_uflow.
2510 (scalbn_test): Use ALL_RM_TEST.
2511 (scalbln_test_data): Add more tests of negative arguments. Use
2512 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2513 (scalbln_test): Use ALL_RM_TEST.
2514
c8f8fa15
RM
25152014-03-18 Roland McGrath <roland@hack.frob.com>
2516
2517 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2518
fede7a5f
WN
25192014-03-18 Will Newton <will.newton@linaro.org>
2520
2521 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2522 inaccurate comment.
2523
80cf0a58
JM
25242014-03-18 Joseph Myers <joseph@codesourcery.com>
2525
2526 * Makerules [!subdir] (check-abi): Exit with error status if a
2527 test failed.
2528
b3620862
JM
25292014-03-17 Joseph Myers <joseph@codesourcery.com>
2530
2531 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2532 for rint. Include results for all rounding modes.
2533 (nearbyint_test): Use ALL_RM_TEST.
2534 (rint_test_data): Include all tests used for nearbyint.
2535
788bba36
WN
25362014-03-17 Will Newton <will.newton@linaro.org>
2537
04ec140a
WN
2538 * nptl/sysdeps/pthread/pthread.h: Revert previous
2539 change.
2540
7579d8d5
WN
2541 * sysdeps/generic/ldsodefs.h: Revert previous
2542 change.
2543
c15cf13a
WN
2544 * libio/genops.c: Revert previous change.
2545 * libio/libioP.h: Likewise.
2546 * stdio-common/vfprintf.c: Likewise.
2547
d0ac1324
WN
2548 * sysdeps/generic/math_private.h: Revert previous
2549 change.
2550
9290130a
WN
2551 * sysdeps/generic/math_private.h: Check whether
2552 HAVE_RM_CTX is defined with #ifdef rather
2553 than #if.
2554
afb466fc
WN
2555 * argp/argp-fmtstream.h: Check whether
2556 __STRICT_ANSI__ is defined with #ifdef rather
2557 than #if.
2558 * argp/argp.h: Likewise.
2559
f7efd7c3
WN
2560 * libio/genops.c: Check whether
2561 _IO_JUMPS_OFFSET is defined with #ifdef rather
2562 than #if.
2563 * libio/libioP.h: Likewise.
2564 * stdio-common/vfprintf.c: Likewise.
2565
53f1bed3
WN
2566 * sysdeps/generic/ldsodefs.h: Check whether
2567 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2568 than #if.
2569
788bba36
WN
2570 * nptl/sysdeps/pthread/pthread.h: Check
2571 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2572 its value.
2573
fcd89ebe
SP
25742014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
ae42bbc5
SP
2576 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2577 setting O_APPEND.
2578 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2579 test case.
2580
ea33158c
SP
2581 [BZ #16680]
2582 * libio/fileops.c (_IO_file_open): Seek to end of file but
2583 don't cache the offset.
2584 (get_file_offset): Remove function.
2585 (do_ftell): Use cached offset when available.
2586 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2587 don't cache the offset.
2588 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2589 case.
2590 (do_one_test): Call it.
2591 (do_ftell_test): Fix up expected old offset for a+ mode.
2592 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2593 available.
2594
b1dbb426
SP
2595 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2596 up test status with function return status.
2597 (do_write_test): Likewise.
2598 (do_append_test): Likewise.
2599
fcd89ebe
SP
2600 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2601 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2602 Remove.
2603
9962a2d3
JM
26042014-03-17 Joseph Myers <joseph@codesourcery.com>
2605
2606 * math/gen-libm-test.pl (parse_args): Handle results specified for
2607 each rounding mode separately.
2608 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2609 tests and results from lrint_tonearest_test_data,
2610 lrint_towardzero_test_data, lrint_downward_test_data and
2611 lrint_upward_test_data.
2612 (lrint_test): Use ALL_RM_TEST.
2613 (lrint_tonearest_test_data): Remove.
2614 (lrint_test_tonearest): Likewise.
2615 (lrint_towardzero_test_data): Likewise.
2616 (lrint_test_towardzero): Likewise.
2617 (lrint_downward_test_data): Likewise.
2618 (lrint_test_downward): Likewise.
2619 (lrint_upward_test_data): Likewise.
2620 (lrint_test_upward): Likewise.
2621 (llrint_test_data): Merge in per-rounding-mode tests and results
2622 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2623 llrint_downward_test_data and llrint_upward_test_data.
2624 (llrint_test): Use ALL_RM_TEST.
2625 (llrint_tonearest_test_data): Remove.
2626 (llrint_test_tonearest): Likewise.
2627 (llrint_towardzero_test_data): Likewise.
2628 (llrint_test_towardzero): Likewise.
2629 (llrint_downward_test_data): Likewise.
2630 (llrint_test_downward): Likewise.
2631 (llrint_upward_test_data): Likewise.
2632 (llrint_test_upward): Likewise.
2633 (rint_test_data): Merge in per-rounding-mode tests and results
2634 from rint_tonearest_test_data, rint_towardzero_test_data,
2635 rint_downward_test_data and rint_upward_test_data. Add
2636 per-rounding-mode results for tests not in those arrays.
2637 (rint_test): Use ALL_RM_TEST.
2638 (rint_tonearest_test_data): Remove.
2639 (rint_test_tonearest): Likewise.
2640 (rint_towardzero_test_data): Likewise.
2641 (rint_test_towardzero): Likewise.
2642 (rint_downward_test_data): Likewise.
2643 (rint_test_downward): Likewise.
2644 (rint_upward_test_data): Likewise.
2645 (rint_test_upward): Likewise.
2646 (main): Don't call removed functions.
2647
5006148e
RM
26482014-03-14 Roland McGrath <roland@hack.frob.com>
2649
2650 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2651 "Compiled on ..." crapola. It is anti-useful.
2652
d6fe5e58
JM
26532014-03-14 Joseph Myers <joseph@codesourcery.com>
2654
2655 * scripts/evaluate-test.sh: Handle fourth argument to determine
2656 whether test run should stop on failure.
2657 * Makeconfig (stop-on-test-failure): New variable.
2658 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2659 $(stop-on-test-failure).
2660 * Makefile (tests): Give a summary of results from testing and
2661 exit with failure status if they include an ERROR or FAIL.
2662 (xtests): Likewise.
2663 * manual/install.texi (Configuring and compiling): Mention
2664 stop-on-test-failure=y.
2665 * INSTALL: Regenerated.
2666
498a2233
RM
26672014-03-14 Roland McGrath <roland@hack.frob.com>
2668
22dbc19d
RM
2669 * scripts/versionlist.awk: New file.
2670 * Makerules [$(build-shared) = yes]
2671 (postclean-generated): Add Versions.def, not Versions.def.v and
2672 Versions.def.v.i.
2673 ($(common-objpfx)Versions.def.v.i): Target removed.
2674 ($(common-objpfx)Versions.def): New target.
2675 ($(common-objpfx)Versions.all): Depend on that rather that
2676 $(common-objpfx)Versions.def.v.
2677 * Versions.def: File removed.
2678
498a2233
RM
2679 * Makeconfig (+gccwarn): Add -Wundef.
2680 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2681 a dl-sysdep.h breaking its contract.
2682 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2683 * include/stackinfo.h: New file.
2684 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2685 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2686 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2687 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2688 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2689 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2690 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2691 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2692 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2693 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2694 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2695 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2696 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2697 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2698 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2699
c7de5025
AZ
27002014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 [BZ #16707]
2703 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2704 implementation.
2705 * math/libm-test.inc (round_test_data): Add more tests.
2706
98fb27a3
AZ
2707 [BZ #16706]
2708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2709 implementation.
2710 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2711
374f7f61
AZ
2712 [BZ #16701]
2713 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2714 implementation.
2715 * math/libm-test.inc (ceil_test_data): Add more tests.
2716
4655c291
AZ
2717 * math/libm-test.inc (trunc_test_data): Add more tests related to
2718 BZ#16414.
2719
d7329d4b
RM
27202014-03-14 Roland McGrath <roland@hack.frob.com>
2721
2722 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2723 with #if rather than #ifdef.
2724 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2725
aa4de9ce
L
27262014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2727
2728 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2729 first. Disable AVX-512 GCC support if assembler doesn't support
2730 it.
2731 * sysdeps/x86_64/configure: Regenerated.
2732
2e03fae7
CD
27332014-03-13 Carlos O'Donell <carlos@redhat.com>
2734
2735 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2736 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2737 (__old_pthread_attr_setstack): Likewise.
2738 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2739 [!_STACK_GROWS_DOWN]: Likewise.
2740
43ca83ec
MF
27412014-03-13 Mike Frysinger <vapier@gentoo.org>
2742
2743 * config.make.in (have-bash2): Delete.
2744 * configure.ac (libc_cv_have_bash2): Delete.
2745 * configure: Regenerate.
2746 * elf/Makefile (common-ldd-rewrite): Rename to ...
2747 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2748 (sh-ldd-rewrite): Delete.
2749 (bash-ldd-rewrite): Delete.
2750 (have-bash2): Delete checks.
57f41c40
AS
2751 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2752 ldd-rewrite.
c66e48b4
MF
2753
2754 * config.make.in (have-ksh): Delete.
2755 (KSH): Delete.
2756 * configure.ac (libc_cv_have_ksh): Delete.
2757 * configure: Regenerate.
2758
b93834ef
MF
2759 * elf/Makefile: Delete $(have-ksh) check.
2760 ($(objpfx)sotruss): Change KSH to BASH.
2761 * elf/sotruss.ksh: Rename to ...
2762 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2763 function style to match POSIX. Drop ksh vim mode setting.
2764
f3a4632a
MF
2765 * manual/time.texi (Specifying the Time Zone with TZ): Change
2766 Tuesday to Thursday.
2767
5896c8bd
MF
2768 * debug/tst-longjmp_chk2.c: Update header comment.
2769 (stackoverflow_handler): Add comment. Call assert on pass value.
2770
2d63a517
IZ
27712014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2772
2773 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2774 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2775 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2776 (La_x86_64_vector): Add zmm.
2777 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2778 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2779 ($(objpfx)tst-audit10): New target.
2780 ($(objpfx)tst-audit10.out): Likewise.
2781 (tst-audit10-ENV): New.
2782 (AVX512-CFLAGS): Likewise.
2783 (CFLAGS-tst-audit10.c): Likewise.
2784 (CFLAGS-tst-auditmod10a.c): Likewise.
2785 (CFLAGS-tst-auditmod10b.c): Likewise.
2786 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2787 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2788 * sysdeps/x86_64/configure: Regenerated.
2789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2790 AVX-512 zmm register support.
2791 (_dl_x86_64_save_sse): Likewise.
2792 (_dl_x86_64_restore_sse): Likewise.
2793 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2794 size vector registers.
2795 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2796 (ZMM_SIZE): Likewise.
2797 * sysdeps/x86_64/tst-audit10.c: New file.
2798 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2799 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2800
44c4e5d5
RM
28012014-03-13 Roland McGrath <roland@hack.frob.com>
2802
2803 * configure.ac (HAVE_EHDR_START): New check.
2804 * configure: Regenerated.
2805 * config.h.in (HAVE_EHDR_START): New #undef.
2806 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2807 assuming the lowest-addressed segment maps the start of the file.
2808
acd6e389
JM
28092014-03-13 Joseph Myers <joseph@codesourcery.com>
2810
2811 * INSTALL: Regenerated.
2812
6f918f36
WN
28132014-03-13 Will Newton <will.newton@linaro.org>
2814
2815 * manual/setjmp.texi (System V contexts): Improve
2816 clarity and grammar of documentation.
2817
798212a0
PP
28182014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2819
2820 [BZ #16381]
798212a0 2821 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2822 (tests-pie): Add tst-pie2.
798212a0
PP
2823 * elf/tst-pie2.c: New file.
2824 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2825 for ET_EXEC.
2826 * elf/rtld.c (map_doit): Load executable as lt_executable.
2827 (dl_main): Likewise.
2828
abe6d90c
JM
28292014-03-12 Joseph Myers <joseph@codesourcery.com>
2830
2831 [BZ #16642]
2832 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2833 (__ASSUME_PSELECT): Undefine.
2834
dd3946c6
AZ
28352014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2836
2837 [BZ #16689]
2838 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2839 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2840 static build.
2841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2842 selector for static builds.
2843
c44496df
SP
28442014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2845
2846 [BZ #16695]
2847 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2848 key in the buffer.
2849
27c7220a
AZ
28502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2851
57f41c40
AS
2852 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2853 IFUNC selector for static builds.
27c7220a 2854
600fa361
JM
28552014-03-11 Joseph Myers <joseph@codesourcery.com>
2856
76c96cf7
JM
2857 * sysdeps/mips/math_private.h [__mips_hard_float]
2858 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2859 libc_feresetround_mips_ctx.
2860 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2861 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2862 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2863
600fa361
JM
2864 [BZ #16677]
2865 * math/s_nextafter.c (__nextafter): Do not return value from
2866 overflowing computation.
2867 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2868 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2869 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2870 Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2872 Likewise.
2873 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2874 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2875
d7706c32
RM
28762014-03-11 Roland McGrath <roland@hack.frob.com>
2877
2878 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2879 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2880 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2881 the new mov targetting sp.
2882
4facea47
AZ
28832014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2884
2885 [BZ #16683]
2886 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2887 Define it for static builds as well.
2888 (NO_BZERO_IMPL): Likewise.
2889
e65caf1f
VR
28902014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2891
2892 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2893 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2894 multiarch strspn for PPC64.
2895 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2896 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2898 (__libc_ifunc_impl_list): Likewise.
2899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2900 multiarch optimizations
2901 * string/strspn.c (strspn): Using macro to redefine symbol name.
2902
ba9cc071
AZ
29032014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2904 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2905
2906 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2907 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2908 multiarch strncat for PPC64.
2909 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2910 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2912 (__libc_ifunc_impl_list): Likewise.
2913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2914 multiarch optimizations
2915
8b4ff974
SP
29162014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2917
2918 [BZ #16639]
2919 * nscd/nscd.service: Make service type forking.
2920
54b46a4b
AZ
29212014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2922
2923 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2924 sign in non default rounding modes.
2925 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2926
e9996ef7
JM
29272014-03-08 Joseph Myers <joseph@codesourcery.com>
2928
2929 * math/libm-test.inc (ALL_RM_TEST): New macro.
2930 (ceil_test): Use ALL_RM_TEST.
2931 (cimag_test): Likewise.
2932 (conj_test): Likewise.
2933 (copysign_test): Likewise.
2934 (cproj_test): Likewise.
2935 (creal_test): Likewise.
2936 (fabs_test): Likewise.
2937 (floor_test): Likewise.
2938 (fmax_test): Likewise.
2939 (fmin_test): Likewise.
2940 (fmod_test): Likewise.
2941 (fpclassify_test): Likewise.
2942 (frexp_test): Likewise.
2943 (ilogb_test): Likewise.
2944 (isfinite_test): Likewise.
2945 (finite_test): Likewise.
2946 (isgreater_test): Likewise.
2947 (isgreaterequal_test): Likewise.
2948 (isinf_test): Likewise.
2949 (isless_test): Likewise.
2950 (islessequal_test): Likewise.
2951 (islessgreater_test): Likewise.
2952 (isnan_test): Likewise.
2953 (isnormal_test): Likewise.
2954 (issignaling_test): Likewise.
2955 (isunordered_test): Likewise.
2956 (logb_test): Likewise.
2957 (logb_downward_test_data): Remove.
2958 (logb_test_downward): Likewise.
2959 (lround_test): Use ALL_RM_TEST.
2960 (llround_test): Likewise.
2961 (modf_test): Likewise.
2962 (nexttoward_test): Likewise.
2963 (remainder_test): Likewise.
2964 (drem_test): Likewise.
2965 (remainder_tonearest_test_data): Likewise.
2966 (remainder_test_tonearest): Likewise.
2967 (drem_test_tonearest): Likewise.
2968 (remainder_towardzero_test_data): Likewise.
2969 (remainder_test_towardzero): Likewise.
2970 (drem_test_towardzero): Likewise.
2971 (remainder_downward_test_data): Likewise.
2972 (remainder_test_downward): Likewise.
2973 (drem_test_downward): Likewise.
2974 (remainder_upward_test_data): Likewise.
2975 (remainder_test_upward): Likewise.
2976 (drem_test_upward): Likewise.
2977 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2978 (round_test): Use ALL_RM_TEST.
2979 (signbit_test): Likewise.
2980 (trunc_test): Likewise.
2981 (significand_test): Likewise.
2982 (main): Don't call removed functions.
2983
bc61d27c
JM
29842014-03-07 Joseph Myers <joseph@codesourcery.com>
2985
5c780849
JM
2986 [BZ #16674]
2987 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2988 || __USE_XOPEN2K8].
2989 (ILL_ILLOPN): Likewise.
2990 (ILL_ILLADR): Likewise.
2991 (ILL_ILLTRP): Likewise.
2992 (ILL_PRVOPC): Likewise.
2993 (ILL_PRVREG): Likewise.
2994 (ILL_COPROC): Likewise.
2995 (ILL_BADSTK): Likewise.
2996 (FPE_INTDIV): Likewise.
2997 (FPE_INTOVF): Likewise.
2998 (FPE_FLTDIV): Likewise.
2999 (FPE_FLTOVF): Likewise.
3000 (FPE_FLTUND): Likewise.
3001 (FPE_FLTRES): Likewise.
3002 (FPE_FLTINV): Likewise.
3003 (FPE_FLTSUB): Likewise.
3004 (SEGV_MAPERR): Likewise.
3005 (SEGV_ACCERR): Likewise.
3006 (BUS_ADRALN): Likewise.
3007 (BUS_ADRERR): Likewise.
3008 (BUS_OBJERR): Likewise.
3009 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3010 (TRAP_TRACE): Likewise.
3011 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3012 __USE_XOPEN2K8].
3013 (CLD_KILLED): Likewise.
3014 (CLD_DUMPED): Likewise.
3015 (CLD_TRAPPED): Likewise.
3016 (CLD_STOPPED): Likewise.
3017 (CLD_CONTINUED): Likewise.
3018 (POLL_IN): Likewise.
3019 (POLL_OUT): Likewise.
3020 (POLL_MSG): Likewise.
3021 (POLL_ERR): Likewise.
3022 (POLL_PRI): Likewise.
3023 (POLL_HUP): Likewise.
3024 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3025 Likewise.
3026 (ILL_ILLOPN): Likewise.
3027 (ILL_ILLADR): Likewise.
3028 (ILL_ILLTRP): Likewise.
3029 (ILL_PRVOPC): Likewise.
3030 (ILL_PRVREG): Likewise.
3031 (ILL_COPROC): Likewise.
3032 (ILL_BADSTK): Likewise.
3033 (FPE_INTDIV): Likewise.
3034 (FPE_INTOVF): Likewise.
3035 (FPE_FLTDIV): Likewise.
3036 (FPE_FLTOVF): Likewise.
3037 (FPE_FLTUND): Likewise.
3038 (FPE_FLTRES): Likewise.
3039 (FPE_FLTINV): Likewise.
3040 (FPE_FLTSUB): Likewise.
3041 (SEGV_MAPERR): Likewise.
3042 (SEGV_ACCERR): Likewise.
3043 (BUS_ADRALN): Likewise.
3044 (BUS_ADRERR): Likewise.
3045 (BUS_OBJERR): Likewise.
3046 (BUS_MCEERR_AR): Likewise.
3047 (BUS_MCEERR_AO): Likewise.
3048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3049 (TRAP_TRACE): Likewise.
3050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3051 __USE_XOPEN2K8].
3052 (CLD_KILLED): Likewise.
3053 (CLD_DUMPED): Likewise.
3054 (CLD_TRAPPED): Likewise.
3055 (CLD_STOPPED): Likewise.
3056 (CLD_CONTINUED): Likewise.
3057 (POLL_IN): Likewise.
3058 (POLL_OUT): Likewise.
3059 (POLL_MSG): Likewise.
3060 (POLL_ERR): Likewise.
3061 (POLL_PRI): Likewise.
3062 (POLL_HUP): Likewise.
3063 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3064 (ILL_ILLOPN): Likewise.
3065 (ILL_ILLADR): Likewise.
3066 (ILL_ILLTRP): Likewise.
3067 (ILL_PRVOPC): Likewise.
3068 (ILL_PRVREG): Likewise.
3069 (ILL_COPROC): Likewise.
3070 (ILL_BADSTK): Likewise.
3071 (FPE_INTDIV): Likewise.
3072 (FPE_INTOVF): Likewise.
3073 (FPE_FLTDIV): Likewise.
3074 (FPE_FLTOVF): Likewise.
3075 (FPE_FLTUND): Likewise.
3076 (FPE_FLTRES): Likewise.
3077 (FPE_FLTINV): Likewise.
3078 (FPE_FLTSUB): Likewise.
3079 (SEGV_MAPERR): Likewise.
3080 (SEGV_ACCERR): Likewise.
3081 (BUS_ADRALN): Likewise.
3082 (BUS_ADRERR): Likewise.
3083 (BUS_OBJERR): Likewise.
3084 (BUS_MCEERR_AR): Likewise.
3085 (BUS_MCEERR_AO): Likewise.
3086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3087 (TRAP_TRACE): Likewise.
3088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3089 __USE_XOPEN2K8].
3090 (CLD_KILLED): Likewise.
3091 (CLD_DUMPED): Likewise.
3092 (CLD_TRAPPED): Likewise.
3093 (CLD_STOPPED): Likewise.
3094 (CLD_CONTINUED): Likewise.
3095 (POLL_IN): Likewise.
3096 (POLL_OUT): Likewise.
3097 (POLL_MSG): Likewise.
3098 (POLL_ERR): Likewise.
3099 (POLL_PRI): Likewise.
3100 (POLL_HUP): Likewise.
3101 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3102 Likewise.
3103 (ILL_ILLOPN): Likewise.
3104 (ILL_ILLADR): Likewise.
3105 (ILL_ILLTRP): Likewise.
3106 (ILL_PRVOPC): Likewise.
3107 (ILL_PRVREG): Likewise.
3108 (ILL_COPROC): Likewise.
3109 (ILL_BADSTK): Likewise.
3110 (ILL_BADIADDR): Likewise.
3111 (ILL_BREAK): Likewise.
3112 (FPE_INTDIV): Likewise.
3113 (FPE_INTOVF): Likewise.
3114 (FPE_FLTDIV): Likewise.
3115 (FPE_FLTOVF): Likewise.
3116 (FPE_FLTUND): Likewise.
3117 (FPE_FLTRES): Likewise.
3118 (FPE_FLTINV): Likewise.
3119 (FPE_FLTSUB): Likewise.
3120 (FPE_DECOVF): Likewise.
3121 (FPE_DECDIV): Likewise.
3122 (FPE_DECERR): Likewise.
3123 (FPE_INVASC): Likewise.
3124 (FPE_INVDEC): Likewise.
3125 (SEGV_MAPERR): Likewise.
3126 (SEGV_ACCERR): Likewise.
3127 (SEGV_PSTKOVF): Likewise.
3128 (BUS_ADRALN): Likewise.
3129 (BUS_ADRERR): Likewise.
3130 (BUS_OBJERR): Likewise.
3131 (BUS_MCEERR_AR): Likewise.
3132 (BUS_MCEERR_AO): Likewise.
3133 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3134 (TRAP_TRACE): Likewise.
3135 (TRAP_BRANCH): Likewise.
3136 (TRAP_HWBKPT): Likewise.
3137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3138 __USE_XOPEN2K8].
3139 (CLD_KILLED): Likewise.
3140 (CLD_DUMPED): Likewise.
3141 (CLD_TRAPPED): Likewise.
3142 (CLD_STOPPED): Likewise.
3143 (CLD_CONTINUED): Likewise.
3144 (POLL_IN): Likewise.
3145 (POLL_OUT): Likewise.
3146 (POLL_MSG): Likewise.
3147 (POLL_ERR): Likewise.
3148 (POLL_PRI): Likewise.
3149 (POLL_HUP): Likewise.
3150 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3151 (ILL_ILLOPN): Likewise.
3152 (ILL_ILLADR): Likewise.
3153 (ILL_ILLTRP): Likewise.
3154 (ILL_PRVOPC): Likewise.
3155 (ILL_PRVREG): Likewise.
3156 (ILL_COPROC): Likewise.
3157 (ILL_BADSTK): Likewise.
3158 (FPE_INTDIV): Likewise.
3159 (FPE_INTOVF): Likewise.
3160 (FPE_FLTDIV): Likewise.
3161 (FPE_FLTOVF): Likewise.
3162 (FPE_FLTUND): Likewise.
3163 (FPE_FLTRES): Likewise.
3164 (FPE_FLTINV): Likewise.
3165 (FPE_FLTSUB): Likewise.
3166 (SEGV_MAPERR): Likewise.
3167 (SEGV_ACCERR): Likewise.
3168 (BUS_ADRALN): Likewise.
3169 (BUS_ADRERR): Likewise.
3170 (BUS_OBJERR): Likewise.
3171 (BUS_MCEERR_AR): Likewise.
3172 (BUS_MCEERR_AO): Likewise.
3173 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3174 (TRAP_TRACE): Likewise.
3175 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3176 __USE_XOPEN2K8].
3177 (CLD_KILLED): Likewise.
3178 (CLD_DUMPED): Likewise.
3179 (CLD_TRAPPED): Likewise.
3180 (CLD_STOPPED): Likewise.
3181 (CLD_CONTINUED): Likewise.
3182 (POLL_IN): Likewise.
3183 (POLL_OUT): Likewise.
3184 (POLL_MSG): Likewise.
3185 (POLL_ERR): Likewise.
3186 (POLL_PRI): Likewise.
3187 (POLL_HUP): Likewise.
3188 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3189 (ILL_ILLOPN): Likewise.
3190 (ILL_ILLADR): Likewise.
3191 (ILL_ILLTRP): Likewise.
3192 (ILL_PRVOPC): Likewise.
3193 (ILL_PRVREG): Likewise.
3194 (ILL_COPROC): Likewise.
3195 (ILL_BADSTK): Likewise.
3196 (FPE_INTDIV): Likewise.
3197 (FPE_INTOVF): Likewise.
3198 (FPE_FLTDIV): Likewise.
3199 (FPE_FLTOVF): Likewise.
3200 (FPE_FLTUND): Likewise.
3201 (FPE_FLTRES): Likewise.
3202 (FPE_FLTINV): Likewise.
3203 (FPE_FLTSUB): Likewise.
3204 (SEGV_MAPERR): Likewise.
3205 (SEGV_ACCERR): Likewise.
3206 (BUS_ADRALN): Likewise.
3207 (BUS_ADRERR): Likewise.
3208 (BUS_OBJERR): Likewise.
3209 (BUS_MCEERR_AR): Likewise.
3210 (BUS_MCEERR_AO): Likewise.
3211 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3212 (TRAP_TRACE): Likewise.
3213 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3214 __USE_XOPEN2K8].
3215 (CLD_KILLED): Likewise.
3216 (CLD_DUMPED): Likewise.
3217 (CLD_TRAPPED): Likewise.
3218 (CLD_STOPPED): Likewise.
3219 (CLD_CONTINUED): Likewise.
3220 (POLL_IN): Likewise.
3221 (POLL_OUT): Likewise.
3222 (POLL_MSG): Likewise.
3223 (POLL_ERR): Likewise.
3224 (POLL_PRI): Likewise.
3225 (POLL_HUP): Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3227 (ILL_ILLOPN): Likewise.
3228 (ILL_ILLADR): Likewise.
3229 (ILL_ILLTRP): Likewise.
3230 (ILL_PRVOPC): Likewise.
3231 (ILL_PRVREG): Likewise.
3232 (ILL_COPROC): Likewise.
3233 (ILL_BADSTK): Likewise.
3234 (FPE_INTDIV): Likewise.
3235 (FPE_INTOVF): Likewise.
3236 (FPE_FLTDIV): Likewise.
3237 (FPE_FLTOVF): Likewise.
3238 (FPE_FLTUND): Likewise.
3239 (FPE_FLTRES): Likewise.
3240 (FPE_FLTINV): Likewise.
3241 (FPE_FLTSUB): Likewise.
3242 (SEGV_MAPERR): Likewise.
3243 (SEGV_ACCERR): Likewise.
3244 (BUS_ADRALN): Likewise.
3245 (BUS_ADRERR): Likewise.
3246 (BUS_OBJERR): Likewise.
3247 (BUS_MCEERR_AR): Likewise.
3248 (BUS_MCEERR_AO): Likewise.
3249 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3250 (TRAP_TRACE): Likewise.
3251 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3252 __USE_XOPEN2K8].
3253 (CLD_KILLED): Likewise.
3254 (CLD_DUMPED): Likewise.
3255 (CLD_TRAPPED): Likewise.
3256 (CLD_STOPPED): Likewise.
3257 (CLD_CONTINUED): Likewise.
3258 (POLL_IN): Likewise.
3259 (POLL_OUT): Likewise.
3260 (POLL_MSG): Likewise.
3261 (POLL_ERR): Likewise.
3262 (POLL_PRI): Likewise.
3263 (POLL_HUP): Likewise.
3264 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3265 (ILL_ILLOPN): Likewise.
3266 (ILL_ILLADR): Likewise.
3267 (ILL_ILLTRP): Likewise.
3268 (ILL_PRVOPC): Likewise.
3269 (ILL_PRVREG): Likewise.
3270 (ILL_COPROC): Likewise.
3271 (ILL_BADSTK): Likewise.
3272 (ILL_DBLFLT): Likewise.
3273 (ILL_HARDWALL): Likewise.
3274 (FPE_INTDIV): Likewise.
3275 (FPE_INTOVF): Likewise.
3276 (FPE_FLTDIV): Likewise.
3277 (FPE_FLTOVF): Likewise.
3278 (FPE_FLTUND): Likewise.
3279 (FPE_FLTRES): Likewise.
3280 (FPE_FLTINV): Likewise.
3281 (FPE_FLTSUB): Likewise.
3282 (SEGV_MAPERR): Likewise.
3283 (SEGV_ACCERR): Likewise.
3284 (BUS_ADRALN): Likewise.
3285 (BUS_ADRERR): Likewise.
3286 (BUS_OBJERR): Likewise.
3287 (BUS_MCEERR_AR): Likewise.
3288 (BUS_MCEERR_AO): Likewise.
3289 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3290 (TRAP_TRACE): Likewise.
3291 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3292 __USE_XOPEN2K8].
3293 (CLD_KILLED): Likewise.
3294 (CLD_DUMPED): Likewise.
3295 (CLD_TRAPPED): Likewise.
3296 (CLD_STOPPED): Likewise.
3297 (CLD_CONTINUED): Likewise.
3298 (POLL_IN): Likewise.
3299 (POLL_OUT): Likewise.
3300 (POLL_MSG): Likewise.
3301 (POLL_ERR): Likewise.
3302 (POLL_PRI): Likewise.
3303 (POLL_HUP): Likewise.
3304 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3305 (ILL_ILLOPN): Likewise.
3306 (ILL_ILLADR): Likewise.
3307 (ILL_ILLTRP): Likewise.
3308 (ILL_PRVOPC): Likewise.
3309 (ILL_PRVREG): Likewise.
3310 (ILL_COPROC): Likewise.
3311 (ILL_BADSTK): Likewise.
3312 (FPE_INTDIV): Likewise.
3313 (FPE_INTOVF): Likewise.
3314 (FPE_FLTDIV): Likewise.
3315 (FPE_FLTOVF): Likewise.
3316 (FPE_FLTUND): Likewise.
3317 (FPE_FLTRES): Likewise.
3318 (FPE_FLTINV): Likewise.
3319 (FPE_FLTSUB): Likewise.
3320 (SEGV_MAPERR): Likewise.
3321 (SEGV_ACCERR): Likewise.
3322 (BUS_ADRALN): Likewise.
3323 (BUS_ADRERR): Likewise.
3324 (BUS_OBJERR): Likewise.
3325 (BUS_MCEERR_AR): Likewise.
3326 (BUS_MCEERR_AO): Likewise.
3327 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3328 (TRAP_TRACE): Likewise.
3329 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3330 __USE_XOPEN2K8].
3331 (CLD_KILLED): Likewise.
3332 (CLD_DUMPED): Likewise.
3333 (CLD_TRAPPED): Likewise.
3334 (CLD_STOPPED): Likewise.
3335 (CLD_CONTINUED): Likewise.
3336 (POLL_IN): Likewise.
3337 (POLL_OUT): Likewise.
3338 (POLL_MSG): Likewise.
3339 (POLL_ERR): Likewise.
3340 (POLL_PRI): Likewise.
3341 (POLL_HUP): Likewise.
3342 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3343 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3344
bc61d27c
JM
3345 [BZ #16670]
3346 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3347 before #include of <time.h>.
3348 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3349 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3350 (test-xfail-UNIX98/sched.h/conform): Likewise.
3351
302949e2
MS
33522014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3353
3354 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3355 error absence of trapping exception support.
3356 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3357
a00f522a
JM
33582014-03-07 Joseph Myers <joseph@codesourcery.com>
3359
6f99f280
JM
3360 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3361 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3362 * timezone/Makefile (testdata): Move definition above include of
3363 Rules.
3364 (test-zones): New variable.
3365 (tests-special): Add zone files.
3366 (build-testdata): Use $(evaluate-test).
3367
0b20a9e8
JM
3368 * elf/Makefile (tests-special): Rename tests to end with .out.
3369 ($(objpfx)noload-mem): Likewise.
3370 ($(objpfx)tst-leaks1-mem): Likewise.
3371 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3372 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3373 $(objpfx)test-iconvconfig.out.
3374 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3375 set -e inside subshell and redirect output to file.
3376 * iconvdata/Makefile (generated): Rename tests to end with .out.
3377 Correct type.
3378 (tests-special): Rename tests to end with .out.
3379 ($(objpfx)mtrace-tst-loading): Likewise.
3380 * intl/Makefile (generated): Likewise.
3381 (tests-special): Likewise.
3382 ($(objpfx)mtrace-tst-gettext): Likewise.
3383 * misc/Makefile (generated): Likewise.
3384 (tests-special): Likewise.
3385 ($(objpfx)tst-error1-mem): Likewise.
3386 * nptl/Makefile (tests-special): Likewise.
3387 ($(objpfx)tst-stack3-mem): Likewise.
3388 (generated): Likewise.
3389 * posix/Makefile (generated): Likewise.
3390 (tests-special): Likewise.
3391 (xtests-special): Likewise.
3392 ($(objpfx)tst-fnmatch-mem): Likewise.
3393 ($(objpfx)bug-regex2-mem): Likewise.
3394 ($(objpfx)bug-regex14-mem): Likewise.
3395 ($(objpfx)bug-regex21-mem): Likewise.
3396 ($(objpfx)bug-regex31-mem): Likewise.
3397 ($(objpfx)tst-vfork3-mem): Likewise.
3398 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3399 ($(objpfx)tst-pcre-mem): Likewise.
3400 ($(objpfx)tst-boost-mem): Likewise.
3401 ($(objpfx)bug-ga2-mem): Likewise.
3402 ($(objpfx)bug-glob2-mem): Likewise.
3403 * resolv/Makefile (generate): Likewise.
3404 (tests-special): Likewise.
3405 (xtests-special): Likewise.
3406 (generated): Likewise.
3407 ($(objpfx)mtrace-tst-leaks): Likewise.
3408 ($(objpfx)mtrace-tst-leaks2): Likewise.
3409
265d52ab
JM
3410 * scripts/merge-test-results.sh: New file.
3411 * Makefile (tests-special-notdir): New variable.
3412 (tests): Run merge-test-results.sh.
3413 (xtests): Likewise.
3414 * Rules (tests-special-notdir): New variable.
3415 (xtests-special-notdir): Likewise.
3416 (tests): Run merge-test-results.sh
3417 (xtests): Likewise.
3418
54ee292d
JM
3419 * Makeconfig (test-xfail-name): New variable.
3420 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3421 compute variable name for expected failures.
3422 * conform/Makefile (conformtest-headers-data): New variable.
3423 (conformtest-standards): Likewise.
3424 (conformtest-headers-ISO): Likewise.
3425 (conformtest-headers-ISO99): Likewise.
3426 (conformtest-headers-ISO11): Likewise.
3427 (conformtest-headers-POSIX): Likewise.
3428 (conformtest-headers-XPG3): Likewise.
3429 (conformtest-headers-XPG4): Likewise.
3430 (conformtest-headers-UNIX98): Likewise.
3431 (conformtest-headers-XOPEN2K): Likewise.
3432 (conformtest-headers-POSIX2008): Likewise.
3433 (conformtest-headers-XOPEN2K8): Likewise.
3434 (conformtest-header-list-base): Likewise.
3435 (conformtest-header-list-tests): Likewise.
3436 (conformtest-header-base): Likewise.
3437 (conformtest-header-tests): Likewise.
3438 (tests-special): Add $(conformtest-header-list-tests). If
3439 [$(fast-check) && !$(cross-compiling)], add
3440 $(conformtest-header-tests) instead of
3441 $(objpfx)run-conformtest.out.
3442 (generated): Add $(conformtest-header-list-base). If
3443 [$(fast-check) && !$(cross-compiling)], add
3444 $(conformtest-header-base). Remove previous setting.
3445 ($(conformtest-header-list-tests)): New target.
3446 (test-xfail-run-conformtest): Remove variable.
3447 ($(objpfx)run-conformtest.out): Remove target.
3448 (test-xfail-ISO11/complex.h/conform): New variable.
3449 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3450 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3451 (test-xfail-XPG3/varargs.h/conform): Likewise.
3452 (test-xfail-XPG4/varargs.h/conform): Likewise.
3453 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3454 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3455 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3456 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3457 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3458 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3459 (test-xfail-XPG3/ftw.h/conform): Likewise.
3460 (test-xfail-XPG3/grp.h/conform): Likewise.
3461 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3462 (test-xfail-XPG3/limits.h/conform): Likewise.
3463 (test-xfail-XPG3/pwd.h/conform): Likewise.
3464 (test-xfail-XPG3/search.h/conform): Likewise.
3465 (test-xfail-XPG3/signal.h/conform): Likewise.
3466 (test-xfail-XPG3/stdio.h/conform): Likewise.
3467 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3468 (test-xfail-XPG3/string.h/conform): Likewise.
3469 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3470 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3471 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3472 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3473 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3474 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3475 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3476 (test-xfail-XPG3/termios.h/conform): Likewise.
3477 (test-xfail-XPG3/time.h/conform): Likewise.
3478 (test-xfail-XPG3/unistd.h/conform): Likewise.
3479 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3480 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3481 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3482 (test-xfail-XPG4/netdb.h/conform): Likewise.
3483 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3484 (test-xfail-XPG4/signal.h/conform): Likewise.
3485 (test-xfail-XPG4/stdio.h/conform): Likewise.
3486 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3487 (test-xfail-XPG4/stropts.h/conform): Likewise.
3488 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3489 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3490 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3491 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3492 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3493 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3494 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3495 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3496 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3497 (test-xfail-XPG4/termios.h/conform): Likewise.
3498 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3499 (test-xfail-XPG4/unistd.h/conform): Likewise.
3500 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3501 (test-xfail-POSIX/sched.h/conform): Likewise.
3502 (test-xfail-POSIX/signal.h/conform): Likewise.
3503 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3504 (test-xfail-POSIX/tar.h/conform): Likewise.
3505 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3506 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3507 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3508 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3509 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3510 (test-xfail-UNIX98/sched.h/conform): Likewise.
3511 (test-xfail-UNIX98/signal.h/conform): Likewise.
3512 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3513 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3514 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3515 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3516 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3517 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3518 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3519 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3520 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3521 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3522 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3523 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3524 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3525 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3526 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3527 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3528 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3529 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3530 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3531 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3532 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3533 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3534 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3535 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3536 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3537 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3538 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3539 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3540 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3541 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3542 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3543 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3544 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3545 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3546 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3547 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3548 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3549 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3550 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3551 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3552 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3553 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3554 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3555 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3556 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3557 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3558 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3559 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3560 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3561 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3562 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3563 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3564 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3565 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3566 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3567 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3568 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3569 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3570 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3571 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3572 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3573 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3574 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3575 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3576 (conformtest-cc-flags): Likewise.
3577 ($(conformtest-header-tests): New target.
3578 * conform/check-header-lists.sh: New file.
3579 * conform/run-conformtest.sh: Remove.
3580
a00f522a
JM
3581 * conform/conformtest.pl: Allow ' and \ in values given for
3582 constants.
3583 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3584 inclusion.
3585 [POSIX] (sys/types.h): Likewise.
3586 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3587 inclusion.
3588 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3589 inclusion.
3590 * conform/data/signal.h-data (SIGIO): Remove expectation.
3591 [XPG3] (SIGBUS): Do not expect.
3592 [POSIX || XPG3] (SIGPOLL): Likewise.
3593 [POSIX || XPG3] (SIGPROF): Likewise.
3594 [POSIX || XPG3] (SIGSYS): Likewise.
3595 [XPG3] (SIGTRAP): Likewise.
3596 [POSIX || XPG3] (SIGURG): Likewise.
3597 [POSIX || XPG3] (SIGVTALRM): Likewise.
3598 [POSIX || XPG3] (SIGXCPU): Likewise.
3599 [POSIX || XPG3] (SIGXFSZ): Likewise.
3600 [POSIX] (SA_SIGINFO): Expect.
3601 [XPG3] (siginfo_t): Do not expect type or contents.
3602 [POSIX] (si_pid): Do not expect element.
3603 [POSIX] (si_uid): Likewise.
3604 [POSIX] (si_addr): Likewise.
3605 [POSIX] (si_status): Likewise.
3606 [POSIX] (si_band): Likewise.
3607 [XPG4] (si_value): Likewise.
3608 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3609 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3610 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3611 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3612 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3613 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3614 [POSIX || XPG3] (ILL_COPROC): Likewise.
3615 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3616 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3617 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3618 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3619 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3620 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3621 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3622 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3623 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3624 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3625 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3626 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3627 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3628 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3629 [POSIX || XPG3] (CLD_EXITED): Likewise.
3630 [POSIX || XPG3] (CLD_KILLED): Likewise.
3631 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3632 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3633 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3634 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3635 [POSIX || XPG3] (POLL_IN): Likewise.
3636 [POSIX || XPG3] (POLL_OUT): Likewise.
3637 [POSIX || XPG3] (POLL_MSG): Likewise.
3638 [POSIX || XPG3] (POLL_ERR): Likewise.
3639 [POSIX || XPG3] (POLL_PRI): Likewise.
3640 [POSIX || XPG3] (POLL_HUP): Likewise.
3641 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3642 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3643 (SIG*): Do not allow.
3644 [XPG3] (si_*): Likewise.
3645 [XPG3] (SI_*): Likewise.
3646 [XPG3 || XPG4] (sigev_*): Likewise.
3647 [XPG3 || XPG4] (SIGEV_*): Likewise.
3648 [XPG3 || XPG4] (sival_*): Likewise.
3649 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3650 [POSIX || XPG3] (BUS_*): Likewise.
3651 [POSIX || XPG3] (CLD_*): Likewise.
3652 [POSIX || XPG3] (FPE_*): Likewise.
3653 [POSIX || XPG3] (ILL_*): Likewise.
3654 [POSIX || XPG3] (POLL_*): Likewise.
3655 [POSIX || XPG3] (SEGV_*): Likewise.
3656 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3657 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3658 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3659 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3660 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3661 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3662 Specify type and value.
3663 (TVERSLEN): Likewise.
3664 (REGTYPE): Likewise.
3665 (AREGTYPE): Likewise.
3666 (LNKTYPE): Likewise.
3667 (SYMTYPE): Likewise.
3668 (CHRTYPE): Likewise.
3669 (BLKTYPE): Likewise.
3670 (DIRTYPE): Likewise.
3671 (FIFOTYPE): Likewise.
3672 (CONTTYPE): Likewise.
3673 (TSUID): Likewise.
3674 (TSGID): Likewise.
3675 (TSVTX): Likewise.
3676 (TUREAD): Likewise.
3677 (TUWRITE): Likewise.
3678 (TUEXEC): Likewise.
3679 (TGREAD): Likewise.
3680 (TGWRITE): Likewise.
3681 (TGEXEC): Likewise.
3682 (TOREAD): Likewise.
3683 (TOWRITE): Likewise.
3684 (TOEXEC): Likewise.
3685 [POSIX] (TSVTX): Expect constant.
3686
aa97dee1
JM
36872014-03-06 Joseph Myers <joseph@codesourcery.com>
3688
f214606a
JM
3689 * Makefile (tests): Change dependencies to ....
3690 (tests-special): ... additions to this variable.
3691 (tests): Depend on $(tests-special).
3692 * Makerules (check-abi-list): New variable.
3693 (check-abi): Depend on $(check-abi-list).
3694 [$(subdir) = elf] (tests-special): Add
3695 $(objpfx)check-abi-libc.out.
3696 [$(build-shared) = yes && subdir] (tests-special): Add
3697 $(check-abi-list).
3698 [$(build-shared) = yes && subdir] (tests): Do not depend on
3699 check-abi.
3700 * Rules (tests): Depend on $(tests-special).
3701 (xtests): Depend on $(xtests-special).
3702 * catgets/Makefile (tests): Change dependencies to ....
3703 (tests-special): ... additions to this variable.
3704 * conform/Makefile (tests): Change dependencies to ....
3705 (tests-special): ... additions to this variable.
3706 * elf/Makefile (tests): Change dependencies to ....
3707 (tests-special): ... additions to this variable.
3708 * grp/Makefile (tests): Change dependencies to ....
3709 (tests-special): ... additions to this variable.
3710 * iconv/Makefile (xtests): Change dependencies to ....
3711 (xtests-special): ... additions to this variable.
3712 * iconvdata/Makefile (tests): Change dependencies to ....
3713 (tests-special): ... additions to this variable.
3714 * intl/Makefile (tests): Change dependencies to ....
3715 (tests-special): ... additions to this variable. Also add
3716 $(objpfx)tst-gettext.out.
3717 * io/Makefile (tests): Change dependencies to ....
3718 (tests-special): ... additions to this variable.
3719 * libio/Makefile (tests): Change dependencies to ....
3720 (tests-special): ... additions to this variable.
3721 * malloc/Makefile (tests): Change dependencies to ....
3722 (tests-special): ... additions to this variable.
3723 * misc/Makefile (tests): Change dependencies to ....
3724 (tests-special): ... additions to this variable.
3725 * nptl/Makefile (tests): Change dependencies to ....
3726 (tests-special): ... additions to this variable.
3727 * nptl_db/Makefile (tests): Change dependencies to ....
3728 (tests-special): ... additions to this variable.
3729 * posix/Makefile (tests): Change dependencies to ....
3730 (tests-special): ... additions to this variable.
3731 (xtests): Change dependencies to ....
3732 (xtests-special): ... additions to this variable.
3733 * resolv/Makefile (tests): Change dependencies to ....
3734 (tests-special): ... additions to this variable.
3735 (xtests): Change dependencies to ....
3736 (xtests-special): ... additions to this variable.
3737 * stdio-common/Makefile (tests): Change dependencies to ....
3738 (tests-special): ... additions to this variable.
3739 (do-tst-unbputc): Remove target.
3740 (do-tst-printf): Likewise.
3741 * stdlib/Makefile (tests): Change dependencies to ....
3742 (tests-special): ... additions to this variable.
3743 * string/Makefile (tests): Change dependencies to ....
3744 (tests-special): ... additions to this variable.
3745 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3746 (tests-special): ... additions to this variable.
3747
81700b53
JM
3748 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3749 whole file.
3750 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3751 whole file.
3752 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3753 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3754
2ea18461
JM
3755 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3756 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3757 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3758 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3759 * conform/data/libgen.h-data [XPG3]: Likewise.
3760 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3761 * conform/data/ndbm.h-data [XPG3]: Likewise.
3762 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3763 * conform/data/netdb.h-data [XPG3]: Likewise.
3764 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3765 * conform/data/poll.h-data [XPG3]: Likewise.
3766 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3767 * conform/data/strings.h-data [XPG3]: Likewise.
3768 * conform/data/stropts.h-data [XPG3]: Likewise.
3769 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3770 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3771 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3772 Likewise.
3773 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3774 * conform/data/sys/time.h-data [XPG3]: Likewise.
3775 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3776 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3777 * conform/data/sys/un.h-data [XPG3]: Likewise.
3778 * conform/data/syslog.h-data [XPG3]: Likewise.
3779 * conform/data/ucontext.h-data [XPG3]: Likewise.
3780 * conform/data/utmpx.h-data [XPG3]: Likewise.
3781 * conform/data/varargs.h-data [UNIX98]: Enable file.
3782
355bc986
JM
3783 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3784
215db402
JM
3785 * math/libm-test.inc (struct test_f_f_data): Move expected results
3786 into structure for each rounding mode.
3787 (struct test_ff_f_data): Likewise.
3788 (struct test_ff_f_data_nexttoward): Likewise.
3789 (struct test_fi_f_data): Likewise.
3790 (struct test_fl_f_data): Likewise.
3791 (struct test_if_f_data): Likewise.
3792 (struct test_fff_f_data): Likewise.
3793 (struct test_c_f_data): Likewise.
3794 (struct test_f_f1_data): Likewise.
3795 (struct test_fF_f1_data): Likewise.
3796 (struct test_ffI_f1_data): Likewise.
3797 (struct test_c_c_data): Likewise.
3798 (struct test_cc_c_data): Likewise.
3799 (struct test_f_i_data): Likewise.
3800 (struct test_ff_i_data): Likewise.
3801 (struct test_f_l_data): Likewise.
3802 (struct test_f_L_data): Likewise.
3803 (struct test_fFF_11_data): Likewise.
3804 (RM_): New macro.
3805 (RM_FE_DOWNWARD): Likewise.
3806 (RM_FE_TONEAREST): Likewise.
3807 (RM_FE_TOWARDZERO): Likewise.
3808 (RM_FE_UPWARD): Likewise.
3809 (RUN_TEST_LOOP_f_f): Update references to expected results.
3810 (RUN_TEST_LOOP_2_f): Likewise.
3811 (RUN_TEST_LOOP_fff_f): Likewise.
3812 (RUN_TEST_LOOP_c_f): Likewise.
3813 (RUN_TEST_LOOP_f_f1): Likewise.
3814 (RUN_TEST_LOOP_fF_f1): Likewise.
3815 (RUN_TEST_LOOP_fI_f1): Likewise.
3816 (RUN_TEST_LOOP_ffI_f1): Likewise.
3817 (RUN_TEST_LOOP_c_c): Likewise.
3818 (RUN_TEST_LOOP_cc_c): Likewise.
3819 (RUN_TEST_LOOP_f_i): Likewise.
3820 (RUN_TEST_LOOP_f_i_tg): Likewise.
3821 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3822 (RUN_TEST_LOOP_f_b): Likewise.
3823 (RUN_TEST_LOOP_f_b_tg): Likewise.
3824 (RUN_TEST_LOOP_f_l): Likewise.
3825 (RUN_TEST_LOOP_f_L): Likewise.
3826 (RUN_TEST_LOOP_fFF_11): Likewise.
3827 * math/gen-libm-test.pl (parse_args): Output four copies of
3828 expected results for each test.
3829
67737b8f
JM
3830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3831 (__ASSUME_UTIMES): Remove.
3832 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3833 (__ASSUME_UTIMES): Likewise.
3834
aa97dee1
JM
3835 * math/gen-auto-libm-tests.c: Update comment on output format.
3836 (output_for_one_input_case): Generate before-rounding and
3837 after-rounding information as conditions on output flags not
3838 floating-point format.
3839 * math/auto-libm-test-out: Regenerated.
3840 * math/gen-libm-test.pl (cond_value): New function.
3841 (or_cond_value): Use cond_value.
3842 (generate_testfile): Handle conditional exceptions.
3843
e6b6a857
JM
38442014-03-05 Joseph Myers <joseph@codesourcery.com>
3845
2f0a0f44
JM
3846 * math/libm-test.inc (max_valid_error): New variable.
3847 (init_max_error): Take new argument specifying whether function
3848 results are exactly determined. Set max_valid_error and bound
3849 other variables for errors based on this argument.
3850 (set_max_error): Do not record results above max_valid_error.
3851 (check_float_internal): Only accept errors of up to 0.5ulps if
3852 also at most max_valid_error.
3853 (START): Take new argument EXACT and pass it to init_max_error.
3854 (acos_test): Update call to START.
3855 (acos_test_tonearest): Likewise.
3856 (acos_test_towardzero): Likewise.
3857 (acos_test_downward): Likewise.
3858 (acos_test_upward): Likewise.
3859 (acosh_test): Likewise.
3860 (asin_test): Likewise.
3861 (asin_test_tonearest): Likewise.
3862 (asin_test_towardzero): Likewise.
3863 (asin_test_downward): Likewise.
3864 (asin_test_upward): Likewise.
3865 (asinh_test): Likewise.
3866 (atan_test): Likewise.
3867 (atanh_test): Likewise.
3868 (atan2_test): Likewise.
3869 (cabs_test): Likewise.
3870 (cacos_test): Likewise.
3871 (cacosh_test): Likewise.
3872 (carg_test): Likewise.
3873 (casin_test): Likewise.
3874 (casinh_test): Likewise.
3875 (catan_test): Likewise.
3876 (catanh_test): Likewise.
3877 (cbrt_test): Likewise.
3878 (ccos_test): Likewise.
3879 (ccosh_test): Likewise.
3880 (ceil_test): Likewise.
3881 (cexp_test): Likewise.
3882 (cimag_test): Likewise.
3883 (clog_test): Likewise.
3884 (clog10_test): Likewise.
3885 (conj_test): Likewise.
3886 (copysign_test): Likewise.
3887 (cos_test): Likewise.
3888 (cos_test_tonearest): Likewise.
3889 (cos_test_towardzero): Likewise.
3890 (cos_test_downward): Likewise.
3891 (cos_test_upward): Likewise.
3892 (cosh_test): Likewise.
3893 (cosh_test_tonearest): Likewise.
3894 (cosh_test_towardzero): Likewise.
3895 (cosh_test_downward): Likewise.
3896 (cosh_test_upward): Likewise.
3897 (cpow_test): Likewise.
3898 (cproj_test): Likewise.
3899 (creal_test): Likewise.
3900 (csin_test): Likewise.
3901 (csinh_test): Likewise.
3902 (csqrt_test): Likewise.
3903 (ctan_test): Likewise.
3904 (ctan_test_tonearest): Likewise.
3905 (ctan_test_towardzero): Likewise.
3906 (ctan_test_downward): Likewise.
3907 (ctan_test_upward): Likewise.
3908 (ctanh_test): Likewise.
3909 (ctanh_test_tonearest): Likewise.
3910 (ctanh_test_towardzero): Likewise.
3911 (ctanh_test_downward): Likewise.
3912 (ctanh_test_upward): Likewise.
3913 (erf_test): Likewise.
3914 (erfc_test): Likewise.
3915 (exp_test): Likewise.
3916 (exp_test_tonearest): Likewise.
3917 (exp_test_towardzero): Likewise.
3918 (exp_test_downward): Likewise.
3919 (exp_test_upward): Likewise.
3920 (exp10_test): Likewise.
3921 (exp10_test_tonearest): Likewise.
3922 (exp10_test_towardzero): Likewise.
3923 (exp10_test_downward): Likewise.
3924 (exp10_test_upward): Likewise.
3925 (pow10_test): Likewise.
3926 (exp2_test): Likewise.
3927 (expm1_test): Likewise.
3928 (expm1_test_tonearest): Likewise.
3929 (expm1_test_towardzero): Likewise.
3930 (expm1_test_downward): Likewise.
3931 (expm1_test_upward): Likewise.
3932 (fabs_test): Likewise.
3933 (fdim_test): Likewise.
3934 (floor_test): Likewise.
3935 (fma_test): Likewise.
3936 (fma_test_towardzero): Likewise.
3937 (fma_test_downward): Likewise.
3938 (fma_test_upward): Likewise.
3939 (fmax_test): Likewise.
3940 (fmin_test): Likewise.
3941 (fmod_test): Likewise.
3942 (fpclassify_test): Likewise.
3943 (frexp_test): Likewise.
3944 (hypot_test): Likewise.
3945 (ilogb_test): Likewise.
3946 (isfinite_test): Likewise.
3947 (finite_test): Likewise.
3948 (isgreater_test): Likewise.
3949 (isgreaterequal_test): Likewise.
3950 (isinf_test): Likewise.
3951 (isless_test): Likewise.
3952 (islessequal_test): Likewise.
3953 (islessgreater_test): Likewise.
3954 (isnan_test): Likewise.
3955 (isnormal_test): Likewise.
3956 (issignaling_test): Likewise.
3957 (isunordered_test): Likewise.
3958 (j0_test): Likewise.
3959 (j1_test): Likewise.
3960 (jn_test): Likewise.
3961 (ldexp_test): Likewise.
3962 (lgamma_test): Likewise.
3963 (gamma_test): Likewise.
3964 (lrint_test): Likewise.
3965 (lrint_test_tonearest): Likewise.
3966 (lrint_test_towardzero): Likewise.
3967 (lrint_test_downward): Likewise.
3968 (lrint_test_upward): Likewise.
3969 (llrint_test): Likewise.
3970 (llrint_test_tonearest): Likewise.
3971 (llrint_test_towardzero): Likewise.
3972 (llrint_test_downward): Likewise.
3973 (llrint_test_upward): Likewise.
3974 (log_test): Likewise.
3975 (log10_test): Likewise.
3976 (log1p_test): Likewise.
3977 (log2_test): Likewise.
3978 (logb_test): Likewise.
3979 (logb_test_downward): Likewise.
3980 (lround_test): Likewise.
3981 (llround_test): Likewise.
3982 (modf_test): Likewise.
3983 (nearbyint_test): Likewise.
3984 (nextafter_test): Likewise.
3985 (nexttoward_test): Likewise.
3986 (pow_test): Likewise.
3987 (pow_test_tonearest): Likewise.
3988 (pow_test_towardzero): Likewise.
3989 (pow_test_downward): Likewise.
3990 (pow_test_upward): Likewise.
3991 (remainder_test): Likewise.
3992 (drem_test): Likewise.
3993 (remainder_test_tonearest): Likewise.
3994 (drem_test_tonearest): Likewise.
3995 (remainder_test_towardzero): Likewise.
3996 (drem_test_towardzero): Likewise.
3997 (remainder_test_downward): Likewise.
3998 (drem_test_downward): Likewise.
3999 (remainder_test_upward): Likewise.
4000 (drem_test_upward): Likewise.
4001 (remquo_test): Likewise.
4002 (rint_test): Likewise.
4003 (rint_test_tonearest): Likewise.
4004 (rint_test_towardzero): Likewise.
4005 (rint_test_downward): Likewise.
4006 (rint_test_upward): Likewise.
4007 (round_test): Likewise.
4008 (scalb_test): Likewise.
4009 (scalbn_test): Likewise.
4010 (scalbln_test): Likewise.
4011 (signbit_test): Likewise.
4012 (sin_test): Likewise.
4013 (sin_test_tonearest): Likewise.
4014 (sin_test_towardzero): Likewise.
4015 (sin_test_downward): Likewise.
4016 (sin_test_upward): Likewise.
4017 (sincos_test): Likewise.
4018 (sinh_test): Likewise.
4019 (sinh_test_tonearest): Likewise.
4020 (sinh_test_towardzero): Likewise.
4021 (sinh_test_downward): Likewise.
4022 (sinh_test_upward): Likewise.
4023 (sqrt_test): Likewise.
4024 (sqrt_test_tonearest): Likewise.
4025 (sqrt_test_towardzero): Likewise.
4026 (sqrt_test_downward): Likewise.
4027 (sqrt_test_upward): Likewise.
4028 (tan_test): Likewise.
4029 (tan_test_tonearest): Likewise.
4030 (tan_test_towardzero): Likewise.
4031 (tan_test_downward): Likewise.
4032 (tan_test_upward): Likewise.
4033 (tanh_test): Likewise.
4034 (tgamma_test): Likewise.
4035 (trunc_test): Likewise.
4036 (y0_test): Likewise.
4037 (y1_test): Likewise.
4038 (yn_test): Likewise.
4039 (significand_test): Likewise.
4040
e6b6a857
JM
4041 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4042 individual tests in comment.
4043 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4044 (prev_max_error): New variable.
4045 (prev_real_max_error): Likewise.
4046 (prev_imag_max_error): Likewise.
4047 (compare_ulp_data): Don't refer to test names in comment.
4048 (find_test_ulps): Remove function.
4049 (find_function_ulps): Likewise.
4050 (find_complex_function_ulps): Likewise.
4051 (init_max_error): Take function name as argument. Look up ulps
4052 for that function.
4053 (print_ulps): Remove function.
4054 (print_max_error): Use prev_max_error instead of calling
4055 find_function_ulps.
4056 (print_complex_max_error): Use prev_real_max_error and
4057 prev_imag_max_error instead of calling find_complex_function_ulps.
4058 (check_float_internal): Take max_ulp parameter instead of calling
4059 find_test_ulps. Don't call print_ulps.
4060 (check_float): Update call to check_float_internal.
4061 (check_complex): Update calls to check_float_internal.
4062 (START): Pass argument to init_max_error.
4063 * math/gen-libm-test.pl (%results): Don't include "kind"
4064 information.
4065 (parse_ulps): Don't handle ulps of individual tests.
4066 (print_ulps_file): Likewise.
4067 (output_ulps): Likewise.
4068 * math/README.libm-test: Update.
4069 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4070 individual tests.
4071 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4072 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4073 * sysdeps/arm/libm-test-ulps: Likewise.
4074 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4075 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4076 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4077 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4078 * sysdeps/microblaze/libm-test-ulps: Likewise.
4079 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4080 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4081 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4082 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4084 * sysdeps/sh/libm-test-ulps: Likewise.
4085 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4086 * sysdeps/tile/libm-test-ulps: Likewise.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4088
45adef3c
JM
40892014-03-04 Joseph Myers <joseph@codesourcery.com>
4090
4091 * math/libm-test.inc (print_complex_max_error): Check separately
4092 whether real and imaginary errors are within allowed range and
4093 pass 0 to print_complex_function_ulps instead of value within
4094 allowed range.
4095
000232b9
SP
40962014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4097
d4b17258
SP
4098 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4099 formatting.
4100 (get_handles_fopen): Likewise.
4101 (do_write_test): Likewise.
4102
091eff71
SP
4103 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4104
fa3cd248
SP
4105 * libio/fileops.c (do_ftell): Use cached offset when
4106 available.
4107 * libio/iofwide.c (do_ftell_wide): Likewise.
4108 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4109 _IO_file_attach.
4110 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4111
000232b9
SP
4112 [BZ #16532]
4113 * libio/libioP.h (get_file_offset): New function.
4114 * libio/fileops.c (get_file_offset): Likewise.
4115 (do_ftell): Likewise.
4116 (_IO_new_file_seekoff): Split out ftell logic.
4117 * libio/wfileops.c (do_ftell_wide): Likewise.
4118 (_IO_wfile_seekoff): Split out ftell logic.
4119 * libio/tst-ftell-active-handler.c: New test case.
4120 * libio/Makefile (tests): Add it.
4121
116f4d1a
RM
41222014-03-03 Roland McGrath <roland@hack.frob.com>
4123
4124 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4125 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4126
532a6035
SP
41272014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4128
4129 [BZ #16639]
4130 * nscd/connections.c (nscd_init): Call do_exit.
4131 (start_threads): Call do_exit and notify_parent.
4132 (begin_drop_privileges): Call do_exit.
4133 (finish_drop_privileges): Likewise.
4134 * nscd/selinux.c (preserve_capabilities): Likewise.
4135 (install_real_capabilities): Likewise.
4136 (nscd_selinux_enabled): Likewise.
4137 (avc_create_thread): Likewise.
4138 (avc_alloc_lock): Likewise.
4139 (nscd_avc_init): Likewise.
4140 * nscd/nscd.c (parent_fd): New static variable.
4141 (main): Create a pipe between parent and child processes.
4142 Skip closing parent_fd.
4143 (monitor_child): New function.
4144 (do_exit): Likewise.
4145 (notify_parent): Likewise.
4146 * nscd/nscd.h (notify_parent): Likewise.
4147 (do_exit): Likewise.
4148
d6285c9f
CD
41492014-03-03 Carlos O'Donell <carlos@redhat.com>
4150
4151 * malloc/malloc.c (__libc_calloc): Revert last change.
4152
2b85d2a0
AZ
41532014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4156
c7debbdf
RS
41572014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4158
4159 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4161 implementation.
4162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4163 (__libc_ifunc_impl_list): Likewise.
4164 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4165 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4166 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4167 * string/strrchr.c: Define STRRCHR.
4168
235eed86
OB
41692014-02-28 Ondřej Bílka <neleai@seznam.cz>
4170
4171 * benchtest/bench-strtok.c (simple_strtok): Delete.
4172 (strtok_string): Use as benchmark.
4173 * string/strtok (STRTOK): New macro.
4174
8e25d1e7
CD
41752014-02-28 Carlos O'Donell <carlos@redhat.com>
4176
ef563f92
CD
4177 * manual/threads.texi: Add header and standard comments to all
4178 functions.
4179
8e25d1e7
CD
4180 * elf/dl-lookup.c (check_match): New function.
4181 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4182 (do_lookup_x): Remove nested function check_match. Use non-nested
4183 function check_match.
4184
ff71cc37
RM
41852014-02-28 Roland McGrath <roland@hack.frob.com>
4186
f08e9a26
RM
4187 * csu/Makefile (generated, before-compile): Use += rather than =.
4188 * catgets/Makefile (generated, generated-dirs): Likewise.
4189 * debug/Makefile (generated): Likewise.
4190 * dlfcn/Makefile (generated): Likewise.
4191 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4192 * iconvdata/Makefile (before-compile, generated): Likewise.
4193 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4194 * libio/Makefile (generated): Likewise.
4195 * malloc/Makefile (generated): Likewise.
4196 * manual/Makefile (generated, generated-dirs): Likewise.
4197 * misc/Makefile (generated): Likewise.
4198 * posix/Makefile (generated): Likewise.
4199 * resolv/Makefile (generated): Likewise.
4200 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4201 * timezone/Makefile (generated, generated-dirs): Likewise.
4202
ff71cc37
RM
4203 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4204
fe13a20c
AZ
42052014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4206
57f41c40
AS
4207 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4208 power8 implementation.
4209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4210 file: POWER8 llround ifunc implementation.
4211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4212 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4213 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4214 POWER8 llround implementation.
4215
57f41c40
AS
4216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4217 power8 implementation.
4218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4219 file: POWER8 llrint ifunc implementation.
4220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4221 Add POWER8 implementation.
1ad8950a
AZ
4222 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4223 POWER8 llrint implementation.
4224
57f41c40
AS
4225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4226 power8 implementation.
4227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4228 file: POWER8 finite ifunc implementation.
4229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4230 Add POWER8 implementation.
cac626d6
AZ
4231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4232 Likewise.
4233 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4234 POWER8 finite implementation.
4235 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4236
57f41c40
AS
4237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4238 power8 implementation.
4239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4240 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4242 POWER8 implementation.
4243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4244 Likewise.
57f41c40
AS
4245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4246 isinf implementation.
4393fc11
AZ
4247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4248
57f41c40
AS
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4250 (INIT_ARCH): Add hwcap2 initialization.
4251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4252 power8 implementation.
4253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4254 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4256 POWER8 implementation.
4257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4258 Likewise.
57f41c40
AS
4259 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4260 isnan implementation.
487972ae
AZ
4261 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4262
7d92b787
JY
42632014-02-27 Joey Ye <joey.ye@arm.com>
4264
4265 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4266 (_FP_NANFRAC_Q): Set to zero.
4267
1cadc858
SP
42682014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
4270 [BZ #16623]
4271 * math/auto-libm-test-in: New test inputs.
4272 * math/auto-libm-test-out: Regenerate.
4273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4274 and DA.
4275 (__cos): Likewise.
4276 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4277
f8c17e79
JM
42782014-02-27 Joseph Myers <joseph@codesourcery.com>
4279
4280 * scripts/evaluate-test.sh: Take new argument indicating whether
4281 failure is expected.
4282 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4283 indicating whether failure is expected.
4284 * conform/Makefile (test-xfail-run-conformtest): New variable.
4285 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4286 level.
4287 * posix/Makefile (test-xfail-annexc): New variable.
4288 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4289
a5f891ac
JM
42902014-02-26 Joseph Myers <joseph@codesourcery.com>
4291
4292 * argp/Makefile: Include Makeconfig immediately after defining
4293 subdir.
4294 * assert/Makefile: Likewise.
4295 * benchtests/Makefile: Likewise.
4296 * catgets/Makefile: Likewise.
4297 * conform/Makefile: Likewise.
4298 * crypt/Makefile: Likewise.
4299 * csu/Makefile: Likewise.
4300 (all): Remove target.
4301 * ctype/Makefile: Include Makeconfig immediately after defining
4302 subdir.
4303 * debug/Makefile: Likewise.
4304 * dirent/Makefile: Likewise.
4305 * dlfcn/Makefile: Likewise.
4306 * gmon/Makefile: Likewise.
4307 * gnulib/Makefile: Likewise.
4308 * grp/Makefile: Likewise.
4309 * gshadow/Makefile: Likewise.
4310 * hesiod/Makefile: Likewise.
4311 * hurd/Makefile: Likewise.
4312 (all): Remove target.
4313 * iconvdata/Makefile: Include Makeconfig immediately after
4314 defining subdir.
4315 * inet/Makefile: Likewise.
4316 * intl/Makefile: Likewise.
4317 * io/Makefile: Likewise.
4318 * libio/Makefile: Likewise.
4319 (all): Remove target.
4320 * locale/Makefile: Include Makeconfig immediately after defining
4321 subdir.
4322 * login/Makefile: Likewise.
4323 * mach/Makefile: Likewise.
4324 (all): Remove target.
4325 * malloc/Makefile: Include Makeconfig immediately after defining
4326 subdir.
4327 (all): Remove target.
4328 * manual/Makefile: Include Makeconfig immediately after defining
4329 subdir.
4330 * math/Makefile: Likewise.
4331 * misc/Makefile: Likewise.
4332 * nis/Makefile: Likewise.
4333 * nss/Makefile: Likewise.
4334 * po/Makefile: Likewise.
4335 (all): Remove target.
4336 * posix/Makefile: Include Makeconfig immediately after defining
4337 subdir.
4338 * pwd/Makefile: Likewise.
4339 * resolv/Makefile: Likewise.
4340 * resource/Makefile: Likewise.
4341 * rt/Makefile: Likewise.
4342 * setjmp/Makefile: Likewise.
4343 * shadow/Makefile: Likewise.
4344 * signal/Makefile: Likewise.
4345 * socket/Makefile: Likewise.
4346 * soft-fp/Makefile: Likewise.
4347 * stdio-common/Makefile: Likewise.
4348 * stdlib/Makefile: Likewise.
4349 * streams/Makefile: Likewise.
4350 * string/Makefile: Likewise.
4351 * sunrpc/Makefile: Likewise.
4352 (all): Remove target.
4353 * sysvipc/Makefile: Include Makeconfig immediately after defining
4354 subdir.
4355 * termios/Makefile: Likewise.
4356 * time/Makefile: Likewise.
4357 * timezone/Makefile: Likewise.
4358 (all): Remove target.
4359 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4360 subdir.
4361 * wctype/Makefile: Likewise.
4362
5b456e9d
SE
43632014-02-26 Steve Ellcey <sellcey@mips.com>
4364
4365 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4366 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4367 (libc_feholdexcept_setround_mips): Ditto.
4368 (libc_feholdsetround): New.
4369 (libc_feholdsetroundf): New.
4370 (libc_feholdsetroundl): New.
4371 (libc_feupdateenv_test_mips): New.
4372 (libc_feupdateenv_test): New.
4373 (libc_feupdateenv_testf): New.
4374 (libc_feupdateenv_testl): New.
4375 (libc_feresetround): New.
4376 (libc_feresetroundf): New.
4377 (libc_feresetroundl): New.
4378 (libc_fetestexcept_mips): New.
4379 (libc_fetestexcept): New.
4380 (libc_fetestexceptf): New.
4381 (libc_fetestexceptl): New.
4382 (HAVE_RM_CTX): New.
4383 (libc_feholdexcept_setround_mips_ctx): New.
4384 (libc_feholdexcept_setround_ctx): New.
4385 (libc_feholdexcept_setroundf_ctx): New.
4386 (libc_feholdexcept_setroundl_ctx): New.
4387 (libc_fesetenv_mips_ctx): New.
4388 (libc_fesetenv_ctx): New.
4389 (libc_fesetenv_ctxf): New.
4390 (libc_fesetenv_ctxl): New.
4391 (libc_feupdateenv_mips_ctx): New.
4392 (libc_feupdateenv_ctx): New.
4393 (libc_feupdateenvf_ctx): New.
4394 (libc_feupdateenvl_ctx): New.
4395 (libc_feholdsetround_mips_ctx): New.
4396 (libc_feholdsetround_ctx): New.
4397 (libc_feholdsetroundf_ctx): New.
4398 (libc_feholdsetroundl_ctx): New.
4399 (libc_feresetround_mips_ctx): New.
4400 (libc_feresetround_ctx): New.
4401 (libc_feresetroundf_ctx): New.
4402 (libc_feresetroundl_ctx): New.
4403
085d0e35
CD
44042014-02-26 Carlos O'Donell <carlos@redhat.com>
4405
f067bf1f
CD
4406 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4407
085d0e35
CD
4408 * manual/ipc.texi: New file.
4409 * manual/Makefile (chapters): Add ipc.
4410 * manual/job.texi: Add "Inter-Process Communication" to next.
4411 * manual/process.texi: Add "Inter-Process Communication" to prev.
4412
86e58c08
AZ
44132014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4414
4415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4416
4248f0da
OB
44172014-02-26 Ondřej Bílka <neleai@seznam.cz>
4418
4419 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4420
cf822e3c
OB
4421 * manual/arith.texi: Fix spaces after sentences.
4422 * manual/charset.texi: Likewise.
4423 * manual/errno.texi: Likewise.
4424 * manual/install.texi: Likewise.
4425 * manual/llio.texi: Likewise.
4426 * manual/locale.texi: Likewise.
4427 * manual/maint.texi: Likewise.
4428 * manual/math.texi: Likewise.
4429 * manual/memory.texi: Likewise.
4430 * manual/message.texi: Likewise.
4431 * manual/probes.texi: Likewise.
4432 * manual/resource.texi: Likewise.
4433 * manual/signal.texi: Likewise.
4434 * manual/socket.texi: Likewise.
4435 * manual/stdio.texi: Likewise.
4436 * manual/string.texi: Likewise.
4437 * manual/time.texi: Likewise.
4438 * manual/users.texi: Likewise.
4439
ade40b10
CD
44402014-02-25 Carlos O'Donell <carlos@redhat.com>
4441
4442 [BZ #16632]
4443 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4444 _DEFAULT_SOURCE is defined.
4445
d0503676
CD
44462014-02-25 Ulrich Drepper <drepper@gmail.com>
4447 Carlos O'Donell <carlos@redhat.com>
4448
4449 [BZ #16613]
4450 * elf/dl-tls.c (_dl_count_modids): New function.
4451 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4452 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4453 audit library and increment generation counter.
4454 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4455 * elf/tst-audit9.c: New file.
4456 * elf/tst-auditmod9a.c: New file.
4457 * elf/tst-auditmod9b.c: New file.
4458 * elf/Makefile: Add rules to build and run tst-audit9.
4459
4cbf380c
FW
44602014-02-25 Florian Weimer <fweimer@redhat.com>
4461
4462 [BZ #15347]
4463 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4464
80a56cc3
WN
44652014-02-25 Will Newton <will.newton@linaro.org>
4466
4467 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4468 (__longjmp): Restore sp and lr before restoring callee
4469 saved registers. Add longjmp and longjmp_target
4470 SystemTap probe point.
4471 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4472 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4473 Define to zero to match jmpbuf layout.
4474 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4475 (__sigsetjmp): Save sp and lr before saving callee
4476 saved registers. Add setjmp SystemTap probe point.
4477
3ea0f74e
SL
44782014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4479
4480 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4481
b04acb26
AS
44822014-02-24 Andreas Schwab <schwab@suse.de>
4483
4484 [BZ #15804]
4485 * elf/pldd.c (wait_for_ptrace_stop): New function.
4486 (main): Call it after attaching.
4487
098ad55c
RM
44882014-02-22 Roland McGrath <roland@hack.frob.com>
4489
d4ec6ae1
RM
4490 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4491 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4492 Versions files is now verboten.
4493 * hurd/Versions (libc: GLIBC_2.0):
4494 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4495 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4496 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4497 * mach/Versions: Likewise.
4498
098ad55c
RM
4499 * csu/Versions: Remove unused %include.
4500 * resolv/Versions: Likewise.
4501
acd7f096
JM
45022014-02-21 Joseph Myers <joseph@codesourcery.com>
4503
f0881698
JM
4504 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4505 ($(objpfx)check-local-headers.out): Likewise.
4506 ($(objpfx)begin-end-check.out): Likewise.
4507 * Makerules (check-abi-%.out): Likewise.
4508 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4509 ($(objpfx)test2.cat): Likewise.
4510 ($(objpfx)de/libc.cat): Likewise.
4511 ($(objpfx)test-gencat.out): Likewise.
4512 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4513 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4514 ($(objpfx)noload-mem): Likewise.
4515 ($(objpfx)tst-pathopt.out): Likewise.
4516 ($(objpfx)tst-rtld-load-self.out): Likewise.
4517 ($(objpfx)tst-array1-cmp.out): Likewise.
4518 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4519 ($(objpfx)tst-array2-cmp.out): Likewise.
4520 ($(objpfx)tst-array3-cmp.out): Likewise.
4521 ($(objpfx)tst-array4-cmp.out): Likewise.
4522 ($(objpfx)tst-array5-cmp.out): Likewise.
4523 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4524 ($(objpfx)check-textrel.out): Likewise.
4525 ($(objpfx)check-execstack.out): Likewise.
4526 ($(objpfx)check-localplt.out): Likewise.
4527 ($(objpfx)order2-cmp.out): Likewise.
4528 ($(objpfx)tst-leaks1-mem): Likewise.
4529 ($(objpfx)tst-leaks1-static-mem): Likewise.
4530 ($(objpfx)tst-initorder-cmp.out): Likewise.
4531 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4532 ($(objpfx)tst-unused-dep.out): Likewise.
4533 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4534 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4535 * iconv/Makefile (test-iconvconfig): Likewise.
4536 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4537 ($(objpfx)iconv-test.out): Likewise.
4538 ($(objpfx)tst-tables.out): Likewise.
4539 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4540 ($(objpfx)tst-gettext.out): Likewise.
4541 ($(objpfx)tst-translit.out): Likewise.
4542 ($(objpfx)tst-gettext2.out): Likewise.
4543 ($(objpfx)tst-gettext4.out): Likewise.
4544 ($(objpfx)tst-gettext6.out): Likewise.
4545 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4546 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4547 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4548 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4549 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4550 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4551 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4552 ($(objpfx)wordexp-tst.out): Likewise.
4553 ($(objpfx)annexc.out): Likewise.
4554 ($(objpfx)tst-fnmatch-mem): Likewise.
4555 ($(objpfx)bug-regex2-mem): Likewise.
4556 ($(objpfx)bug-regex14-mem): Likewise.
4557 ($(objpfx)bug-regex21-mem): Likewise.
4558 ($(objpfx)bug-regex31-mem): Likewise.
4559 ($(objpfx)tst-vfork3-mem): Likewise.
4560 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4561 ($(objpfx)tst-pcre-mem): Likewise.
4562 ($(objpfx)tst-boost-mem): Likewise.
4563 ($(objpfx)tst-getconf.out): Likewise.
4564 ($(objpfx)bug-ga2-mem): Likewise.
4565 ($(objpfx)bug-glob2-mem): Likewise.
4566 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4567 ($(objpfx)mtrace-tst-leaks2): Likewise.
4568 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4569 ($(objpfx)tst-printf.out): Likewise.
4570 ($(objpfx)tst-setvbuf1.out): Likewise.
4571 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4572 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4573 ($(objpfx)tst-fmtmsg.out): Likewise.
4574 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4576
acd7f096
JM
4577 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4578 * bits/sigaction.h [__USE_MISC]: Likewise.
4579 * bits/waitstatus.h: Update #endif comments.
4580 * ctype/ctype.h: Likewise.
4581 * dirent/dirent.h: Likewise.
4582 [__USE_MISC]: Remove redundant conditionals.
4583 * grp/grp.h: Update #endif comments.
4584 [__USE_GNU]: Remove redundant conditionals.
4585 [__USE_MISC]: Likewise.
4586 * inet/netinet/in.h [__USE_GNU]: Likewise.
4587 * io/sys/stat.h [__USE_MISC]: Likewise.
4588 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4589 * libio/bits/stdio.h: Update #endif comments.
4590 [__USE_MISC]: Remove redundant conditionals.
4591 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4592 * libio/stdio.h: Update #endif comments.
4593 [__USE_MISC]: Remove redundant conditionals.
4594 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4595 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4596 * math/math.h: Update #else and #endif comments.
4597 [__USE_MISC]: Remove redundant conditionals.
4598 * misc/sys/uio.h: Update #endif comments.
4599 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4600 * posix/glob.h [__USE_MISC]: Likewise.
4601 * posix/sys/types.h: Update #endif comments.
4602 [__USE_MISC]: Remove redundant conditionals.
4603 * posix/sys/wait.h: Update #endif comments.
4604 [__USE_MISC]: Remove redundant conditionals.
4605 * posix/unistd.h: Update #endif comments.
4606 [__USE_MISC]: Remove redundant conditionals.
4607 * pwd/pwd.h [__USE_GNU]: Likewise.
4608 [__USE_MISC]: Likewise.
4609 * resolv/netdb.h [__USE_GNU]: Likewise.
4610 * signal/signal.h: Update #endif comments.
4611 [__USE_MISC]: Remove redundant conditionals.
4612 * stdlib/stdlib.h: Update #else and #endif comments.
4613 [__USE_MISC]: Remove redundant conditionals.
4614 [__USE_GNU]: Likewise.
4615 * string/bits/string2.h [__USE_MISC]: Likewise.
4616 * string/string.h: Update #endif comments.
4617 [__USE_MISC]: Remove redundant conditionals.
4618 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4619 Likewise.
4620 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4621 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4622 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4623 Likewise.
4624 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4625 Likewise.
4626 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4627 comments.
4628 [__USE_MISC]: Remove redundant conditionals.
4629 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4630 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4631 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4632 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4633 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4634 Likewise.
4635 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4636 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4640 Likewise.
4641 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4642 Likewise.
4643 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4644 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4645 Likewise.
4646 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4647 Likewise.
4648 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4649 * sysdeps/x86/bits/string.h: Update #endif comments.
4650 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4651 conditionals.
4652 * time/sys/time.h: Update #endif comments.
4653 * time/time.h: Likewise.
4654 [__USE_MISC]: Remove redundant conditionals.
4655
a5d82e4e
YG
46562014-02-21 Yury Gribov <y.gribov@samsung.com>
4657
4658 [BZ #16600]
4659 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4660
9a80491d
AS
46612014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4662
4663 * Versions.def (librt): Add GLIBC_2.17.
4664
105fa381
AC
46652014-02-21 Adam Conrad <adconrad@0c3.net>
4666
4667 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4668 synonym for _SYS_AUXV_H to allow direct inclusion.
4669 * sysdeps/sparc/bits/hwcap.h: Likewise.
4670 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4671 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4672 * sysdeps/sparc/sysdep.h: Likewise.
4673
b8cd1c4e
SP
46742014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4675
4676 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4677
bd939d23
RS
46782014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4679
4680 * benchtests/bench-strrchr.c: Print length instead of position.
4681
5d7b57ca
JM
46822014-02-20 Joseph Myers <joseph@codesourcery.com>
4683
bc688c10
JM
4684 [BZ #16611]
4685 * sysdeps/unix/sysv/linux/kernel-features.h
4686 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4687 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4688 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4689 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4690 Likewise.
4691 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4692 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4693 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4694 (__ASSUME_SENDMMSG): Define instead of using previous
4695 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4696 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4697 (__ASSUME_SENDMMSG_SYSCALL): Define.
4698 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4699 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4700 Likewise.
4701 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4702 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4703 Likewise.
4704 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4705 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4706 Likewise.
4707 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4708 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4709 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4710 [__ASSUME_SENDMMSG]: Change conditionals to
4711 [__ASSUME_SENDMMSG_SOCKETCALL].
4712 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4713 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4714 Define.
4715 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4716 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4719 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4720 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4721 [!__ASSUME_SENDMMSG]: Change conditional to
4722 [!__ASSUME_SENDMMSG_SOCKETCALL].
4723 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4724 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4725 Define.
4726
0e31b18c
JM
4727 [BZ #16610]
4728 * sysdeps/unix/sysv/linux/kernel-features.h
4729 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4730 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4731 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4732 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4733 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4734 [__i386__ || __sparc__]
4735 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4736 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4737 (__ASSUME_RECVMMSG): Define instead of using previous
4738 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4739 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4740 (__ASSUME_RECVMMSG_SYSCALL): Define.
4741 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4743 Likewise.
4744 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4745 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4746 Likewise.
4747 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4748 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4749 Likewise.
4750 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4751 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4752 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4753 [__ASSUME_RECVMMSG]: Change condition to
4754 [__ASSUME_RECVMMSG_SOCKETCALL].
4755 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4756 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4757 Define.
4758 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4759 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4761 Likewise.
4762 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4763 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4764 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4765 [!__ASSUME_RECVMMSG]: Change condition to
4766 [!__ASSUME_RECVMMSG_SOCKETCALL].
4767 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4768 (__ASSUME_RECVMMSG_SYSCALL): Define.
4769
dd481ccf
JM
4770 [BZ #16609]
4771 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4772 __powerpc__ || __s390__ || __sh__ || __sparc__]
4773 (__ASSUME_SOCKETCALL): Define.
4774 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4775 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4776 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4777 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4778 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4779 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4780 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4781 (__ASSUME_ACCEPT4): Define instead of using previous
4782 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4783 __powerpc__ || __sparc__ || __s390__)] condition.
4784 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4785 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4786 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4787 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4788 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4789 [!__ASSUME_ACCEPT4]: Change condition to
4790 [!__ASSUME_ACCEPT4_SOCKETCALL].
4791 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4792 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4793 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4795 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4796 __ASSUME_ACCEPT4_SYSCALL.
4797 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4798 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4799 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4800 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4801 __ASSUME_ACCEPT4_SYSCALL.
4802 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4803 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4804 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4805 [__ASSUME_ACCEPT4]: Change condition to
4806 [__ASSUME_ACCEPT4_SOCKETCALL].
4807 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4808 (__ASSUME_SOCKETCALL): Define.
4809 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4810 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4811 (__ASSUME_SOCKETCALL): Define.
4812 (__ASSUME_ACCEPT4): Remove.
4813 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4814 Define.
4815 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4816 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4817 Likewise.
4818 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4819 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4820
5d7b57ca
JM
4821 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4822 macro.
4823 (HWCAP_ARM_LPAE): Likewise.
4824 (HWCAP_ARM_EVTSTRM): Likewise.
4825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4826 Add vpfd32, lpae and evtstrm.
4827 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4828 Increase to 22.
4829
63689d61
JM
48302014-02-19 Joseph Myers <joseph@codesourcery.com>
4831
4832 * math/auto-libm-test-in: Add tests of clog10.
4833 * math/auto-libm-test-out: Regenerated.
4834 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4835 * sysdeps/i386/fpu/libm-test-ulps: Update.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4837
ab09bf61
AS
48382014-02-18 Andreas Schwab <schwab@suse.de>
4839
4840 [BZ #16574]
4841 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4842 Store non-zero if the second buffer was newly allocated.
4843 (send_dg): Likewise.
4844 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4845 to send_vc and send_dg.
4846 (res_nsend): Pass NULL for ansp2_malloced.
4847 * resolv/res_query.c (__libc_res_nquery): Add parameter
4848 answerp2_malloced and pass it down to __libc_res_nsend.
4849 (res_nquery): Pass additional NULL to __libc_res_nquery.
4850 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4851 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4852 second answer buffer if answerp2_malloced was set.
4853 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4854 (__libc_res_nquerydomain): Add parameter
4855 answerp2_malloced and pass it down to __libc_res_nquery.
4856 (res_nquerydomain): Pass additional NULL to
4857 __libc_res_nquerydomain.
4858 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4859 additional NULL to __libc_res_nsend and __libc_res_nquery.
4860 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4861 additional NULL to __libc_res_nsearch.
4862 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4863 parameter of __libc_res_nsearch to check for separately allocated
4864 second buffer.
4865 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4866 __libc_res_nquery.
4867 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4868 additional NULL to __libc_res_nquery.
4869 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4870 __libc_res_nsearch.
4871 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4872 * include/resolv.h: Update prototypes of __libc_res_nquery,
4873 __libc_res_nsearch, __libc_res_nsend.
4874
a4fb7861
JM
48752014-02-18 Joseph Myers <joseph@codesourcery.com>
4876
c6af2d89
JM
4877 * math/auto-libm-test-in: Add tests of fma.
4878 * math/auto-libm-test-out: Regenerated.
4879 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4880 (fma_towardzero_test_data): Likewise.
4881 (fma_downward_test_data): Likewise.
4882 (fma_upward_test_data): Likewise.
4883 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4884 mpc_mode.
4885 (rounding_modes): Add values for new field.
4886 (func_calc_method): Add value mpfr_fff_f.
4887 (func_calc_desc): Add mpfr_fff_f union field.
4888 (test_function): Add field exact_args.
4889 (FUNC): Add macro argument EXACT_ARGS.
4890 (FUNC_mpfr_f_f): Update call to FUNC.
4891 (FUNC_mpfr_f_f): Likewise.
4892 (FUNC_mpfr_ff_f): Likewise.
4893 (FUNC_mpfr_if_f): Likewise.
4894 (FUNC_mpc_c_f): Likewise.
4895 (FUNC_mpc_c_c): Likewise.
4896 (test_functions): Add fma. Update calls to FUNC.
4897 (handle_input_arg): Add argument exact_args.
4898 (add_test): Update call to handle_input_arg.
4899 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4900 (output_for_one_input_case): Update call to calc_generic_results.
4901 Recalculate exact zero results in each rounding mode.
4902
a4fb7861
JM
4903 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4904 non-negative before setting low bit.
4905 * math/auto-libm-test-in: Mark one asin test possibly having
4906 spurious underflow.
4907 * math/auto-libm-test-out: Regenerated.
4908 * sysdeps/i386/fpu/libm-test-ulps: Update.
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4910
ef114eaf
DH
49112014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4912
2b7f4f2c
SP
4913 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4914 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4915 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4916 * README: Add missing listing for microblaze*-*-linux-gnu.
4917
c70a4b1d
MF
49182014-02-16 Mike Frysinger <vapier@gentoo.org>
4919
4920 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4921 * sysdeps/unix/sysv/linux/ia64: Move directory from
4922 ports/sysdeps/unix/sysv/linux/ia64.
4923 * README: Update listing for ia64-*-linux-gnu.
4924
591aeaf7
TD
49252014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4926 Joseph Myers <joseph@codesourcery.com>
4927
4928 * Makeconfig (test-name): New variable.
4929 (evaluate-test): Likewise.
4930 * Makerules (do-test-clean): Remove .test-result files.
4931 (common-mostlyclean): Likewise.
4932 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4933 * scripts/evaluate-test.sh: New file.
4934
6e89caf1
JM
49352014-02-14 Joseph Myers <joseph@codesourcery.com>
4936
7f98f180
JM
4937 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4938 separate $(objpfx)tst-fopenloc-cmp.out and
4939 $(objpfx)tst-fopenloc-mem.out targets.
4940 (tests): Update dependencies.
4941 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4942 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4943 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4944 (tst-rxspencer-no-utf8-ARGS): New variable.
4945 (tst-rxspencer-no-utf8-ENV): Likewise.
4946 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4947 instead of $(objpfx)tst-rxspencer-mem.
4948 ($(objpfx)tst-rxspencer-mem): Change target to
4949 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4950 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4951 * posix/tst-rxspencer-no-utf8.c: New file.
4952
6e89caf1
JM
4953 * elf/Makefile ($(objpfx)order.out): Remove rule.
4954 [$(run-built-tests) = yes] (tests): Depend on
4955 $(objpfx)order-cmp.out.
4956 ($(objpfx)order-cmp.out): New rule.
4957 [$(run-built-tests) = yes] (tests): Depend on
4958 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4959 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4960 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4961 $(objpfx)tst-array5-static-cmp.out.
4962 ($(objpfx)tst-array1.out): Remove rule.
4963 ($(objpfx)tst-array1-cmp.out): New rule.
4964 ($(objpfx)tst-array1-static.out): Remove rule.
4965 ($(objpfx)tst-array1-static-cmp.out): New rule.
4966 ($(objpfx)tst-array2.out): Remove rule.
4967 ($(objpfx)tst-array2-cmp.out): New rule.
4968 ($(objpfx)tst-array3.out): Remove rule.
4969 ($(objpfx)tst-array3-cmp.out): New rule.
4970 ($(objpfx)tst-array4.out): Remove rule.
4971 ($(objpfx)tst-array4-cmp.out): New rule.
4972 ($(objpfx)tst-array5.out): Remove rule.
4973 ($(objpfx)tst-array5-cmp.out): New rule.
4974 ($(objpfx)tst-array5-static.out): Remove rule.
4975 ($(objpfx)tst-array5-static-cmp.out): New rule.
4976 [$(run-built-tests) = yes] (tests): Depend on
4977 $(objpfx)order2-cmp.out.
4978 ($(objpfx)order2.out): Remove rule.
4979 ($(objpfx)order2-cmp.out): New rule.
4980 ($(objpfx)tst-initorder.out): Remove rule.
4981 [$(run-built-tests) = yes] (tests): Depend on
4982 $(objpfx)tst-initorder-cmp.out.
4983 ($(objpfx)tst-initorder-cmp.out): New rule.
4984 ($(objpfx)tst-initorder2.out): Remove rule.
4985 [$(run-built-tests) = yes] (tests): Depend on
4986 $(objpfx)tst-initorder2-cmp.out.
4987 ($(objpfx)tst-initorder2-cmp.out): New rule.
4988 [$(run-built-tests) = yes] (tests): Depend on
4989 $(objpfx)tst-unused-dep-cmp.out.
4990 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4991 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4992 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4993 on $(objpfx)tst-setvbuf1-cmp.out.
4994 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4995 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4996 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4997 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4998 ($(objpfx)tst-svc.out): Remove rule.
4999 ($(objpfx)tst-svc-cmp.out): New rule.
5000
ed9a38e2
JM
50012014-02-13 Joseph Myers <joseph@codesourcery.com>
5002
5003 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5004 * ctype/ctype.h [__USE_MISC]: Likewise.
5005 * dirent/dirent.h [__USE_MISC]: Likewise.
5006 * grp/grp.h [__USE_MISC]: Likewise.
5007 * io/fcntl.h [__USE_MISC]: Likewise.
5008 * io/sys/stat.h [__USE_MISC]: Likewise.
5009 * libio/stdio.h [__USE_MISC]: Likewise.
5010 * posix/unistd.h [__USE_MISC]: Likewise.
5011 * pwd/pwd.h [__USE_MISC]: Likewise.
5012 * stdlib.h [__USE_MISC]: Likewise.
5013 * string/bits/string2.h [__USE_MISC]: Likewise.
5014 * string/string.h [__USE_MISC]: Likewise.
5015 * time/time.h [__USE_MISC]: Likewise.
5016
d6680619
AS
50172014-02-13 Andreas Schwab <schwab@suse.de>
5018
5019 [BZ #16574]
5020 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5021 second answer buffer if it was separately allocated.
5022
ace614b8
JM
50232014-02-12 Joseph Myers <joseph@codesourcery.com>
5024
743151ae
JM
5025 * sysdeps/mips/math-tests.h: Include <features.h>.
5026 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5027 (ROUNDING_TESTS_long_double): Do not define.
5028 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5029 (EXCEPTION_TESTS_long_double): Likewise.
5030 * sysdeps/mips/mips64/libm-test-ulps: Update.
5031
498afc54
JM
5032 * include/features.h (__USE_BSD): Remove macro definitions.
5033 (__USE_SVID): Likewise.
5034 (_BSD_SOURCE): Likewise.
5035 (_SVID_SOURCE): Likewise.
5036 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5037 from definition of _DEFAULT_SOURCE.
5038 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5039 [_DEFAULT_SOURCE].
5040 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5041 * bits/mman.h [__USE_BSD]: Likewise.
5042 * bits/termios.h [__USE_BSD]: Likewise.
5043 * bits/waitstatus.h [__USE_BSD]: Likewise.
5044 * ctype/ctype.h [__USE_SVID]: Likewise.
5045 * dirent/dirent.h [__USE_BSD]: Likewise.
5046 * grp/grp.h [__USE_SVID]: Likewise.
5047 [__USE_BSD]: Likewise.
5048 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5049 * io/fcntl.h [__USE_BSD]: Likewise.
5050 * io/ftw.h [__USE_BSD]: Likewise.
5051 * io/sys/stat.h [__USE_BSD]: Likewise.
5052 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5053 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5054 * libio/stdio.h [__USE_SVID]: Likewise.
5055 [__USE_BSD]: Likewise.
5056 * math/math.h [__USE_SVID]: Likewise.
5057 [__USE_BSD]: Likewise.
5058 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5059 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5060 * misc/search.h [__USE_SVID]: Likewise.
5061 * misc/sys/mman.h [__USE_BSD]: Likewise.
5062 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5063 * misc/sys/uio.h [__USE_BSD]: Likewise.
5064 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5065 * posix/glob.h [__USE_BSD]: Likewise.
5066 * posix/regex.h [__USE_BSD]: Likewise.
5067 * posix/sys/types.h [__USE_BSD]: Likewise.
5068 [__USE_SVID]: Likewise.
5069 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5070 * posix/sys/wait.h [__USE_BSD]: Likewise.
5071 [__USE_SVID]: Likewise.
5072 * posix/unistd.h [__USE_BSD]: Likewise.
5073 [__USE_SVID]: Likewise.
5074 * pwd/pwd.h [__USE_SVID]: Likewise.
5075 * resolv/netdb.h [__USE_BSD]: Likewise.
5076 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5077 * signal/signal.h [__USE_BSD]: Likewise.
5078 [__USE_SVID]: Likewise.
5079 * socket/sys/socket.h [__USE_BSD]: Likewise.
5080 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5081 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5082 [__USE_SVID]: Likewise.
5083 * string/bits/string2.h [__USE_BSD]: Likewise.
5084 [__USE_SVID]: Likewise.
5085 * string/bits/string3.h [__USE_BSD]: Likewise.
5086 * string/endian.h [__USE_BSD]: Likewise.
5087 * string/string.h [__USE_SVID]: Likewise.
5088 [__USE_BSD]: Likewise.
5089 * string/strings.h [__USE_BSD]: Likewise.
5090 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5091 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5092 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5093 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5094 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5095 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5096 Likewise.
5097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5098 Likewise.
5099 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5100 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5101 Likewise.
5102 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5103 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5104 Likewise.
5105 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5106 Likewise.
5107 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5108 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5110 Likewise.
5111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5112 Likewise.
5113 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5114 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5115 * termios/termios.h [__USE_BSD]: Likewise.
5116 * time/sys/time.h [__USE_BSD]: Likewise.
5117 * time/time.h [__USE_BSD]: Likewise.
5118 [__USE_SVID]: Likewise.
5119
dd7b064c
JM
5120 * Makefile (subdir_targets): Remove subdir_lint.out.
5121
a2c4c199
JM
5122 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5123 (do-tst-printf): Likewise.
5124 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5125 $(objpfx)tst-printf.out.
5126
8756f740
JM
5127 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5128
1b6dd3f1
JM
5129 * Makerules (check-abi-%): Change target to
5130 $(objpfx)check-abi-%.out.
5131 (check-abi target): Update dependencies.
5132 (check-abi-pattern variable): Redirect output of diff to $@.
5133 (check-abi variable): Likewise.
5134 * elf/Makefile (check-abi): Update dependencies.
5135
ace614b8
JM
5136 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5137 unused.
5138 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5139 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5140 subnormal range.
5141 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5142 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5143 value has largest subnormal exponent.
5144 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5145 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5146 * sysdeps/aarch64/soft-fp/sfp-machine.h
5147 (_FP_TININESS_AFTER_ROUNDING): New macro.
5148 * sysdeps/alpha/soft-fp/sfp-machine.h
5149 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5150 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5151 Likewise.
5152 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5153 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5154 * sysdeps/mips/soft-fp/sfp-machine.h
5155 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5156 * sysdeps/powerpc/soft-fp/sfp-machine.h
5157 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5158 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5159 Likewise.
5160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5161 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5162 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5163 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5164 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5165 Likewise.
5166
fbfdf9cb
DAS
51672014-02-12 Dylan Alex Simon <dylan@dylex.net>
5168
5169 [BZ #16545]
5170 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5171 model 1.
5172
68b7efaa
RH
51732014-02-12 Richard Henderson <rth@redhat.com>
5174
c70a4b1d 5175 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5176 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5177 * sysdeps/unix/sysv/linux/alpha: Move directory from
5178 ports/sysdeps/unix/sysv/linux/alpha.
5179 * README: Update listing for alpha-*-linux-gnu.
5180
cb4a2928
JM
51812014-02-11 Joseph Myers <joseph@codesourcery.com>
5182
c941736c
JM
5183 * include/features.h: Update comment documenting feature test
5184 macros.
5185 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5186 _DEFAULT_SOURCE.
5187 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5188 (_SVID_SOURCE): Likewise.
5189 (_DEFAULT_SOURCE): Update description of default features.
5190 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5191 with _GNU_SOURCE.
5192 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5193 (S_ISVTX): Likewise.
5194 * manual/math.texi (Mathematical Constants): Likewise.
5195 * manual/signal.texi (Interrupted Primitives): Likewise.
5196 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5197 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5198 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5199 Don't refer to _SVID_SOURCE in warning text.
5200
e8d8d7ec
JM
5201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5202
cb4a2928
JM
5203 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5204 already defined.
5205 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5206 * sysdeps/mips/dl-lookup.c: Remove.
5207 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5208
7e6424e3
AK
52092014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5210
5211 [BZ #16447]
5212 * math/auto-libm-test-in: Add testcase for expl.
5213 * math/auto-libm-test-out: Regenerate.
5214 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5215 calculation of unsafe.
5216 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5217
75eff3fe
MS
52182014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5219
5220 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5221 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5222 ports/sysdeps/unix/sysv/linux/aarch64.
5223 * README: Update listing for aarch64*-*-linux-gnu.
5224
d35f1e80
WN
52252014-02-11 Will Newton <will.newton@linaro.org>
5226
5227 * manual/probes.texi (Mathematical Function Probes): Use
5228 "triggered" instead of "hit".
5229
7b3436d4
WN
5230 * manual/probes.texi (Internal Probes): Add documentation
5231 of setjmp, longjmp and longjmp_target probes.
5232
b4f12ca3
WN
5233 * include/stap-probe.h: Add comment about probe argument
5234 format.
5235
c13a72b7
WN
5236 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5237 definition. (tr_where, tr_freehook, tr_mallochook,
5238 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5239
195b8165
DM
52402014-02-11 David S. Miller <davem@davemloft.net>
5241
5242 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5243 processing int_tests.
5244
2ad7600b
JM
52452014-02-10 Joseph Myers <joseph@codesourcery.com>
5246
5247 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5248 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5249 * sysdeps/unix/sysv/linux/mips: Move directory from
5250 ports/sysdeps/unix/sysv/linux/mips.
5251 * README: Update listing for mips-*-linux-gnu and
5252 mips64-*-linux-gnu.
5253
73588a72
AS
52542014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5257 * sysdeps/unix/sysv/linux/m68k: Move directory from
5258 ports/sysdeps/unix/sysv/linux/m68k.
5259 * README: Update listing for m68k-*-linux-gnu.
5260
4372980f
CM
52612014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5262
5263 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5264 * sysdeps/unix/sysv/linux/generic: Move directory from
5265 ports/sysdeps/unix/sysv/linux/generic.
5266 * sysdeps/unix/sysv/linux/tile: Move directory from
5267 ports/sysdeps/unix/sysv/linux/tile.
5268 * README: Update listing for tile*-*-linux-gnu.
5269
a1ffb40e
OB
52702014-02-10 Ondřej Bílka <neleai@seznam.cz>
5271
57f41c40
AS
5272 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5273 __builtin_expect.
a1ffb40e
OB
5274 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5275 * catgets/open_catalog.c (__open_catalog): Likewise.
5276 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5277 * debug/confstr_chk.c: Likewise.
5278 * debug/fread_chk.c (__fread_chk): Likewise.
5279 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5280 * debug/getgroups_chk.c: Likewise.
5281 * debug/mbsnrtowcs_chk.c: Likewise.
5282 * debug/mbsrtowcs_chk.c: Likewise.
5283 * debug/mbstowcs_chk.c: Likewise.
5284 * debug/memcpy_chk.c: Likewise.
5285 * debug/memmove_chk.c: Likewise.
5286 * debug/mempcpy_chk.c: Likewise.
5287 * debug/memset_chk.c: Likewise.
5288 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5289 * debug/strcat_chk.c (__strcat_chk): Likewise.
5290 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5291 * debug/strncat_chk.c (__strncat_chk): Likewise.
5292 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5293 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5294 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5295 * debug/wcpncpy_chk.c: Likewise.
5296 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5297 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5298 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5299 * debug/wcsncpy_chk.c: Likewise.
5300 * debug/wcsnrtombs_chk.c: Likewise.
5301 * debug/wcsrtombs_chk.c: Likewise.
5302 * debug/wcstombs_chk.c: Likewise.
5303 * debug/wmemcpy_chk.c: Likewise.
5304 * debug/wmemmove_chk.c: Likewise.
5305 * debug/wmempcpy_chk.c: Likewise.
5306 * debug/wmemset_chk.c: Likewise.
5307 * dirent/scandirat.c (SCANDIRAT): Likewise.
5308 * dlfcn/dladdr1.c (dladdr1): Likewise.
5309 * dlfcn/dladdr.c (dladdr): Likewise.
5310 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5311 * dlfcn/dlerror.c (__dlerror): Likewise.
5312 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5313 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5314 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5315 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5316 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5317 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5318 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5319 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5320 Likewise.
5321 * elf/dl-conflict.c: Likewise.
5322 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5323 * elf/dl-dst.h: Likewise.
5324 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5325 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5326 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5327 * elf/dl-init.c (call_init, _dl_init): Likewise.
5328 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5329 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5330 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5331 Likewise.
a1ffb40e
OB
5332 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5333 Likewise.
5334 * elf/dl-minimal.c (__libc_memalign): Likewise.
5335 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5336 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5337 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5338 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5339 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5340 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5341 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5342 * elf/dl-writev.h (_dl_writev): Likewise.
5343 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5344 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5345 (dl_main): Likewise.
a1ffb40e
OB
5346 * elf/setup-vdso.h (setup_vdso): Likewise.
5347 * grp/compat-initgroups.c (compat_call): Likewise.
5348 * grp/fgetgrent.c (fgetgrent): Likewise.
5349 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5350 * grp/putgrent.c (putgrent): Likewise.
5351 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5352 Likewise.
5353 * hurd/hurdinit.c: Likewise.
5354 * iconvdata/8bit-gap.c (struct): Likewise.
5355 * iconvdata/ansi_x3.110.c : Likewise.
5356 * iconvdata/big5.c : Likewise.
5357 * iconvdata/big5hkscs.c : Likewise.
5358 * iconvdata/cp1255.c: Likewise.
5359 * iconvdata/cp1258.c : Likewise.
5360 * iconvdata/cp932.c : Likewise.
5361 * iconvdata/euc-cn.c: Likewise.
5362 * iconvdata/euc-jisx0213.c : Likewise.
5363 * iconvdata/euc-jp.c: Likewise.
5364 * iconvdata/euc-jp-ms.c : Likewise.
5365 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5366 * iconvdata/gb18030.c : Likewise.
5367 * iconvdata/gbbig5.c (const): Likewise.
5368 * iconvdata/gbgbk.c: Likewise.
5369 * iconvdata/gbk.c : Likewise.
5370 * iconvdata/ibm1364.c : Likewise.
5371 * iconvdata/ibm930.c : Likewise.
5372 * iconvdata/ibm932.c: Likewise.
5373 * iconvdata/ibm933.c : Likewise.
5374 * iconvdata/ibm935.c : Likewise.
5375 * iconvdata/ibm937.c : Likewise.
5376 * iconvdata/ibm939.c : Likewise.
5377 * iconvdata/ibm943.c: Likewise.
5378 * iconvdata/iso_11548-1.c: Likewise.
5379 * iconvdata/iso-2022-cn.c : Likewise.
5380 * iconvdata/iso-2022-cn-ext.c : Likewise.
5381 * iconvdata/iso-2022-jp-3.c: Likewise.
5382 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5383 * iconvdata/iso-2022-kr.c : Likewise.
5384 * iconvdata/iso646.c (gconv_end): Likewise.
5385 * iconvdata/iso_6937-2.c : Likewise.
5386 * iconvdata/iso_6937.c : Likewise.
5387 * iconvdata/iso8859-1.c: Likewise.
5388 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5389 * iconvdata/shift_jisx0213.c : Likewise.
5390 * iconvdata/sjis.c : Likewise.
5391 * iconvdata/t.61.c : Likewise.
5392 * iconvdata/tcvn5712-1.c : Likewise.
5393 * iconvdata/tscii.c: Likewise.
5394 * iconvdata/uhc.c : Likewise.
5395 * iconvdata/unicode.c (gconv_end): Likewise.
5396 * iconvdata/utf-16.c (gconv_end): Likewise.
5397 * iconvdata/utf-32.c (gconv_end): Likewise.
5398 * iconvdata/utf-7.c (base64): Likewise.
5399 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5400 * iconv/gconv_close.c (__gconv_close): Likewise.
5401 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5402 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5403 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5404 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5405 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5406 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5407 * iconv/iconv.c (iconv): Likewise.
5408 * iconv/iconv_close.c: Likewise.
5409 * iconv/loop.c (SINGLE): Likewise.
5410 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5411 * include/atomic.h: Likewise.
5412 * inet/inet6_option.c (option_alloc): Likewise.
5413 * intl/bindtextdom.c (set_binding_values): Likewise.
5414 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5415 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5416 * intl/localealias.c (read_alias_file): Likewise.
5417 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5418 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5419 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5420 * libio/fmemopen.c (fmemopen): Likewise.
5421 * libio/iofgets.c (_IO_fgets): Likewise.
5422 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5423 * libio/iofgetws.c (fgetws): Likewise.
5424 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5425 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5426 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5427 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5428 * locale/findlocale.c (_nl_find_locale): Likewise.
5429 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5430 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5431 Likewise.
5432 * locale/setlocale.c (setlocale): Likewise.
5433 * login/programs/pt_chown.c (main): Likewise.
5434 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5435 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5436 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5437 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5438 * math/e_exp2l.c: Likewise.
5439 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5440 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5441 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5442 * math/s_catan.c (__catan): Likewise.
5443 * math/s_catanf.c (__catanf): Likewise.
5444 * math/s_catanh.c (__catanh): Likewise.
5445 * math/s_catanhf.c (__catanhf): Likewise.
5446 * math/s_catanhl.c (__catanhl): Likewise.
5447 * math/s_catanl.c (__catanl): Likewise.
5448 * math/s_ccosh.c (__ccosh): Likewise.
5449 * math/s_ccoshf.c (__ccoshf): Likewise.
5450 * math/s_ccoshl.c (__ccoshl): Likewise.
5451 * math/s_cexp.c (__cexp): Likewise.
5452 * math/s_cexpf.c (__cexpf): Likewise.
5453 * math/s_cexpl.c (__cexpl): Likewise.
5454 * math/s_clog10.c (__clog10): Likewise.
5455 * math/s_clog10f.c (__clog10f): Likewise.
5456 * math/s_clog10l.c (__clog10l): Likewise.
5457 * math/s_clog.c (__clog): Likewise.
5458 * math/s_clogf.c (__clogf): Likewise.
5459 * math/s_clogl.c (__clogl): Likewise.
5460 * math/s_csin.c (__csin): Likewise.
5461 * math/s_csinf.c (__csinf): Likewise.
5462 * math/s_csinh.c (__csinh): Likewise.
5463 * math/s_csinhf.c (__csinhf): Likewise.
5464 * math/s_csinhl.c (__csinhl): Likewise.
5465 * math/s_csinl.c (__csinl): Likewise.
5466 * math/s_csqrt.c (__csqrt): Likewise.
5467 * math/s_csqrtf.c (__csqrtf): Likewise.
5468 * math/s_csqrtl.c (__csqrtl): Likewise.
5469 * math/s_ctan.c (__ctan): Likewise.
5470 * math/s_ctanf.c (__ctanf): Likewise.
5471 * math/s_ctanh.c (__ctanh): Likewise.
5472 * math/s_ctanhf.c (__ctanhf): Likewise.
5473 * math/s_ctanhl.c (__ctanhl): Likewise.
5474 * math/s_ctanl.c (__ctanl): Likewise.
5475 * math/w_pow.c: Likewise.
5476 * math/w_powf.c: Likewise.
5477 * math/w_powl.c: Likewise.
5478 * math/w_scalb.c (sysv_scalb): Likewise.
5479 * math/w_scalbf.c (sysv_scalbf): Likewise.
5480 * math/w_scalbl.c (sysv_scalbl): Likewise.
5481 * misc/error.c (error_tail): Likewise.
5482 * misc/pselect.c (__pselect): Likewise.
5483 * nis/nis_callback.c (__nis_create_callback): Likewise.
5484 * nis/nis_call.c (__nisfind_server): Likewise.
5485 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5486 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5487 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5488 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5489 * nis/nis_lookup.c (nis_lookup): Likewise.
5490 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5491 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5492 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5493 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5494 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5495 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5496 * nis/nss_compat/compat-initgroups.c (add_group)
5497 (internal_getgrent_r): Likewise.
5498 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5499 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5500 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5501 (internal_getspnam_r): Likewise.
5502 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5503 (_nss_nis_getaliasbyname_r): Likewise.
5504 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5505 (_nss_nis_getntohost_r): Likewise.
5506 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5507 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5508 (_nss_nis_getgrgid_r): Likewise.
5509 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5510 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5511 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5512 (_nss_nis_gethostbyname4_r): Likewise.
5513 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5514 (initgroups_netid): Likewise.
a1ffb40e 5515 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5516 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5517 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5518 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5519 (_nss_nis_getprotobynumber_r): Likewise.
5520 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5521 (_nss_nis_getsecretkey): Likewise.
5522 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5523 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5524 (_nss_nis_getpwuid_r): Likewise.
5525 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5526 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5527 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5528 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5529 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5530 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5531 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5532 Likewise.
57f41c40
AS
5533 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5534 (_nss_nisplus_getntohost_r): Likewise.
5535 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5536 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5537 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5538 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5539 Likewise.
57f41c40
AS
5540 * nis/nss_nisplus/nisplus-initgroups.c
5541 (_nss_nisplus_initgroups_dyn): Likewise.
5542 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5543 (_nss_nisplus_getnetbyaddr_r): Likewise.
5544 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5545 (_nss_nisplus_getprotobynumber_r): Likewise.
5546 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5547 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5548 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5549 Likewise.
57f41c40
AS
5550 * nis/nss_nisplus/nisplus-service.c
5551 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5552 (_nss_nisplus_getservbyport_r): Likewise.
5553 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5554 (_nss_nisplus_getspnam_r): Likewise.
5555 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5556 Likewise.
a1ffb40e
OB
5557 * nscd/aicache.c (addhstaiX): Likewise.
5558 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5559 * nscd/connections.c (register_traced_file, send_ro_fd)
5560 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5561 (main_loop_epoll): Likewise.
a1ffb40e
OB
5562 * nscd/grpcache.c (addgrbyX): Likewise.
5563 * nscd/hstcache.c (addhstbyX): Likewise.
5564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5565 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5566 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5567 (addinnetgrX): Likewise.
5568 * nscd/nscd-client.h (__nscd_acquire_maplock)
5569 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5570 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5571 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5572 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5573 Likewise.
5574 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5575 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5576 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5577 (__nscd_get_map_ref): Likewise.
a1ffb40e 5578 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5579 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5580 Likewise.
a1ffb40e
OB
5581 * nscd/pwdcache.c (addpwbyX): Likewise.
5582 * nscd/selinux.c (preserve_capabilities): Likewise.
5583 * nscd/servicescache.c (addservbyX): Likewise.
5584 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5585 * posix/fnmatch.c (fnmatch): Likewise.
5586 * posix/getopt.c (_getopt_internal_r): Likewise.
5587 * posix/glob.c (glob, glob_in_dir): Likewise.
5588 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5589 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5590 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5591 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5592 * resolv/res_init.c: Likewise.
5593 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5594 * resolv/res_query.c (__libc_res_nquery): Likewise.
5595 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5596 Likewise.
5597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5598 * stdio-common/perror.c (perror): Likewise.
5599 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5600 * stdio-common/tmpnam.c (tmpnam): Likewise.
5601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5602 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5603 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5604 Likewise.
a1ffb40e
OB
5605 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5606 * stdlib/putenv.c (putenv): Likewise.
5607 * stdlib/setenv.c (__add_to_environ): Likewise.
5608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5609 * stdlib/strtol_l.c (INTERNAL): Likewise.
5610 * string/memmem.c (memmem): Likewise.
5611 * string/strerror.c (strerror): Likewise.
5612 * string/strnlen.c (__strnlen): Likewise.
5613 * string/test-memmem.c (simple_memmem): Likewise.
5614 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5615 * sunrpc/pm_getport.c (__get_socket): Likewise.
5616 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5617 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5618 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5619 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5620 Likewise.
5621 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5622 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5623 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5624 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5625 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5626 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5627 Likewise.
5628 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5629 Likewise.
a1ffb40e
OB
5630 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5631 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5633 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5634 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5636 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5637 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5639 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5640 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5641 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5642 Likewise.
5643 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5644 Likewise.
5645 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5646 Likewise.
5647 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5650 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5651 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5652 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5653 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5656 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5662 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5663 Likewise.
a1ffb40e
OB
5664 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5665 Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5667 Likewise.
5668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5669 Likewise.
5670 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5672 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5673 Likewise.
5674 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5675 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5676 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5677 * sysdeps/posix/sleep.c: Likewise.
5678 * sysdeps/posix/tempname.c: Likewise.
5679 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5680 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5681 Likewise.
57f41c40
AS
5682 * sysdeps/powerpc/powerpc32/dl-machine.h
5683 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5686 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5687 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5688 Likewise.
5689 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5691 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5693 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5694 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5695 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5696 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5698 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5700 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5701 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5703 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5704 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5705 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5706 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5707 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5708 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5709 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5712 Likewise.
5713 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5714 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5715 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5716 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5717 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5718 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5719 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5720 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5722 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5723 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5724 Likewise.
5725 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5726 (__posix_fallocate64_l64): Likewise.
5727 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5728 (posix_fallocate): Likewise.
57f41c40
AS
5729 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5730 Likewise.
a1ffb40e 5731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5732 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5733 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5734 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5735 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5736 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5737 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5738 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5739 (__posix_fallocate64_l64): Likewise.
5740 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5741 Likewise.
5742 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5743 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5744 (__get_clockfreq): Likewise.
a1ffb40e
OB
5745 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5746 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5747 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5750 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5751 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5752 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5753 Likewise.
5754 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5755 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5756 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5757 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5758 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5759 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5760 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5763 (posix_fallocate): Likewise.
5764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5765 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5766 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5767 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5768 (elf_machine_rela, elf_machine_rela_relative)
5769 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5770 * time/asctime.c (asctime_internal): Likewise.
5771 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5772 * time/tzset.c (__tzset_parse_tz): Likewise.
5773 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5774 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5775 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5776 * wcsmbs/wcsmbsload.h: Likewise.
5777
f3d338c9
OB
5778 [BZ #15894]
5779 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5780
57f41c40
AS
5781 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5782 (arena_get2): Remove THREAD_STATS conditionals.
5783 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5784 (__malloc_stats, int): Likewise.
bdfe308a 5785
d674667c
MF
57862014-02-08 Mike Frysinger <vapier@gentoo.org>
5787
5788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5789 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5790
6349768c
MF
5791 * manual/setjmp.texi: Fix typos/grammar errors.
5792
0b7c7473
MF
5793 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5794 Only return early when n is <= 0. Delete unused return statement.
5795
ac8cc9e3
MF
5796 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5797 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5798 * debug/tst-longjmp_chk3.c: New file.
5799
c5bb8e23
MF
5800 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5801 (test_main): Replace code with set_fortify_handler call.
5802 * debug/test-strcpy_chk.c: Likewise.
5803 * debug/tst-chk1.c: Likewise.
5804 * debug/tst-longjmp_chk.c: Likewise.
5805 * test-skeleton.c: Include fcntl.h & paths.h
5806 (set_fortify_handler): Define.
5807
10444e42
MF
5808 * debug/tst-longjmp_chk.c: Add header comment and include
5809 ../test-skeleton.c.
5810 (do_test): Mark static.
5811 (TEST_FUNCTION): Define.
5812
1e805e8d
MF
5813 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5814 (IP_PMTUDISC_INTERFACE): Likewise.
5815 (IP_MULTICAST_IF): Likewise.
5816 (IP_MULTICAST_TTL): Likewise.
5817 (IP_MULTICAST_LOOP): Likewise.
5818 (IP_ADD_MEMBERSHIP): Likewise.
5819 (IP_DROP_MEMBERSHIP): Likewise.
5820 (IP_UNBLOCK_SOURCE): Likewise.
5821 (IP_BLOCK_SOURCE): Likewise.
5822 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5823 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5824 (IP_MSFILTER): Likewise.
5825 (MCAST_JOIN_GROUP): Likewise.
5826 (MCAST_BLOCK_SOURCE): Likewise.
5827 (MCAST_UNBLOCK_SOURCE): Likewise.
5828 (MCAST_LEAVE_GROUP): Likewise.
5829 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5830 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5831 (MCAST_MSFILTER): Likewise.
5832 (IP_MULTICAST_ALL): Likewise.
5833 (IP_UNICAST_IF): Likewise.
5834
73f79bb7
MF
5835 * timezone/Makefile: Delete $(have-ksh) check.
5836 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5837 * timezone/tzselect.ksh: Add +x mode bits.
5838
8da79b60
MF
5839 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5840 (ANON_INODE_FS_MAGIC): Likewise.
5841 (BDEVFS_MAGIC): Likewise.
5842 (BINFMTFS_MAGIC): Likewise.
5843 (BTRFS_TEST_MAGIC): Likewise.
5844 (CRAMFS_MAGIC_WEND): Likewise.
5845 (DEBUGFS_MAGIC): Likewise.
5846 (ECRYPTFS_SUPER_MAGIC): Likewise.
5847 (EXT3_SUPER_MAGIC): Likewise.
5848 (EXT4_SUPER_MAGIC): Likewise.
5849 (FUTEXFS_SUPER_MAGIC): Likewise.
5850 (HOSTFS_SUPER_MAGIC): Likewise.
5851 (HUGETLBFS_MAGIC): Likewise.
5852 (MINIX3_SUPER_MAGIC): Likewise.
5853 (MTD_INODE_FS_MAGIC): Likewise.
5854 (NILFS_SUPER_MAGIC): Likewise.
5855 (OPENPROM_SUPER_MAGIC): Likewise.
5856 (PIPEFS_MAGIC): Likewise.
5857 (PSTOREFS_MAGIC): Likewise.
5858 (QNX6_SUPER_MAGIC): Likewise.
5859 (RAMFS_MAGIC): Likewise.
5860 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5861 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5862 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5863 (SECURITYFS_MAGIC): Likewise.
5864 (SELINUX_MAGIC): Likewise.
5865 (SMACK_MAGIC): Likewise.
5866 (SOCKFS_MAGIC): Likewise.
5867 (SQUASHFS_MAGIC): Likewise.
5868 (STACK_END_MAGIC): Likewise.
5869 (TMPFS_MAGIC): Likewise.
5870 (USBDEVICE_SUPER_MAGIC): Likewise.
5871 (V9FS_MAGIC): Likewise.
5872 (XENFS_SUPER_MAGIC): Likewise.
5873 (CRAMFS_MAGIC): Fix typo in comment.
5874 (EXT2_SUPER_MAGIC): Update comment.
5875 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5876
464263cc
JM
58772014-02-08 Joseph Myers <joseph@codesourcery.com>
5878
c6bfe5c4
JM
5879 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5880 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5881 * sysdeps/unix/sysv/linux/arm: Move directory from
5882 ports/sysdeps/unix/sysv/linux/arm.
5883 * README: Update listing for arm-*-linux-gnueabi.
5884
464263cc
JM
5885 * README: Remove mention of am33.
5886
32749f6c
RM
58872014-02-07 Roland McGrath <roland@hack.frob.com>
5888
5889 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5890 than the comma operator, to avoid "rhs of comma has no effect"
5891 compiler warnings.
5892 (__sigfillset, __sigandset, __sigorset): Likewise.
5893 * include/signal.h (__sigemptyset): Likewise.
5894 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5895
d5b396c1
AM
58962014-02-07 Allan McRae <allan@archlinux.org>
5897
5898 * version.h (RELEASE): Set to "development".
5899 (VERSION): Set to "2.19.90"
5900 * NEWS: Add 2.20 section.
5901
3bfff2ed
CD
59022014-02-06 Carlos O'Donell <carlos@redhat.com>
5903
5904 [BZ #16529]
5905 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5906
ee7cc385
SP
59072014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5908
5909 * manual/contrib.texi: Update entry for Carlos O'Donell,
5910 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5911
f877c4f2
CD
59122014-02-05 Carlos O'Donell <carlos@rehdat.com>
5913
27e839f6
CD
5914 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5915
f877c4f2
CD
5916 * sysdeps/unix/sysv/linux/kernel-features.h
5917 [__LINUX_KERNEL_VERSION >= 0x020621]
5918 (__ASSUME_PROC_PID_TASK_COMM): Define.
5919
68159946
SP
59202014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5921
ba17cdbd
SP
5922 [BZ #16398]
5923 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5924 conversion when destination buffer does not have enough space.
5925 * libio/tst-ftell-partial-wide.c: New test case.
5926 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5927
68159946
SP
5928 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5929 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5930 Leonard and Allan McRae.
5931
2b528732
DM
59322014-02-04 David S. Miller <davem@davemloft.net>
5933
5934 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5935 32-bit.
5936
0ff82463
AZ
59372014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938
57f41c40
AS
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5940 New file
c01603f7
AZ
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5942 New file
57f41c40
AS
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5944 New file.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5946 New file.
c01603f7
AZ
5947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5948 New file.
57f41c40
AS
5949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5950 New file.
5951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5952 New file.
c01603f7
AZ
5953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5954 New file.
5955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5956 New file.
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5958 New file.
5959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5960 New file.
5961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5962 New file.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5964 New file.
5965
59662014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967
0ff82463
AZ
5968 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5969 * shlib-versions: Likewise.
5970
1695c773
AZ
59712014-02-04 Roland McGrath <roland@hack.frob.com>
5972 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5975 (abilist-pattern): New variable, set to %-le.abilist.
5976
5977 * Makerules (abilist-pattern): New variable.
5978 (vpath): Use $(abilist-pattern) in place of %.abilist.
5979 (check-abi-% pattern rule): Likewise.
5980 (check-abi, update-abi): Likewise.
5981
6c0ce4b4
EW
59822014-02-04 Eric Wong <normalperson@yhbt.net>
5983
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5985
481e3524
CD
59862014-02-03 Carlos O'Donell <carlos@redhat.com>
5987
5988 * manual/startup.texi: Add next, previous, and top entries for
5989 the `Program Arguments' and `Environment Variables' nodes.
5990
375592d3
AO
59912014-02-03 Alexandre Oliva <aoliva@redhat.com>
5992
5993 * manual/macros.texi: Add comments before MTASC-safety macros.
5994
f54838ba
AO
5995 * manual/users.texi: Document MTASC-safety properties.
5996
57f41c40
AS
5997 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5998 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5999 @deftypefun, and add @safety note.
6000 * manual/signal.texi: Move comments that analyze the above
6001 functions to their home place.
6002
fd3daba4
AM
60032014-02-03 Allan McRae <allan@archlinux.org>
6004
6005 * po/sl.po: Update Slovenian translation from translation project.
6006
597636d7
AO
60072014-02-02 Alexandre Oliva <aoliva@redhat.com>
6008
6009 * manual/time.texi (timegm): Add missing blank after @c.
6010 Reported by Joseph Myers <joseph@codesourcery.com>.
6011
ee196e3c
AO
60122014-02-01 Alexandre Oliva <aoliva@redhat.com>
6013
6014 * manual/check-safety.sh: New.
6015 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6016
f8d529d5
AO
6017 * manual/terminal.texi: Document MTASC-safety properties.
6018
de55fdf4
AO
6019 * manual/filesys.texi: Document MTASC-safety properties.
6020
c3299c08
AO
6021 * manual/errno.texi: Document MTASC-safety properties.
6022
06e90b14
AO
6023 * manual/intro.texi: Document safety identifiers and
6024 conditionals.
6025
1acd4371
AO
6026 * manual/string.texi (wcstok): Fix prototype.
6027 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6028
23e5b8cb
AO
6029 * manual/time.texi: Document MTASC-safety properties.
6030
11087373
AO
6031 * manual/string.texi: Document MTASC-safety properties.
6032
5da2c93d
AO
6033 * manual/threads.texi: Document MTASC-safety properties.
6034
171e9210
AO
6035 * manual/stdio.texi: Document MTASC-safety properties.
6036
d9e02532
AO
6037 * manual/syslog.texi: Document MTASC-safety properties.
6038
6af8bab7
AO
6039 * manual/sysinfo.texi: Document MTASC-safety properties.
6040
663b02d7
AO
6041 * manual/startup.texi: Document MTASC-safety properties.
6042
973f180b
AO
6043 * manual/socket.texi: Document MTASC-safety properties.
6044
8f3c25c8
AO
6045 * manual/signal.texi: Document MTASC-safety properties.
6046
542210fb
AO
60472014-01-31 Alexandre Oliva <aoliva@redhat.com>
6048
6049 * manual/setjmp.texi: Document MTASC-safety properties.
6050
433c45a2
AO
6051 * manual/search.texi: Document MTASC-safety properties.
6052
c8ce789c
AO
6053 * manual/resource.texi: Document MTASC-safety properties.
6054
19f5d29c
AO
6055 * manual/process.texi: Document MTASC-safety properties.
6056
e2dfb7f4
AO
6057 * manual/platform.texi: Document MTASC-safety properties.
6058
8c1413f5
AO
6059 * manual/pipe.texi: Document MTASC-safety properties.
6060
03483ada
AO
6061 * manual/pattern.texi: Document MTASC-safety properties.
6062
29e7e2df
AO
6063 * manual/message.texi: Document MTASC-safety properties.
6064
9f529d7c
AO
6065 [BZ #12751]
6066 * manual/memory.texi: Document MTASC-safety properties.
6067
27aaa791
AO
6068 * manual/math.texi: Document MTASC-safety properties.
6069
f2d58726
AO
6070 * manual/locale.texi: Document MTASC-safety properties.
6071
2cc3615c
AO
6072 * manual/llio.texi: Document MTASC-safety properties.
6073
d9f0ec97
AO
6074 * manual/libdl.texi: New.
6075
e7c4409a
AO
6076 * manual/lang.texi: Document MTASC-safety properties.
6077
27bdc63c
AO
6078 * manual/job.texi: Document MTASC-safety properties.
6079
a7b90ea9
AO
6080 * manual/getopt.texi: Document MTASC-safety properties.
6081
c49130e3
AO
6082 * manual/ctype.texi: Document MTASC-safety properties.
6083
0d23a5c1
MR
60842014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6085
6086 [BZ #16046]
6087 * csu/libc-tls.c (static_map): Remove variable.
6088 (__libc_setup_tls): Use main executable's link map for TLS data.
6089 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6090 casing for LM_ID_BASE and GL(dl_nns).
6091 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6092 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6093 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6094 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6095 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6096 member.
6097 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6098 l_phnum members.
6099
0037bb60
AO
61002014-01-30 Alexandre Oliva <aoliva@redhat.com>
6101
6102 * manual/debug.texi: Document MTASC-safety properties.
6103
409e00bd
L
61042014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6105
6106 [BZ #16510]
6107 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6108 of __x86_64__ when disabling x87 inline functions.
6109
86e60666
AO
61102014-01-29 Alexandre Oliva <aoliva@redhat.com>
6111
6112 * manual/charset.texi: Document MTASC-safety properties.
6113
76167637
AO
6114 * manual/crypt.texi: Document MTASC-safety properties.
6115
e567f2a0
AO
6116 * manual/conf.texi: Document MTASC-safety properties.
6117
b719dafd
AO
6118 * manual/arith.texi: Document MTASC-safety properties.
6119
4a16c662
AO
6120 * manual/argp.texi: Document MTASC-safety properties.
6121
0a57b83e
AO
6122 * manual/macros.texi: Introduce macros to document multi
6123 thread, asynchronous signal and asynchronous cancellation
6124 safety properties.
6125 * manual/intro.texi: Introduce the properties themselves.
6126
feab2397
KK
61272014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6128
6129 * sysdeps/sh/sh4/Makefile: New file.
6130
1c0d11bc
AS
61312014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6132
6133 * math/gen-libm-test.pl ($srcdir): New variable.
6134 ($auto_input): Use it.
6135
af37a8a3
SP
61362014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6137
d7b00f98
SP
6138 [BZ #16506]
6139 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6140 access beyond array bounds when parsing netgroups file.
6141
af37a8a3
SP
6142 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6143 the old buffer before realloc.
6144
0c00f062
AM
61452014-01-27 Allan McRae <allan@archlinux.org>
6146
6147 * po/fr.po: Update French translation from translation project.
6148
7d69a1b0
KK
61492014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6150
6151 * sysdeps/sh/libm-test-ulps: Regenerate.
6152
6e697ff7
DM
61532014-01-24 David S. Miller <davem@davemloft.net>
6154
6155 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6156
9cadb35c
KK
61572014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6158
6159 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6160 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6161
5d41dadf
SP
61622013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6163
6164 [BZ #16474]
6165 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6166 string pointers after reallocation.
6167
0bad441c
KK
61682014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6169
6170 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6171 __SH4A__ instead of __SH_FPU_ANY__.
6172
7007c661
KK
61732014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6174
6175 * sysdeps/sh/fpu_control.h: New file.
6176 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6177 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6178 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6179 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6180 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6181 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6182 * sysdeps/sh/sys/ucontext.h: Remove.
6183 * sysdeps/sh/sys: Remove directory.
6184
0f0c35e4
AK
61852014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6186
6187 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6188 s390/sys/ucontext.h.
6189 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6190 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6191
4959e284
L
61922014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6193
6194 [BZ #15605]
6195 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6196
d98720e0
AZ
61972014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198
6199 [BZ#16431]
6200 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6201 Adjust the vDSO correctly for internal calls.
6202 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6203
91cbd0bc
AM
62042014-01-20 Allan McRae <allan@archlinux.org>
6205
6206 * po/ca.po: Update Catalan translation from translation project.
6207
7a02cfad
MF
62082014-01-16 Mike Frysinger <vapier@gentoo.org>
6209
6210 * sysdeps/s390/sotruss-lib.c: New file.
6211
736c304a
AZ
62122014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6213
6214 [BZ#16430]
6e077ee5 6215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6216 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6217 local calls issues by not having a PLT stub required for IFUNC calls.
6218 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6219
94d0cea0
JM
62202014-01-16 Joseph Myers <joseph@codesourcery.com>
6221
6222 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6223 * math/test-fpucw-static.c: Likewise.
6224
980cb518
SP
62252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6226
6227 [BZ #16453]
6228 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6229
2393fc01
AZ
62302014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6231
6232 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6233 implementation for powerpc.
6234
d359bcc2
OB
62352014-01-15 Ondřej Bílka <neleai@seznam.cz>
6236
6237 [BZ #14782]
6238 * sysdeps/posix/system.c (__libc_system): Do not enable
6239 asynchronous cancellation.
6240
7beb48cb
AK
62412014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6242
6243 [BZ #16427]
6244 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6245 handling only for numbers special also in the IEEE case.
6246
c20d5bf5
AK
62472014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6248
6249 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6250
e83bd4ee
AM
62512014-01-11 Allan McRae <allan@archlinux.org>
6252
76d0ea69
AM
6253 * po/bg.po: Update Bulgarian translation from translation project.
6254
e83bd4ee
AM
6255 * po/de.po: Update German translation from translation project.
6256
bc2ba20a
RM
62572014-01-10 Roland McGrath <roland@hack.frob.com>
6258
6259 * sysdeps/generic/gcc-compat.h: New file.
6260
649ecea2
SP
62612014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6262
6263 * benchtests/asin-inputs: Correct slow inputs.
6264 * benchtests/acos-inputs: Likewise.
6265
1b19c006
AM
62662014-01-10 Allan McRae <allan@archlinux.org>
6267
a46dab08
AM
6268 * po:sv.po: Update Swedish translation from translation project.
6269
421df74a
AM
6270 * po/vi.po: Update Vietnamese translation from translation project.
6271
d61c51a7
AM
6272 * po/eo.po: Update Esperanto translation from translation project.
6273
0339a319
AM
6274 * po/cs.po: Update Czech translation from translation project.
6275
94ad3e99
AM
6276 * po/nl.po: Update Dutch translation from translation project.
6277
e349ca71
AM
6278 * po/pl.po: Update Polish translation from translation project.
6279
ddf930c1
AM
6280 * po/ru.po: Update Russian translation from translation project.
6281
1b19c006
AM
6282 * po/uk.po: Update Ukrainian translation from translation project.
6283
9f236c49
BM
62842014-01-08 Brooks Moses <bmoses@google.com>
6285
6286 * elf/dl-load.c: Fix comment typo.
6287
cd6701cf
CD
62882014-01-08 Carlos O'Donell <carlos@redhat.com>
6289
6290 * po/header.pot: Rename to...
6291 * po/pot.header: ... this.
6292 * po/Makefile: Use pot.header.
6293
66671c84
YK
62942014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6295 Maxim Kuvyrkov <maxim@kugelworks.com>
6296
6297 [BZ #16394]
cd6701cf
CD
6298 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6299 SRC and DEST against LEN.
66671c84 6300
38f34581
AZ
63012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 [BZ #16414]
6304 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6305 implementation.
6306 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6307
63082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6309
6310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6311
4c327f2a
JM
63122014-01-08 Joseph Myers <joseph@codesourcery.com>
6313
6314 [BZ #16408]
6315 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6316 for large positive arguments.
6317
b821f414
JM
63182014-01-07 Joseph Myers <joseph@codesourcery.com>
6319
1f0f2067
JM
6320 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6321
a5a326f6
JM
6322 * math/auto-libm-test-in: Mark various tests with
6323 xfail-rounding:ldbl-128ibm.
6324 * math/auto-libm-test-out: Regenerated.
6325
b821f414
JM
6326 [BZ #16407]
6327 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6328 Increase overflow threshold.
6329
94c8a4bc
OB
63302014-01-07 Ondřej Bílka <neleai@seznam.cz>
6331
6332 [BZ #14286]
6333 * stdio-common/vfprintf.c: Check for integer overflow.
6334
87ded0c3
AK
63352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6336
6337 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6338 the first argument and return value of __tls_get_addr_internal.
6339
c5eebdd0
AK
63402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6341
6342 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6343 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6344
05d138ef
AK
63452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6346
6347 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6348 * sysdeps/s390/rtld-global-offsets.sym: New file.
6349 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6350 GLIBC_2.19 symbol.
6351 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6352 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6354 ... this.
6355 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6356 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6357 ... this.
6358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6359 Regenerate.
6360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6361 Regenerate.
6362 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6363 halfs of GPRs for high_gprs contexts.
6364 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6365 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6366 field.
6367 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6368 uc_flags field.
6369 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6370 64 bit versions:
6371 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6372 for high GPRs (uc_high_gprs) and for future extensions
6373 (__reserved).
6374 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6375 for future extensions (__reserved).
6376 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6377 64 bit versions:
6378 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6379 SC_HIGHGPRS offset definition.
6380 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6381 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6382
93a45ff1
AK
6383 * Versions.def: Add GLIBC_2.19 for libpthread.
6384 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6385 siglongjmp for libpthread with GLIBC_2.19 symver.
6386 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6387 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6388 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6389 * sysdeps/s390/__longjmp.c: New file.
6390 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6391 * sysdeps/s390/longjmp.c: New file.
6392 * sysdeps/s390/setjmp.S: New file.
6393 * sysdeps/s390/sigjmp.S: New file.
6394 * sysdeps/s390/v1-longjmp.c: New file.
6395 * sysdeps/s390/v1-setjmp.h: New file.
6396 * sysdeps/s390/v1-sigjmp.c: New file.
6397 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6398 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6399 GLIBC_2.19 version.
6400 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6401 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6402 versioned symbols for ____longjmp_chk.
6403 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6404 Likewise.
6405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6406 Regenerate.
6407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6408 Regenerate.
6409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6410 Regenerate.
6411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6412 Regenerate.
6413 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6414 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6415 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6416 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6417 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6418 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6419 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6420 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6421 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6422 * sysdeps/s390/rtld-__longjmp.c: New file.
6423 * sysdeps/s390/rtld-setjmp.S: New file.
6424
eb3fc44b
JM
64252014-01-06 Joseph Myers <joseph@codesourcery.com>
6426
6427 [BZ #16400]
6428 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6429 Return -__logl (x) for small positive arguments without evaluating
6430 a polynomial.
6431
9341dde4
MF
64322014-01-06 Mike Frysinger <vapier@gentoo.org>
6433
6434 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6435 Rename to ...
6436 (__ptrace_peeksiginfo_args): ... this.
6437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6438 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6440
4cff0293
AM
64412014-01-06 Allan McRae <allan@archlinux.org>
6442
6443 * inet/netinet/in.h: Fix typo in comment.
6444
75595dcf
AJ
64452014-01-05 Andreas Jaeger <aj@suse.de>
6446
6447 * sysdeps/i386/fpu/libm-test-ulps: Update.
6448
79c1e109
AM
64492014-01-05 Allan McRae <allan@archlinux.org>
6450
dd804818
AM
6451 * po/libc.pot: Regenerated.
6452
79c1e109
AM
6453 * malloc/memusagestat.c: Fix gettext call formatting.
6454
0c813d1f
SK
64552014-01-04 Sami Kerola <kerolasa@iki.fi>
6456
6457 * nscd/nscd.c: Improve usage() output.
6458
20f4a8d9
MF
64592014-01-04 Mike Frysinger <vapier@gentoo.org>
6460
6461 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6462 * sysdeps/unix/sysv/linux/configure: Regenerated.
6463 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6464 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6465
22562bb2
JM
64662014-01-03 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #16390]
6469 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6470 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6471
d7ad2d9b
AZ
64722014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6475 extra tokens at end of #undef directive.
6476 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6479
7dd009d8
JM
64802014-01-03 Joseph Myers <joseph@codesourcery.com>
6481
24db925a
JM
6482 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6483
7dd009d8
JM
6484 * math/auto-libm-test-in: Mark various tests with
6485 xfail-rounding:ldbl-128ibm.
6486 * math/auto-libm-test-out: Regenerated.
6487
396e3ecf
JM
64882014-01-02 Joseph Myers <joseph@codesourcery.com>
6489
819e5d50
JM
6490 [BZ #16386]
6491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6492 numbers with subnormal high part when calculating exponent.
6493
90b6a1e5
JM
6494 [BZ #16385]
6495 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6496 fabs.
6497
396e3ecf
JM
6498 [BZ #16384]
6499 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6500 M_LN2l.
6501 (__ieee754_acoshl): Use __log1pl not __log1p.
6502
6c8dbf00
OB
65032013-01-02 Ondřej Bílka <neleai@seznam.cz>
6504
57f41c40
AS
6505 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6506 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6507 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6508 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6509 (reused_arena, arena_get2): Convert to GNU style.
6510 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6511 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6512 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6513 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6514 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6515 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6516 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6517 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6518 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6519 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6520 * malloc/malloc.h: Likewise.
57f41c40
AS
6521 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6522 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6523 * malloc/mcheck.h: Likewise.
57f41c40
AS
6524 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6525 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6526 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6527 * malloc/morecore.c (__default_morecore): Likewise.
6528 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6529 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6530 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6531 (print_and_abort): Likewise.
6c8dbf00
OB
6532 * malloc/obstack.h: Likewise.
6533 * malloc/set-freeres.c (__libc_freeres): Likewise.
6534 * malloc/tst-mallocstate.c (main): Likewise.
6535 * malloc/tst-mtrace.c (main): Likewise.
6536 * malloc/tst-realloc.c (do_test): Likewise.
6537
d4124212
SP
65382013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6539
9a3c6a6f
SP
6540 [BZ #16366]
6541 * nscd/netgroupcache.c (do_notfound): New function.
6542 (addgetnetgrentX): Use it.
6543
d4124212
SP
6544 [BZ # 16365]
6545 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6546 NSS_STATUS_NOTFOUND.
6547
97b9a009
JM
65482014-01-01 Joseph Myers <joseph@codesourcery.com>
6549
6550 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6552
d4697bc9
AM
65532014-01-01 Allan McRae <allan@archlinux.org>
6554
ddb3687f
AM
6555 * scripts/update-copyrights: Update configure input file suffix.
6556
88726d48
AM
6557 * NEWS: Update copyright year.
6558 * catgets/gencat.c: Likewise.
6559 * csu/version.c: Likewise.
6560 * debug/catchsegv.sh: Likewise.
6561 * debug/pcprofiledump.c: Likewise.
6562 * debug/xtrace.sh: Likewise.
6563 * elf/ldconfig.c: Likewise.
6564 * elf/ldd.bash.in: Likewise.
6565 * elf/pldd.c: Likewise.
6566 * elf/sotruss.ksh: Likewise.
6567 * elf/sprof.c: Likewise.
6568 * iconv/iconv_prog.c: Likewise.
6569 * iconv/iconvconfig.c: Likewise.
6570 * locale/programs/locale.c: Likewise.
6571 * locale/programs/localedef.c: Likewise.
6572 * login/programs/pt_chown.c: Likewise.
6573 * malloc/memusage.sh: Likewise.
6574 * malloc/memusagestat.c: Likewise.
6575 * malloc/mtrace.pl: Likewise.
6576 * manual/libc.texinfo: Likewise.
6577 * nscd/nscd.c: Likewise.
6578 * nss/getent.c: Likewise.
6579 * nss/makedb.c: Likewise.
6580 * posix/getconf.c: Likewise.
6581 * scripts/test-installation.pl: Likewise.
6582
d4697bc9
AM
6583 * All files with FSF copyright notices: Update copyright dates
6584 using scripts/update-copyrights.
6585 * intl/plural.c: Regenerated.
6586 * locale/programs/charmap-kw.h: Likewise.
6587 * locale/programs/locfile-kw.h: Likewise.
6588
c8590f9d
MF
65892013-12-31 Mike Frysinger <vapier@gentoo.org>
6590
6591 * sysdeps/unix/sysv/linux/configure: Regenerated.
6592 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6593 the linux/fanotify.h header.
6594 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6595 HAVE_LINUX_FANOTIFY_H is defined.
6596
b19221b9
SP
65972013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
dd1d85e5
SP
6599 * benchtests/cos-inputs: New inputs.
6600 * benchtests/sin-inputs: Likewise.
6601
1acbb90f
SP
6602 * benchtests/atan-inputs: New inputs. Fix name of multiple
6603 precision fallback inputs.
6604
4c012ed3
SP
6605 * benchtests/atanh-inputs: New inputs.
6606 * benchtests/tanh-inputs: Likewise.
6607
eff98324
SP
6608 * benchtests/acosh-inputs: New inputs.
6609 * benchtests/asinh-inputs: Likewise.
6610
ce641152
SP
6611 * benchtests/cosh-inputs: New inputs.
6612 * benchtests/sinh-inputs: Likewise.
6613
b19221b9
SP
6614 * benchtests/acos-inputs: Add more inputs.
6615 * benchtests/asin-inputs: Likewise.
6616
030a4976 66172013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6618
030a4976 6619 [BZ #16375]
9dcc8f11
VS
6620 * manual/arith.texi: Fix spelling.
6621 * manual/charset.texi: Likewise.
6622 * manual/errno.texi: Likewise.
6623 * manual/filesys.texi: Likewise.
6624 * manual/lang.texi: Likewise.
6625 * manual/llio.texi: Likewise.
6626 * manual/locale.texi: Likewise.
6627 * manual/message.texi: Likewise.
6628 * manual/resource.texi: Likewise.
6629 * manual/search.texi: Likewise.
6630 * manual/setjmp.texi: Likewise.
6631 * manual/stdio.texi: Likewise.
6632 * manual/string.texi: Likewise.
6633 * manual/sysinfo.texi: Likewise.
6634 * manual/time.texi: Likewise.
6635
11520a57
CD
66362013-12-27 Carlos O'Donell <carlos@redhat.com>
6637
6638 * po/sl.po: New file.
6639
471103ae
MF
66402013-12-27 Mike Frysinger <vapier@gentoo.org>
6641
6642 * .gitignore: Add core/.gdbinit/.gdb_history.
6643
6c9642ed
AM
66442013-12-27 Allan McRae <allan@archlinux.org>
6645
6646 [BZ #16369]
6647 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6648 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6649
3f637079
BM
66502013-12-24 Brooks Moses <bmoses@google.com>
6651
6652 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6653 all compilers that claim C++98 compliance, not just GCC.
6654 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6655 Likewise.
6656
abc26e99
MK
66572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6658
6659 * NEWS: Restore accidentally deleted bug-fix entries.
6660
362b47fe
MK
66612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6662 Ondřej Bílka <neleai@seznam.cz>
6663
6664 [BZ #15073]
6665 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6666 have_lock.
362b47fe 6667
b9bcbbcb
OB
66682013-12-23 Ondřej Bílka <neleai@seznam.cz>
6669
6670 [BZ #12986]
6671 * manual/stdio.texi (String Input Conversions): Clarify that character
6672 classes are not supported.
6673
fb55fcd2
AZ
66742013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6675
6676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6677
ef7344f0
JM
66782013-12-22 Joseph Myers <joseph@codesourcery.com>
6679
4f40e4b3
JM
6680 [BZ #16337]
6681 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6682 Calculate results for small negative arguments directly rather
6683 than using reflection formula with special underflow handling.
6684
ef7344f0
JM
6685 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6686 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6687 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6688 (fchflags): Likewise.
6689 (revoke): Likewise.
6690 (setlogin): Likewise.
6691 (sigaltstack): Likewise.
6692 (wait4): Likewise.
6693 (sigblock): Remove.
6694 (sigsetmask): Likewise.
6695 (wait3): Likewise.
6696 (waitpid): Likewise.
6697 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6698 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6699 file.
6700 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6701 * sysdeps/unix/bsd/Makefile: ... here.
6702 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6703 * sysdeps/unix/bsd/Versions: ... here.
6704 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6705 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6706 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6707 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6708 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6709 * sysdeps/unix/bsd/sigblock.c: ... here.
6710 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6711 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6712 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6713 * sysdeps/unix/bsd/sigvec.c: ... here.
6714 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6715 * sysdeps/unix/bsd/tcdrain.c: ... here.
6716 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6717 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6718 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6719 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6720 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6721 * sysdeps/unix/bsd/wait.c: ... here.
6722 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6723 * sysdeps/unix/bsd/wait3.c: ... here.
6724 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6725 * sysdeps/unix/bsd/waitpid.c: ... here.
6726
5b0626b9
JM
67272013-12-21 Joseph Myers <joseph@codesourcery.com>
6728
6729 [BZ #16356]
6730 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6731 round-to-nearest for [!USE_AS_EXPM1L].
6732 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6733 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6734 more tests of exp and exp10. Expect some exp10 tests to miss
6735 exceptions or fail in directed rounding modes.
6736 * math/auto-libm-test-out: Regenerated.
6737 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6738 (exp10_test_tonearest): New function.
6739 (exp10_towardzero_test_data): New array.
6740 (exp10_test_towardzero): New function.
6741 (exp10_downward_test_data): New array.
6742 (exp10_test_downward): New function.
6743 (exp10_upward_test_data): New array.
6744 (exp10_test_upward): New function.
6745 (main): Call the new functions.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748
7fda5682
JM
67492013-12-20 Joseph Myers <joseph@codesourcery.com>
6750
31e3a405
JM
6751 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6752 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6753 * math/auto-libm-test-out: Regenerated.
6754 * math/libm-test.inc (acosh_test_data): Add more tests.
6755 (atanh_test_data): Likewise.
6756 (ceil_test_data): Likewise.
6757 (copysign_test_data): Likewise.
6758 * sysdeps/i386/fpu/libm-test-ulps: Update.
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6760
85bff96a
JM
6761 * timezone/checktab.awk: Update from tzcode 2013i.
6762 * timezone/private.h: Likewise.
6763 * timezone/scheck.c: Likewise.
6764 * timezone/tzfile.h: Likewise.
6765 * timezone/tzselect.ksh: Likewise.
6766 * timezone/zdump.c: Likewise.
6767 * timezone/zic.c: Likewise.
6768
b7867a3b
JM
6769 * math/auto-libm-test-in: Add tests of cpow.
6770 * math/auto-libm-test-out: Regenerated.
6771 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6773 mpc_cc_c.
6774 (func_calc_desc): Add mpc_cc_c union field.
6775 (test_functions): Add cpow.
6776 (special_fill_2pi): New function.
6777 (special_real_inputs): Add 2pi.
6778 (calc_generic_results): Handle mpc_cc_c.
6779 * sysdeps/i386/fpu/libm-test-ulps: Update.
6780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6781
7fda5682
JM
6782 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6783 csqrt, ctan and ctanh.
6784 * math/auto-libm-test-out: Regenerated.
6785 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6786 (TEST_COND_x86): Likewise.
6787 (ccos_test_data): Use AUTO_TESTS_c_c.
6788 (ccosh_test_data): Likewise.
6789 (cexp_test_data): Likewise.
6790 (clog_test_data): Likewise.
6791 (csqrt_test_data): Likewise.
6792 (ctan_test_data): Likewise.
6793 (ctan_tonearest_test_data): Likewise.
6794 (ctan_towardzero_test_data): Likewise.
6795 (ctan_downward_test_data): Likewise.
6796 (ctan_upward_test_data): Likewise.
6797 (ctanh_test_data): Likewise.
6798 (ctanh_tonearest_test_data): Likewise.
6799 (ctanh_towardzero_test_data): Likewise.
6800 (ctanh_downward_test_data): Likewise.
6801 (ctanh_upward_test_data): Likewise.
6802 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6803 mpc_c_c.
6804 (func_calc_desc): Add mpc_c_c union field.
6805 (FUNC_mpc_c_c): New macro.
6806 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6807 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6808 ctanh.
6809 (special_fill_min_subnorm_p120): New function.
6810 (special_real_inputs): Add min_subnorm_p120.
6811 (calc_generic_results): Handle mpc_c_c.
6812 * sysdeps/i386/fpu/libm-test-ulps: Update.
6813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814
5ff8d60e
SP
68152013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6816
57f41c40
AS
6817 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6818 (do_sin_slow): New functions.
6819 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6820 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6821
84ba214c
SP
6822 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6823 Use M to change sign of result instead of X. Assume X is
6824 positive.
6825 (csloww1): Likewise.
6826 (__sin): Adjust.
6827 (__cos): Adjust.
6828
975195e4
SP
6829 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6830 arguments A and DA.
6831 (__sin): Adjust.
6832 (__cos): Likewise.
6833
5ff8d60e
SP
6834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6835 (__cos): Likewise.
6836 (sloww1): Don't adjust sign of DX.
6837 (csloww1): Likewise.
6838 (sloww2): Use X directly and don't adjust sign of DX.
6839 (csloww2): Likewise.
6840
eb983568
JM
68412013-12-19 Joseph Myers <joseph@codesourcery.com>
6842
64a17f1a
JM
6843 * math/auto-libm-test-in: Add tests of cabs and carg.
6844 * math/auto-libm-test-out: Regenerated.
6845 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6846 (carg_test_data): Likewise.
6847 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6848 mpc_c_f.
6849 (func_calc_desc): Add mpc_c_f union field.
6850 (test_functions): Add cabs and carg.
6851 (calc_generic_results): Handle mpc_c_f.
6852
eb983568
JM
6853 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6854 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6855 as a macro and a compat symbol.
6856 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6857 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6858 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6859 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6860 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6862 not use .hidden.
6863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6864 Likewise.
6865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6866 Likewise.
6867 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6868 Likewise.
6869 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6870 Likewise.
6871 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6872 Likewise.
6873 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6874 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6875 from GLIBC_2.3.2.
6876
6eeb678a
AZ
68772013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6878
6879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6880
6f6fc482
JM
68812013-12-19 Joseph Myers <joseph@codesourcery.com>
6882
21fea2e2
JM
6883 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6884 trailing whitespace removed.
6885 * scripts/config.guess: Update to version 2013-11-29.
6886 * scripts/config.sub: Update to version 2013-10-01.
6887
6f6fc482
JM
6888 * math/auto-libm-test-in: Add tests of sincos.
6889 * math/auto-libm-test-out: Regenerated.
6890 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6892 mpfr_f_11.
6893 (func_calc_desc): Add mpfr_f_11 union field.
6894 (test_functions): Add sincos.
6895 (calc_generic_results): Handle mpfr_f_11.
6896 * sysdeps/i386/fpu/libm-test-ulps: Update.
6897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6898
83f5c32d
AS
68992013-12-19 Andreas Schwab <schwab@suse.de>
6900
6901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6902 CALL_MCOUNT.
6903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6904 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6905 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6906
c688b419
JM
69072013-12-19 Joseph Myers <joseph@codesourcery.com>
6908
335ee092
JM
6909 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6910 * sysdeps/i386/fpu/libm-test-ulps: Update.
6911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6912
f88acd39
JM
6913 [BZ #16293]
6914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6915 round-to-nearest mode when using frndint.
6916 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6917 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6919 Likewise.
6920 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6921 sinh test to fail.
6922 * math/auto-libm-test-out: Regenerated.
6923 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6924 (TEST_COND_x86): Likewise.
6925 (expm1_tonearest_test_data): New array.
6926 (expm1_test_tonearest): New function.
6927 (expm1_towardzero_test_data): New array.
6928 (expm1_test_towardzero): New function.
6929 (expm1_downward_test_data): New array.
6930 (expm1_test_downward): New function.
6931 (expm1_upward_test_data): New array.
6932 (expm1_test_upward): New function.
6933 (main): Run the new test functions.
6934 * sysdeps/i386/fpu/libm-test-ulps: Update.
6935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6936
c688b419
JM
6937 * include/features.h: Update comment documenting feature test
6938 macros. Mention _DEFAULT_SOURCE in comment.
6939 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6940 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6941 _BSD_SOURCE and _SVID_SOURCE.
6942 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6943 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6944 !_SVID_SOURCE]: Likewise.
6945 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6946 (__USE_POSIX_IMPLICITLY): Define.
6947 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6948 (_POSIX_SOURCE): Undefine and redefine.
6949 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6950 (_POSIX_C_SOURCE): Likewise.
6951 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6952 (Feature Test Macros): Update documentation of default features.
6953
9f6e964c
RS
69542013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6955
6956 * benchtests/Makefile: Add bench-strtok.
6957 * benchtests/bench-strtok.c: New file: strtok benchtest.
6958
ee0a148a
AM
69592013-12-19 Allan McRae <allan@archlinux.org>
6960
6961 * manual/install.texi: Suppress menu for plain text output.
6962 * INSTALL: Regenerated.
6963
b9ab448f
BM
69642013-12-18 Brooks Moses <bmoses@google.com>
6965
6966 [BZ #15846]
6967 * misc/getauxval.c: Include errno.h.
6968 (__getauxval): Set errno to ENOENT if the requested type is not
6969 found.
6970 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6971 don't declare with __attribute_const__.
6972 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6973 * manual/startup.texi: Document that getauxval sets errno.
6974
23776487
JM
69752013-12-18 Joseph Myers <joseph@codesourcery.com>
6976
f889953b
JM
6977 * math/auto-libm-test-in: Add tests of jn and yn.
6978 * math/auto-libm-test-out: Regenerated.
6979 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6980 (yn_test_data): Likewise.
6981 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6982 mpfr_if_f.
6983 (func_calc_desc): Add mpfr_if_f union field.
6984 (FUNC_mpfr_if_f): New macro.
6985 (test_functions): Add jn and yn.
6986 (calc_generic_results): Assert type of second input for
6987 mpfr_ff_f. Handle mpfr_if_f.
6988 (output_for_one_input_case): Disable all checking for arguments
6989 fitting floating-point types in case of an integer argument.
6990 * sysdeps/i386/fpu/libm-test-ulps: Update.
6991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6992
23776487
JM
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6994 Don't expect fegetround reference in libm.so.
6995
cb756c6d
MS
69962013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6997
6998 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6999 $(config-cflags-nofma).
7000
2dec468f
JM
70012013-12-18 Joseph Myers <joseph@codesourcery.com>
7002
5953eb3a
JM
7003 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7004 * math/auto-libm-test-out: Regenerated.
7005
2dec468f
JM
7006 [BZ #16338]
7007 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7008 to determine exponent and adjust argument to have exponent of -1.
7009 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7010 log2.
7011 * math/auto-libm-test-out: Regenerated.
7012 * sysdeps/i386/fpu/libm-test-ulps: Update.
7013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7014
4d84e6ad
OB
70152013-12-18 Ondřej Bílka <neleai@seznam.cz>
7016
7017 * manual/probes.texi: Remove cases when per-thread arenas are
7018 disabled.
7019
1818483b
AS
70202013-12-18 Andreas Schwab <schwab@suse.de>
7021
7022 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7023 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7024 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7025 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7026 * sysdeps/i386/i686/multiarch/Makefile: Update.
7027 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7028
25de95bf
JM
70292013-12-17 Joseph Myers <joseph@codesourcery.com>
7030
7031 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7032 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7033
674762d9
PE
70342013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7035
ed27ed83 7036 [BZ #15968]
0748546f
PE
7037 Support TZ transition times < 00:00:00.
7038 This is needed for version-3 tz-format files; it supports time
7039 stamps past 2037 for America/Godthab (the only entry in the tz
7040 database for which this change is relevant).
7041 * manual/time.texi (TZ Variable): Document transition times
7042 from -167:59:59 through -00:00:01.
7043 * time/tzset.c (tz_rule): Time of day is now signed.
7044 (__tzset_parse_tz): Parse negative time of day.
7045
4480e934
PE
7046 Document TZ transition times >= 25:00:00.
7047 * manual/time.texi (TZ Variable): Document transition times from
7048 25:00:00 through 167:59:59. These are already supported, and this
7049 support will help with version-3 tz-format files.
7050
69947401
PE
7051 * manual/time.texi (TZ Variable): Modernize North America example
7052 to reflect current (i.e., 2007-and-later) daylight saving rules.
7053
674762d9
PE
7054 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7055
7011c262
JM
70562013-12-17 Joseph Myers <joseph@codesourcery.com>
7057
2fc6557e
JM
7058 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7059 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7062 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7063 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7064 * sysdeps/unix/bsd/clock.c: Likewise.
7065 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7066 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7067 * sysdeps/unix/bsd/init-posix.c: Likewise.
7068 * sysdeps/unix/bsd/poll.c: Likewise.
7069 * sysdeps/unix/bsd/ptsname.c: Likewise.
7070 * sysdeps/unix/bsd/seekdir.c: Likewise.
7071 * sysdeps/unix/bsd/setegid.c: Likewise.
7072 * sysdeps/unix/bsd/seteuid.c: Likewise.
7073 * sysdeps/unix/bsd/setgid.c: Likewise.
7074 * sysdeps/unix/bsd/setrgid.c: Likewise.
7075 * sysdeps/unix/bsd/setruid.c: Likewise.
7076 * sysdeps/unix/bsd/setsid.c: Likewise.
7077 * sysdeps/unix/bsd/setuid.c: Likewise.
7078 * sysdeps/unix/bsd/sigaction.c: Likewise.
7079 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7080 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7081 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7082 * sysdeps/unix/bsd/telldir.c: Likewise.
7083 * sysdeps/unix/bsd/times.c: Likewise.
7084 * sysdeps/unix/bsd/usleep.c: Likewise.
7085
029c7b25
JM
7086 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7087 ($(objpfx)libbsd-compat.a): Remove rule.
7088
7011c262
JM
7089 * include/features.h (__FAVOR_BSD): Do not define.
7090 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7091 features conflicting with POSIX.
7092 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7093 (_BSD_SOURCE): Remove description of not being a subset of other
7094 feature test macros.
7095 * manual/job.texi (getpgrp): Do not document BSD version.
7096 (getpgid): Do not document by reference to BSD getpgrp.
7097 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7098 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7099 * signal/signal.h [__FAVOR_BSD]: Likewise.
7100 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7101 instead of making contents conditional on [__FAVOR_BSD].
7102 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7103
affb6f78
AZ
71042013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7105
7106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7107
c88769dd
JM
71082013-12-17 Joseph Myers <joseph@codesourcery.com>
7109
6432a540
JM
7110 [BZ #16314]
7111 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7112 values below 2**-450, not 2**-500.
7113 * math/auto-libm-test-in: Don't allow spurious underflow from
7114 hypot.
7115 * math/auto-libm-test-out: Regenerated.
7116
c88769dd
JM
7117 [BZ #16316]
7118 [BZ #16330]
7119 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7120 values of ha and hb and sort them after adjusting subnormal
7121 arguments.
7122 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7123 Likewise.
7124 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7125 values of ea and eb and sort them after adjusting subnormal
7126 arguments.
7127 * math/auto-libm-test-in: Do not expect some hypot tests of
7128 subnormals to fail. Add more hypot tests.
7129 * math/auto-libm-test-out: Regenerated.
7130
29618f6b
KK
71312013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7132
7133 [BZ #13304]
7134 * sysdeps/sh/s_fma.c: New file.
7135 * sysdeps/sh/s_fmaf.c: New file.
7136 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7137 version.
7138 * sysdeps/sh/Implies: Add sh/soft-fp.
7139
eacfdfbf
RM
71402013-12-16 Roland McGrath <roland@hack.frob.com>
7141
7142 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7143 level of indirection to members `objname', `errstring', `malloced'.
7144 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7145 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7146 it as the __longjmp argument (just pass 1 instead).
7147 (_dl_catch_error): Initialize C with argument pointers and address of
7148 volatile local ERRCODE rather than copying values out of C at return.
7149
ff362e5b
JM
71502013-12-16 Joseph Myers <joseph@codesourcery.com>
7151
7152 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7153 * math/auto-libm-test-out: Regenerated.
7154 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7155 (hypot_test_data): Likewise.
7156 (pow_test_data): Likewise.
7157 (pow_tonearest_test_data): Likewise.
7158 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7159 mpfr_ff_f.
7160 (func_calc_desc): Add mpfr_ff_f union field.
7161 (FUNC_mpfr_ff_f): New macro.
7162 (test_functions): Add atan2, hypot and pow.
7163 (special_fill_min): New function.
7164 (special_fill_minus_min): Likewise.
7165 (special_fill_min_subnorm): Likewise.
7166 (special_fill_minus_min_subnorm): Likewise.
7167 (special_real_inputs): Add min, -min, min_subnorm and
7168 -min_subnorm.
7169 (calc_generic_results): Handle mpfr_ff_f.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7172
5764c27f
WN
71732013-12-16 Will Newton <will.newton@linaro.org>
7174
7175 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7176 (Aligned Memory Blocks): Add documentation for aligned_alloc
7177 and suggest it as an alternative to posix_memalign.
7178 (Hooks for Malloc): Document __memalign_hook is also called
7179 for aligned_alloc. (Summary of Malloc): Add summary for
7180 aligned alloc. Document __memalign_hook is also called
7181 for aligned_alloc.
7182
0a096e44
WN
71832013-12-16 Will Newton <will.newton@linaro.org>
7184
7185 * manual/memory.texi (Malloc Examples): Clarify default
7186 alignment documentation. Suggest posix_memalign rather
7187 than memalign or valloc.
7188 (Aligned Memory Blocks): Remove suggestion to use memalign
7189 or valloc. Remove obsolete comment about BSD.
7190 Document memalign errno values and mark the function obsolete.
7191 Document posix_memalign returned error codes. Mark valloc
7192 as obsolete. (Hooks for Malloc): __memalign_hook is also
7193 called for posix_memalign and valloc.
7194 (Summary of Malloc): Add posix_memalign to function summary.
7195 __memalign_hook is also called for posix_memalign and valloc.
7196
8d561986
SP
71972013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7198
7199 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7200 TAYLOR_SIN.
7201 (__sin): Adjust.
7202 (__cos): Likewise.
7203 (sloww): Use mynumber union. Expand ternary operator into
7204 if-else statements.
7205 (cslow): use mynumber union.
7206
73616a74
AM
72072013-12-16 Allan McRae <allan@archlinux.org>
7208
9e8ac24b
AM
7209 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7210 * configure: Regenerated.
7211
6f8e37eb
AM
7212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7213
8894bad3
AM
7214 [BZ #14120]
7215 * configure.ac: Added --enable-maintainer-mode. Check for
7216 autoconf when enabled.
7217 * configure: Regenerated.
7218
73616a74
AM
7219 * nscd/nscd.service: New file.
7220 * nscd/nscd.tmpfiles: New file.
7221
584b18eb
OB
72222013-12-14 Ondřej Bílka <neleai@seznam.cz>
7223
7224 [BZ #12100]
7225 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7226 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7227 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7228 (strstr): Add __strstr_sse2_unaligned ifunc.
7229 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7230 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7231 (strcasestr): Remove __strcasestr_sse42 ifunc.
7232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7235
8a5c7897
KK
72362013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7237
7238 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7239 * sysdeps/sh/bits/fenv.h: ... here.
7240 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7241
fd712ef3
AZ
72422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7243
7244 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7245
42fcb46c
AZ
7246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7247 hypotf multiarch implementations.
7248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7251 multiarch hypot for PPC64.
7252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7255 multiarch hypotf for PPC64.
7256
83efded4
AZ
7257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7258 modff multiarch implementations.
7259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7262 multiarch modf for PPC64.
7263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7266 multiarch modff for PPC64.
7267
43e246d2
AZ
7268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7269 and logl multiarch implementations.
7270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7273 multiarch logb for PPC64.
7274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7277 multiarch logb for PPC64.
7278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7281 multiarch logb for PPC64.
7282
8fdad123
AZ
7283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7284 isinff multiarch implementation.
7285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7286 file.
7287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7289 multiarch isinf for PPC64.
7290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7291 file.
7292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7293 multiarch isinff for PPC64.
7294
1481d706
AZ
7295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7296 finitef multiarch implementation.
7297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7298 file.
7299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7301 multiarch finite for PPC64.
7302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7303 file.
7304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7305 multiarch finitef for PPC64.
7306
5ccd5fc8
AZ
7307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7308 lrint multiarch implementation.
7309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7310 file.
7311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7313 multiarch llrint for PPC64.
7314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7315 multiarch lrint for PPC64.
7316
2568f3fa
AZ
7317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7318 copysignf multiarch implementation.
7319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7320 file.
7321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7322 file.
7323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7324 multiarch copysign for PPC64.
7325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7326 multiarch copysignf for PPC64.
7327
1cb341fd
AZ
7328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7329 multiarch implementation.
7330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7331 file.
7332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7333 file.
7334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7335 file.
7336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7337 file.
7338 multiarch llround for PPC64.
7339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7340 multiarch trunc for PPC64.
7341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7342 multiarch truncf for PPC64.
7343
59a3e194
AZ
7344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7345 multiarch implementation.
7346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7347 file.
7348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7349 file.
7350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7351 file.
7352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7353 file.
7354 multiarch llround for PPC64.
7355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7356 multiarch round for PPC64.
7357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7358 multiarch roundf for PPC64.
7359
357fd3b4
AZ
7360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7361 multiarch implementation.
7362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7363 file.
7364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7365 file.
7366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7367 file.
7368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7369 file.
7370 multiarch llround for PPC64.
7371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7372 multiarch floor for PPC64.
7373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7374 multiarch floorf for PPC64.
7375
96770f12
AZ
7376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7377 multiarch implementation.
7378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7379 file.
7380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7381 file.
7382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7383 file.
7384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7385 file.
7386 multiarch llround for PPC64.
7387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7388 multiarch ceil for PPC64.
7389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7390 multiarch ceilf for PPC64.
7391
c3627f6e
AZ
7392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7393 multiarch implementation.
7394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7395 file.
7396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7397 file.
7398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7399 file.
7400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7401 multiarch llround for PPC64.
7402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7403 multiarch lround for PPC64.
7404
b2284ad7
AZ
7405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7406 multiarch implementation.
7407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7410 file.
7411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7414 multiarch isnan for PPC64.
7415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7416 multiarch isnanf for PPC64.
7417
69bbc63d
AZ
7418 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7419 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7420 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7421 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7422 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7424
c24517c9
AZ
7425 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7426 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7429
a52374e8
AZ
7430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7431 multiarch implementations.
7432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7433 (__libc_ifunc_impl_list): Likewise.
7434 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7436 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7437 multiarch stpcpy for PPC64.
7438
7f5ec113
AZ
7439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7440 multiarch implementations.
7441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7442 (__libc_ifunc_impl_list): Likewise.
7443 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7444 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7445 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7446 multiarch strcpy for PPC64.
7447
e28bcd42
AZ
7448 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7449 redefine function name.
7450 (_wordcopy_fwd_dest_aligned): Likewise.
7451 (_wordcopy_bwd_aligned): Likewise.
7452 (_wordcopy_bwd_dest_aligned): Likewise.
7453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7454 multiarch implementations.
7455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7456 (__libc_ifunc_impl_list): Likewise.
7457 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7458 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7461 multiarch wcscpy for PPC64.
7462
92cacfce
AZ
7463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7464 multiarch implementations.
7465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7466 (__libc_ifunc_impl_list): Likewise.
7467 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7471 multiarch wcscpy for PPC64.
7472
7b714620
AZ
7473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7474 multiarch implementations.
7475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7476 (__libc_ifunc_impl_list): Likewise.
7477 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7481 multiarch wcsrchr for PPC64.
7482
16fd2ae3
AZ
7483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7484 multiarch implementations.
7485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7486 (__libc_ifunc_impl_list): Likewise.
7487 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7489 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7490 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7491 multiarch wcschr for PPC64.
7492
9ee2969b
AZ
7493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7494 multiarch implementations.
7495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7496 (__libc_ifunc_impl_list): Likewise.
7497 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7500 multiarch strchrnul for PPC64.
7501
372dc060
AZ
7502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7503 implementations.
7504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7505 (__libc_ifunc_impl_list): Likewise.
7506 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7507 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7508 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7509 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7510 strchr for PPC64.
7511
24c2c3b9
AZ
7512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7513 implementations.
7514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7515 (__libc_ifunc_impl_list): Likewise.
7516 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7519 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7520 strncmp for PPC64.
7521
1c92d9a0
AZ
7522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7523 multiarch implementations.
7524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7525 (__libc_ifunc_impl_list): Likewise.
7526 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7527 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7528 strncasecmp for PPC64.
7529 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7530 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7531 multiarch strncasecmp_l for PPC64.
7532
17de3ee3
AZ
7533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7534 multiarch implementations.
7535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7536 (__libc_ifunc_impl_list): Likewise.
7537 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7539 multiarch strcasecmp for PPC64.
7540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7541 file.
7542 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7543 multiarch strcasecmp_l for PPC64.
7544
62982bf9
AZ
7545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7546 implementations.
7547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7548 (__libc_ifunc_impl_list): Likewise.
7549 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7550 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7551 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7552 strnlen for PPC64.
7553
a65f4904
AZ
7554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7555 implementations.
7556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7557 (__libc_ifunc_impl_list): Likewise.
7558 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7559 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7560 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7561 strlen for PPC64.
7562
1fd005ad
AZ
7563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7564 implementations.
7565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7566 (__libc_ifunc_impl_list): Likewise.
7567 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7569 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7570 rawmemrchr for PPC64.
7571
cd05ba91
AZ
7572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7573 implementation.
7574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7575 (__libc_ifunc_impl_list): Likewise.
7576 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7577 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7578 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7579 memrchr for PPC64.
7580
870f8676
AZ
7581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7582 implementation.
7583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7584 (__libc_ifunc_impl_list): Likewise.
7585 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7586 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7587 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7588 memchr for PPC64.
7589
f00be62b
AZ
7590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7591 implementation.
7592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7593 (__libc_ifunc_impl_list): Likewise.
7594 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7595 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7596 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7597 mempcpy for PPC64.
7598
8a29a3d0
AZ
7599 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7600 avoid cretion of __bzero symbol.
7601 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7602 Likewise.
7603 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7604 Likewise.
7605 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7606 Likewise.
7607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7608 multiarch implementations.
7609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7610 (__libc_ifunc_impl_list): Likewise.
7611 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7613 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7614 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7615 bzero for PPC32.
7616 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7617 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7619 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7620 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7621 memset for PPC64.
7622 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7623
07253fcf
AZ
7624 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7626 implementations.
7627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7628 (__libc_ifunc_impl_list): Likewise.
7629 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7631 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7632 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7633 memcmp for PPC64.
7634
b5beafbc
AZ
7635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7636 multiarch for POWER/PPC64.
7637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7638 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7639 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7640 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7641 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7646 memcpy for PPC64.
7647
5e6a4d4b
AZ
7648 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7649 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7650 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7651 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7652 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7653 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7654 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7655 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7656 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7657 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7658 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7659 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7660 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7661 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7662 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7670
ddfab6dc
KK
76712013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7672
7673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7674
19b5525e
SP
76752013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7676
7677 * benchtests/Makefile (bench): Add exp2 and log2.
7678 (LDLIBS-bench-exp2): Add -lm.
7679 (LDLIBS-bench-log2): Likewise.
7680 * benchtests/exp2-inputs: New inputs file.
7681 * benchtests/log2-inputs: New inputs file.
7682 * benchtests/log-inputs: Add new inputs.
7683 * benchtests/tan-inputs: Likewise.
7684
196f7f5d
SP
76852013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7686
7a74607f
SP
7687 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7688 definition...
57f41c40
AS
7689 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7690 (csloww2): ... from here.
7a74607f 7691
196f7f5d
SP
7692 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7693 instead of structures.
7694 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7695 (POLYNOMIAL): Likewise.
7696 (TAYLOR_SLOW): Likewise.
7697 (__sin): Likewise.
7698 (__cos): Likewise.
7699 (slow1): Likewise.
7700 (slow2): Likewise.
7701 (sloww): Likewise.
7702 (sloww1); Likewise.
7703 (sloww2): Likewise.
7704 (bsloww1): Likewise.
7705 (bsloww2): Likewise.
7706 (cslow2): Likewise.
7707 (csloww): Likewise.
7708 (csloww1): Likewise.
7709 (csloww2): Likewise.
7710
0dfa665c
OB
77112013-12-10 Ondřej Bílka <neleai@seznam.cz>
7712
7713 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7714 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7715 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7716 * malloc/hooks.c (realloc_check): Likewise.
7717
5782a80f
OB
7718 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7719 * malloc/arena.c: Remove PER_THREAD conditional.
7720 [!PER_THREAD]: Remove code.
7721 (ptmalloc_unlock_all2): Likewise.
7722 (ptmalloc_init): Likewise.
7723 (_int_new_arena): Likewise.
7724 (arena_get2): Likewise.
7725 * malloc/hooks.c (__malloc_get_state): Likewise.
7726 (__malloc_set_state): Likewise.
7727 * malloc/malloc.c: Likewise.
7728 (struct malloc_state): Likewise.
7729 (struct malloc_par): Likewise.
7730 (__libc_realloc): Likewise.
7731 (__libc_mallopt): Likewise.
7732
aeb95445
AZ
77332013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734
7735 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7736
e8349efd
OB
77372013-12-09 Ondřej Bílka <neleai@seznam.cz>
7738
7739 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7740 macro to a function. Check for zero perturb_byte.
7741 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7742
f3eeb3fc 7743 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7744 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7745 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7746 force_reg by atomic_forced_read.
7747 * malloc/arena.c (ptmalloc_init): Likewise.
7748 * malloc/hooks.c (top_check): Likewise.
7749
be2f9009
AZ
77502013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7751
7752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7753
e7b914bd
MT
77542013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7755
7756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7757
9f0be4f8
JM
77582013-12-08 Joseph Myers <joseph@codesourcery.com>
7759
7760 * math/auto-libm-test-in: Add tests of lgamma.
7761 * math/auto-libm-test-out: Regenerated.
7762 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7763 (M_LOG_2_SQRT_PIl): Likewise.
7764 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7765 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7766 mpfr_f_f1.
7767 (func_calc_desc): Add mpfr_f_f1 union field.
7768 (ARGS1): New macro.
7769 (ARGS2): Likewise.
7770 (ARGS3): Likewise.
7771 (ARGS4): Likewise.
7772 (RET1): Likewise.
7773 (RET2): Likewise.
7774 (CALC): Likewise.
7775 (FUNC): Likewise.
7776 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7777 (test_functions): Add lgamma.
7778 (calc_generic_results): Handle mpfr_f_f1.
7779 * sysdeps/i386/fpu/libm-test-ulps: Update.
7780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7781
24eeafdb
AZ
77822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7785 __mpn_add_n for PowerPC64/POWER7.
7786 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7787 __mpn_sub_n for PowerPC64/POWER7.
7788
4a2c0fd4
AZ
7789 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7790 __mpn_addmul_1 for PowerPC64.
7791 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7792 __mpn_submul_1 for PowerPC64.
7793 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7794 for PowerPC64.
7795 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7796 for PowerPC64.
7797
4b5b548c
FS
77982013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7799
7800 [BZ #15089]
7801 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7802
0a3ac0aa
AZ
78032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7804
7805 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7806
ccdc8438
AZ
7807 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7808 add multiarch folders.
7809 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7810 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7811 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7812 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7813 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7814 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7815 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7816 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7817 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7818 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7819 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7826
2e973d99
AZ
7827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7828 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7830 New file.
7831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7832 New file.
7833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7834 multiarch __ieee754_hypot for PowerPC32.
7835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7836 New file.
7837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7838 New file.
7839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7840 multiarch __ieee754_hypotf for PowerPC32.
7841
2d9470b2
AZ
7842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7843 long_double_symbol only if __logbl is defined.
7844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7845 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7847 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7848 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7849 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7850 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7851 path for implementation.
7852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7855 logb, and logbl multiarch implementations for PowerPC32.
7856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7857 file.
7858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7859 file.
7860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7861 multiarch logb for PowerPC32.
7862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7863 file.
7864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7865 file.
7866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7867 multiarch logbf for PowerPC32.
7868 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7870 file.
7871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7872 multiarch logbl implementation for PowerPC32.
7873
5212ffce
AZ
7874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7875 and modff multiarch implementations.
7876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7877 New file.
7878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7879 New file.
7880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7881 multiarch modf for PowerPC32.
7882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7883 New file.
7884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7885 New file.
7886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7887 multiarch modff for PowerPC32.
7888
79dccf31
AZ
7889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7890 and lrintf multiarch implementations.
7891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7892 New file.
7893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7894 New file.
7895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7896 multiarch lrint for PowerPC32.
7897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7898 file: multiarch lrintf for PowerPC32.
7899
deb66480
AZ
7900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7901 and lroundf multiarch implementations.
7902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7903 New file.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7905 New file.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7907 New file.
7908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7909 multiarch lround for PowerPC32.
7910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7911 file: multiarch lroundf for PowerPC32.
7912
264b036b
AZ
7913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7914 copysign and copysignf multiarch implementations.
7915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7916 New file.
7917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7918 New file.
7919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7920 file: multiarch copysign for PowerPC32.
7921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7922 file: multiarch copysignf for PowerPC32.
7923
d47db6c9
AZ
7924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7925 and truncf multiarch implementations.
7926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7927 New file.
7928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7929 file.
7930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7931 multiarch trunc for PowerPC32.
7932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7933 New file.
7934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7935 New file.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7937 multiarch truncf for PowerPC32.
7938
ddb60b5a
AZ
7939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7940 and roundf multiarch implementations.
7941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7942 New file.
7943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7944 file.
7945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7946 multiarch round for PowerPC32.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7948 New file.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7950 New file.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7952 multiarch roundf for PowerPC32.
7953
bedcf49b
AZ
7954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7955 and floorf multiarch implementations.
7956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7957 New file.
7958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7959 file.
7960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7961 multiarch floor for PowerPC32.
7962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7963 New file.
7964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7965 New file.
7966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7967 multiarch floorf for PowerPC32.
7968
35ae5b40
AZ
7969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7970 and ceilf multiarch implementations.
7971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7972 New file.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7974 file.
7975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7976 multiarch ceil for PowerPC32.
7977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7978 New file.
7979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7980 file.
7981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7982 multiarch ceilf for PowerPC32.
7983
ae1a4cd9
AZ
7984 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7985 is defined.
7986 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7987 FINITEF is defined.
7988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7989 and finitef multiarch implementations.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7991 New file.
7992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7993 file.
7994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7995 multiarch finite for PowerPC32.
7996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7997 New file.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7999 file: multiarch finitef for PowerPC32.
8000
64fffd65
AZ
8001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8002 and isinff multiarch implementations.
8003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8004 file.
8005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8006 file.
8007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8008 multiarch isinf for PowerPC32.
8009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8010 New file.
8011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8012 multiarch isinff for PowerPC32.
8013
8e4e7ba2
AZ
8014 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8015 alias when __isnan is defined.
8016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8017 and isnanf multiarch implementations.
8018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8019 file.
8020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8021 file.
8022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8023 file.
8024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8025 file.
8026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8027 multiarch isnan for PowerPC32.
8028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8029 New file.
8030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8031 New file.
8032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8033 multiarch isnanf for PowerPC32.
8034
ddba588e
AZ
8035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8036 and sqrtf multiarch implementations.
8037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8038 file.
8039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8040 file.
8041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8042 multiarch sqrt for PowerPC32.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8044 file.
8045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8046 file.
8047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8048 multiarch sqrtf for PowerPC32.
8049
0f96a2f0
AZ
8050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8051 and llroundf multiarch implementations.
8052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8053 New file.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8055 New file.
8056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8057 New file.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8059 file: multiarch llround for PowerPC32.
8060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8061 file: multiarch llroundf for PowerPC32.
8062
c9b5d79e
AZ
8063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8064 multiarch PowerPC32 fpu implementations.
8065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8066 New file.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8068 New file.
8069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8070 multiarch llrint for PowerPC32.
8071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8072 New file.
8073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8074 New file.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8076 file.
8077
9cbb3aab
AZ
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8079
ea5a72f8
AZ
8080 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8081 file.
8082 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8083 file.
8084 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8085 file.
8086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8087 multiarch wordcopy for PPC32.
8088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8089 wordcopy objects.
8090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8091 (__libc_ifunc_impl_list): Likewise.
8092 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8093 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8094 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8095 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8096 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8097 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8098
93be09e7
AZ
8099 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8101 file.
8102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8103 file.
8104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8105 file.
8106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8107 multiarch wcscpy for PPC32.
8108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8109 multiarch objects.
8110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8111 (__libc_ifunc_impl_list): Likewise.
8112 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8113 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8114 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8115 sysdeps/powerpc/power6/wcscpy.c.
8116
bb04e529
AZ
8117 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8119 file.
8120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8121 file.
8122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8123 file.
8124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8125 multiarch wcsrchr for PPC32.
8126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8127 multiarch objects.
8128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8129 (__libc_ifunc_impl_list): Likewise.
8130 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8131 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8132 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8133 sysdeps/powerpc/power6/wcsrchr.c.
8134
05b5cd1c
AZ
8135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8136 file.
8137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8138 file.
8139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8141 multiarch wcschr for PPc32.
8142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8143 multiarch objects.
8144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8145 (__libc_ifunc_impl_list): Likewise.
8146 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8147 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8148 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8149 sysdeps/powerpc/power6/wcschr.c.
8150
ba964147
AZ
8151 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8152 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8153 file.
8154 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8155 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8156 file: multiarch strchr for PPC32.
8157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8158 multiarch objects.
8159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8160 (__libc_ifunc_impl_list): Likewise.
8161
31c81aaa
AZ
8162 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8163 name.
8164 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8165 file.
8166 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8167 file.
8168 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8169 multiarch strchrnul for PPC32.
8170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8171 multiarch objects.
8172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8173 (__libc_ifunc_impl_list): Likewise.
8174
0d0607d9
AZ
8175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8176 file.
8177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8178 multiarch strncasecmp for PPC32.
8179 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8180 file.
8181 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8182 multiarch strncasecmp_l for PPC32.
8183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8184 strncasecmp multiarch objects.
8185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8186 (__libc_ifunc_impl_list): Likewise.
8187
4dfd5c86
AZ
8188 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8189 file.
8190 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8191 multiarch strncasecmp for PPC32.
8192 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8193 New file.
8194 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8195 multiarch strcasecmp_l for PPC32.
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8197 multiarch objects.
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8199 (__libc_ifunc_impl_list): Likewise.
8200
a19e01a3
AZ
8201 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8202 file.
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8204 file.
8205 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8206 multiarch strncmp for PPC32.
8207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8208 multiarch objects.
8209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8210 (__libc_ifunc_impl_list): Likewise.
8211
ae9cf7a2
AZ
8212 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8213 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8214 file.
8215 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8218 multiarch objects.
8219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8220 (__libc_ifunc_impl_list): Likewise.
8221
3148bb7d
AZ
8222 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8223 file.
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8225 file.
8226 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8228 multiarch objects.
8229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8230 (__libc_ifunc_impl_list): Likewise.
8231
7af8b946
AZ
8232 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8233 file.
8234 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8235 file.
8236 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8237 multiarch rawmemchr for PPC32.
8238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8239 multiarch objects.
8240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8241 (__libc_ifunc_impl_list): Likewise.
8242
03a6aa6a
AZ
8243 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8244 file.
8245 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8246 file.
8247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8248 file: memrchr multiarch for PPC32.
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8250 multiarch objects.
8251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8252 (__libc_ifunc_impl_list): Likewise.
8253
1c62e6d9
AZ
8254 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8256 file.
8257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8259 multiarch memchr for PPC32.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8261 multiarch objects.
8262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8263 (__libc_ifunc_impl_list): Likewise.
8264
87da8bdb
AZ
8265 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8266 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8267 file.
8268 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8269 file.
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8271 file: multiarch mempcpy for PPC32.
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8273 multiarch objects.
8274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8275 (__libc_ifunc_impl_list): Likewise.
8276
20ed4714
AZ
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8281 multiarch bzero for PPC32.
8282 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8283 file.
8284 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8285 file.
8286 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8287 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8288 file: multiarch memset for PPC32.
8289 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8291 memset multiarch objects.
8292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8293 (__libc_ifunc_impl_list): Likewise.
8294
ab3e3a46
AZ
8295 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8296 file.
8297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8299 memcmp for PPC32.
8300 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8302 multiarch objects.
8303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8304 (__libc_ifunc_impl_list): Likewise.
8305
930de6f0
AZ
8306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8309 file.
8310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8311 file.
8312 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8313 file.
8314 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8315 multiarch memcpy for PPC32.
8316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8317 multiarch objects.
8318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8319 (__libc_ifunc_impl_list): Likewise.
8320
4c628e00
AZ
8321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8322 support multiarch for POWER/PPC32.
8323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8324 Likewise.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8327 Implies file to make multiarch folder appers before the fpu and
8328 default folder for power4 configuration.
8329
f4479220
SP
83302013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8331
8332 * scripts/bench.pl: Append volatile keyword to type.
8333
8517800f
KK
83342013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8335
8336 * sysdeps/sh/sotruss-lib.c: New file.
8337 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8338
180138f1
AZ
83392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8340
8341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8342
bbf37bdc
JM
83432013-12-05 Joseph Myers <joseph@codesourcery.com>
8344
e47cc4e0
JM
8345 [BZ #6810]
8346 * math/w_tgamma.c: Include <errno.h>.
8347 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8348 * math/w_tgammaf.c: Include <errno.h>.
8349 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8350 * math/w_tgammal.c: Include <errno.h>.
8351 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8352 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8353 underflow. Add more tgamma tests.
8354 * math/auto-libm-test-out: Regenerated.
8355 * sysdeps/i386/fpu/libm-test-ulps: Update.
8356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8357
bbf37bdc
JM
8358 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8359 sin, sinh, tan, tanh, tgamma, y0 and y1.
8360 * math/auto-libm-test-out: Regenerated.
8361 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8362 (TEST_COND_x86): Likewise.
8363 (M_E2l): Remove macro.
8364 (M_E3l): Likewise.
8365 (M_2_SQRT_PIl): Likewise.
8366 (M_SQRT_PIl): Likewise.
8367 (M_1_DIV_El): Likewise.
8368 (log_test_data): Use AUTO_TESTS_f_f.
8369 (log10_test_data): Likewise.
8370 (log1p_test_data): Likewise.
8371 (log2_test_data): Likewise.
8372 (sin_test_data): Likewise.
8373 (sin_tonearest_test_data): Likewise.
8374 (sin_towardzero_test_data): Likewise.
8375 (sin_downward_test_data): Likewise.
8376 (sin_upward_test_data): Likewise.
8377 (sinh_test_data): Likewise.
8378 (sinh_tonearest_test_data): Likewise.
8379 (sinh_towardzero_test_data): Likewise.
8380 (sinh_downward_test_data): Likewise.
8381 (sinh_upward_test_data): Likewise.
8382 (tan_test_data): Likewise.
8383 (tan_tonearest_test_data): Likewise.
8384 (tan_towardzero_test_data): Likewise.
8385 (tan_downward_test_data): Likewise.
8386 (tan_upward_test_data): Likewise.
8387 (tanh_test_data): Likewise.
8388 (tgamma_test_data): Likewise.
8389 (y0_test_data): Likewise.
8390 (y1_test_data): Likewise.
8391 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8392 (special_real_inputs): Add pi/4.
8393 * sysdeps/i386/fpu/libm-test-ulps: Update.
8394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8395
eb5ad6b9
AZ
83962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8397
8398 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8399 "longjmp_target" static probes.
8400 (__longjmp): Rename to __longjmp_symbol.
8401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8402 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8403 on which longjmp to generate.
8404 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8405 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8406 probe.
8407 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8408 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8409 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8410 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8411 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8412 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8414 __longjmp_symbol based on which __longjmp to generate.
8415 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8416 probe.
8417 (setjmp): Rename to setjmp_symbol.
8418 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8419 (_setjmp): Rename to _setjmp_symbol.
8420 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8421 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8422 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8423 which setjmp to generate.
8424 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8425 "longjmp_target" static probes.
8426
d136c6dc
SP
84272013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
9298ecba
SP
8429 * benchtests/README: Add note about output arguments.
8430 * benchtests/bench-sincos.c: Remove file.
8431 * benchtests/sincos-inputs: New file.
8432 * scripts/bench.pl: Identify output arguments and define
8433 static variables for them.
8434
232983e9
SP
8435 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8436
d136c6dc
SP
8437 [BZ #15941]
8438 * Makefile (INSTALL): Add install-plain.texi as the primary
8439 dependency.
8440 * manual/install-plain.texi: New file.
8441 * manual/install.texi: Include node directive only for
8442 non-plaintext output.
8443
699ff837
JM
84442013-12-04 Joseph Myers <joseph@codesourcery.com>
8445
ab07cea8
JM
8446 * stdlib/longlong.h: Update from GCC.
8447
699ff837
JM
8448 [BZ #6807]
8449 [BZ #15901]
8450 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8451 * math/w_j0f.c (y0f): Likewise.
8452 * math/w_j0l.c (__y0l): Likewise.
8453 * math/w_j1.c (y1): Likewise.
8454 * math/w_j1f.c (y1f): Likewise.
8455 * math/w_j1l.c (__y1l): Likewise
8456 * math/w_jn.c (yn): Likewise.
8457 * math/w_jnf.c (ynf): Likewise.
8458 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8459 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8460 value for Bessel function domain errors outside _SVID_ mode.
8461 Adjust sign of return value for yn (negative integer, 0).
8462 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8463 by zero in return for negative x and set sign appropriately for
8464 negative n.
8465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8466 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8467 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8468 expectations in error cases.
8469 (y1_test_data): Likewise.
8470 (yn_test_data): Likewise.
8471 * sysdeps/i386/fpu/libm-test-ulps: Update.
8472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8473
5b118558
UW
84742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8475
8476 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8477 "64" to "64-v1". Add "64-v2".
8478 (abi-64-options): Rename to ...
8479 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8480 (abi-64-condition): Rename to ...
8481 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8482 (abi-64-ld-soname): Rename to ...
8483 (abi-64-v1-ld-soname): ... this.
8484 (abi-64-v2-options): Define.
8485 (abi-64-v2-condition): Likewise.
8486 (abi-64-v2-ld-soname): Likewise.
8487 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8488 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8492
61cd8fe4
UW
84932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8494 Alan Modra <amodra@gmail.com>
8495
8496 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8497 New versions for use with the ELFv2 ABI.
8498 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8499 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8500 declaration.
8501 (struct La_ppc64v2_retval): Likewise.
8502 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8503 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8504 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8505 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8506 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8507 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8508 Do not save or restore CR.
8509 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8510 (_dl_profile_resolve): Do no save or restore CR. Support extended
8511 return values for ELFv2 ABI. Fix location of FPR return registers.
8512 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8513 updated values for _CALL_ELF == 2.
8514 (La_regs, La_retval, int_retval): Likewise.
8515
8b8a692c
UW
85162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8517
8518 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8519 (FRAME_MIN_SIZE_PARM): Likewise.
8520 (FRAME_BACKCHAIN): Likewise.
8521 (FRAME_CR_SAVE): Likewise.
8522 (FRAME_LR_SAVE): Likewise.
8523 (FRAME_TOC_SAVE): Likewise.
8524 (FRAME_PARM_SAVE): Likewise.
8525 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8526 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8527 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8528 (call_mcount_parm_offset): New macro.
8529 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8530 (PROF): Use symbolic stack frame offsets.
8531 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8533 Redefine in terms of FRAME_MIN_SIZE.
8534 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8535 (_dl_profile_resolve): Likewise. Update comment.
8536 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8537 symbols stack frame offsets.
8538 (__sigsetjmp): Likewise.
8539 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8540 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8541 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8542 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8543
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8545 (FRAME_BACKCHAIN): Remove.
8546 (FRAME_CR_SAVE): Likewise.
8547 (FRAME_LR_SAVE): Likewise.
8548 (FRAME_COMPILER_DW): Likewise.
8549 (FRAME_LINKER_DW): Likewise.
8550 (FRAME_TOC_SAVE): Likewise.
8551 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8552 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8553 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8554 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8556 (CHECK_SP): Use symbolic stack frame offsets.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8558 zone" instead of caller's parameter save area for temp storage.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8560 Likewise. Also, use symbolic stack frame offsets.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8562 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8563 our own stack frame instead of the caller's.
8564 (__socket): Use symbolic stack frame offsets.
8565
122b66de
UW
85662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8567 Alan Modra <amodra@gmail.com>
8568
8569 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8570 Define.
57f41c40
AS
8571 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8572 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8573 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8574 New function.
8575 (elf_machine_fixup_plt): Call it.
8576 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8577 reloc arguments.
8578 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8579 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8580 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8581 r2 before calling target.
8582
696caf1d
UW
85832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8584 Alan Modra <amodra@gmail.com>
8585
8586 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8587 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8588 versions of macros to support ELFv2 ABI.
8589 (LOCALENTRY): New macro.
8590 (ENTRY, EALIGN): Use it.
8591 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8592 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8593 fall through into ENTRY entry point.
8594 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8595 Only define if _CALL_ELF != 2.
8596
8597 (elf_machine_matches_host): Verify ABI version matches.
8598 (RTLD_START): Use LOCALENTRY.
8599 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8600 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8601 (PLT_ENTRY_WORDS): New macro.
8602 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8603 (elf_machine_runtime_setup): Support ELFv2 ABI.
8604 (elf_machine_fixup_plt): Likewise.
8605 (elf_machine_plt_conflict): Likewise.
8606 (resolve_ifunc): Likewise.
8607 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8609 Likewise.
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8611 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8613 (makecontext): Support ELFv2 ABI.
8614 * elf/elf.h (EF_PPC64_ABI): Define.
8615
d31beafa
UW
86162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8617
57f41c40
AS
8618 * sysdeps/powerpc/powerpc64/sysdep.h
8619 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8620 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8621 (ENTRY) [ASSEMBLER]: ... but instead here ...
8622 (EALIGN) [ASSEMBLER]: ... and here.
8623 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8624 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8625 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8626 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8627 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8629 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8630 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8632 Use PPC64_LOAD_FUNCPTR.
8633
b525166b
UW
8634 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8635
7ec07d9a
AM
86362013-12-04 Alan Modra <amodra@gmail.com>
8637
8638 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8639 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8640 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8641 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8642
8643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8644 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8645 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8646 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8647 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8648 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8649
5162e7dd
UW
86502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8651
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8653 (__makecontext): Fix incorrect CFI when backtracing out of
8654 context created via makecontext.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8656 (__setcontext): Fix incorrect CFI during switch to new context.
8657 (__novec_setcontext): Likewise.
8658
19e3372b
OB
86592013-12-04 Ondřej Bílka <neleai@seznam.cz>
8660
8661 [BZ #4772]
8662 * time/strptime_l.c (__strptime_internal): Allow modifiers
8663 in strptime.
8664 * time/tst-strptime.c (day_tests): Add testcase.
8665
ecaf142d
SP
86662013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8667
8668 * scripts/bench.pl: Skip over blank lines.
8669
fbf964ae
PE
86702013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8671
8672 [BZ #926]
8673 * manual/time.texi (Calendar Time): Clarify what timezone functions
8674 use.
8675
fa60a674
AZ
86762013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8677
8678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8679
d674f0ef
OB
86802013-12-04 Ondřej Bílka <neleai@seznam.cz>
8681
8682 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8683 implementation.
8684 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8685 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8686 * debug/memset_chk.c (__memset_chk): Likewise.
8687 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8688 * debug/strncpy_chk.c: Likewise.
8689
17dea188
JM
86902013-12-03 Joseph Myers <joseph@codesourcery.com>
8691
749008ff
JM
8692 [BZ #15268]
8693 [BZ #15425]
8694 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8695 (__ieee754_exp): For possibly underflowing results, check size of
8696 result and force underflow exception if required.
8697 * math/auto-libm-test-in: Add more tests of exp.
8698 * math/auto-libm-test-out: Regenerated.
8699 * sysdeps/i386/fpu/libm-test-ulps: Update.
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8701
17dea188
JM
8702 [BZ #16283]
8703 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8704 * math/w_exp2f.c (__exp2f): Likewise.
8705 * math/w_exp2l.c (__exp2l): Likewise.
8706 * math/auto-libm-test-in: Do not allow missing errno on exp2
8707 underflow.
8708 * math/auto-libm-test-out: Regenerated.
8709
b20de2c3
OB
87102013-12-03 Ondřej Bílka <neleai@seznam.cz>
8711
8712 [BZ #16274]
8713 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8714 handle filename validation.
8715 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8716 (do_open): Delete.
8717
d8e2dbe3
JM
87182013-12-03 Joseph Myers <joseph@codesourcery.com>
8719
34e16df5
JM
8720 [BZ #6786]
8721 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8722 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8723 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8724 <float.h>.
8725 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8727 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8729 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8731 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8732 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8733 Add more erfc tests.
8734 * math/auto-libm-test-out: Regenerated.
8735 * sysdeps/i386/fpu/libm-test-ulps: Update.
8736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8737
d8e2dbe3
JM
8738 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8739 exp2, expm1, j0 and j1.
8740 * math/auto-libm-test-out: Regenerated.
8741 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8742 (erfc_test_data): Likewise.
8743 (exp_test_data): Likewise.
8744 (exp_tonearest_test_data): Likewise.
8745 (exp_towardzero_test_data): Likewise.
8746 (exp_downward_test_data): Likewise.
8747 (exp_upward_test_data): Likewise.
8748 (exp10_test_data): Likewise.
8749 (exp2_test_data): Likewise.
8750 (expm1_test_data): Likewise.
8751 (j0_test_data): Likewise.
8752 (j1_test_data): Likewise.
8753 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8754 (input_flag_type): Add flag_xfail_rounding.
8755 (input_flags): Add xfail-rounding.
8756 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8757 (output_for_one_input_case): Handle flag_xfail_rounding.
8758 * sysdeps/i386/fpu/libm-test-ulps: Update.
8759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8760
18d14251
AJ
87612013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8762
3d2e6075 8763 [BZ #16289]
18d14251
AJ
8764 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8765 division by 0.
8766
520d437b
SP
87672013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
8769 [BZ #16195]
8770 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8771 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8772 (STAP_PROBE0): New macro.
8773 (STAP_PROBE1): Likewise.
8774 (STAP_PROBE2): Likewise.
8775 (STAP_PROBE3): Likewise.
8776 (STAP_PROBE4): Likewise.
8777
416e0145
OB
87782013-12-02 Ondřej Bílka <neleai@seznam.cz>
8779
8780 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8781
9d17796a
SE
87822013-12-02 Steve Ellcey <sellcey@mips.com>
8783
8784 * benchtests/Makefile (bench): Add sqrt.
8785 (LDLIBS-bench-sqrt): New.
8786 * benchtests/sqrt-input: New.
8787
f524d6a8
PS
87882013-12-02 Pavel Simerda <psimerda@redhat.com>
8789
639a0ef8
PS
8790 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8791 (GAIH_EAI): Likewise.
8792 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8793 (gaih_inet): Likewise.
8794 (getaddrinfo): Don't use GAIH_EAI.
8795
f524d6a8
PS
8796 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8797 (struct gaih): Remove definition.
8798
df3aedaf
SP
87992013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8800
8801 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8802 Use HERRNOP directly.
8803
1ab19dec
AZ
88042013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805
b42ad38d 8806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8807
176b0c79
JM
88082013-11-30 Joseph Myers <joseph@codesourcery.com>
8809
8810 * math/gen-auto-libm-tests.c (test_functions): Add more
8811 single-argument functions.
8812 (special_fill_pi_2): New function.
8813 (special_fill_minus_pi_2): Likewise.
8814 (special_fill_pi_6): Likewise.
8815 (special_fill_minus_pi_6): Likewise.
8816 (special_fill_pi_3): Likewise.
8817 (special_fill_2pi_3): Likewise.
8818 (special_fill_e): Likewise.
8819 (special_fill_1_e): Likewise.
8820 (special_fill_e_minus_1): Likewise.
8821 (special_real_inputs): Add more special inputs.
8822 (output_for_one_input_case): Do not require ERANGE on underflow to
8823 zero if round-to-nearest result does not underflow to zero, unless
8824 exact results required.
8825 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8826 atan, atanh, cbrt, cos and cosh.
8827 * math/auto-libm-test-out: Regenerated.
8828 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8829 (acos_tonearest_test_data): Likewise.
8830 (acos_towardzero_test_data): Likewise.
8831 (acos_downward_test_data): Likewise.
8832 (acos_upward_test_data): Likewise.
8833 (acosh_test_data): Likewise.
8834 (asin_test_data): Likewise.
8835 (asin_tonearest_test_data): Likewise.
8836 (asin_towardzero_test_data): Likewise.
8837 (asin_upward_test_data): Likewise.
8838 (asinh_test_data): Likewise.
8839 (atan_test_data): Likewise.
8840 (atanh_test_data): Likewise.
8841 (cbrt_test_data): Likewise.
8842 (cos_test_data): Likewise.
8843 (cos_tonearest_test_data): Likewise.
8844 (cos_towardzero_test_data): Likewise.
8845 (cos_downward_test_data): Likewise.
8846 (cos_upward_test_data): Likewise.
8847 (cosh_test_data): Likewise.
8848 (cosh_tonearest_test_data): Likewise.
8849 (cosh_towardzero_test_data): Likewise.
8850 (cosh_downward_test_data): Likewise.
8851 (cosh_upward_test_data): Likewise.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854
ffb536d0
JM
88552013-11-29 Joseph Myers <joseph@codesourcery.com>
8856
2a77a467
JM
8857 [BZ #6787]
8858 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8859 * math/w_exp10f.c (__exp10f): Likewise.
8860 * math/w_exp10l.c (__exp10l): Likewise.
8861 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8862 errno settings in existing tests.
8863
ea3bc4e8
JM
8864 [BZ #14032]
8865 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8866 precision control set to double precision.
8867 * sysdeps/i386/fpu/w_sqrt.c: New file.
8868 * math/auto-libm-test-in: Add more tests.
8869 * math/auto-libm-test-out: Update.
8870
0712c9d8
JM
8871 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8872 (sqrt_test_tonearest): New function.
8873 (sqrt_towardzero_test_data): New variable.
8874 (sqrt_test_towardzero): New function.
8875 (sqrt_downward_test_data): New variable.
8876 (sqrt_test_downward): New function.
8877 (sqrt_upward_test_data): New variable.
8878 (sqrt_test_upward): New function.
8879 (main): Call the new functions.
8880
ffb536d0
JM
8881 * math/gen-auto-libm-tests.c: New file.
8882 * math/auto-libm-test-in: Likewise.
8883 * math/auto-libm-test-out: New generated file.
8884 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8885 variables.
8886 (%beautify): Add generated representations of zero.
8887 (top level): Set $auto_input and call parse_auto_input.
8888 (beautify): Remove trailing "f" from hex float constants.
8889 (parse_args): Handle XFAIL_TEST.
8890 (convert_condition): New function.
8891 (or_value): Likewise.
8892 (or_cond_value): Likewise.
8893 (generate_testfile): Handle AUTO_TESTS_* lines.
8894 (parse_auto_input): New function.
8895 * math/libm-test.inc (XFAIL_TEST): New macro.
8896 (ERRNO_UNCHANGED): Update value.
8897 (ERRNO_EDOM): Likewise.
8898 (ERRNO_ERANGE): Likewise.
8899 (IGNORE_RESULT): Likewise.
8900 (TEST_COND_flt_32): New macro.
8901 (TEST_COND_dbl_64): Likewise.
8902 (TEST_COND_ldbl_96_intel): Likewise.
8903 (TEST_COND_ldbl_96_m68k): Likewise.
8904 (TEST_COND_ldbl_128): Likewise.
8905 (TEST_COND_ldbl_128ibm): Likewise.
8906 (TEST_COND_long32): Likewise.
8907 (TEST_COND_long64): Likewise.
8908 (TEST_COND_before_rounding): Likewise.
8909 (TEST_COND_after_rounding): Likewise.
8910 (enable_test): Handle XFAIL_TEST flag.
8911 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8912 with finite results.
8913 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8914 auto-libm-test-out.
8915
acd98a8e
AK
89162013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8917 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8918
8919 [BZ #16214]
8920 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8921 __tls_get_addr_internal instead of __tls_get_offset in order to
8922 avoid GOT pointer dependency. Make rtld export
8923 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8924 __tls_get_addr since we are a __tls_get_offset platform.
8925 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8926 GOT pointer being set up before.
8927 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8928
3c1c46a6
JM
89292013-11-28 Joseph Myers <joseph@codesourcery.com>
8930
7475aef5
JM
8931 * manual/math.texi (Errors in Math Functions): Document accuracy
8932 goals.
8933
8bca7cd8
JM
8934 [BZ #15004]
8935 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8936 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8937 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8951
91a1f3fe
JM
8952 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8953 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8954 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8955 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8956 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8957 Likewise.
8958 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8959 Likewise.
8960 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8961 Likewise.
8962 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8963 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8964 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8965 atomic-feupdateenv and flt-rounds.
8966 * sysdeps/powerpc/nofpu/Versions (libc): Add
8967 __atomic_feholdexcept, __atomic_feclearexcept,
8968 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8969 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8970 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8971 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8972 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8973 here.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8975 Update.
8976
c5df7609
JM
8977 * manual/arith.texi (FP Exceptions): Document that exceptions may
8978 not be raised when matherr is used.
8979 (Math Error Reporting): Document overflow in directed rounding
8980 modes. Document that errno may not be set when finite values are
8981 returned on overflow. Document intent to set errno on underflow
8982 only for underflow to zero.
8983
3c1c46a6
JM
8984 [BZ #16271]
8985 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8986 round-to-nearest then adjust result for other rounding modes.
8987 * include/fenv.h (fegetround): Use libm_hidden_proto.
8988 * math/fegetround.c (fegetround): Use libm_hidden_def.
8989 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8990 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8991 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8992 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8993 Likewise.
8994 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8995 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8996 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8997 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8998
5a4c6d53
SP
89992013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
9001 [BZ #16077]
9002 * nss/Versions (libnss_files): Add
9003 _nss_files_gethostbyname3_r.
9004 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9005 New function.
9006 (HOST_DB_LOOKUP): Remove macro.
9007 (_nss_files_gethostbyname_r): Implement function without the
9008 HOST_DB_LOOKUP macro.
9009 (_nss_files_gethostbyname2_r): Likewise.
9010
897b98ba
OB
90112013-11-28 Ondřej Bílka <neleai@seznam.cz>
9012
9013 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9014
6f476861
UB
90152013-11-26 Uros Bizjak <ubizjak@gmail.com>
9016
9017 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9018 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9019 warning.
9020
bd12ab55
AZ
90212013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9022
9023 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9024 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9025 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9026 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9027 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9028 __fe_nomask_env_priv and attribute_hidden.
9029 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9030 (libc_feupdateenv_test_ppc): Likewise.
9031 (libc_feresetround_ppc): Likewise.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9033 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9034 compat_symbol macro.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9036 (__fe_nomask_env): Likewise.
9037 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9038
52bb6543
OB
90392013-11-26 Ondřej Bílka <neleai@seznam.cz>
9040
9041 * string/Makefile: Remove ifunc tests.
9042 * string/test-string.h: Define TEST_IFUNC.
9043 * string/test-bcopy-ifunc.c: Remove.
9044 * string/test-bzero-ifunc.c: Likewise.
9045 * string/test-memccpy-ifunc.c: Likewise.
9046 * string/test-memchr-ifunc.c: Likewise.
9047 * string/test-memcmp-ifunc.c: Likewise.
9048 * string/test-memcpy-ifunc.c: Likewise.
9049 * string/test-memmem-ifunc.c: Likewise.
9050 * string/test-memmove-ifunc.c: Likewise.
9051 * string/test-mempcpy-ifunc.c: Likewise.
9052 * string/test-memrchr-ifunc.c: Likewise.
9053 * string/test-memset-ifunc.c: Likewise.
9054 * string/test-rawmemchr-ifunc.c: Likewise.
9055 * string/test-stpcpy-ifunc.c: Likewise.
9056 * string/test-stpncpy-ifunc.c: Likewise.
9057 * string/test-strcasecmp-ifunc.c: Likewise.
9058 * string/test-strcasestr-ifunc.c: Likewise.
9059 * string/test-strcat-ifunc.c: Likewise.
9060 * string/test-strchr-ifunc.c: Likewise.
9061 * string/test-strchrnul-ifunc.c: Likewise.
9062 * string/test-strcmp-ifunc.c: Likewise.
9063 * string/test-strcpy-ifunc.c: Likewise.
9064 * string/test-strcspn-ifunc.c: Likewise.
9065 * string/test-strlen-ifunc.c: Likewise.
9066 * string/test-strncasecmp-ifunc.c: Likewise.
9067 * string/test-strncat-ifunc.c: Likewise.
9068 * string/test-strncmp-ifunc.c: Likewise.
9069 * string/test-strncpy-ifunc.c: Likewise.
9070 * string/test-strnlen-ifunc.c: Likewise.
9071 * string/test-strpbrk-ifunc.c: Likewise.
9072 * string/test-strrchr-ifunc.c: Likewise.
9073 * string/test-strspn-ifunc.c: Likewise.
9074 * string/test-strstr-ifunc.c: Likewise.
9075
ab260039 90762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9077
9078 * benchtests/Makefile: Remove ifunc tests.
9079 * benchtests/bench-string.h: Define TEST_IFUNC.
9080 * benchtests/bench-bcopy-ifunc.c: Remove.
9081 * benchtests/bench-bzero-ifunc.c: Likewise.
9082 * benchtests/bench-memccpy-ifunc.c: Likewise.
9083 * benchtests/bench-memchr-ifunc.c: Likewise.
9084 * benchtests/bench-memcmp-ifunc.c: Likewise.
9085 * benchtests/bench-memcpy-ifunc.c: Likewise.
9086 * benchtests/bench-memmem-ifunc.c: Likewise.
9087 * benchtests/bench-memmove-ifunc.c: Likewise.
9088 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9089 * benchtests/bench-memrchr-ifunc.c: Likewise.
9090 * benchtests/bench-memset-ifunc.c: Likewise.
9091 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9092 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9093 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9094 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9095 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9096 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9097 * benchtests/bench-strcat-ifunc.c: Likewise.
9098 * benchtests/bench-strchr-ifunc.c: Likewise.
9099 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9100 * benchtests/bench-strcmp-ifunc.c: Likewise.
9101 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9102 * benchtests/bench-strcpy-ifunc.c: Likewise.
9103 * benchtests/bench-strcspn-ifunc.c: Likewise.
9104 * benchtests/bench-strlen-ifunc.c: Likewise.
9105 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9106 * benchtests/bench-strncat-ifunc.c: Likewise.
9107 * benchtests/bench-strncmp-ifunc.c: Likewise.
9108 * benchtests/bench-strncpy-ifunc.c: Likewise.
9109 * benchtests/bench-strnlen-ifunc.c: Likewise.
9110 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9111 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9112 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9113 * benchtests/bench-strspn-ifunc.c: Likewise.
9114 * benchtests/bench-strstr-ifunc.c: Likewise.
9115
91162013-11-26 Ondřej Bílka <neleai@seznam.cz>
9117
ab260039
OB
9118 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9119
d1d9eaf4 91202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9121
d1d9eaf4
OB
9122 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9123 * rt/aio.h: Likewise.
9124 * sysdeps/gnu/bits/utmp.h: Likewise.
9125 * sysdeps/gnu/bits/utmpx.h: Likewise.
9126 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9127 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9128 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9129 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9130 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9131 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9132 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9133 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9134 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9136 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9140 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9141 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9142 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9143 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9144 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9147 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9148 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9150 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9152 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9160 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9161 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9162 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9163 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9164 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9165 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9166 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9167 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9168
a7624ed9
CD
91692013-11-25 Carlos O'Donell <carlos@redhat.com>
9170
9171 [BZ #16245]
9172 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9173 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9174
63cfe52b
JM
91752013-11-25 Joseph Myers <joseph@codesourcery.com>
9176
9177 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9178 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9179 Likewise.
9180
41e8926a
AZ
91812013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9182
9183 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9184 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9185 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9186 (__fesetround): Remove define.
9187 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9188 rounding and exceptions handling.
9189 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9190 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9191 (__fe_nomask_env): Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9193 __fegetround instead of fegetround.
9194 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9196
6851bd4d
RM
91972013-11-21 Roland McGrath <roland@hack.frob.com>
9198
070906ff
RM
9199 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9200 it's there.
9201
6851bd4d
RM
9202 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9203
84ae135d
MI
92042013-11-21 Meador Inge <meadori@codesourcery.com>
9205
9206 [BZ #11157]
9207 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9208 (encrypt_r): Likewise.
9209 * malloc/obstack.h (obstack_free): Likewise.
9210 * posix/unistd.h (encrypt): Likewise.
9211
daf75146
GM
92122013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9213
9214 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9215 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9216 DL_CALL_DT_FINI() that call the functions directly.
9217 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9218 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9219 * elf/dl-fini.c: Likewise.
9220
10ad46bc
OB
92212013-11-20 Ondřej Bílka <neleai@seznam.cz>
9222
9223 * malloc/hooks.c (memalign_check): Add alignment rounding.
9224 * malloc/malloc.c (_mid_memalign): New function.
9225 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9226 Implement by calling _mid_memalign.
9227 * manual/probes.texi (Memory Allocation Probes): Remove
9228 memory_valloc_retry and memory_pvalloc_retry.
9229
f3fd2628
SP
92302013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
4712799f
SP
9232 * locale/programs/locarchive.c (open_archive): Add const
9233 qualifier to ARCHIVEFNAME and copy default fname to
9234 DEFAULT_FNAME.
9235
0417b20f
SP
9236 [BZ #15601]
9237 * libio/tst-widetext.input: Rename Oriya to Odia.
9238 * locale/iso-639.def: Likewise.
9239
f3fd2628
SP
9240 * manual/probes.texi (Mathematical Function Probes): Add
9241 documentation for sin, cos, asin and acos probes.
9242 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9243 (__sin32): Add slowasin probe.
9244 (__cos32): Add slowacos probe.
9245 (__mpsin): Add slowsin probe.
9246 (__mpcos): Add slowcos probe.
9247
73c1ce4f
JM
92482013-11-19 Joseph Myers <joseph@codesourcery.com>
9249
9250 [BZ #15483]
9251 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9252 thread-local __sim_exceptions_thread and global
9253 __sim_exceptions_global.
9254 (__sim_disabled_exceptions): Change to thread-local
9255 __sim_disabled_exceptions_thread and global
9256 __sim_disabled_exceptions_global.
9257 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9258 and global __sim_round_mode_global.
9259 (__simulate_exceptions): Use thread-local floating-point state and
9260 set global state from it as needed.
9261 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9262 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9263 __sim_round_mode_thread.
9264 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9265 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9266 and global __sim_exceptions_global.
9267 (__sim_disabled_exceptions): Change to thread-local
9268 __sim_disabled_exceptions_thread and global
9269 __sim_disabled_exceptions_global.
9270 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9271 and global __sim_round_mode_global.
9272 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9273 (SIM_SET_GLOBAL): Likewise.
9274 * sysdeps/powerpc/soft-fp/sfp-machine.h
9275 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9276 __sim_round_mode_thread.
9277 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9278 __sim_disabled_exceptions_thread.
9279 (__sim_exceptions): Change to __sim_exceptions_thread.
9280 (__sim_disabled_exceptions): Change to
9281 __sim_disabled_exceptions_thread.
9282 (__sim_round_mode): Change to __sim_round_mode_thread.
9283 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9284 thread-local floating-point state and set global state from it as
9285 needed.
9286 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9287 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9288 (__sim_disabled_exceptions): Remove extern declaration.
9289 (feenableexcept): Use thread-local floating-point state and set
9290 global state from it as needed.
9291 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9292 extern declaration.
9293 (__sim_disabled_exceptions): Likewise.
9294 (__sim_round_mode): Likewise.
9295 (__fegetenv): Use thread-local floating-point state.
9296 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9297 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9298 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9299 floating-point state and set global state from it as needed.
9300 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9301 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9302 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9303 Likewise.
9304 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9305 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9306 Likewise.
9307 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9308 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9309 Use __sim_round_mode_thread.
9310 * math/test-fenv-tls.c: New file.
9311 * math/Makefile (tests): Add test-fenv-tls.
9312 ($(objpfx)test-fenv-tls): Depend on
9313 $(common-objpfx)nptl/libpthread.so.
9314
b5449b12
AS
93152013-11-19 Andreas Schwab <schwab@suse.de>
9316
9317 * locale/programs/locale.c (show_info): Decode wordarray elements.
9318 * locale/categories.def (LC_MONETARY): Add element for
9319 _NL_MONETARY_CRNCYSTR.
9320 * locale/C-monetary.c (conversion_rate): New variable.
9321 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9322 element.
9323
e186536b
CM
93242013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9325
9326 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9327 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9328
5c349950
PP
93292013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 * elf/Makefile (tst-auxv): New test.
9332 * elf/tst-auxv.c: New
9333 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9334
699df45b
JM
93352013-11-18 Joseph Myers <joseph@codesourcery.com>
9336
9337 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9338 (hidden_proto): Caller changed.
9339 (hidden_tls_proto): New macro.
9340 (libc_hidden_tls_proto): Likewise.
9341 (rtld_hidden_tls_proto): Likewise.
9342 (libm_hidden_tls_proto): Likewise.
9343 (libresolv_hidden_tls_proto): Likewise.
9344 (librt_hidden_tls_proto): Likewise.
9345 (libdl_hidden_tls_proto): Likewise.
9346 (libnss_files_hidden_tls_proto): Likewise.
9347 (libnsl_hidden_tls_proto): Likewise.
9348 (libnss_nisplus_hidden_tls_proto): Likewise.
9349 (libutil_hidden_tls_proto): Likewise.
9350
b7589107
OB
93512013-11-18 Ondřej Bílka <neleai@seznam.cz>
9352
9353 [BZ #10253]
9354 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9355 (decompose_rpath): Defer expansion to fillin_rpath.
9356 (_dl_init_paths): Pass linkmap to fillin_rpath.
9357
250c23bd
RS
93582013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9359
9360 * benchtests/Makefile: Add strsep.
9361 * benchtests/bench-strsep.c: New file: strsep benchtest.
9362 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9363
a7931fcf
AS
93642013-11-18 Andreas Schwab <schwab@suse.de>
9365
9366 * locale/programs/locale.c (show_info) [case byte]: Check for
9367 '\377' instead of '\177'.
9368 * locale/C-monetary.c (not_available): Always use "\377".
9369 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9370 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9371 detect unavailable sign_posn locale elements.
9372 * locale/localeconv.c (__localeconv): For grouping and
9373 mon_grouping handle "\177" and "\377" like no grouping.
9374 (INT_ELEM): New macro. Use it to set all numeric members.
9375 * locale/programs/ld-monetary.c (monetary_read)
9376 <tok_mon_grouping>: Normalize single -1 to the empty string.
9377 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9378 Likewise.
9379
728dab0e
OB
93802013-11-07 Ondřej Bílka <neleai@seznam.cz>
9381
9382 [BZ #16055]
9383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9384 when we match (nil).
9385 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9386
66294491
JM
93872013-11-16 Joseph Myers <joseph@codesourcery.com>
9388
ce665817
JM
9389 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9390 (NO_TEST_INLINE): Update value.
9391 (ERRNO_UNCHANGED): Likewise.
9392 (ERRNO_EDOM): Likewise.
9393 (ERRNO_ERANGE): Likewise.
9394 (IGNORE_RESULT): Likewise.
9395 (check_float_internal): Check signs of NaN results if
9396 TEST_NAN_SIGN used.
9397 (check_complex): Pass TEST_NAN_SIGN flag through to second
9398 check_float_internal call.
9399 (copysign_test_data): Add tests with quiet NaNs as second
9400 argument. Use TEST_NAN_SIGN.
9401 (fabs_test_data): Add test of negative quiet NaN argument. Use
9402 TEST_NAN_SIGN.
9403 (signbit_test_data): Add tests of quiet NaN argument.
9404 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9405
ee1466a9
JM
9406 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9407 $ignore_result.
9408 (parse_args): Handle function results specified as IGNORE.
9409 * math/libm-test.inc (IGNORE_RESULT): New macro.
9410 (check_float_internal): Do not check numerical result if flag
9411 IGNORE_RESULT set.
9412 (check_complex): Pass through IGNORE_RESULT to second
9413 check_float_internal call.
9414 (check_int): Do not check numerical result if flag IGNORE_RESULT
9415 set.
9416 (check_long): Likewise.
9417 (check_bool): Likewise.
9418 (check_longlong): Likewise.
9419 (lrint_test_data): Add tests of infinite and NaN arguments.
9420 (lrint_tonearest_test_data): Likewise.
9421 (lrint_towardzero_test_data): Likewise.
9422 (lrint_downward_test_data): Likewise.
9423 (lrint_upward_test_data): Likewise.
9424 (llrint_test_data): Likewise.
9425 (llrint_tonearest_test_data): Likewise.
9426 (llrint_towardzero_test_data): Likewise.
9427 (llrint_downward_test_data): Likewise.
9428 (llrint_upward_test_data): Likewise.
9429 (lround_test_data): Likewise.
9430 (llround_test_data): Likewise.
9431
14407b7e
JM
9432 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9433 (ERRNO_UNCHANGED): Update value.
9434 (ERRNO_EDOM): Likewise.
9435 (ERRNO_ERANGE): Likewise.
9436 (NO_TEST_INLINE_FLOAT): New macro.
9437 (NO_TEST_INLINE_DOUBLE): Likewise.
9438 (enable_test): New function.
9439 (RUN_TEST_f_f): Check enable_test before running test.
9440 (RUN_TEST_2_f): Likewise.
9441 (RUN_TEST_fff_f): Likewise.
9442 (RUN_TEST_c_f): Likewise.
9443 (RUN_TEST_f_f1): Likewise.
9444 (RUN_TEST_fF_f1): Likewise.
9445 (RUN_TEST_fI_f1): Likewise.
9446 (RUN_TEST_ffI_f1): Likewise.
9447 (RUN_TEST_c_c): Likewise.
9448 (RUN_TEST_cc_c): Likewise.
9449 (RUN_TEST_f_i): Likewise.
9450 (RUN_TEST_f_i_tg): Likewise.
9451 (RUN_TEST_ff_i_tg): Likewise.
9452 (RUN_TEST_f_b): Likewise.
9453 (RUN_TEST_f_b_tg): Likewise.
9454 (RUN_TEST_f_l): Likewise.
9455 (RUN_TEST_f_L): Likewise.
9456 (RUN_TEST_fFF_11): Likewise.
9457 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9458 conditionals.
9459 (cosh_test_data): Likewise.
9460 (exp_test_data): Likewise.
9461 (expm1_test_data): Likewise.
9462 (hypot_test_data): Likewise.
9463 (pow_test_data): Likewise.
9464 (sinh_test_data): Likewise.
9465 (tanh_test_data): Likewise.
9466 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9467 flags argument.
9468
ca07f197
JM
9469 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9470 tests with quiet NaN input and output.
9471 (acosh_test_data): Likewise.
9472 (asin_test_data): Likewise.
9473 (asinh_test_data): Likewise.
9474 (atan_test_data): Likewise.
9475 (atanh_test_data): Likewise.
9476 (atan2_test_data): Likewise.
9477 (cbrt_test_data): Likewise.
9478 (cos_test_data): Likewise.
9479 (cosh_test_data): Likewise.
9480 (erf_test_data): Likewise.
9481 (erfc_test_data): Likewise.
9482 (exp_test_data): Likewise.
9483 (exp10_test_data): Likewise.
9484 (exp2_test_data): Likewise.
9485 (expm1_test_data): Likewise.
9486 (hypot_test_data): Likewise.
9487 (j0_test_data): Likewise.
9488 (j1_test_data): Likewise.
9489 (jn_test_data): Likewise.
9490 (lgamma_test_data): Likewise.
9491 (log_test_data): Likewise.
9492 (log10_test_data): Likewise.
9493 (log1p_test_data): Likewise.
9494 (log2_test_data): Likewise.
9495 (pow_test_data): Likewise.
9496 (scalb_test_data): Likewise.
9497 (sin_test_data): Likewise.
9498 (sincos_test_data): Likewise.
9499 (sinh_test_data): Likewise.
9500 (tan_test_data): Likewise.
9501 (tanh_test_data): Likewise.
9502 (tgamma_test_data): Likewise.
9503 (y0_test_data): Likewise.
9504 (y1_test_data): Likewise.
9505 (yn_test_data): Likewise.
9506
66294491
JM
9507 [BZ #16167]
9508 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9509 argument being NaN and avoid computations with second argument in
9510 that case.
9511 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9512 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9513 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9514
1820b143
CL
95152013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9516
9517 * locale/iso-639.def: Add Chitwani Tharu (the).
9518
714bd261
AS
95192013-11-14 Andreas Schwab <schwab@suse.de>
9520
9521 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9522 word instead of empty string.
9523
7ab44563
AZ
95242013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9525
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9527 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9529 (__fe_nomask_env): Likewise.
9530
e8470ea2
SE
95312013-11-13 Steve Ellcey <sellcey@mips.com>
9532
9533 * benchtests/bench-timing.h: Include time.h.
9534
17c1d9f0
L
95352013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9536
9537 [BZ #15997]
9538 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9539 to 3.4.0 for x32.
9540 * sysdeps/unix/sysv/linux/configure: Regenerated.
9541
9310c284
JM
95422013-11-13 Joseph Myers <joseph@codesourcery.com>
9543
9544 [BZ #16151]
9545 * stdlib/strtod_l.c (round_and_return): Do not consider
9546 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9547 exponent one less than half the least subnormal exponent.
9548 * stdlib/test-strtod-round-data: Add more tests.
9549 * stdlib/tst-strtod-round.c (tests): Regenerated.
9550
7a2ad8cf
AZ
95512013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9552
9553 [BZ #14143]
9554 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9555 (__fe_mask_env): Likewise.
9556 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9557 libm_hidden_proto and add function prototype.
9558 (__fe_mask_env): Add function prototype.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9560 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9562 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9564 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9565
50727aa7
MS
95662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9567
b2f386c1 9568 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9569 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9570
a615be46
MS
95712013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9572
9573 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9574 of htab_find_slot().
9575
7ddace62
DM
95762013-11-11 David S. Miller <davem@davemloft.net>
9577
9578 [BZ #16150]
9579 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9580 symbol in the non-vis3 case in static builds.
9581 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9582 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9583 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9584 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9585
9182aa67
JK
95862013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9587
9588 [BZ #387]
9589 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9590 it is empty.
9591
450a2e2d
AZ
95922013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593
b2f386c1
SP
9594 * benchtests/Makefile: Add bench-strtod.
9595 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9596
8ec3f656
AS
95972013-11-11 Andreas Schwab <schwab@suse.de>
9598
9599 [BZ #16153]
9600 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9601 terminating NUL in key length.
9602
76a9b998
AZ
96032013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9604
9605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9606 Add artificial ODP entry for vDSO symbol for PPC64.
9607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9608 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9609
e4368156
OB
96102013-11-07 Ondřej Bílka <neleai@seznam.cz>
9611
9612 [BZ #15374]
9613 * nss/getent.c (services_keys): Recognize services starting with digit.
9614
8d6bb57c
DM
96152013-11-06 David S. Miller <davem@davemloft.net>
9616
9617 [BZ #15985]
9618 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9619 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9620
e256c421
WN
96212013-11-06 Will Newton <will.newton@linaro.org>
9622
9623 * manual/memory.texi (Malloc Examples): Remove register
9624 keyword from examples.
9625
f6e12daa 96262013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9627
f6e12daa 9628 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9629
9d880655
AS
96302013-11-04 Joseph Myers <joseph@codesourcery.com>
9631
fd2f9486 9632 [BZ #6981]
9d880655
AS
9633 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9634 depending on [__GCC_IEC_559 > 0].
9635 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9636 depending on [__GCC_IEC_559_COMPLEX > 0].
9637
ae129d3c
CL
96382013-11-03 Chris Leonard <cjl@sugarlabs.org>
9639
9640 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9641 to iso-639.def.
9642
4a15c2a4 96432013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9644
9645 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9646
8b35e35d
OB
96472013-11-01 Ondřej Bílka <neleai@seznam.cz>
9648
9649 [BZ #16112]
9650 * malloc/malloc (malloc_info): Do not handle first bin as
9651 special case.
9652
1d70fd6c
CL
96532013-11-01 Chris Leonard <cjl@sugarlabs.org>
9654
9655 * locale/iso-639.def: Add Central Nahuatl (nhn).
9656
8c5c2600
BH
96572013-11-01 Bruno Haible <bruno@clisp.org>
9658
9659 [BZ #7003]
9660 * manual/math.texi (BSD Random): Specify range upper bound as
9661 in POSIX.
9662
da5579c2
CL
96632013-10-31 Chris Leonard <cjl@sugarlabs.org>
9664
9665 * locale/iso-639.def: Add Meadow Mari (mhr).
9666
5d30d853
OB
96672013-10-31 Ondřej Bílka <neleai@seznam.cz>
9668
9669 [BZ #14752], [BZ #15763]
9670 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9671 Validate name.
9672 * rt/tst_shm.c: Add test for escaping directory.
9673
a4966c61
AS
96742013-10-31 Andreas Schwab <schwab@suse.de>
9675
8a43e768 9676 [BZ #15917]
a4966c61
AS
9677 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9678 followed by 'x' as part of digit sequence.
9679 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9680
28d708c4
MAP
96812013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9682
9683 [BZ #16037]
9684 * configure.ac: allow GNU Make 4.0 and greater.
9685 * configure: Regenerated.
9686
a56ee40b
WN
96872013-10-30 Will Newton <will.newton@linaro.org>
9688
9689 [BZ #16038]
9690 * malloc/hooks.c (memalign_check): Limit alignment to the
9691 maximum representable power of two.
9692 * malloc/malloc.c (__libc_memalign): Likewise.
9693 * malloc/tst-memalign.c (do_test): Add test for very
9694 large alignment values.
9695 * malloc/tst-posix_memalign.c (do_test): Likewise.
9696
c6e4925d
OB
96972013-10-30 Ondřej Bílka <neleai@seznam.cz>
9698
9699 [BZ #11087]
9700 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9701 (munmap_chunk): Likewise.
9702 (mremap_chunk): Likewise.
9703
97042013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9705
8a43e768 9706 [BZ #15799]
bbea82f7
OB
9707 * stdlib/div.c (div): Remove obsolete code.
9708 * stdlib/ldiv.c (ldiv): Likewise.
9709 * stdlib/lldiv.c (lldiv): Likewise.
9710
977f4b31
SP
97112013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9712
9713 [BZ #16071]
9714 * nss/nss_files/files-XXX.c (get_contents_ret): New
9715 enumerator.
9716 (get_contents): New function.
9717 (internal_getent): Use it. Expand size of LINEBUFLEN.
9718
cb8a6dbd
MF
97192013-10-30 Mike Frysinger <vapier@gentoo.org>
9720
9721 * configure.in: Moved to ...
9722 * configure.ac: ... here. Change reference to configure.in
9723 to configure.ac.
9724 * sysdeps/arm/preconfigure.ac: ... here.
9725 configure.in to configure.ac.
9726 * sysdeps/gnu/configure.in: Moved to ...
9727 * sysdeps/gnu/configure.ac: ... here.
9728 * sysdeps/i386/configure.in: Moved to ...
9729 * sysdeps/i386/configure.ac: ... here.
9730 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9731 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9732 * sysdeps/mach/configure.in: Moved to ...
9733 * sysdeps/mach/configure.ac: ... here.
9734 * sysdeps/mach/hurd/configure.in: Moved to ...
9735 * sysdeps/mach/hurd/configure.ac: ... here.
9736 * sysdeps/powerpc/configure.in: Moved to ...
9737 * sysdeps/powerpc/configure.ac: ... here.
9738 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9739 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9740 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9741 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9742 * sysdeps/s390/s390-32/configure.in: Moved to ...
9743 * sysdeps/s390/s390-32/configure.ac: ... here.
9744 * sysdeps/s390/s390-64/configure.in: Moved to ...
9745 * sysdeps/s390/s390-64/configure.ac: ... here.
9746 * sysdeps/sh/configure.in: Moved to ...
9747 * sysdeps/sh/configure.ac: ... here.
9748 * sysdeps/sparc/configure.in: Moved to ...
9749 * sysdeps/sparc/configure.ac: ... here.
9750 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9751 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9753 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9754 * sysdeps/x86_64/configure.in: Moved to ...
9755 * sysdeps/x86_64/configure.ac: ... here.
9756 * sysdeps/x86_64/preconfigure.in: Moved to ...
9757 * sysdeps/x86_64/preconfigure.ac: ... here.
9758 * aclocal.m4: Change reference to configure.in to configure.ac.
9759 * config.h.in: Likewise.
9760 * manual/install.texi: Likewise.
9761 * manual/maint.texi: Likewise.
9762 * Makefile: Likewise.
9763 * malloc/Makefile: Likewise.
9764 * nscd/Makefile: Likewise.
9765 * Makeconfig: Change reference to configure.in and
9766 preconfigure.in to configure.ac and preconfigure.ac
9767 respectively.
9768 * INSTALL: Regenerated.
9769 * configure: Likewise.
9770 * sysdeps/gnu/configure: Likewise.
9771 * sysdeps/i386/configure: Likewise.
9772 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9773 * sysdeps/mach/configure: Likewise.
9774 * sysdeps/mach/hurd/configure: Likewise.
9775 * sysdeps/powerpc/configure: Likewise.
9776 * sysdeps/powerpc/powerpc32/configure: Likewise.
9777 * sysdeps/powerpc/powerpc64/configure: Likewise.
9778 * sysdeps/s390/s390-32/configure: Likewise.
9779 * sysdeps/s390/s390-64/configure: Likewise.
9780 * sysdeps/sh/configure: Likewise.
9781 * sysdeps/sparc/configure: Likewise.
9782 * sysdeps/unix/sysv/linux/configure: Likewise.
9783 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9784 * sysdeps/x86_64/configure: Likewise.
9785 * sysdeps/x86_64/preconfigure: Likewise.
9786
36a4953a
AS
97872013-10-29 Andreas Schwab <schwab@suse.de>
9788
9789 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9790
c79a1204
SP
97912013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9792
dfa1b402
SP
9793 * benchtests/pow-inputs: Add new inputs.
9794
54f73d9c
SP
9795 * benchtests/exp-inputs: Add new inputs.
9796
c79a1204
SP
9797 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9798 conditional check for return value.
9799 (__cos32): Likewise.
9800
67beb545 98012013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9802
9803 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9804 to provide a boost for large inputs with word alignment.
9805 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9806 implementation based on optimized PPC64 strcpy.
9807 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9808 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9809 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9810 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9811
151659f6
OB
98122013-10-25 Ondřej Bílka <neleai@seznam.cz>
9813
482a077e 9814 [BZ #2801]
151659f6
OB
9815 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9816
10b0f26b
OB
98172013-10-25 Ondřej Bílka <neleai@seznam.cz>
9818
9819 [BZ #14876]
9820 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9821 * time/tst-strptime.c (day_tests): Add testcase.
9822
ca42d35e
OB
98232013-10-25 Ondřej Bílka <neleai@seznam.cz>
9824
482a077e 9825 [BZ #14029]
ca42d35e
OB
9826 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9827
52e6d801
FB
98282013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9829
9830 [BZ #16074]
9831 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9832 MAP_FAILED on error.
9833
7cbcdb36
SP
98342013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9835
9836 [BZ #16072]
9837 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9838 heap for large requests.
9839
894f3f10
AM
98402013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9841
9842 [BZ #9954]
9843 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9844 result if the result has no associated interface.
9845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9846 interface for all 127.X.Y.Z addresses.
9847
b85545a6
CL
98482013-10-24 Chris Leonard <cjl@sugarlabs.org>
9849
9850 * locale/iso-639.def: Add Ligurian (lij)
9851
d1f23d46
OB
98522013-10-21 Ondřej Bílka <neleai@seznam.cz>
9853
9854 [BZ #15825]
9855 * sunrpc/rpc_main.c: Document rpcgen -5.
9856
4db5b08f
MS
98572013-10-19 Michael Stahl <mstahl@redhat.com>
9858
9859 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9860
a471e96a
OB
98612013-10-19 Ondřej Bílka <neleai@seznam.cz>
9862
d1f23d46 9863 [BZ #10278]
a471e96a
OB
9864 * posix/glob.c: Match only directories when trailing slash is present.
9865 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9866 (main): Add testcase.
9867
45c30c61
OB
98682013-10-19 Ondřej Bílka <neleai@seznam.cz>
9869
9870 [BZ #15670]
9871 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9872
484c12fb
CD
98732013-10-18 Carlos O'Donell <carlos@redhat.com>
9874
3d7dc513
CD
9875 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9876 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9877 AUTH_DES and cindex for FIPS 140-2.
9878 (DES Encryption): Add cindex FIPS 46-3.
9879
484c12fb
CD
9880 * locale/locarchive.h (struct locarhandle): Add fname.
9881 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9882 if an optional argument was specified to --list-archive,
9883 otherwise NULL.
9884 * locale/programs/locarchive.c (show_archive_content): Take new
9885 argument fname and pass it via ah.fname to open_archive.
9886 * locale/programs/localedef.h: Update decl.
9887 (open_archive): If AH->fname is non-null, open that file
9888 rather than the default file name, and don't ignore ENOENT.
9889 (create_archive): Set AH.fname to NULL.
9890 (delete_locales_from_archive): Likewise.
9891 (add_locales_to_archive): Likewise.
9892 * locale/programs/locfile.c (write_all_categories): Likewise.
9893
3c8325fb
JM
98942013-10-18 Joseph Myers <joseph@codesourcery.com>
9895 Aldy Hernandez <aldyh@redhat.com>
9896
9897 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9898 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9899 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9900 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9901 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9908 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9909 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9910 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9911 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9912 Likewise.
9913 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9914 Likewise.
9915 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9916 Likewise.
9917 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9918 Likewise.
9919 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9920 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9921 Likewise.
9922 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9923 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9924 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9925 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9926 Likewise.
9927 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9928 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9929 * sysdeps/powerpc/preconfigure: Likewise.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9931 Likewise.
9932 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9933 Replace contents of file by #include of <fenv_libc.h>.
9934 * sysdeps/powerpc/soft-fp/sfp-machine.h
9935 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9936 and <sys/prctl.h>.
9937 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9950 Allow copysignl PLT reference to be missing.
9951
5abe0682
RS
99522013-10-18 Richard Sandiford <richard@codesourcery.com>
9953 Joseph Myers <joseph@codesourcery.com
9954
9955 [BZ #15948]
9956 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9957 single character.
9958 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9959
c7738d08
SP
99602013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
9962 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9963 * elf/tst-tls1.c: Likewise.
9964 * elf/tst-tls10.h: Likewise.
9965 * elf/tst-tls14.c: Likewise.
9966 * elf/tst-tls2.c: Likewise.
9967 * elf/tst-tls3.c: Likewise.
9968 * elf/tst-tls4.c: Likewise.
9969 * elf/tst-tls5.c: Likewise.
9970 * elf/tst-tls6.c: Likewise.
9971 * elf/tst-tls7.c: Likewise.
9972 * elf/tst-tls8.c: Likewise.
9973 * elf/tst-tls9.c: Likewise.
9974 * elf/tst-tlsmod1.c: Likewise.
9975 * elf/tst-tlsmod13.c: Likewise.
9976 * elf/tst-tlsmod13a.c: Likewise.
9977 * elf/tst-tlsmod14a.c: Likewise.
9978 * elf/tst-tlsmod16a.c: Likewise.
9979 * elf/tst-tlsmod16b.c: Likewise.
9980 * elf/tst-tlsmod2.c: Likewise.
9981 * elf/tst-tlsmod3.c: Likewise.
9982 * elf/tst-tlsmod4.c: Likewise.
9983 * elf/tst-tlsmod5.c: Likewise.
9984 * elf/tst-tlsmod6.c: Likewise.
9985
0bfcf2c7
OB
99862013-10-18 Ondřej Bílka <neleai@seznam.cz>
9987
9988 [BZ #12486]
9989 * malloc/malloc.c: remove checks for statistics.
9990
264aad1e
OB
99912013-10-17 Ondřej Bílka <neleai@seznam.cz>
9992
9993 [BZ #15277]
9994 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9995 * inet/tst-network.c: Add testcase.
9996
b957ced8
AS
99972013-10-17 Andreas Schwab <schwab@suse.de>
9998
9999 [BZ #15218]
10000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10001 to determine canonical name.
10002
c5d5d574
OB
100032013-10-17 Ondřej Bílka <neleai@seznam.cz>
10004
10005 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10006 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10029 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10035 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10063
e5c2c2d0
JM
100642013-10-17 Joseph Myers <joseph@codesourcery.com>
10065
10066 [BZ #16041]
10067 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10068 make result into a quiet NaN.
10069
51ca9e29
JM
100702013-10-16 Joseph Myers <joseph@codesourcery.com>
10071
10072 * soft-fp/adddf3.c: Fix horizontal whitespace.
10073 * soft-fp/addsf3.c: Likewise.
10074 * soft-fp/addtf3.c: Likewise.
10075 * soft-fp/divdf3.c: Likewise.
10076 * soft-fp/divsf3.c: Likewise.
10077 * soft-fp/divtf3.c: Likewise.
10078 * soft-fp/double.h: Likewise.
10079 * soft-fp/eqdf2.c: Likewise.
10080 * soft-fp/eqsf2.c: Likewise.
10081 * soft-fp/eqtf2.c: Likewise.
10082 * soft-fp/extenddftf2.c: Likewise.
10083 * soft-fp/extended.h: Likewise.
10084 * soft-fp/extendsfdf2.c: Likewise.
10085 * soft-fp/extendsftf2.c: Likewise.
10086 * soft-fp/extendxftf2.c: Likewise.
10087 * soft-fp/fixdfdi.c: Likewise.
10088 * soft-fp/fixdfsi.c: Likewise.
10089 * soft-fp/fixdfti.c: Likewise.
10090 * soft-fp/fixsfdi.c: Likewise.
10091 * soft-fp/fixsfsi.c: Likewise.
10092 * soft-fp/fixsfti.c: Likewise.
10093 * soft-fp/fixtfdi.c: Likewise.
10094 * soft-fp/fixtfsi.c: Likewise.
10095 * soft-fp/fixtfti.c: Likewise.
10096 * soft-fp/fixunsdfdi.c: Likewise.
10097 * soft-fp/fixunsdfsi.c: Likewise.
10098 * soft-fp/fixunsdfti.c: Likewise.
10099 * soft-fp/fixunssfdi.c: Likewise.
10100 * soft-fp/fixunssfsi.c: Likewise.
10101 * soft-fp/fixunssfti.c: Likewise.
10102 * soft-fp/fixunstfdi.c: Likewise.
10103 * soft-fp/fixunstfsi.c: Likewise.
10104 * soft-fp/fixunstfti.c: Likewise.
10105 * soft-fp/floatdidf.c: Likewise.
10106 * soft-fp/floatdisf.c: Likewise.
10107 * soft-fp/floatditf.c: Likewise.
10108 * soft-fp/floatsidf.c: Likewise.
10109 * soft-fp/floatsisf.c: Likewise.
10110 * soft-fp/floatsitf.c: Likewise.
10111 * soft-fp/floattidf.c: Likewise.
10112 * soft-fp/floattisf.c: Likewise.
10113 * soft-fp/floattitf.c: Likewise.
10114 * soft-fp/floatundidf.c: Likewise.
10115 * soft-fp/floatundisf.c: Likewise.
10116 * soft-fp/floatunditf.c: Likewise.
10117 * soft-fp/floatunsidf.c: Likewise.
10118 * soft-fp/floatunsisf.c: Likewise.
10119 * soft-fp/floatunsitf.c: Likewise.
10120 * soft-fp/floatuntidf.c: Likewise.
10121 * soft-fp/floatuntisf.c: Likewise.
10122 * soft-fp/floatuntitf.c: Likewise.
10123 * soft-fp/fmadf4.c: Likewise.
10124 * soft-fp/fmasf4.c: Likewise.
10125 * soft-fp/fmatf4.c: Likewise.
10126 * soft-fp/gedf2.c: Likewise.
10127 * soft-fp/gesf2.c: Likewise.
10128 * soft-fp/getf2.c: Likewise.
10129 * soft-fp/ledf2.c: Likewise.
10130 * soft-fp/lesf2.c: Likewise.
10131 * soft-fp/letf2.c: Likewise.
10132 * soft-fp/muldf3.c: Likewise.
10133 * soft-fp/mulsf3.c: Likewise.
10134 * soft-fp/multf3.c: Likewise.
10135 * soft-fp/negdf2.c: Likewise.
10136 * soft-fp/negsf2.c: Likewise.
10137 * soft-fp/negtf2.c: Likewise.
10138 * soft-fp/op-1.h: Likewise.
10139 * soft-fp/op-2.h: Likewise.
10140 * soft-fp/op-4.h: Likewise.
10141 * soft-fp/op-8.h: Likewise.
10142 * soft-fp/op-common.h: Likewise.
10143 * soft-fp/quad.h: Likewise.
10144 * soft-fp/single.h: Likewise.
10145 * soft-fp/soft-fp.h: Likewise.
10146 * soft-fp/sqrtdf2.c: Likewise.
10147 * soft-fp/sqrtsf2.c: Likewise.
10148 * soft-fp/sqrttf2.c: Likewise.
10149 * soft-fp/subdf3.c: Likewise.
10150 * soft-fp/subsf3.c: Likewise.
10151 * soft-fp/subtf3.c: Likewise.
10152 * soft-fp/truncdfsf2.c: Likewise.
10153 * soft-fp/trunctfdf2.c: Likewise.
10154 * soft-fp/trunctfsf2.c: Likewise.
10155 * soft-fp/trunctfxf2.c: Likewise.
10156 * soft-fp/unorddf2.c: Likewise.
10157 * soft-fp/unordsf2.c: Likewise.
10158 * soft-fp/unordtf2.c: Likewise.
10159
9ebb0332
JM
101602013-10-15 Joseph Myers <joseph@codesourcery.com>
10161
10162 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10163 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10164
4b1a6d8b
OB
101652013-10-15 Ondřej Bílka <neleai@seznam.cz>
10166
10167 * elf/dl-libc.c: Clear initfini list after freeing.
10168
1e145589
JM
101692013-10-14 Joseph Myers <joseph@codesourcery.com>
10170
10171 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10172 * soft-fp/addsf3.c: Likewise.
10173 * soft-fp/addtf3.c: Likewise.
10174 * soft-fp/divdf3.c: Likewise.
10175 * soft-fp/divsf3.c: Likewise.
10176 * soft-fp/divtf3.c: Likewise.
10177 * soft-fp/double.h: Likewise.
10178 * soft-fp/eqdf2.c: Likewise.
10179 * soft-fp/eqsf2.c: Likewise.
10180 * soft-fp/eqtf2.c: Likewise.
10181 * soft-fp/extenddftf2.c: Likewise.
10182 * soft-fp/extended.h: Likewise.
10183 * soft-fp/extendsfdf2.c: Likewise.
10184 * soft-fp/extendsftf2.c: Likewise.
10185 * soft-fp/extendxftf2.c: Likewise.
10186 * soft-fp/fixdfdi.c: Likewise.
10187 * soft-fp/fixdfsi.c: Likewise.
10188 * soft-fp/fixdfti.c: Likewise.
10189 * soft-fp/fixsfdi.c: Likewise.
10190 * soft-fp/fixsfsi.c: Likewise.
10191 * soft-fp/fixsfti.c: Likewise.
10192 * soft-fp/fixtfdi.c: Likewise.
10193 * soft-fp/fixtfsi.c: Likewise.
10194 * soft-fp/fixtfti.c: Likewise.
10195 * soft-fp/fixunsdfdi.c: Likewise.
10196 * soft-fp/fixunsdfsi.c: Likewise.
10197 * soft-fp/fixunsdfti.c: Likewise.
10198 * soft-fp/fixunssfdi.c: Likewise.
10199 * soft-fp/fixunssfsi.c: Likewise.
10200 * soft-fp/fixunssfti.c: Likewise.
10201 * soft-fp/fixunstfdi.c: Likewise.
10202 * soft-fp/fixunstfsi.c: Likewise.
10203 * soft-fp/fixunstfti.c: Likewise.
10204 * soft-fp/floatdidf.c: Likewise.
10205 * soft-fp/floatdisf.c: Likewise.
10206 * soft-fp/floatditf.c: Likewise.
10207 * soft-fp/floatsidf.c: Likewise.
10208 * soft-fp/floatsisf.c: Likewise.
10209 * soft-fp/floatsitf.c: Likewise.
10210 * soft-fp/floattidf.c: Likewise.
10211 * soft-fp/floattisf.c: Likewise.
10212 * soft-fp/floattitf.c: Likewise.
10213 * soft-fp/floatundidf.c: Likewise.
10214 * soft-fp/floatundisf.c: Likewise.
10215 * soft-fp/floatunsidf.c: Likewise.
10216 * soft-fp/floatunsisf.c: Likewise.
10217 * soft-fp/floatuntidf.c: Likewise.
10218 * soft-fp/floatuntisf.c: Likewise.
10219 * soft-fp/floatuntitf.c: Likewise.
10220 * soft-fp/fmadf4.c: Likewise.
10221 * soft-fp/fmasf4.c: Likewise.
10222 * soft-fp/fmatf4.c: Likewise.
10223 * soft-fp/gedf2.c: Likewise.
10224 * soft-fp/gesf2.c: Likewise.
10225 * soft-fp/getf2.c: Likewise.
10226 * soft-fp/ledf2.c: Likewise.
10227 * soft-fp/lesf2.c: Likewise.
10228 * soft-fp/letf2.c: Likewise.
10229 * soft-fp/muldf3.c: Likewise.
10230 * soft-fp/mulsf3.c: Likewise.
10231 * soft-fp/multf3.c: Likewise.
10232 * soft-fp/negdf2.c: Likewise.
10233 * soft-fp/negsf2.c: Likewise.
10234 * soft-fp/negtf2.c: Likewise.
10235 * soft-fp/op-1.h: Likewise.
10236 * soft-fp/op-2.h: Likewise.
10237 * soft-fp/op-4.h: Likewise.
10238 * soft-fp/op-8.h: Likewise.
10239 * soft-fp/op-common.h: Likewise.
10240 * soft-fp/quad.h: Likewise.
10241 * soft-fp/single.h: Likewise.
10242 * soft-fp/soft-fp.h: Likewise.
10243 * soft-fp/sqrtdf2.c: Likewise.
10244 * soft-fp/sqrtsf2.c: Likewise.
10245 * soft-fp/sqrttf2.c: Likewise.
10246 * soft-fp/subdf3.c: Likewise.
10247 * soft-fp/subsf3.c: Likewise.
10248 * soft-fp/subtf3.c: Likewise.
10249 * soft-fp/truncdfsf2.c: Likewise.
10250 * soft-fp/trunctfdf2.c: Likewise.
10251 * soft-fp/trunctfsf2.c: Likewise.
10252 * soft-fp/trunctfxf2.c: Likewise.
10253 * soft-fp/unorddf2.c: Likewise.
10254 * soft-fp/unordsf2.c: Likewise.
10255 * soft-fp/unordtf2.c: Likewise.
10256
17c48a60
OB
102572013-10-14 Ondřej Bílka <neleai@seznam.cz>
10258
10259 [BZ #15672]
10260 * misc/error.c (error_tail): Fix possible buffer overflow.
10261
cabba934
OB
102622013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10263
10264 [BZ #13028]
10265 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10266 address.
10267
94bf958a
PM
102682013-10-14 P. J. McDermott <pj@pehjota.net>
10269
10270 [BZ #832]
10271 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10272 testing pipefail option.
10273
71b4dea7
JM
102742013-10-12 Joseph Myers <joseph@codesourcery.com>
10275
10276 * soft-fp/double.h: Indent preprocessor directives inside #if.
10277 * soft-fp/extended.h: Likewise.
10278 * soft-fp/op-2.h: Likewise.
10279 * soft-fp/op-4.h: Likewise.
10280 * soft-fp/op-common.h: Likewise.
10281 * soft-fp/quad.h: Likewise.
10282 * soft-fp/single.h: Likewise.
10283 * soft-fp/soft-fp.h: Likewise.
10284
55602758
YC
102852013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10286
10287 * iconv/iconv_prog.c: Fix typos.
10288 * stdio-common/psiginfo-data.h: Likewise.
10289
9cd83302
RT
102902013-10-12 Reuben Thomas <rrt@sc3d.org>
10291
10292 [BZ #15764]
10293 * locale/setlocale.c: Fix typo.
10294
99fd9f47
JM
102952013-10-12 Joseph Myers <joseph@codesourcery.com>
10296
b7ea74f0
JM
10297 [BZ #16036]
10298 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10299 signaling NaN arguments.
10300 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10301 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10302
8a509447
JM
10303 [BZ #14910]
10304 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10305 unordered operands.
10306 * soft-fp/gesf2.c (__gesf2): Likewise.
10307 * soft-fp/getf2.c (__getf2): Likewise.
10308 * soft-fp/ledf2.c (__ledf2): Likewise.
10309 * soft-fp/lesf2.c (__lesf2): Likewise.
10310 * soft-fp/letf2.c (__letf2): Likewise.
10311
98998e9f
JM
10312 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10313 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10314 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10315 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10316 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10317 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10318 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10319 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10320 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10321 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10322 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10323 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10324 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10325 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10326 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10327 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10328 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10329 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10330 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10331 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10332 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10333 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10334 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10335 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10336 * soft-fp/floattidf.c (__floattidf): Likewise.
10337 * soft-fp/floattisf.c (__floattisf): Likewise.
10338 * soft-fp/floattitf.c (__floattitf): Likewise.
10339 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10340 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10341 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10342 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10343 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10344 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10345 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10346 * soft-fp/gesf2.c (__gesf2): Likewise.
10347 * soft-fp/getf2.c (__getf2): Likewise.
10348 * soft-fp/ledf2.c (__ledf2): Likewise.
10349 * soft-fp/lesf2.c (__lesf2): Likewise.
10350 * soft-fp/letf2.c (__letf2): Likewise.
10351
8edc4a11
JM
10352 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10353 Undefine and redefine.
10354 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10355 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10356 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10357 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10358 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10359 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10360 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10361 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10362 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10363 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10364 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10365 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10366 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10367 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10368 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10369
8399acaf
JM
10370 [BZ #16032]
10371 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10372 without decrementing exponent if mantissa >= that for the
10373 denominator, not >.
10374 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10375 denominator, not >. Decrement exponent in < case instead of
10376 incrementing in >= case.
10377 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10378 without decrementing exponent if mantissa >= that for the
10379 denominator, not >.
10380
99fd9f47
JM
10381 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10382 computing saturated result for unsigned overflow.
10383
10e1cf6b
SP
103842013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10385 Jeff Law <law@redhat.com>
10386
10387 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10388 (atan2Mp): Add systemtap probe marker.
10389 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10390 (__ieee754_log): Add systemtap probe marker.
10391 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10392 (atanMp): Add systemtap probe marker.
10393 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10394 (tanMp): Add systemtap probe marker.
10395 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10396 (__slowexp): Add systemtap probe marker.
10397 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10398 (__slowpow): Add systemtap probe marker.
10399 * manual/probes.texi: Document probes.
10400
3d110c7c
EB
104012013-10-11 Eric Biggers <ebiggers3@gmail.com>
10402
10403 [BZ #15362]
10404 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10405 written.
10406 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10407 written.
10408 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10409 written to buffer but not flushed.
10410 * libio/iofwrite_u.c: Likewise.
10411 * libio/iopadn.c: Return bytes returned even if EOF was
10412 encountered.
10413 * libio/iowpadn.c: Likewise.
10414 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10415 if _IO_padn does not write the whole buffer.
10416 [!COMPILE_WPRINTF] (PAD): Likewise.
10417
75b4202a
DM
104182013-10-10 David S. Miller <davem@davemloft.net>
10419
10420 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10421 directory block.
10422
6c6352e6
JM
104232013-10-10 Joseph Myers <joseph@codesourcery.com>
10424
33b853c3
JM
10425 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10426 instead of FSF address.
10427 * soft-fp/fixdfti.c: Likewise.
10428 * soft-fp/fixsfti.c: Likewise.
10429 * soft-fp/fixtfti.c: Likewise.
10430 * soft-fp/fixunsdfti.c: Likewise.
10431 * soft-fp/fixunssfti.c: Likewise.
10432 * soft-fp/fixunstfti.c: Likewise.
10433 * soft-fp/floattidf.c: Likewise.
10434 * soft-fp/floattisf.c: Likewise.
10435 * soft-fp/floattitf.c: Likewise.
10436 * soft-fp/floatuntidf.c: Likewise.
10437 * soft-fp/floatuntisf.c: Likewise.
10438 * soft-fp/floatuntitf.c: Likewise.
10439 * soft-fp/trunctfxf2.c: Likewise.
10440
6c6352e6
JM
10441 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10442 * soft-fp/fixdfti.c: Likewise.
10443 * soft-fp/fixsfti.c: Likewise.
10444 * soft-fp/fixtfti.c: Likewise.
10445 * soft-fp/fixunsdfti.c: Likewise.
10446 * soft-fp/fixunssfti.c: Likewise.
10447 * soft-fp/fixunstfti.c: Likewise.
10448 * soft-fp/floattidf.c: Likewise.
10449 * soft-fp/floattisf.c: Likewise.
10450 * soft-fp/floattitf.c: Likewise.
10451 * soft-fp/floatuntidf.c: Likewise.
10452 * soft-fp/floatuntisf.c: Likewise.
10453 * soft-fp/floatuntitf.c: Likewise.
10454 * soft-fp/trunctfxf2.c: Likewise.
10455
3bf78b71
DM
104562013-10-10 David S. Miller <davem@davemloft.net>
10457
10458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10459
6f10289e
JM
104602013-10-10 Joseph Myers <joseph@codsourcery.com>
10461
bd878fc0
JM
10462 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10463 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10464 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10465 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10466 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10467 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10468 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10469
6f10289e
JM
10470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10471 for NaNs before doing comparisons on argument.
10472 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10473 Likewise.
10474
321e2684
WN
104752013-10-10 Will Newton <will.newton@linaro.org>
10476
10477 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10478 passed to _int_memalign does not overflow.
10479
40fefba1
TR
104802013-10-10 Torvald Riegel <triegel@redhat.com>
10481
10482 * scripts/bench.pl: Add include-sources directive.
10483 * benchtests/README: Update documentation.
10484
2ae21ed2
JM
104852013-10-10 Joseph Myers <joseph@codesourcery.com>
10486
dcc2dd3f
JM
10487 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10488 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10489 instead of FP_INIT_ROUNDMODE.
10490 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10491 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10492
2ae21ed2
JM
10493 [BZ #16034]
10494 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10495 copy class of input value.
10496 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10497 not handle exceptions.
10498 * soft-fp/negsf2.c (__negsf2): Likewise.
10499 * soft-fp/negtf2.c (__negtf2): Likewise.
10500 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10501
cb8f9562
JM
105022013-10-09 Joseph Myers <joseph@codesourcery.com>
10503
10504 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10505 semicolon. From Linux kernel.
10506
5b60c59d
AB
105072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10508
10509 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10510
b86835ca
YC
105112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10512
10513 [BZ #156]
10514 * manual/socket.texi: Added statement about buffer
10515 for gethostbyname2_r.
10516
e7044ea7
OB
105172013-10-08 Ondřej Bílka <neleai@seznam.cz>
10518
10519 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10520 Use .p2align directive instead, throughout.
10521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10522 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10523 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10526 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10527 * sysdeps/x86_64/strchr.S: Likewise.
10528 * sysdeps/x86_64/strrchr.S: Likewise.
10529
09544cbc
SP
105302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
88576635
SP
10532 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10533
e7b2d1dd
SP
10534 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10535
09544cbc
SP
10536 * sysdeps/generic/math_private.h (__mpsin1): Remove
10537 declaration.
10538 (__mpcos1): Likewise.
10539 (__mpsin): New argument __range_reduce.
10540 (__mpcos): Likewise.
10541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10542 (slow): Use __mpsin and __mpcos.
10543 (slow1): Likewise.
10544 (slow2): Likewise.
10545 (sloww): Likewise.
10546 (sloww1): Likewise.
10547 (sloww2): Likewise.
10548 (bsloww): Likewise.
10549 (bsloww1): Likewise.
10550 (bsloww2): Likewise.
10551 (cslow2): Likewise.
10552 (csloww): Likewise.
10553 (csloww1): Likewise.
10554 (csloww2): Likewise.
10555 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10556 range_reduce. Merge in __mpsin1.
10557 (__mpcos): Likewise.
10558 (__mpsin1): Remove.
10559 (__mpcos1): Likewise.
10560
7602d070
JM
105612013-10-07 Joseph Myers <joseph@codesourcery.com>
10562
10563 * locale/loadlocale.c (_nl_intern_locale_data): Use
10564 LOCFILE_ALIGNED_P.
10565 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10566 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10567 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10568 obstack data is appropriately aligned.
10569 (obstack_int32_grow_fast): Likewise.
10570 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10571 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10572 (add_locale_uint32_array): Likewise.
10573
a357259b
SP
105742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10575
10576 * benchtests/Makefile: Remove ARGLIST and RET variables.
10577 ($(objpfx)bench-%.c): Pass only function name to the script.
10578 * benchtests/README: Update documentation.
10579 * benchtests/acos-inputs: Add new directives.
10580 * benchtests/acosh-inputs: Likewise.
10581 * benchtests/asin-inputs: Likewise.
10582 * benchtests/asinh-inputs: Likewise.
10583 * benchtests/atan-inputs: Likewise.
10584 * benchtests/atanh-inputs: Likewise.
10585 * benchtests/cos-inputs: Likewise.
10586 * benchtests/cosh-inputs: Likewise.
10587 * benchtests/exp-inputs: Likewise.
10588 * benchtests/log-inputs: Likewise.
10589 * benchtests/pow-inputs: Likewise.
10590 * benchtests/rint-inputs: Likewise.
10591 * benchtests/sin-inputs: Likewise.
10592 * benchtests/sinh-inputs: Likewise.
10593 * benchtests/tan-inputs: Likewise.
10594 * benchtests/tanh-inputs: Likewise.
10595 * scripts/bench.pl: Add support for new directives.
10596
9ec1b13d
AM
105972013-10-07 Alan Modra <amodra@gmail.com>
10598
10599 * README: Fix careless merge.
10600
8b7d57cd
AM
106012013-10-05 Alan Modra <amodra@gmail.com>
10602
10603 * NEWS: Mention powerpc64le support and bugs fixed.
10604 * README: Both big-endian and little-endian powerpc64 supported.
10605
7b7bab13
ST
106062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10607
57f41c40
AS
10608 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10609 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10610 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10611 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10612
d39baad1
RA
106132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10614
10615 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10616 match prototype.
10617
cd78f7e7
JM
106182013-10-04 Joseph Myers <joseph@codesourcery.com>
10619
29d73d86
JM
10620 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10621 Move -mhard-float appending from
10622 ports/sysdeps/powerpc/powerpc32/Makefile.
10623 [$(with-fp) = yes] (ASFLAGS): Likewise.
10624 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10625 * sysdeps/powerpc/nofpu: Move directory from
10626 ports/sysdeps/powerpc/nofpu.
10627 * sysdeps/powerpc/soft-fp: Move directory from
10628 ports/sysdeps/powerpc/soft-fp.
10629 * sysdeps/powerpc/powerpc32/405: Move directory from
10630 ports/sysdeps/powerpc/powerpc32/405.
10631 * sysdeps/powerpc/powerpc32/440: Move directory from
10632 ports/sysdeps/powerpc/powerpc32/440.
10633 * sysdeps/powerpc/powerpc32/464: Move directory from
10634 ports/sysdeps/powerpc/powerpc32/464.
10635 * sysdeps/powerpc/powerpc32/476: Move directory from
10636 ports/sysdeps/powerpc/powerpc32/476.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10638 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10640 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10642 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10644 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10646 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10647 * README: Update for powerpc-*-linux-gnu software floating point
10648 support in libc.
10649
e246b347
JM
10650 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10651 case to powerpc/powerpc32*.
10652 * sysdeps/unix/sysv/linux/configure: Regenerated.
10653
89c2003e
JM
10654 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10655 (_FPU_MASK_OM): Define as 0x04.
10656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10658 0x00c10080.
10659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10660 0x0000003c.
10661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10662
cd78f7e7
JM
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10664 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10665 getcontext_e500.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10667 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10668 setcontext_e500.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10670 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10671 and setcontext_e500.
10672
c755294d
CL
106732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10674
10675 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10676
e16d221c
SP
106772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10678
10679 * manual/threads.texi (Default Thread Attributes): Fix typo.
10680
215c7d43
WN
106812013-10-04 Will Newton <will.newton@linaro.org>
10682
10683 * malloc/Makefile: Add tst-memalign.
10684 * malloc/tst-memalign.c: New file.
10685
27d0461b
WN
10686 * malloc/tst-posix_memalign.c: Add comments.
10687 (do_test): Add comments and call free on all potentially
10688 allocated pointers. Add space after cast.
10689
1bc92709
WN
10690 * malloc/tst-pvalloc.c: Add comments.
10691 (do_test): Add comments and call free on all potentially
10692 allocated pointers. Remove duplicate check for NULL pointer.
10693 Add space after cast.
10694
66a9be9d
WN
10695 * malloc/tst-valloc.c: Add comments.
10696 (do_test): Add comments and call free on all potentially
10697 allocated pointers. Remove duplicate check for NULL pointer.
10698 Add space after cast.
10699
4cb81307
AM
107002013-10-04 Alan Modra <amodra@gmail.com>
10701
10702 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10703 Use stdint types in rather than __attribute__((mode())).
10704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10705
f8e3e9f3
AM
107062013-10-04 Alan Modra <amodra@gmail.com>
10707
10708 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10709 Correct handling of unaligned relocs for little-endian.
10710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10711
8f9ebb08
AM
107122013-10-04 Alan Modra <amodra@gmail.com>
10713
10714 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10715 * configure: Regenerate.
10716 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10717 * shlib-versions: Likewise.
10718
0edf96c2
AM
107192013-10-04 Alan Modra <amodra@gmail.com>
10720
10721 * string/tester.c (test_memrchr): Increment reported test cycle.
10722
e0f7a380
AM
107232013-10-04 Alan Modra <amodra@gmail.com>
10724
10725 * string/test-memcpy.c (do_one_test): When reporting errors, print
10726 string address and don't overrun end of string.
10727
466b0393
AM
107282013-10-04 Alan Modra <amodra@gmail.com>
10729
10730 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10731 insrdi. Make better use of reg selection to speed exit slightly.
10732 Schedule entry path a little better. Remove useless "are we done"
10733 checks on entry to main loop. Handle wrapping around zero address.
10734 Correct main loop count. Handle single left-over word from main
10735 loop inline rather than by using loop_small. Remove extra word
10736 case in loop_small caused by wrong loop count. Add little-endian
10737 support.
10738 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10739 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10740 cache hint.
10741 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10742 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10743 support. Avoid rlwimi.
10744 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10745
3be87c77
AM
107462013-10-04 Alan Modra <amodra@gmail.com>
10747
10748 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10749 insrdi. Formatting.
3be87c77
AM
10750 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10751 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10752 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10753 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10754 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10755 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10756
759cfef3
AM
107572013-10-04 Alan Modra <amodra@gmail.com>
10758
10759 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10762 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10763 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10764 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10766 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10767 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10768 use of regs. Use power7 mtocrf. Tidy function tails.
10769
fe6e95d7
AM
107702013-10-04 Alan Modra <amodra@gmail.com>
10771
10772 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10773 Formatting. Consistently use rXXX register defines or rN defines.
10774 Use early exit labels that avoid restoring unused non-volatile regs.
10775 Make cr field use more consistent with rWORDn compares. Rename
10776 regs used as shift registers for unaligned loop, using rN defines
10777 for short lifetime/multiple use regs.
10778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10779 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10780 addi 1,1,64 to pop stack frame. Simplify return value code.
10781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10782
664318c3
AM
107832013-10-04 Alan Modra <amodra@gmail.com>
10784
10785 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10786 support. Correct typos, formatting. Optimize tail. Use insrdi
10787 rather than rlwimi.
10788 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10789 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10790 little-endian support. Correct typos.
10791 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10792 rather than rlwimi.
10793 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10794 in loop and entry code to keep "and." results.
10795 (strchr): Add little-endian support. Comment. Move cntlzd
10796 earlier in tail.
10797 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10798
43b84013
AM
107992013-10-04 Alan Modra <amodra@gmail.com>
10800
10801 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10802 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10803 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10804 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10805
8a7413f9
AM
108062013-10-04 Alan Modra <amodra@gmail.com>
10807
10808 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10809 (rTMP): Define as r11.
10810 (strcmp): Add little-endian support. Optimise tail.
10811 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10812 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10813 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10814 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10815 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10817 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10818
33ee81de
AM
108192013-10-04 Alan Modra <amodra@gmail.com>
10820
10821 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10822 little-endian support. Remove unnecessary "are we done" tests.
10823 Handle "s" wrapping around zero and extremely large "size".
10824 Correct main loop count. Handle single left-over word from main
10825 loop inline rather than by using small_loop. Correct comments.
10826 Delete "zero" tail, use "end_max" instead.
10827 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10828
db9b4570
AM
108292013-10-04 Alan Modra <amodra@gmail.com>
10830
10831 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10832 support. Don't branch over align.
10833 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10834 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10835 support. Rearrange tmp reg use to suit. Comment.
10836 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10837
f7c399cf
AM
108382013-10-04 Alan Modra <amodra@gmail.com>
10839
10840 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10841
0b2c2ace
AM
108422013-10-04 Alan Modra <amodra@gmail.com>
10843
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10845 conditional form of branch and link when obtaining pc.
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10847
02f04a6c
AM
108482013-10-04 Alan Modra <amodra@gmail.com>
10849
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10851 HIWORD/LOWORD.
10852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10854
9b874b2f
AM
108552013-10-04 Alan Modra <amodra@gmail.com>
10856
10857 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10858 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10859 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10860 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10861 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10862 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10863 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10864 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10865 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10866 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10867
be1e5d31
AB
108682013-10-04 Anton Blanchard <anton@au1.ibm.com>
10869 Alistair Popple <alistair@ozlabs.au.ibm.com>
10870 Alan Modra <amodra@gmail.com>
10871
10872 [BZ #15723]
10873 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10875 _dl_hwcap access for little-endian.
10876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10877 destroy vmx regs when saving unaligned.
10878 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10879 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10880 destroy vmx regs when saving unaligned.
10881
fef13a78
AM
108822013-10-04 Alan Modra <amodra@gmail.com>
10883
10884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10885 Don't use a union to pack hi/low value.
10886
76a66d51
AB
108872013-10-04 Anton Blanchard <anton@au1.ibm.com>
10888
10889 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10890 for little-endian.
10891 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10894 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10895 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10896
6a31fe7f
AM
108972013-10-04 Alan Modra <amodra@gmail.com>
10898
10899 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10900 constants to usual value for .cst8 section, and remove redundant
10901 high address load.
10902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10903 constant for 0x1p52. Load little-endian words of double from
10904 correct stack offsets.
10905
7b88401f
AM
109062013-10-04 Alan Modra <amodra@gmail.com>
10907
10908 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10909 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10910 words of double from correct stack offsets.
10911 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10912 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10918 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10924 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10925 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10926 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10927 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10928
9c008155
AM
109292013-10-04 Alan Modra <amodra@gmail.com>
10930
10931 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10932 64-bit int/double union.
10933 (_FPU_SETCW): Likewise.
10934 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10935 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10936
da13146d
AM
109372013-10-04 Alan Modra <amodra@gmail.com>
10938
10939 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10940 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10941
603e8410
AM
109422013-10-04 Alan Modra <amodra@gmail.com>
10943
10944 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10945 use vector int constants.
10946 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10947
4a28b3ca
AB
109482013-10-04 Anton Blanchard <anton@au1.ibm.com>
10949
10950 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10951 array with long long.
10952 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10953 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10954 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10955 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10956 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10957 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10958 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10959 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10960 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10961 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10962 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10963 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10964 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10965
2ca85d2b
AB
109662013-10-04 Anton Blanchard <anton@au1.ibm.com>
10967
10968 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10969 (__signbit): Likewise. Correct for little-endian.
10970 (__signbitl): Call __signbit.
10971 (lrint): Correct for little-endian.
10972 (lrintf): Call lrint.
10973
62a728ae
AM
109742013-10-04 Alan Modra <amodra@gmail.com>
10975
10976 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10977 union 32-bit int array member with 64-bit int array.
10978 (t515, tm256): Double rather than long double.
10979 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10980
32c301df
AM
109812013-10-04 Alan Modra <amodra@gmail.com>
10982
10983 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10984 Delete.
10985 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10986 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10987 version of math_ldbl.h.
10988
650ef4bd
AM
109892013-10-04 Alan Modra <amodra@gmail.com>
10990
10991 [BZ #15734], [BZ #15735]
10992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10993 all uses of ieee875 long double macros and unions. Simplify test
10994 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10995 ldbl_extract_mantissa value for ix,iy exponents. Properly
10996 normalize after ldbl_extract_mantissa, and don't add hidden bit
10997 already handled. Don't treat low word of ieee854 mantissa like
10998 low word of IBM long double and mask off bit when testing for
10999 zero.
11000 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11001 all uses of ieee875 long double macros and unions. Simplify tests
11002 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11003 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11004 two1022, instead use their values. Recognise that tests for large
11005 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11006 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11007 Rewrite all uses of ieee875 long double macros and unions. Simplify
11008 test for 0.0L and nan. Correct negation.
11009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11010 ieee875 long double macros and unions. Correct output for large
11011 magnitude x. Correct absolute value calculation.
11012 (__erfcl): Likewise.
11013 * math/libm-test.inc: Add tests for errors discovered in IBM long
11014 double versions of fmodl, remainderl, erfl and erfcl.
11015
765714ca
AM
110162013-10-04 Alan Modra <amodra@gmail.com>
11017
11018 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11019 all uses of ieee854 long double macros and unions. Simplify tests
11020 for long doubles that are fully specified by the high double.
11021 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11022 Likewise.
11023 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11024 Remove dead code too.
11025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11026 (__ieee754_ynl): Likewise.
11027 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11028 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11029 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11030 Remove dead code too.
11031 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11032 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11035 Simplify.
11036 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11037 Simplify.
11038 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11041 Comment on variable precision.
11042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11044 Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11049 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11050
4ebd120c
AM
110512013-10-04 Alan Modra <amodra@gmail.com>
11052
11053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11055 all uses of ieee854 long double macros and unions.
11056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11062 Likewise.
11063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11069 Simplify sign and nan test too.
11070 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11074 Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11077 Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11084
1b6adf88
AM
110852013-10-04 Alan Modra <amodra@gmail.com>
11086
11087 * stdio-common/printf_size.c (__printf_size): Don't use
11088 union ieee854_long_double in fpnum union.
11089 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11090 signbit macro to retrieve sign from long double.
11091 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11092 retrieve sign from long double.
11093 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11094 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11095 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11096 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11097 * math/test-misc.c (main): Don't use union ieee854_long_double.
11098
4cf69995
AM
110992013-10-04 Alan Modra <amodra@gmail.com>
11100
11101 [BZ #15680]
11102 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11103 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11104 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11105 calculation. Remove unnecessary test for denormal exponent.
11106 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11107 Correct handling of denormals. Avoid undefined shift behaviour.
11108 Correct normalisation of low mantissa when low double is denormal.
11109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11110 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11111 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11112 Correct normalisation of low mantissa. Test for overflow of high
11113 mantissa and normalise.
11114 (ldbl_nearbyint): Use more readable constant for two52.
11115 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11116 (__mpn_construct_long_double): Fix test for overflow of high
11117 mantissa and correct normalisation. Avoid undefined shift.
11118
9605ca6c
AM
111192013-10-04 Alan Modra <amodra@gmail.com>
11120
11121 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11122 (union ibm_extended_long_double): Define as an array of ieee754_double.
11123 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11124 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11125 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11134
975569d0
JM
111352013-10-03 Joseph Myers <joseph@codesourcery.com>
11136
d3d23756
JM
11137 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11138 page size instead of calling getpagesize.
11139
975569d0
JM
11140 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11141 (LOCFILE_ALIGN_MASK): Likewise.
11142 (LOCFILE_ALIGN_UP): Likewise.
11143 (LOCFILE_ALIGNED_P): Likewise.
11144 * locale/programs/ld-collate.c (collate_output): Use the new
11145 macros instead of __alignof__ (int32_t).
11146 * locale/weight.h (findidx): Likewise.
11147
b1fe1f2b
OB
111482013-10-03 Ondřej Bílka <neleai@seznam.cz>
11149
11150 [BZ #431]
11151 * manual/string.texi: Fix strncat and wcsncat.
11152
5f855e35
BM
111532013-10-03 Brooks Moses <bmoses@google.com>
11154
11155 [BZ #15915]
11156 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11157 * Makerules: ...here, and adjust associated comments.
11158
3cef6009
WN
111592013-10-02 Will Newton <will.newton@linaro.org>
11160
11161 * malloc/Makefile: Add tst-pvalloc.
11162 * malloc/tst-pvalloc.c: New file.
11163
7815420b
WN
111642013-10-02 Will Newton <will.newton@linaro.org>
11165
11166 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11167 improve test coverage.
11168
4868b204
WN
111692013-10-02 Will Newton <will.newton@linaro.org>
11170
11171 * malloc/Makefile: Add tst-posix_memalign.
11172 * malloc/tst-posix_memalign.c: New file.
11173
29c793b3
EB
111742013-10-01 Eric Blake <eblake@redhat.com>
11175
11176 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11177 Use __THROWNL rather than __THROW on static functions.
11178
fd967522
PM
111792013-09-30 Petr Machata <pmachata@redhat.com>
11180
11181 * elf/elf.h (R_AARCH64_ABS16): New macro.
11182 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11183 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11184 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11185 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11186 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11187 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11188 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11189 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11190 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11191 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11192 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11193 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11194 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11195 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11196 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11197 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11198 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11199 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11200 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11201 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11202 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11203 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11204 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11205 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11206 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11207 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11208 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11209 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11210 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11211 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11212 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11213 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11214 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11215 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11216 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11217 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11218 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11219 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11220 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11221 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11222 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11223 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11224 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11225 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11226 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11227 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11228 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11229 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11230 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11231 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11232 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11233 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11234 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11235 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11236 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11237 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11238 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11239 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11240 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11241 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11242 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11243 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11244 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11245 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11246 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11247 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11248 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11249 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11250 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11251 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11252 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11253 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11254 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11255 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11256 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11257 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11258 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11259 (R_AARCH64_TLSDESC_LDR): Likewise.
11260 (R_AARCH64_TLSDESC_ADD): Likewise.
11261 (R_AARCH64_TLSDESC_CALL): Likewise.
11262
b2179107
AS
112632013-09-30 Andreas Schwab <schwab@suse.de>
11264
11265 [BZ #15048]
11266 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11267 the nss database lookup.
11268 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11270
47f28d0a
MF
112712013-09-28 Mike Frysinger <vapier@gentoo.org>
11272
11273 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11274
112752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11276
11277 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11278 ${Bash-specific parameter/pattern/string} parameter expansion.
11279 * sysdeps/unix/make-syscalls.sh: Likewise.
11280
f4518a17
KK
112812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11282
11283 * sysdeps/sh/stackguard-macros.h: New file.
11284
dc1a95c7
OB
112852013-09-26 Ondřej Bílka <neleai@seznam.cz>
11286
11287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11289 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11290 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11292 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11293
5ebbff8f
AZ
112942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11295
11296 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11297 Fix thread ID register.
11298
4fd2cf9f
JM
112992013-09-25 Joseph Myers <joseph@codesourcery.com>
11300
11301 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11302 [POSIX || UNIX98]: Require rather than permitting all symbols from
11303 <time.h>.
11304 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11305 element of struct sched_param.
11306 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11307 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11308 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11309 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11310 constant.
11311
12c22bc4
OL
113122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11313
11314 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11315 argument calculation.
11316
a03d8ea7
JM
113172013-09-24 Joseph Myers <joseph@codesourcery.com>
11318
11319 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11320 Expect macro.
11321 [POSIX] (pthread_attr_t): Do not require type.
11322 [POSIX] (pthread_cond_t): Likewise.
11323 [POSIX] (pthread_condattr_t): Likewise.
11324 [POSIX] (pthread_key_t): Likewise.
11325 [POSIX] (pthread_mutex_t): Likewise.
11326 [POSIX] (pthread_mutexattr_t): Likewise.
11327 [POSIX] (pthread_once_t): Likewise.
11328 [POSIX] (pthread_t): Likewise.
11329 [POSIX-based standards] (pthread_atfork): Expect function.
11330
6055173a
JM
113312013-09-24 Joseph Myers <joseph@codesourcery.com>
11332 Richard Sandiford <richard@codesourcery.com>
11333
11334 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11335 (swap_endianness_p): New extern variable.
11336 (set_big_endian): New inline function.
11337 (maybe_swap_uint32): Likewise.
11338 (maybe_swap_uint32_array): Likewise.
11339 (maybe_swap_uint32_obstack): Likewise.
11340 * locale/programs/locfile.c: Include <stdbool.h>.
11341 (swap_endianness_p): New variable.
11342 (add_locale_uint32): Call maybe_swap_uint32.
11343 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11344 (write_locale_data): Call maybe_swap_uint32_array.
11345 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11346 maybe_swap_uint32.
11347 (obstack_int32_grow_fast): Likewise.
11348 (output_weightwc): Call maybe_swap_uint32_obstack.
11349 (collate_output): Likewise.
11350 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11351 (OPT_LITTLE_ENDIAN): Likewise.
11352 (options): Add --little-endian and --big-endian options.
11353 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11354 * locale/programs/locarchive.c: Include "locfile.h".
11355 (GET): New macro.
11356 (SET): Likewise.
11357 (INC): Likewise.
11358 (create_archive): Use the new macros to access fields of
11359 structures directly mapped from or written to locale archives.
11360 (oldlocrecentcmp): Likewise.
11361 (enlarge_archive): Likewise.
11362 (insert_name): Likewise.
11363 (add_alias): Likewise.
11364 (add_locale): Likewise.
11365 (delete_locales_from_archive): Likewise.
11366 (show_archive_content): Likewise.
11367 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11368 locale data.
11369
39bf0bb4
RM
113702013-09-24 Roland McGrath <roland@hack.frob.com>
11371
11372 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11373 http://www.gnu.org/doc/freemanuals.texi.
11374 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11375
f02eed10
WN
113762013-09-24 Will Newton <will.newton@linaro.org>
11377
11378 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11379 macro.
11380
a3a6c312
JM
113812013-09-23 Joseph Myers <joseph@codesourcery.com>
11382
11383 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11384 unsigned char.
11385
107375ac
MR
113862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11387
11388 * manual/threads.texi (POSIX Threads): Fix a typo.
11389
141f3a77
SP
113902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11391
303e567a
SP
11392 [BZ #14547]
11393 * string/tst-strcoll-overflow.c: New test case.
11394 * string/Makefile (xtests): Add tst-strcoll-overflow.
11395 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11396 cache if string sizes may cause integer overflow.
11397
141f3a77
SP
11398 [BZ #14547]
11399 * string/strcoll_l.c (coll_seq): New members rule, idx,
11400 save_idx and back_us.
11401 (get_next_seq_nocache): New function.
11402 (do_compare_nocache): New function.
11403 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11404 when malloc fails.
11405
c61b4d41
CD
114062013-09-23 Carlos O'Donell <carlos@redhat.com>
11407
0b1f8e35
CD
11408 [BZ #15754]
11409 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11410 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11411 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11412
c61b4d41
CD
11413 [BZ #15754]
11414 * elf/Makefile (tests): Add tst-ptrguard1.
11415 (tests-static): Add tst-ptrguard1-static.
11416 (tst-ptrguard1-ARGS): Define.
11417 (tst-ptrguard1-static-ARGS): Define.
11418 * elf/tst-ptrguard1.c: New file.
11419 * elf/tst-ptrguard1-static.c: New file.
11420 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11421 * sysdeps/i386/stackguard-macros.h: Likewise.
11422 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11423 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11424 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11425 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11426 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11427 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11428
114292013-09-23 Hector Marco <hecmargi@upv.es>
11430 Ismael Ripoll <iripoll@disca.upv.es>
11431 Carlos O'Donell <carlos@redhat.com>
11432
11433 [BZ #15754]
11434 * sysdeps/generic/stackguard-macros.h: Define
11435 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11436 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11437 Define __pointer_chk_guard_local.
11438 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11439 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11440
f5f4e7b4
VV
114412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11442
11443 [BZ #15859]
11444 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11445
5bb43a43
AS
114462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11447
11448 * include/string.h (__ffs): Declare as hidden.
11449 * string/ffs.c (__ffs): Define as hidden.
11450 * sysdeps/i386/ffs.c (__ffs): Likewise.
11451 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11452 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11453 * sysdeps/s390/ffs.c (__ffs): Likewise.
11454 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11455
3ea5be54
AO
114562013-09-20 Alexandre Oliva <aoliva@redhat.com>
11457
ffb89e53
AO
11458 * NEWS: Mention malloc probes.
11459
322dea08
AO
11460 * malloc/arena.c (new_heap): New memory_heap_new probe.
11461 (grow_heap): New memory_heap_more probe.
11462 (shrink_heap): New memory_heap_less probe.
11463 (heap_trim): New memory_heap_free probe.
11464 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11465 (systrim): New memory_sbrk_less probe.
11466 * manual/probes.texi: Document them.
11467
655673f3
AO
11468 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11469 * manual/probes.texi: Document it.
11470
35fed6f1
AO
11471 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11472 (__libc_realloc): Add memory_realloc_retry probe.
11473 (__libc_memalign): Add memory_memalign_retry probe.
11474 (__libc_valloc): Add memory_valloc_retry probe.
11475 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11476 (__libc_calloc): Add memory_calloc_retry probe.
11477 * manual/probes.texi: Document them.
11478
6999d38c
AO
11479 * malloc/arena.c (get_free_list): Add probe
11480 memory_arena_reuse_free_list.
11481 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11482 and memory_arena_reuse.
11483 (arena_get2) [!PER_THREAD]: Likewise.
11484 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11485 memory_arena_reuse_realloc.
11486 * manual/probes.texi: Document them.
11487
0653427f
AO
11488 * malloc/malloc.c (__libc_free): Add
11489 memory_mallopt_free_dyn_thresholds probe.
11490 (__libc_mallopt): Add multiple memory_mallopt probes.
11491 * manual/probes.texi: Document them.
11492
3ea5be54
AO
11493 * malloc/malloc.c: Include stap-probe.h.
11494 (__libc_mallopt): Add memory_mallopt probe.
11495 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11496 * manual/probes.texi: New.
11497 * manual/Makefile (chapters): Add probes.
11498 * manual/threads.texi: Set next node.
11499
e35696c3 115002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11501
e35696c3
CL
11502 [BZ #15963, #13985]
11503 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11504 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11505 Add `Chinese' to `nan' entry name.
11506
4aafb73c
SP
115072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11510 (POLYNOMIAL): Likewise.
11511 (TAYLOR_SINCOS): Likewise.
11512 (TAYLOR_SLOW): Likewise.
11513 (__sin): Use TAYLOR_SINCOS.
11514 (__cos): Likewise.
11515 (slow): Use TAYLOR_SLOW.
11516 (sloww): Likewise.
11517 (bsloww): Likewise.
11518 (csloww): Likewise.
11519
d84f25c7
LD
115202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11521
11522 * stdlib/strtod_l.c: Fix buffer overrun.
11523
5eea0404
SP
115242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11525
7849ff93
SP
11526 * benchtests/Makefile (bench): Add sincos.
11527 * benchtests/bench-sincos.c: New file.
11528
cfa3c886
SP
11529 * math/libm-test.inc (cos_test_data): New test inputs.
11530 (sin_test_data): Likewise.
11531
b348e1e3
SP
11532 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11533 macro.
11534 (__sin): Use it.
11535 (__cos): Likewise.
11536 (slow1): Likewise.
11537 (slow2): Likewise.
11538 (sloww1): Likewise.
11539 (sloww2): Likewise.
11540 (bsloww1): Likewise.
11541 (bsloww2): Likewise.
11542 (cslow2): Likewise.
11543 (csloww1): Likewise.
11544 (csloww2): Likewise.
11545
6cce25f8
SP
11546 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11547 function.
11548 (__sin): Use it.
11549 (__cos): Likewise.
11550
5eea0404
SP
11551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11552 gotos.
11553 (__cos): Likewise.
11554
9c21573c
MR
115552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11556
11557 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11558 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11559 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11560 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11561 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11562 * elf/cache.c (print_entry): Handle the new cache flags.
11563
24d22e65
JM
115642013-09-18 Joseph Myers <joseph@codesourcery.com>
11565 Aldy Hernandez <aldyh@redhat.com>
11566
11567 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11568 Change condition to [_SOFT_FLOAT].
11569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11581 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11584 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11585 declaration.
11586
d13ef066
JM
115872013-09-18 Joseph Myers <joseph@codesourcery.com>
11588
2e071de0
JM
11589 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11590 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11591 (__longjmp): Use LOAD_GP to load saved GPRs.
11592 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11593 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11594 (__sigsetjmp): Use SAVE_GP to save GPRs.
11595
d13ef066
JM
11596 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11597 Do not append -msoft-float.
11598 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11599
97a0650b
SP
116002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
11602 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11603
11ca09e9
JM
116042013-09-17 Joseph Myers <joseph@codesourcery.com>
11605
11606 [BZ #15966]
11607 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11608 (_FPU_GETCW): Use initial "__" on variable and field names but not
11609 on macro parameter name.
11610 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11611 parentheses around reference to macro parameter.
11612
08ffcf34
RS
116132013-09-13 Richard Sandiford <richard@codesourcery.com>
11614
11615 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11616 prototype.
11617 (ctype_startup): Use uint32_t in cast and sizeof for
11618 ctype->charnames.
11619
ae7080d3
JL
116202013-09-11 Jia Liu <proljc@gmail.com>
11621
11622 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11623 __daddr_t_defined.
11624 [__FreeBSD__]: Likewise.
11625
5905e7b3
OB
116262013-09-11 Ondřej Bílka <neleai@seznam.cz>
11627
11628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11629 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11630 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11631 (strchr): Remove __strchr_sse42 ifunc selection.
11632 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11633 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11634
b987c776
WN
116352013-09-11 Will Newton <will.newton@linaro.org>
11636
11637 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11638 parameter to RES. Remove hardcoded 1000 value.
11639 * benchtests/bench-skeleton.c (main): Pass RES parameter
11640 to TIMING_INIT and multiply result by 1000.
11641
ddf985af
AZ
116422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643
11644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11645
ffdd3181
AS
116462013-09-11 Andreas Schwab <schwab@suse.de>
11647
11648 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11649 if not defined.
11650 (O_TMPFILE) [__USE_GNU]: Define.
11651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11652 Define.
11653
b73ed247
WN
116542013-09-11 Will Newton <will.newton@linaro.org>
11655
11656 [BZ #15857]
11657 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11658 does not overflow.
11659
55e17aad
WN
116602013-09-11 Will Newton <will.newton@linaro.org>
11661
11662 [BZ #15856]
11663 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11664 does not overflow.
11665
1159a193
WN
116662013-09-11 Will Newton <will.newton@linaro.org>
11667
11668 [BZ #15855]
11669 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11670 does not overflow.
11671
5905e7b3 116722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11673
11674 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11675 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11679
cdfc721b
AM
116802013-09-10 Allan McRae <allan@archlinux.org>
11681
aa04af00
AM
11682 [BZ #15748]
11683 * manual/arith.texi (Parsing of Floats): Clarify
11684 cross-reference.
11685
cdfc721b
AM
11686 [BZ #15849]
11687 * manual/install.texi (Running make install): Mention
11688 --enable-pt-chown.
11689 * INSTALL: Regenerated.
11690
95e7cf29
MR
116912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11692
11693 * csu/init-first.c (_init): Remove the !SHARED condition around
11694 FPU control word initialization.
11695 * elf/dl-support.c (_dl_fpu_control): New variable.
11696 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11697 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11698 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11699 * math/test-fpucw-static.c: New file.
11700 * math/test-fpucw-ieee.c: New file.
11701 * math/test-fpucw-ieee-static.c: New file.
11702 * math/Makefile (tests): Add `test-fpucw-ieee' and
11703 `$(tests-static)'.
11704 (tests-static): New variable.
11705 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11706 dependency to...
11707 [($(build-shared),yes)]
11708 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11709 ... this.
11710 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11711 New dependency.
11712
83e43bf0
AM
117132013-09-09 Allan McRae <allan@archlinux.org>
11714
a9f5ce09
AM
11715 [BZ #15939]
11716 * manual/string.texi (Collation Functions): Fix typo in
11717 strcoll example.
11718 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11719
34829bc2
AM
11720 [BZ #15893]
11721 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11722
3932737d
AM
11723 [BZ #15892]
11724 * libio/memstream.c (open_memstream): Fix memory leak.
11725 * libio/wmemstream.c (open_wmemstream): Likewise.
11726
83e43bf0
AM
11727 [BZ #15895]
11728 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11729
0c66b8e9
WN
117302013-09-09 Will Newton <will.newton@linaro.org>
11731
11732 * malloc/Makefile: Add tst-realloc to tests.
11733 * malloc/tst-realloc.c: New file.
11734
f6b00fd1
AM
117352013-09-09 Allan McRae <allan@archlinux.org>
11736
11737 [BZ #15844]
11738 * COPYING: Update from GNU website to fix FSF address.
11739 * COPYING.LIB: Likewise.
11740
eec55e16
DM
117412013-09-06 David S. Miller <davem@davemloft.net>
11742
11743 * po/zh_TW.po: Update Chinese (traditional) translation from
11744 translation project.
11745
1ecbb381
RS
117462013-09-06 Richard Sandiford <richard@codesourcery.com>
11747 Joseph Myers <joseph@codesourcery.com>
11748
11749 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11750 "localeinfo.h".
11751 (obstack_chunk_alloc): New macro.
11752 (obstack_chunk_free): Likewise.
11753 (record_offset): New function.
11754 (init_locale_data): Likewise.
11755 (align_locale_data): Likewise.
11756 (add_locale_empty): Likewise.
11757 (add_locale_raw_data): Likewise.
11758 (add_locale_raw_obstack): Likewise.
11759 (add_locale_string): Likewise.
11760 (add_locale_wstring): Likewise.
11761 (add_locale_uint32): Likewise.
11762 (add_locale_uint32_array): Likewise.
11763 (add_locale_char): Likewise.
11764 (start_locale_structure): Likewise.
11765 (end_locale_structure): Likewise.
11766 (start_locale_prelude): Likewise.
11767 (end_locale_prelude): Likewise.
11768 (write_locale_data): Take locale_file structure rather than an
11769 iovec.
11770 * locale/programs/locfile.h: Include "obstack.h".
11771 (struct locale_file): Change to store locale file contents instead
11772 of header.
11773 (init_locale_data): New prototype.
11774 (align_locale_data): Likewise.
11775 (add_locale_empty): Likewise.
11776 (add_locale_raw_data): Likewise.
11777 (add_locale_raw_obstack): Likewise.
11778 (add_locale_string): Likewise.
11779 (add_locale_wstring): Likewise.
11780 (add_locale_uint32): Likewise.
11781 (add_locale_uint32_array): Likewise.
11782 (add_locale_char): Likewise.
11783 (start_locale_structure): Likewise.
11784 (end_locale_structure): Likewise.
11785 (start_locale_prelude): Likewise.
11786 (end_locale_prelude): Likewise.
11787 (write_locale_data): Update prototype.
11788 * locale/programs/3level.h (struct TABLE): Remove result field.
11789 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11790 Use new locale_file interface.
11791 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11792 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11793 * locale/programs/ld-address.c (address_output): Use new
11794 locale_file interface.
11795 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11796 NO_ADD_LOCALE.
11797 (collate_finish): Don't call collseq_table_finalize.
11798 (collate_output): Use new locale_file interface.
11799 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11800 in file.
11801 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11802 (TABLE): Move defines earlier in file.
11803 (ELEMENT): Likewise.
11804 (DEFAULT): Likewise.
11805 (wctrans_table_add): Move macro and inline function earlier in
11806 file.
11807 (struct wctype_table): Move type earlier in file.
11808 (add_locale_wctype_table): New static prototype.
11809 (struct locale_ctype_t): Use logical types instead of struct iovec
11810 pointers for members.
11811 (ctype_output): Use new locale_file interface.
11812 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11813 new locale_file interface.
11814 (allocate_arrays): Update for use of new locale_file interface.
11815 * locale/programs/ld-identification.c (identification_output): Use
11816 new locale_file interface.
11817 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11818 * locale/programs/ld-messages.c (messages_output): Likewise.
11819 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11820 * locale/programs/ld-name.c (name_output): Likewise.
11821 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11822 * locale/programs/ld-paper.c (paper_output): Likewise.
11823 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11824 * locale/programs/ld-time.c (time_output): Likewise.
11825
e029e2e5
AZ
118262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11827
11828 * benchtests/Makefile: Add memrchr benchmark.
11829 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11830 benchmark as memrchr.
11831 * benchtests/bench-memrchr-ifunc.c: New file.
11832 * benchtests/bench-memrchr.c: New file.
11833
bbf6e8e4
WN
118342013-09-06 Will Newton <will.newton@linaro.org>
11835
11836 * benchtests/Makefile (string-bench): Add memcpy.
11837
6c82a2f8
CD
118382013-09-05 Carlos O'Donell <carlos@redhat.com>
11839 Cong Wang <amwang@redhat.com>
11840
e732c5f0 11841 [BZ #15850]
6c82a2f8
CD
11842 * sysdeps/unix/sysv/linux/bits/in.h
11843 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11844 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11845 before __USE_KERNEL_IPV6_DEFS uses.
11846 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11847 IPPROTO_BEETPH.
11848 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11849 sockaddr_in6, or ipv6_mreq.
11850
5430fc65
AZ
118512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852
11853 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11854 memory access for final bytes in some large inputs.
11855 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11856
4660856c
AZ
118572013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11858
11859 * string/test-memrchr.c: New file.
11860 * string/test-memrchr-ifunc.c: New file.
11861 * string/Makefile: Add new memrchr testcase.
11862
bb8ea713
MF
118632013-09-05 Mike Frysinger <vapier@gentoo.org>
11864
11865 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11866 fanotify_init returns EPERM.
11867
b92a20b5
JM
118682013-09-04 Joseph Myers <joseph@codesourcery.com>
11869
11870 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11871 errors.
11872 (top level): Treat second token from macro or constant entries for
11873 allowed headers as allowed.
11874 * include/complex.h: Condition internal declarations on
11875 [!_ISOMAC].
11876 * include/fenv.h: Condition include of <stdbool.h> and internal
11877 declarations on [!_ISOMAC].
7447ccd9
CL
11878
118792013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11880
3e181dda 11881 [BZ #15923]
7447ccd9
CL
11882 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11883
3f2e46a4
JM
118842013-09-04 Joseph Myers <joseph@codesourcery.com>
11885
11886 * configure.in (--enable-versioning): Remove configure option.
11887 (libc_cv_asm_symver_directive): Remove configure test.
11888 (libc_cv_ld_version_script_option): Likewise.
11889 (VERSIONING): Remove variable and AC_SUBST.
11890 (DO_VERSIONING): Remove AC_DEFINE.
11891 * configure: Regenerated.
11892 * config.h.in (DO_VERSIONING): Remove macro.
11893 * Makerules [$(versioning) = yes]: Change conditionals to
11894 [$(build-shared) = yes].
11895 * config.make.in (versioning): Remove variable.
11896 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11897 [$(build-shared) = yes].
11898 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11899 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11900 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11901 [$(build-shared) = yes].
11902 * extra-lib.mk [$(versioning) = yes]: Likewise.
11903 * hurd/Makefile [$(versioning) = yes]: Likewise.
11904 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11905 [SHARED].
11906 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11907 [SHARED].
11908 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11909 [SHARED && !NO_HIDDEN].
11910 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11911 [SHARED].
11912 [SHARED && DO_VERSIONING]: Likewise..
11913 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11914 [$(build-shared) = yes].
11915 * manual/install.texi (--disable-versioning): Remove
11916 documentation.
11917 * INSTALL: Regenerated.
11918 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11919 to [SHARED].
11920 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11921 [$(build-shared) = yes].
11922 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11923 * sysdeps/i386/i686/multiarch/strstr-c.c
11924 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11925 [SHARED && !NO_HIDDEN].
11926 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11927 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11928 * sysdeps/powerpc/powerpc32/dl-machine.c
11929 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11930 * sysdeps/powerpc/powerpc32/sysdep.h
11931 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11932 to [SHARED && PIC && !NO_HIDDEN].
11933 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11934 conditional to [SHARED].
11935
44558701
WN
119362013-09-04 Will Newton <will.newton@linaro.org>
11937
11938 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11939 * benchtests/bench-string.h: Include bench-timing.h instead
11940 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11941 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11942 call to HP_TIMING_DIFF_INIT.
11943 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11944 instead of hp-timing.h macros.
11945 * benchtests/bench-memchr.c: Likewise.
11946 * benchtests/bench-memcmp.c: Likewise.
11947 * benchtests/bench-memcpy.c: Likewise.
11948 * benchtests/bench-memmem.c: Likewise.
11949 * benchtests/bench-memmove.c: Likewise.
11950 * benchtests/bench-memset.c: Likewise.
11951 * benchtests/bench-rawmemchr.c: Likewise.
11952 * benchtests/bench-strcasecmp.c: Likewise.
11953 * benchtests/bench-strcasestr.c: Likewise.
11954 * benchtests/bench-strcat.c: Likewise.
11955 * benchtests/bench-strchr.c: Likewise.
11956 * benchtests/bench-strcmp.c: Likewise.
11957 * benchtests/bench-strcpy.c: Likewise.
11958 * benchtests/bench-strcpy_chk.c: Likewise.
11959 * benchtests/bench-strlen.c: Likewise.
11960 * benchtests/bench-strncasecmp.c: Likewise.
11961 * benchtests/bench-strncat.c: Likewise.
11962 * benchtests/bench-strncmp.c: Likewise.
11963 * benchtests/bench-strncpy.c: Likewise.
11964 * benchtests/bench-strnlen.c: Likewise.
11965 * benchtests/bench-strpbrk.c: Likewise.
11966 * benchtests/bench-strrchr.c: Likewise.
11967 * benchtests/bench-strspn.c: Likewise.
11968 * benchtests/bench-strstr.c: Likewise.
11969
cae16d66
WN
119702013-09-04 Will Newton <will.newton@linaro.org>
11971
11972 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11973
ffa3cd7f
JM
119742013-09-03 Joseph Myers <joseph@codesourcery.com>
11975
11976 [BZ #15427]
11977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11978 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11979 * math/libm-test.inc (lgamma_test_data): Add more tests.
11980 * sysdeps/i386/fpu/libm-test-ulps: Update.
11981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11982
8f02859f
OB
119832013-09-03 Ondřej Bílka <neleai@seznam.cz>
11984
11985 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11987 Add ifunc.
11988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11989 Add strcmp-sse2-unaligned
11990 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11991
18d43716
MF
119922013-09-02 Mike Frysinger <vapier@gentoo.org>
11993
11994 * Versions.def (libc): Add GLIBC_2.19.
11995
ac444012
MF
119962013-09-02 Mike Frysinger <vapier@gentoo.org>
11997
11998 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11999 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12000
b7835e32
JM
120012013-09-02 Joseph Myers <joseph@codesourcery.com>
12002
12003 [BZ #14155]
12004 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12005 intermediate calculations in recurrence.
12006 (__ieee754_ynf): Likewise.
12007 * math/libm-test.inc (jn_test_data): Do not allow spurious
12008 underflow exception. Add more tests.
12009 (yn_test_data): Add more tests.
12010 * sysdeps/i386/fpu/libm-test-ulps: Update.
12011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12012
8220f4f0
OB
120132013-09-02 Ondřej Bílka <neleai@seznam.cz>
12014
12015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12016
f24a6d08
OB
120172013-08-30 Ondřej Bílka <neleai@seznam.cz>
12018
12019 * csu/init-first.c: Fix then/than typos.
12020 * locale/programs/ld-collate.c: Likewise.
12021 * locale/programs/linereader.h: Likewise.
12022 * manual/charset.texi: Likewise.
12023 * manual/filesys.texi: Likewise.
12024 * manual/stdio.texi: Likewise.
12025 * manual/string.texi: Likewise.
12026 * stdlib/fmtmsg.c: Likewise.
12027 * sysdeps/i386/stpncpy.S: Likewise.
12028 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12029 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12031 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12032
382466e0
OB
120332013-08-30 Ondřej Bílka <neleai@seznam.cz>
12034
12035 * elf/dl-open.c: Fix typos.
12036 * iconvdata/gbbig5.c: Likewise.
12037 * iconvdata/iso-2022-jp.c: Likewise.
12038 * iconv/gconv_int.h: Likewise.
12039 * iconv/loop.c: Likewise.
12040 * nis/rpcsvc/nis.h: Likewise.
12041 * resolv/ns_name.c: Likewise.
12042 * stdio-common/vfscanf.c: Likewise.
12043 * streams/stropts.h: Likewise.
12044 * sunrpc/rpc_thread.c: Likewise.
12045 * sysdeps/i386/strpbrk.S: Likewise.
12046 * sysdeps/ieee754/k_standard.c: Likewise.
12047 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12049 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12050 * sysdeps/mach/hurd/profil.c: Likewise.
12051 * sysdeps/s390/dl-procinfo.h: Likewise.
12052 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12053 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12054 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12055 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12057
0186c6e9
OB
120582013-08-30 Ondřej Bílka <neleai@seznam.cz>
12059
12060 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12062
d4e16af1
OB
120632013-08-29 Ondřej Bílka <neleai@seznam.cz>
12064
12065 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12066 aix specific files.
12067 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12069 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12070 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12075
88335980
TS
120762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12077 Roland McGrath <roland@hack.frob.com>
12078
12079 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12080 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12081
ed479b02
ST
120822013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12083
12084 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12085 __executable_start symbol instead of _start.
12086
f1cc4c86
TS
120872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12088
d821f07c
TS
12089 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12090 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12091 Move macros to...
12092 * sysdeps/gnu/ldsodefs.h: ... this new file.
12093
c54290cf
TS
12094 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12095 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12096 instead of ELFOSABI_LINUX.
12097
0007fc9b 12098 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12099 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12100 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12101 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12102 Likewise.
12103 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12104 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12105 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12106 Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12108 (ibm_extended_long_double): Add ieee_nan member.
12109 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12110 (do_test): New function.
12111
f1cc4c86
TS
12112 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12113 TEST_TRUNC.
12114 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12115 functions, renamed from truncdfsf_test, trunctfsf_test,
12116 trunctfdf_test.
12117 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12118 functions.
12119 (do_test): Run all these.
12120
6f65e668
OB
121212013-08-29 Ondřej Bílka <neleai@seznam.cz>
12122
12123 * argp/argp-help.c: Fix typos.
12124 * argp/argp-parse.c: Likewise.
12125 * debug/backtracesyms.c: Likewise.
12126 * elf/elf.h: Likewise.
12127 * malloc/malloc.c: Likewise.
12128 * nis/nis_print.c: Likewise.
12129 * resolv/res_comp.c: Likewise.
12130 * stdlib/stdlib.h: Likewise.
12131 * sunrpc/clnt_tcp.c: Likewise.
12132 * sunrpc/clnt_udp.c: Likewise.
12133 * sunrpc/clnt_unix.c: Likewise.
12134 * sysdeps/unix/bsd/ptsname.c: Likewise.
12135 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12136 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12138 Likewise.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12142 Likewise.
6f65e668
OB
12143 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12144
3a309239
SP
121452013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12146
12147 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12149
3b813b29
MF
121502013-08-27 Mike Frysinger <vapier@gentoo.org>
12151
12152 [BZ #15897]
12153 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12154 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12155 ($(objpfx)bug-dl-leaf): New rule.
12156 ($(objpfx)bug-dl-leaf.so): Likewise.
12157 ($(objpfx)bug-dl-leaf.out): Likewise.
12158 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12159 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12160 * dlfcn/bug-dl-leaf.c: New test.
12161 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12162 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12163 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12164 (dlclose): Likewise.
12165 (dlmopen): Likewise.
12166
8cc3269f
RM
121672013-08-27 Roland McGrath <roland@hack.frob.com>
12168
7f9d0034
RM
12169 * include/netdb.h [!_ISOMAC]:
12170 Don't include <tls.h>.
12171 (h_errno, __libc_h_errno): Move declaration and macros out of
12172 [_LIBC_REENTRANT].
12173
fb431262
RM
12174 * include/resolv.h [_RESOLV_H_]:
12175 Don't include <tls.h>.
12176 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12177 * resolv/res_libc.c: Don't include <tls.h>.
12178 (_res): Use __attribute__ ((nocommon)) in place of
12179 __attribute__ ((section (".bss"))).
12180
bd81123a
RM
12181 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12182 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12183
c4e42566
RM
12184 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12185
f890a59b
RM
12186 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12187 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12188
12189 * resolv/res_mkquery.c: Include <sys/time.h>.
12190
5d1f0a09
RM
12191 * inet/ifreq.c: Moved to ...
12192 * sysdeps/unix/ifreq.c: ... here.
12193 * inet/ifreq.c: New file, true stub version.
12194
6fcf28b3
RM
12195 * socket/sa_len.c: New file.
12196 * socket/Makefile (aux): Add it.
12197 * sysdeps/unix/sysv/linux/Makefile
12198 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12199 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12200 and #include <socket/sa_len.c>.
12201 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12202 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12203
e041fb8b
RM
12204 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12205 * bits/socket.h: ... here.
12206
8cc3269f
RM
12207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12208 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12209 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12210
5d228a43
AS
122112013-08-27 Andreas Schwab <schwab@suse.de>
12212
45b8accc
AS
12213 [BZ #15736]
12214 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12215 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12216 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12217 * string/test-strcasecmp.c (test_main): Run tests in several
12218 locales.
12219 * string/test-strncasecmp.c (test_main): Likewise.
12220
5d228a43
AS
12221 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12222 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12223 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12225 (__strncasecmp_ssse3) [PIC]: Likewise.
12226
59d112a4
RM
122272013-08-26 Roland McGrath <roland@hack.frob.com>
12228
53234cc3
RM
12229 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12230
59d112a4
RM
12231 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12232 instead of explicitly declaring xdecrypt.
12233 * nis/nss_nis/nis-publickey.c: Likewise.
12234
595aba70
SP
122352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 [BZ #15890]
12238 * nscd/aicache.c: Include res_hconf.h.
12239 (addhstaiX): Initialize res_hconf.
12240
ffabd393
AS
122412013-08-26 Andreas Schwab <schwab@suse.de>
12242
12243 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12244 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12245
e0a69f5c
SP
122462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12247
12248 * nscd/aicache.c (addhstaiX): Fix indentation.
12249
8c12f01d
MF
122502013-08-25 Mike Frysinger <vapier@gentoo.org>
12251
12252 * configure.ac: Quote $build_pt_chown test.
12253 * configure: Regenerated.
12254
8fe89494
JM
122552013-08-23 Joseph Myers <joseph@codesourcery.com>
12256
12257 [BZ #15532]
12258 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12259 * math/s_cexpf.c (__cexpf): Likewise.
12260 * math/s_cexpl.c (__cexpl): Likewise.
12261 * math/libm-test.inc (cexp_test_data): Correct expected return
12262 value for NaN + i0. Add another test.
12263
75b181d6
DM
122642013-08-22 David S. Miller <davem@davemloft.net>
12265
12266 * po/ca.po: Update Catalan translation from translation project.
936241e4 12267 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12268
acd06bb1
JM
122692013-08-21 Joseph Myers <joseph@codesourcery.com>
12270
12271 [BZ #15797]
12272 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12273 is infinite, not alongside NaN test.
12274 * math/s_fdimf.c (__fdimf): Likewise.
12275 * math/s_fdiml.c (__fdiml): Likewise.
12276 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12277 errno is unchanged.
12278
c0c3f78a
OB
122792013-08-21 Ondřej Bílka <neleai@seznam.cz>
12280
12281 * argp/argp-help.c: Fix typos.
12282 * crypt/speeds.c: Likewise.
12283 * csu/check_fds.c: Likewise.
12284 * elf/dl-load.c: Likewise.
12285 * elf/dl-open.c: Likewise.
12286 * elf/reldep3.c: Likewise.
12287 * elf/reldep.c: Likewise.
12288 * elf/sprof.c: Likewise.
12289 * iconv/iconv_charmap.c: Likewise.
12290 * iconv/skeleton.c: Likewise.
12291 * iconv/strtab.c: Likewise.
12292 * io/lockf64.c: Likewise.
12293 * libio/libioP.h: Likewise.
12294 * resolv/gai_notify.c: Likewise.
12295 * resolv/ns_name.c: Likewise.
12296 * resolv/ns_samedomain.c: Likewise.
12297 * resolv/res_send.c: Likewise.
12298 * stdlib/random.c: Likewise.
12299 * sunrpc/rpc/xdr.h: Likewise.
12300 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12301 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12308 * sysdeps/mach/hurd/check_fds.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12310 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12313 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12314 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12315 * sysdeps/pthread/aio_notify.c: Likewise.
12316 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12317 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12318 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12319 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12320 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12321
46ed1038
LD
123222013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12323
12324 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12325 version if bit_Slow_SSE4_2 is set.
12326 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12328
d400dcac
AZ
123292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12330
12331 [BZ #15867]
12332 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12333 trampoline stack frame information.
12334 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12336 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12337 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12338 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12339 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12340 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12341 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12342 sa_flags value.
12343 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12344 interrupting a syscall and set with option SA_SIGINFO.
12345
42c8fdd8
JM
123462013-08-20 Joseph Myers <joseph@codesourcery.com>
12347
c980f2f4
JM
12348 [BZ #15531]
12349 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12350 argument is infinite.
12351 * math/s_cprojf.c (__cprojf): Likewise.
12352 * math/s_cprojl.c (__cprojl): Likewise.
12353 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12354 * math/libm-test.inc (cproj_test_data): Add more tests.
12355
0716c4fc
JM
12356 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12357
42c8fdd8
JM
12358 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12359 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12360 size. Use __ffs to determine corresponding shift.
12361
b31469d0
JM
123622013-08-20 Joseph Myers <joseph@codesourcery.com>
12363 Roland McGrath <roland@hack.frob.com>
12364
12365 * Makefile (INSTALL): Remove trailing blank lines from output of
12366 makeinfo.
12367
4e39af6e
AK
123682013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12369
12370 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12371 Align 32 bit compat elf_greg to 8 bytes.
12372
f315524e
AA
123732013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12374
12375 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12376
1326ba1a
SP
123772013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12378
12379 * string/strcoll_l.c (coll_seq): New structure.
12380 (get_next_seq_cached): New function.
12381 (get_next_seq): New function.
12382 (do_compare): New function.
12383 (STRCOLL): Use GNU style definition. Simplify implementation
12384 by using get_next_seq, get_next_seq_cached and do_compare.
12385
91ce4085
FW
123862013-08-16 Florian Weimer <fweimer@redhat.com>
12387
12388 [BZ #14699]
12389 CVE-2013-4237
12390 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12391 member.
12392 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12393 member.
12394 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12395 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12396 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12397 conditional.
12398 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12399 GETDENTS_64BIT_ALIGNED.
12400 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12401 * manual/filesys.texi (Reading/Closing Directory): Document
12402 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12403 strongly.
12404 * manual/conf.texi (Limits for Files): Add portability note to
12405 NAME_MAX, PATH_MAX.
12406 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12407
ca0a6bc4
AS
124082013-08-13 Andreas Schwab <schwab@suse.de>
12409
12410 [BZ #15749]
12411 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12412 of fabs.
12413 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12414 LDBL_MAX_EXP >= 16384]: Add tests for it.
12415
6c1fd795
DM
124162013-08-12 David S. Miller <davem@davemloft.net>
12417
12418 * version.h (RELEASE): Set to "development".
12419 (VERSION): Set to "2.18.90".
12420 * NEWS: Add 2.19 section.
12421
31ad488d
DM
124222013-08-03 David S. Miller <davem@davemloft.net>
12423
12424 * po/ko.po: Update Korean translation from translation project.
12425
db24e684
DM
124262013-08-01 David S. Miller <davem@davemloft.net>
12427
12428 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12429 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12430 Bilka.
12431
f723285b
DM
124322013-07-30 David S. Miller <davem@davemloft.net>
12433
12434 * po/fr.po: Update French translation from translation project.
12435
3cbc52db
DM
124362013-07-28 David S. Miller <davem@davemloft.net>
12437
30bbc0cc
DM
12438 * po/cs.po: Update Czech translation from translation project.
12439
3cbc52db
DM
12440 * po/sv.po: Update Swedish translation from translation project.
12441
d492e6d0
DM
124422013-07-27 David S. Miller <davem@davemloft.net>
12443
f1a7f492
DM
12444 * po/eo.po: Update Esperanto translation from translation project.
12445
90e62a4a
DM
12446 * po/vi.po: Update Vietnamese translation from translation project.
12447
d492e6d0
DM
12448 * po/de.po: Update German translation from translation project.
12449
d4baa62d
DM
124502013-07-26 David S. Miller <davem@davemloft.net>
12451
641aa7b4
DM
12452 * po/bg.po: Update Bulgarian translation from translation project.
12453
d4baa62d
DM
12454 * po/nl.po: Update Dutch translation from translation project.
12455 * po/pl.po: Update Polish translation from translation project.
12456 * po/ru.po: Update Russian translation from translation project.
12457
61a9dcb9
DM
124582013-07-24 David S. Miller <davem@davemloft.net>
12459
12460 * po/libc.pot: Update.
12461
7b1f8b58
AZ
124622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12463
12464 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12465 variable page size.
12466 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12467 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12468 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12469
a8fc7a03
AK
124702013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12471
12472 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12473
e4608715
CD
124742013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12475 Andreas Schwab <schwab@suse.de>
12476 Roland McGrath <roland@hack.frob.com>
12477 Joseph Myers <joseph@codesourcery.com>
12478 Carlos O'Donell <carlos@redhat.com>
12479
12480 [BZ #15755]
12481 * config.h.in: Define HAVE_PT_CHOWN.
12482 * config.make.in (build-pt-chown): New variable.
12483 * configure.in (--enable-pt_chown): New configure option.
12484 * configure: Regenerate.
12485 * login/Makefile: Include Makeconfig. Build pt_chown only if
12486 build-pt-chown is enabled.
12487 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12488 pt_chown to fix pty ownership.
12489 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12490 CLOSE_ALL_FDS.
12491 * manual/install.texi (Configuring and compiling): Mention
12492 --enable-pt_chown. Add @findex for grantpt.
12493 * INSTALL: Regenerate.
12494
da2d62df
DM
124952013-07-20 David S. Miller <davem@davemloft.net>
12496
12497 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12498 difference between 32-bit and 64-bit.
12499
d7e06450
CD
125002013-07-15 Carlos O'Donell <carlos@redhat.com>
12501
12502 [BZ #15711]
12503 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12504 Avoid system header dependency with -ffreestanding.
12505 ($(objpfx)bits/syscall%d): Likewise.
12506
f959cfd7
DM
125072013-07-13 David S. Miller <davem@davemloft.net>
12508
12509 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12510 underflows from atanl/atan2l due to bug 15319.
12511 (casinh_test_data): Likewise.
12512
c61f8513
DM
125132013-07-07 David S. Miller <davem@davemloft.net>
12514
12515 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12516
72c90ed0
JA
125172013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12518
12519 * sysdeps/i386/fpu/libm-test-ulps: Update.
12520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521
52dfbe13
SP
125222013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12523
12524 * configure.in (--enable-lock-elision): Fix message text.
12525 * INSTALL: Regenerate.
12526 * configure: Regenerate.
12527
3f169543
AZ
125282013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12529
12530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12531
521c6785
AJ
125322013-07-03 Andreas Jaeger <aj@suse.de>
12533
12534 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12535 define.
12536 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12537 (ptrace_peeksiginfo_args): Add.
12538 (__ptrace_peeksiginfo_flags): Add.
12539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12542
d2cc15cb
AM
125432013-07-03 Allan McRae <allan@archlinux.org>
12544
12545 * sysdeps/i386/fpu/libm-test-ulps: Update.
12546
3aaeeca7
DM
125472013-07-02 David S. Miller <davem@davemloft.net>
12548
12549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12550
5314ed1a
MT
125512013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12552
12553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12554
67338156
JM
125552013-07-02 Joseph Myers <joseph@codesourcery.com>
12556
12557 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559
1717da59
AK
125602013-07-02 Andi Kleen <ak@linux.intel.com>
12561
12562 * config.h.in (ENABLE_LOCK_ELISION): Add.
12563 * configure.in (--enable-lock-elision): Add option.
12564 * manual/install.texi: Document --enable lock elision.
12565 * configure: Regenerate
12566 * INSTALL: Regenerate.
12567
1c81621c
L
125682013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12571 SSE4.2 strcasecmp for libc.a.
12572 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12573
77f01ab5
JM
125742013-07-02 Joseph Myers <joseph@codesourcery.com>
12575
12576 [BZ #13304]
12577 * soft-fp/op-common.h (_FP_FMA): New macro.
12578 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12579 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12580 (_FP_MUL_MEAT_1_imm): ... here.
12581 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12582 (_FP_MUL_MEAT_1_wide): ... here.
12583 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12584 (_FP_MUL_MEAT_1_hard): ... here.
12585 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12586 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12587 (_FP_MUL_MEAT_2_wide): ... here.
12588 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12589 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12590 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12591 (_FP_MUL_MEAT_2_gmp): ... here.
12592 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12593 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12594 (_FP_MUL_MEAT_4_wide): ... here.
12595 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12596 (_FP_MUL_MEAT_4_gmp): ... here.
12597 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12598 (_FP_WFRACBITS_DW_S): Likewise.
12599 (_FP_WFRACXBITS_DW_S): Likewise.
12600 (_FP_HIGHBIT_DW_S): Likewise.
12601 (FP_FMA_S): Likewise.
12602 (_FP_FRAC_HIGH_DW_S): Likewise.
12603 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12604 (_FP_WFRACBITS_DW_D): Likewise.
12605 (_FP_WFRACXBITS_DW_D): Likewise.
12606 (_FP_HIGHBIT_DW_D): Likewise.
12607 (FP_FMA_D): Likewise.
12608 (_FP_FRAC_HIGH_DW_D): Likewise.
12609 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12610 (_FP_WFRACBITS_DW_E): Likewise.
12611 (_FP_WFRACXBITS_DW_E): Likewise.
12612 (_FP_HIGHBIT_DW_E): Likewise.
12613 (FP_FMA_E): Likewise.
12614 (_FP_FRAC_HIGH_DW_E): Likewise.
12615 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12616 (_FP_WFRACBITS_DW_Q): Likewise.
12617 (_FP_WFRACXBITS_DW_Q): Likewise.
12618 (_FP_HIGHBIT_DW_Q): Likewise.
12619 (FP_FMA_Q): Likewise.
12620 (_FP_FRAC_HIGH_DW_Q): Likewise.
12621 * soft-fp/fmasf4.c: New file.
12622 * soft-fp/fmadf4.c: Likewise.
12623 * soft-fp/fmatf4.c: Likewise.
12624
6308fd9a
LD
126252013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12626
12627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12628 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12629 Silvermont.
12630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12631 macro.
12632 (index_Slow_SSE4_2): Likewise.
12633 (index_Prefer_PMINUB_for_stringop): Likewise.
12634 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12635 bit_Slow_SSE4_2 is set.
12636 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12638
89cd9569
RA
126392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12640
12641 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12642 rtld_global._dl_hwcap2.
12643 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12644 POWER8.
12645 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12646 POWER8 feature descriptions defined in _dl_hwcap2.
12647 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12648 string handling for POWER8 feature bits.
12649 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12650 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12651 _dl_powerpc_cap_flags.
12652 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12653 * sysdeps/powerpc/rtld-global-offsets.sym
12654 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12655 _dl_hwcap2 in the rtld_global_ro structure.
12656
1ae8bfe0
RA
126572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12658
12659 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12660 hardware capabilities in support of AT_HWCAP2.
12661 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12662 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12663 GLRO(dl_hwcap2).
12664 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12665 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12666 explicitly the unknown a_type display mechanism is used.
12667 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12668 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12669 struct member.
12670 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12671 to macro prototype for AT_HWCAP2 support.
12672 * sysdeps/i386/dl-procinfo.h: Likewise.
12673 * sysdeps/s390/dl-procinfo.h: Likewise.
12674 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12675 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12676 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12677 return -1 for unknown a_type display fallback.
12678 * sysdeps/sparc/dl-procinfo.h: Likewise.
12679 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12680 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12681
8fbec010
JM
126822013-06-28 Joseph Myers <joseph@codesourcery.com>
12683
12684 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12685 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12686
0432680e
PY
126872013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12688
12689 [BZ #12492]
12690 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12691 mprotect making __stack_prot writable.
12692
ce61a2ad
NF
126932013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12694 Joseph Myers <joseph@codesourcery.com>
12695
12696 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12697 as being properly aligned.
12698
f91f1c0f
MR
126992013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12700
3d0f5d0c
MR
12701 * dlfcn/modstatic5.c: New file.
12702 * dlfcn/tststatic5.c: New file.
12703 * dlfcn/Makefile (tests): Add tststatic5.
12704 (tests-static): Likewise.
12705 (modules-names): Add modstatic5.
12706 (tststatic5-ENV): New variable.
12707 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12708
f91f1c0f
MR
12709 [BZ #15022]
12710 * elf/dl-support.c (_dl_main_map): New variable.
12711 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12712 (_dl_nns, _dl_load_adds): Set to 1.
12713 (_dl_initial_searchlist): Refer to _dl_main_map.
12714 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12715 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12716 call to _dl_get_origin.
12717 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12718 around call_map.
12719 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12720 * dlfcn/modstatic3.c: New file.
12721 * dlfcn/tststatic3.c: New file.
12722 * dlfcn/tststatic4.c: New file.
12723 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12724 (tests-static): Likewise.
12725 (modules-names): Add modstatic3.
12726 (tststatic3-ENV, tststatic4-ENV): New variables.
12727 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12728 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12729
cbe7d24b
JM
127302013-06-26 Joseph Myers <joseph@codesourcery.com>
12731
12732 * configure.in (CC): Require GCC version 4.4 or later.
12733 * configure: Regenerated.
12734 * manual/install.texi (Tools for Compilation): Update GCC version
12735 requirement.
12736 * INSTALL: Regenerated.
12737
11b8a0e1
LD
127382013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12739
12740 [BZ #15674]
bb5bb87c
L
12741 * string/test-memcmp.c (check2): New.
12742 (main): Call check2.
12743
11b8a0e1
LD
12744 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12745
b0037103
MR
127462013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12747
12748 [BZ #15022]
12749 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12750 over to...
12751 (dl_open_worker) [!SHARED]: ... here.
12752
c18c701d
RA
127532013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12754
12755 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12756
1d17fa5f
RH
127572013-06-25 Richard Henderson <rth@redhat.com>
12758
12759 * locale/programs/locarchive.c: Include <libc-internal.h>
12760
8fcb833a
JM
127612013-06-25 Joseph Myers <joseph@codesourcery.com>
12762
12763 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12764 trailing whitespace removed.
12765
17db6e8d
MF
127662013-06-24 Mike Frysinger <vapier@gentoo.org>
12767
12768 [BZ #10283]
17db6e8d
MF
12769 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12770 * locale/programs/locarchive.c: Include libc-mmap.h.
12771 (prepare_address_space): Take two new outputs (the mmap base and len).
12772 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12773 values.
12774 (create_archive): Declare new mmap base and len values for
12775 prepare_address_space, and store the result in ah.
12776 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12777 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12778 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12779 Declare new mmap base and len values for
12780 prepare_address_space, and store the result in new_ah.
12781 (open_archive): Declare new mmap base and len values for
12782 prepare_address_space, and store the result in ah.
12783 (close_archive): If ah->mmap_base is not NULL, use that and
12784 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12785 * sysdeps/generic/libc-mmap.h: New file.
12786
d605071e
MF
127872013-06-24 Mike Frysinger <vapier@gentoo.org>
12788
12789 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12790 (ALIGN_UP): Likewise.
12791 (PTR_ALIGN_DOWN): Likewise.
12792 (PTR_ALIGN_UP): Likewise.
12793
2f063a6e
RA
127942013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12795
12796 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12797 entry mapped to PPC_PLATFORM_POWER8.
12798 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12799 POWER8.
12800 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12801 (_dl_string_platform): Add case for exporting platform position for
12802 POWER8.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12804 search path to sysdeps/powerpc/powerpc32/power8 directory.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12806 search path to sysdeps/powerpc/powerpc64/power8 directory.
12807 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12808 power7 directories.
12809 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12810 power7 directories.
12811
a31ee4b3
SP
128122013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12813
a74ca98f
SP
12814 * INSTALL: Regenerate.
12815
a31ee4b3
SP
12816 * nscd/connections.c (nscd_init): Fix comment.
12817
695c378f
JM
128182013-06-22 Joseph Myers <joseph@codesourcery.com>
12819
d8412221
JM
12820 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12821
695c378f
JM
12822 [BZ #15667]
12823 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12824 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12825
d1d54715
MR
128262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12827
12828 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12829 DL_DST_REQ_STATIC.
12830 (DL_DST_REQ_STATIC): Remove macro.
12831
8fdda7af
JM
128322013-06-21 Joseph Myers <joseph@codesourcery.com>
12833
12834 [BZ #7006]
12835 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12836 with a shift of 0 bits.
12837
f3bc5e5a
MR
128382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12839
12840 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12841 $(tststatic-ENV).
12842
be09e8c9
KK
128432013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12844
12845 [BZ #15655]
12846 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12847
85c2e611
AZ
128482013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12849
12850 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12851 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12852 accepts -fno-tree-loop-distribute-patterns.
12853 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12854 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12855 recursive call.
12856 * string/memset.c (memset): Likewise.
12857 * string/test-memmove.c (simple_memmove): Disable loop transformation
12858 to library calls.
12859 * string/test-memset.c (simple_memset): Likewise.
12860 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12861 * benchtests/bench-memset.c (simple_memset): Likewise.
12862 * configure: Regenerated.
12863
c91e0825
JM
128642013-06-20 Joseph Myers <joseph@codesourcery.com>
12865
b8c792af
JM
12866 * math/test-misc.c (main): Ignore fesetround failure when failures
12867 of subsequent rounding tests would be ignored.
12868
c91e0825
JM
12869 [BZ #15654]
12870 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12871 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12872 * math/fegetenv.c (__fegetenv): Return 0.
12873 * math/fegetexcept.c (fegetexcept): Return 0.
12874 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12875 FE_TONEAREST.
12876 * math/feholdexcpt.c (feholdexcept): Return 0.
12877 * math/fesetenv.c (__fesetenv): Return 0.
12878 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12879 argument FE_TONEAREST.
12880 * math/feupdateenv.c (__feupdateenv): Return 0.
12881 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12882
bfcacbde
RM
128832013-06-18 Roland McGrath <roland@hack.frob.com>
12884
12885 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12886 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12887 ($(objpfx)rtld-%.os rules): Use them.
12888
e55a9b25
AZ
128892013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12890
12891 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12892 fields.
12893
346d65b3
RM
128942013-06-17 Roland McGrath <roland@hack.frob.com>
12895
12086fb4
RM
12896 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12897 length of target pattern, then descending length of dependency pattern.
12898 * configure.in (AWK): Require gawk 3.1.2 or newer.
12899 * manual/install.texi (Tools for Compilation): Say that we do.
12900 * configure: Regenerated.
12901
346d65b3
RM
12902 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12903 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12904 * scripts/sysd-rules.awk: ... this new script.
12905 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12906 than a glob-style pattern.
12907
1a846317
JM
129082013-06-17 Joseph Myers <joseph@codesourcery.com>
12909
12910 * math/test-misc.c (main): Do not treat incorrectly rounded
12911 conversions as failure unless ROUNDING_TESTS passes.
12912
8fc75e6f
JM
129132013-06-15 Joseph Myers <joseph@codesourcery.com>
12914
3711a167
JM
12915 [BZ #15631]
12916 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12917 restore exception state around main square root computation, then
12918 check for inexactness explicitly.
12919
8fc75e6f
JM
12920 * math/libm-test.inc (fma_test_data): Add another test.
12921
61dd6208
SP
129222013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12923
adf23d2c
SP
12924 * manual/threads.texi (Non-POSIX Extensions): New document
12925 node. Document pthread_getattr_default_np and
12926 pthread_setattr_default_np.
12927
61dd6208
SP
12928 * Versions.def (libpthread): Add GLIBC_2.18.
12929 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12931 Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12933 Likewise.
12934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12935 Likewise.
12936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12937 Likewise.
12938 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12939 Likewise.
12940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12941 Likewise.
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12943 Likewise.
12944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12945 Likewise.
12946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12947 Likewise.
12948
d086fc7b
LD
129492013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12950
12951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12952 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12953
747ef469
SP
129542013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12955 H.J. Lu <hjl.tools@gmail.com>
12956
12957 [BZ #15627]
12958 * sysdeps/x86_64/rtld-memset.c: Remove file.
12959 * sysdeps/x86_64/rtld-memset.S: New file.
12960
1b2feed2
JM
129612013-06-14 Joseph Myers <joseph@codesourcery.com>
12962
12963 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12964 (test_in_one_mode): Take arguments for whether the rounding mode
12965 is supported for each floating-point type.
12966 (do_test): Pass new arguments to test_in_one_mode using
12967 ROUNDING_TESTS.
12968
a58ad3f8
RM
129692013-06-13 Roland McGrath <roland@hack.frob.com>
12970
12971 * posix/tst-waitid.c (do_test): Distinguish different instances of
12972 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12973 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12974 before entering the kernel for waitpid.
12975
c204ab28
SP
129762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12977
12978 * NEWS: Fix note on clock function precision. Text by Roland
12979 McGrath.
12980
f4a29fba
RM
129812013-06-13 Roland McGrath <roland@hack.frob.com>
12982
12983 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12984 it into place only when and if the sanity check passes.
12985
1f24b9ad
JM
129862013-06-13 Joseph Myers <joseph@codesourcery.com>
12987
12988 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12989 output for whether conversion result is exact. Take argument
12990 indicating whether type is IBM long double.
12991 (round_for_all): Change need_exact field to ibm_ld.
12992 * stdlib/tst-strtod-round.c (struct exactness): New type.
12993 (struct test): Change bool ld_ok field to struct exactness exact.
12994 (TEST): Update all definitions for change to field.
12995 (tests): Regenerate array contents.
12996 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12997 field value. Check for IBM long double here.
12998 (do_test): Update calls to test_in_one_mode.
12999
58206c68
SP
130002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13001
13002 [BZ #12515]
13003 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13004 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13005
2d6f4c5b 130062013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13007
13008 [BZ #15605]
13009 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13010 generated by the compiler on loop optimizations.
13011 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13012 general definitions.
13013
94f2c076
JM
130142013-06-12 Joseph Myers <joseph@codesourcery.com>
13015
13016 * math/bug-nextafter.c: Include <math-tests.h>.
13017 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13018 the relevant type.
13019 * math/bug-nexttoward.c: Include <math-tests.h>.
13020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13021 the relevant type.
13022 * math/test-misc.c: Include <math-tests.h>.
13023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13024 the relevant type.
13025
e0e50a0a
AJ
130262013-06-12 Andreas Jaeger <aj@suse.de>
13027
13028 * po/ia.po: Update Interlingua translation from translation
13029 project.
13030
25061094
SP
130312013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13032
13033 * include/fenv.h: Include stdbool.h.
13034 (struct rm_ctx): New structure.
13035 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13036 Define macro.
13037 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13038 (SET_RESTORE_ROUNDF): Likewise.
13039 (SET_RESTORE_ROUNDL): Likewise.
13040 (SET_RESTORE_ROUND_NOEX): Likewise.
13041 (SET_RESTORE_ROUND_NOEXF): Likewise.
13042 (SET_RESTORE_ROUND_NOEXL): Likewise.
13043 (SET_RESTORE_ROUND_53BIT): Likewise.
13044 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13045 (libc_feresetround_noexf_ctx): Likewise.
13046 (libc_feresetround_noexl_ctx): Likewise.
13047 (libc_feholdsetround_53bit_ctx): Likewise.
13048 (libc_feresetround_53bit_ctx): Likewise.
13049 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13050 (libc_feholdexcept_setround_sse_ctx): New function.
13051 (libc_fesetenv_sse_ctx): Likewise.
13052 (libc_feupdateenv_sse_ctx): Likewise.
13053 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13054 (libc_feholdexcept_setround_387_ctx): Likewise.
13055 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13056 (libc_feholdsetround_387_prec_ctx): Likewise.
13057 (libc_feholdsetround_387_ctx): Likewise.
13058 (libc_feholdsetround_387_53bit_ctx): Likewise.
13059 (libc_feholdsetround_sse_ctx): Likewise.
13060 (libc_feresetround_sse_ctx): Likewise.
13061 (libc_feresetround_387_ctx): Likewise.
13062 (libc_feupdateenv_387_ctx): Likewise.
13063 (libc_feholdexcept_setroundf_ctx): Define macro.
13064 (libc_fesetenvf_ctx): Likewise.
13065 (libc_feupdateenvf_ctx): Likewise.
13066 (libc_feholdsetroundf_ctx): Likewise.
13067 (libc_feresetroundf_ctx): Likewise.
13068 (libc_feholdexcept_setround_ctx): Likewise.
13069 (libc_fesetenv_ctx): Likewise.
13070 (libc_feupdateenv_ctx): Likewise.
13071 (libc_feholdsetround_ctx): Likewise.
13072 (libc_feresetround_ctx): Likewise.
13073 (libc_feholdexcept_setroundl_ctx): Likewise.
13074 (libc_feupdateenvl_ctx): Likewise.
13075 (libc_feholdsetroundl_ctx): Likewise.
13076 (libc_feresetroundl_ctx): Likewise.
13077 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13078 (libc_feresetround_53bit_ctx): Likewise.
13079
59b30555
SP
130802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13081
13082 * locale/iso-639.def: Convert to UTF-8.
13083
f1d73d30
JM
130842013-06-11 Joseph Myers <joseph@codesourcery.com>
13085
13086 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13087 (EXCEPTION_TESTS_double): Likewise.
13088 (EXCEPTION_TESTS_long_double): Likewise.
13089 (EXCEPTION_TESTS): Likewise.
13090 * math/libm-test.inc (test_exceptions): Only test exceptions if
13091 EXCEPTION_TESTS (FLOAT).
13092
94aca5e7
SP
130932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13094
13095 * benchtests/Makefile (string-bench): Add strcpy_chk and
13096 stpcpy_chk.
13097 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13098 * benchtests/bench-stpcpy_chk.c: New file.
13099 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13100 * benchtests/bench-strcpy_chk.c: New file.
13101 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13102 code.
13103 (do_test): Likewise.
13104
fac0c5f2
RA
131052013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13106
13107 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13108 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13109 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13110 with tabs where appropriate.
13111 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13112 dl-procinfo.h.
13113 [PPC_PLATFORM_PPC440]: Likewise.
13114 [PPC_PLATFORM_PPC464]: Likewise.
13115 [PPC_PLATFORM_PPC476]: Likewise.
13116 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13117 ppc464, and ppc476 platform strings merging from ports/
13118 dl-procinfo.h.
13119
f22bc486
AS
131202013-06-11 Andreas Schwab <schwab@suse.de>
13121
13122 [BZ #14991]
13123 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13124 (from_ucs4_idx): Regenerate.
13125 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13126 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13127 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13128 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13129 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13130 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13131 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13132 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13133 from FROM_LOOP and TO_LOOP specific macros.
13134 (BODY): Handle combining characters.
13135 * iconvdata/BIG5HKSCS.irreversible: Update.
13136 * iconvdata/BIG5HKSCS.precomposed: New file.
13137 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13138 characters.
13139 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13140
c1f75dc3
SP
131412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13142
4eacded2
SP
13143 * include/sys/time.h: Fix indentation and add copyright header.
13144
fec799f8
SP
13145 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13146 (do_test): Likewise.
13147 * string/test-memchr.c (do_one_test): Likewise.
13148 (do_test): Likewise.
13149 * string/test-memcmp.c (do_one_test): Likewise.
13150 (do_test): Likewise.
13151 * string/test-memcpy.c (do_one_test): Likewise.
13152 (do_test): Likewise.
13153 * string/test-memmem.c (do_one_test): Likewise.
13154 (do_test): Likewise.
13155 (do_random_tests): Likewise.
13156 * string/test-memmove.c (do_one_test): Likewise.
13157 (do_test): Likewise.
13158 * string/test-memset.c (do_one_test): Likewise.
13159 (do_test): Likewise.
13160 * string/test-rawmemchr.c (do_one_test): Likewise.
13161 (do_test): Likewise.
13162 * string/test-strcasecmp.c (do_one_test): Likewise.
13163 (do_test): Likewise.
13164 * string/test-strcasestr.c (do_one_test): Likewise.
13165 (do_test): Likewise.
13166 * string/test-strcat.c (do_one_test): Likewise.
13167 (do_test): Likewise.
13168 * string/test-strchr.c (do_one_test): Likewise.
13169 (do_test): Likewise.
13170 * string/test-strcmp.c (do_one_test): Likewise.
13171 (do_test): Likewise.
13172 * string/test-strcpy.c (do_one_test): Likewise.
13173 (do_test): Likewise.
13174 * string/test-string.h: Likewise.
13175 (test_init): Likewise.
13176 * string/test-strlen.c (do_one_test): Likewise.
13177 (do_test): Likewise.
13178 * string/test-strncasecmp.c (do_one_test): Likewise.
13179 (do_test): Likewise.
13180 * string/test-strncat.c (do_one_test): Likewise.
13181 (do_test): Likewise.
13182 * string/test-strncmp.c (do_one_test): Likewise.
13183 (do_test_limit): Likewise.
13184 (do_test): Likewise.
13185 * string/test-strncpy.c (do_one_test): Likewise.
13186 (do_test): Likewise.
13187 * string/test-strnlen.c (do_one_test): Likewise.
13188 (do_test): Likewise.
13189 * string/test-strpbrk.c (do_one_test): Likewise.
13190 (do_test): Likewise.
13191 * string/test-strrchr.c (do_one_test): Likewise.
13192 (do_test): Likewise.
13193 * string/test-strspn.c (do_one_test): Likewise.
13194 (do_test): Likewise.
13195 * string/test-strstr.c (do_one_test): Likewise.
13196 (do_test): Likewise.
13197
97020474
SP
13198 * benchtests/Makefile (string-bench): Add string benchmarks.
13199 * benchtests/bench-bcopy-ifunc.c: New file.
13200 * benchtests/bench-bcopy.c: New file.
13201 * benchtests/bench-bzero-ifunc.c: New file.
13202 * benchtests/bench-bzero.c: New file.
13203 * benchtests/bench-memccpy-ifunc.c: New file.
13204 * benchtests/bench-memccpy.c: New file.
13205 * benchtests/bench-memchr-ifunc.c: New file.
13206 * benchtests/bench-memchr.c: New file.
13207 * benchtests/bench-memcmp-ifunc.c: New file.
13208 * benchtests/bench-memcmp.c: New file.
13209 * benchtests/bench-memmem-ifunc.c: New file.
13210 * benchtests/bench-memmem.c: New file.
13211 * benchtests/bench-memmove-ifunc.c: New file.
13212 * benchtests/bench-memmove.c: New file.
13213 * benchtests/bench-mempcpy-ifunc.c: New file.
13214 * benchtests/bench-mempcpy.c: New file.
13215 * benchtests/bench-memset-ifunc.c: New file.
13216 * benchtests/bench-memset.c: New file.
13217 * benchtests/bench-rawmemchr-ifunc.c: New file.
13218 * benchtests/bench-rawmemchr.c: New file.
13219 * benchtests/bench-stpcpy-ifunc.c: New file.
13220 * benchtests/bench-stpcpy.c: New file.
13221 * benchtests/bench-stpncpy-ifunc.c: New file.
13222 * benchtests/bench-stpncpy.c: New file.
13223 * benchtests/bench-strcasecmp-ifunc.c: New file.
13224 * benchtests/bench-strcasecmp.c: New file.
13225 * benchtests/bench-strcasestr-ifunc.c: New file.
13226 * benchtests/bench-strcasestr.c: New file.
13227 * benchtests/bench-strcat-ifunc.c: New file.
13228 * benchtests/bench-strcat.c: New file.
13229 * benchtests/bench-strchr-ifunc.c: New file.
13230 * benchtests/bench-strchr.c: New file.
13231 * benchtests/bench-strchrnul-ifunc.c: New file.
13232 * benchtests/bench-strchrnul.c: New file.
13233 * benchtests/bench-strcmp-ifunc.c: New file.
13234 * benchtests/bench-strcmp.c: New file.
13235 * benchtests/bench-strcpy-ifunc.c: New file.
13236 * benchtests/bench-strcpy.c: New file.
13237 * benchtests/bench-strcspn-ifunc.c: New file.
13238 * benchtests/bench-strcspn.c: New file.
13239 * benchtests/bench-strlen-ifunc.c: New file.
13240 * benchtests/bench-strlen.c: New file.
13241 * benchtests/bench-strncasecmp-ifunc.c: New file.
13242 * benchtests/bench-strncasecmp.c: New file.
13243 * benchtests/bench-strncat-ifunc.c: New file.
13244 * benchtests/bench-strncat.c: New file.
13245 * benchtests/bench-strncmp-ifunc.c: New file.
13246 * benchtests/bench-strncmp.c: New file.
13247 * benchtests/bench-strncpy-ifunc.c: New file.
13248 * benchtests/bench-strncpy.c: New file.
13249 * benchtests/bench-strnlen-ifunc.c: New file.
13250 * benchtests/bench-strnlen.c: New file.
13251 * benchtests/bench-strpbrk-ifunc.c: New file.
13252 * benchtests/bench-strpbrk.c: New file.
13253 * benchtests/bench-strrchr-ifunc.c: New file.
13254 * benchtests/bench-strrchr.c: New file.
13255 * benchtests/bench-strspn-ifunc.c: New file.
13256 * benchtests/bench-strspn.c: New file.
13257 * benchtests/bench-strstr-ifunc.c: New file.
13258 * benchtests/bench-strstr.c: New file.
13259
c1f75dc3
SP
13260 * benchtests/Makefile: Disable parallel execution of targets.
13261 (string-bench): Add memcpy.
13262 (benchset): New variable to store a list of benchmark sets.
13263 (bench-func): Renamed from bench.
13264 (bench-set): New target.
13265 (bench): Depend on bench-func and bench-set.
13266 * benchtests/README: Add section on benchmark sets.
13267 * benchtests/bench-memcpy-ifunc.c: New file.
13268 * benchtests/bench-memcpy.c: New file.
13269 * benchtests/bench-string.h: New file.
13270
50fd745b
AS
132712013-06-11 Andreas Schwab <schwab@suse.de>
13272
13273 [BZ #15577]
13274 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13275 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13276 values in the triple.
13277 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13278 terminator in the group key.
13279
3ee7e9fe
AJ
132802013-06-11 Andreas Jaeger <aj@suse.de>
13281
13282 * po/zh_TW.po: Update Chinese (traditional) translation from
13283 translation project.
13284
89fb6835
SP
132852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13286
13287 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13288 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13289 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13291 (clock_getcpuclockid): Likewise.
13292 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13293 Add weak_alias and libc_hidden_def.
13294 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13295 * rt/clock_gettime.c (clock_gettime): Rename to
13296 __clock_gettime. Add weak_alias and libc_hidden_def.
13297 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13298 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13299 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13300 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13301 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13302 Likewise.
13303 * rt/clock_settime.c (clock_settime): Rename to
13304 __clock_settime. Add weak_alias and libc_hidden_def.
13305 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13306
0efa6f8b
JM
133072013-06-10 Joseph Myers <joseph@codesourcery.com>
13308
b8c61b4b
JM
13309 * mach/err_boot.sub: Remove trailing whitespace.
13310 * mach/err_ipc.sub: Likewise.
13311 * mach/err_mach.sub: Likewise.
13312
0efa6f8b
JM
13313 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13314 (ROUNDING_TESTS_double): Likewise.
13315 (ROUNDING_TESTS_long_double): Likewise.
13316 (ROUNDING_TESTS): Likewise.
13317 * math/libm-test.inc: Include <math-tests.h>.
13318 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13319 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13320 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13321 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13322
50b818bf
SP
133232013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13324
13325 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13326 of assigning.
13327
60d2f8f3
JM
133282013-06-08 Joseph Myers <joseph@codesourcery.com>
13329
4902d2c3
JM
13330 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13331 otherwise empty TRANS lines.
13332 * sysdeps/gnu/errlist.c: Regenerated.
13333
60d2f8f3
JM
13334 * catgets/gencat.c (error_print): Use (void) in function
13335 definition.
13336 * crypt/crypt_util.c (__init_des): Likewise.
13337 * crypt/speeds.c (Stop): Likewise.
13338 (main): Likewise.
13339 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13340 * inet/ruserpass.c (token): Likewise.
13341 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13342 * intl/localealias.c (extend_alias_table): Likewise.
13343 * intl/plural-exp.c (init_germanic_plural): Likewise.
13344 * libio/fcloseall.c (__fcloseall): Likewise.
13345 * libio/genops.c (_IO_flush_all): Likewise.
13346 (_IO_flush_all_linebuffered): Likewise.
13347 (_IO_cleanup): Likewise.
13348 (_IO_iter_begin): Likewise.
13349 (_IO_iter_end): Likewise.
13350 (_IO_list_lock): Likewise.
13351 (_IO_list_unlock): Likewise.
13352 (_IO_list_resetlock): Likewise.
13353 * libio/getchar.c (getchar): Likewise.
13354 * libio/getchar_u.c (getchar_unlocked): Likewise.
13355 * libio/getwchar.c (getwchar): Likewise.
13356 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13357 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13358 * login/getpt.c (__getpt): Likewise.
13359 * login/tst-utmp.c (main): Likewise.
13360 * malloc/hooks.c (__malloc_check_init): Likewise.
13361 * malloc/malloc.c (__malloc_stats): Likewise.
13362 * malloc/mtrace.c (tr_break): Likewise.
13363 (mtrace): Likewise.
13364 (muntrace): Likewise.
13365 * misc/fstab.c (endfsent): Likewise.
13366 * misc/getclktck.c (__getclktck): Likewise.
13367 * misc/getdtsz.c (__getdtablesize): Likewise.
13368 * misc/gethostid.c (gethostid): Likewise.
13369 * misc/getpagesize.c (__getpagesize): Likewise.
13370 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13371 (__get_nprocs): Likewise.
13372 (__get_phys_pages): Likewise.
13373 (__get_avphys_pages): Likewise.
13374 * misc/getttyent.c (getttyent): Likewise.
13375 (setttyent): Likewise.
13376 (endttyent): Likewise.
13377 * misc/getusershell.c (getusershell): Likewise.
13378 (endusershell): Likewise.
13379 (setusershell): Likewise.
13380 (initshells): Likewise.
13381 * misc/hsearch.c (__hdestroy): Likewise.
13382 * misc/sync.c (sync): Likewise.
13383 * misc/syslog.c (closelog_internal): Likewise.
13384 (closelog): Likewise.
13385 * misc/ttyslot.c (ttyslot): Likewise.
13386 * misc/vhangup.c (vhangup): Likewise.
13387 * posix/fork.c (__fork): Likewise.
13388 * posix/getegid.c (__getegid): Likewise.
13389 * posix/geteuid.c (__geteuid): Likewise.
13390 * posix/getgid.c (__getgid): Likewise.
13391 * posix/getpid.c (__getpid): Likewise.
13392 * posix/getppid.c (__getppid): Likewise.
13393 * posix/getuid.c (__getuid): Likewise.
13394 * posix/pause.c (pause): Likewise.
13395 * posix/setpgrp.c (setpgrp): Likewise.
13396 * posix/setsid.c (__setsid): Likewise.
13397 * posix/test-vfork.c (noop): Likewise.
13398 * resolv/gethnamaddr.c (_endhtent): Likewise.
13399 (_gethtent): Likewise.
13400 (ht_endhostent): Likewise.
13401 (gethostent): Likewise.
13402 (dns_service): Likewise.
13403 * stdlib/drand48.c (drand48): Likewise.
13404 * stdlib/lrand48.c (lrand48): Likewise.
13405 * stdlib/mrand48.c (mrand48): Likewise.
13406 * stdlib/rand.c (rand): Likewise.
13407 * stdlib/random.c (__random): Likewise.
13408 * stdlib/setenv.c (clearenv): Likewise.
13409 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13410 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13411 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13412 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13413 (__get_nprocs): Likewise.
13414 (__get_phys_pages): Likewise.
13415 (__get_avphys_pages): Likewise.
13416 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13417 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13418 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13419 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13420 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13421 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13422 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13423 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13424 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13425 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13426 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13427 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13428 * sysdeps/posix/clock.c (clock): Likewise.
13429 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13430 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13431 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13432 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13433 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13435 (__get_nprocs_conf): Likewise.
13436 (__get_phys_pages): Likewise.
13437 (__get_avphys_pages): Likewise.
13438 * time/clock.c (clock): Likewise.
13439 * time/tzset.c (__tzname_max): Likewise.
13440
2e09a79a
JM
134412013-06-07 Joseph Myers <joseph@codesourcery.com>
13442
13443 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13444 (__bswap_32): Do not use "register".
13445 * crypt/crypt.c (_ufc_doit_r): Likewise.
13446 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13447 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13448 * gmon/gmon.c (__monstartup): Likewise.
13449 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13450 * hurd/hurdmalloc.c (more_memory): Likewise.
13451 (malloc): Likewise.
13452 (free): Likewise.
13453 (realloc): Likewise.
13454 (malloc_fork_prepare): Likewise.
13455 (malloc_fork_parent): Likewise.
13456 (malloc_fork_child): Likewise.
13457 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13458 (_svcauth_des): Likewise.
13459 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13460 * inet/inet_net.c (inet_network): Likewise.
13461 * inet/inet_netof.c (inet_netof): Likewise.
13462 * inet/rcmd.c (__validuser2_sa): Likewise.
13463 * io/fts.c (fts_open): Likewise.
13464 (fts_load): Likewise.
13465 (fts_close): Likewise.
13466 (fts_read): Likewise.
13467 (fts_children): Likewise.
13468 (fts_build): Likewise.
13469 (fts_stat): Likewise.
13470 (fts_sort): Likewise.
13471 (fts_alloc): Likewise.
13472 (fts_lfree): Likewise.
13473 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13474 (_IO_file_xsgetn): Likewise.
13475 (_IO_file_xsgetn_mmap): Likewise.
13476 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13477 (_IO_cookie_write): Likewise.
13478 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13479 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13480 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13481 * malloc/obstack.c (_obstack_begin): Likewise.
13482 (_obstack_begin_1): Likewise.
13483 (_obstack_newchunk): Likewise.
13484 (_obstack_allocated_p): Likewise.
13485 (obstack_free): Likewise.
13486 (_obstack_memory_used): Likewise.
13487 * misc/getttyent.c (getttynam): Likewise.
13488 (getttyent): Likewise.
13489 (skip): Likewise.
13490 (value): Likewise.
13491 * misc/getusershell.c (initshells): Likewise.
13492 * misc/syslog.c (__vsyslog_chk): Likewise.
13493 * misc/ttyslot.c (ttyslot): Likewise.
13494 * nis/nis_hash.c (__nis_hash): Likewise.
13495 * posix/fnmatch_loop.c (FCT): Likewise.
13496 * posix/getconf.c (print_all): Likewise.
13497 (main): Likewise.
13498 * posix/getopt.c (exchange): Likewise.
13499 * posix/glob.c (globfree): Likewise.
13500 (prefix_array): Likewise.
13501 (__glob_pattern_type): Likewise.
13502 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13503 (NS_GET32): Likewise.
13504 (NS_PUT16): Likewise.
13505 (NS_PUT32): Likewise.
13506 * resolv/gethnamaddr.c (getanswer): Likewise.
13507 (gethostbyname2): Likewise.
13508 (gethostbyaddr): Likewise.
13509 (_gethtent): Likewise.
13510 (_gethtbyname2): Likewise.
13511 (_gethtbyaddr): Likewise.
13512 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13513 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13514 * resolv/res_init.c (__res_vinit): Likewise.
13515 (net_mask): Likewise.
13516 * resolv/res_mkquery.c (outchar): Likewise.
13517 (PRINT): Likewise.
13518 * stdio-common/printf_fp.c (outchar): Likewise.
13519 (PRINT): Likewise.
13520 * stdio-common/printf_fphex.c (outchar): Likewise.
13521 (PRINT): Likewise.
13522 * stdio-common/printf_size.c (outchar): Likewise.
13523 (PRINT): Likewise.
13524 * stdio-common/test_rdwr.c (main): Likewise.
13525 * stdio-common/tfformat.c (matches): Likewise.
13526 * stdio-common/vfprintf.c (outchar): Likewise.
13527 (printf_unknown): Likewise.
13528 (buffered_vfprintf): Likewise.
13529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13530 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13531 (ReadFile): Likewise.
13532 * stdlib/qsort.c (SWAP): Likewise.
13533 (_quicksort): Likewise.
13534 * stdlib/setenv.c (__add_to_environ): Likewise.
13535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13536 * stdlib/strtol_l.c (__strtol_l): Likewise.
13537 * stdlib/tst-strtod.c (main): Likewise.
13538 * stdlib/tst-strtol.c (main): Likewise.
13539 * stdlib/tst-strtoll.c (main): Likewise.
13540 * string/bits/string2.h (__strcmp_cc): Likewise.
13541 (__strcmp_cg): Likewise.
13542 (__strcspn_c1): Likewise.
13543 (__strcspn_c2): Likewise.
13544 (__strcspn_c3): Likewise.
13545 (__strspn_c1): Likewise.
13546 (__strspn_c2): Likewise.
13547 (__strspn_c3): Likewise.
13548 (__strsep_1c): Likewise.
13549 (__strsep_2c): Likewise.
13550 (__strsep_3c): Likewise.
13551 * string/memccpy.c (__memccpy): Likewise.
13552 * string/stpcpy.c (__stpcpy): Likewise.
13553 * string/strcmp.c (strcmp): Likewise.
13554 * string/strrchr.c (strrchr): Likewise.
13555 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13556 Likewise.
13557 * sysdeps/mach/hurd/getcwd.c
13558 (_hurd_canonicalize_directory_name_internal): Likewise.
13559 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13560 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13561 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13562 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13563 Likewise, in both definitions.
13564 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13565 definitions.
13566 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13567 64] (__bswap_64): Likewise.
13568 * time/test_time.c (main): Likewise.
13569 * time/tzfile.c (__tzfile_read): Likewise.
13570 (__tzfile_compute): Likewise.
13571 * time/tzset.c (__tzset_parse_tz): Likewise.
13572 (tzset_internal): Likewise.
13573 (compute_change): Likewise.
13574 * wcsmbs/wcscat.c (__wcscat): Likewise.
13575 * wcsmbs/wcschr.c (wcschr): Likewise.
13576 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13577 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13578 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13579 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13580 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13581 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13582 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13583 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13584 * wcsmbs/wmemset.c (wmemset): Likewise.
13585
9e54314b
JM
135862013-06-06 Joseph Myers <joseph@codesourcery.com>
13587
13588 * scripts/config.guess: Update to version 2013-05-16.
13589 * scripts/config.sub: Update to version 2013-04-24.
13590 * scripts/install-sh: Update to version 2011-11-20.07.
13591 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13592 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13593
350635a5
OB
135942013-06-06 Ondřej Bílka <neleai@seznam.cz>
13595
13596 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13597 * elf/sln.c: Likewise.
13598 * hurd/hurd/ioctl.h: Likewise.
13599 * hurd/hurdmalloc.c: Likewise.
13600 * hurd/xattr.c: Likewise.
13601 * include/shlib-compat.h: Likewise.
13602 * inet/ruserpass.c: Likewise.
13603 * libio/iofgets_u.c: Likewise.
13604 * libio/iofgetws_u.c: Likewise.
13605 * locale/programs/ld-identification.c: Likewise.
13606 * locale/programs/ld-time.c: Likewise.
13607 * mach/msg-destroy.c: Likewise.
13608 * nss/nss_files/files-netgrp.c: Likewise.
13609 * resolv/res_data.c: Likewise.
13610 * soft-fp/op-1.h: Likewise.
13611 * soft-fp/op-2.h: Likewise.
13612 * soft-fp/op-4.h: Likewise.
13613 * soft-fp/op-common.h: Likewise.
13614 * stdio-common/printf_fphex.c: Likewise.
13615 * stdlib/strtod_l.c: Likewise.
13616 * sunrpc/rpc/clnt.h: Likewise.
13617 * sysdeps/generic/framestate.c: Likewise.
13618 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13619 * sysdeps/i386/bsd-setjmp.S: Likewise.
13620 * sysdeps/i386/__longjmp.S: Likewise.
13621 * sysdeps/i386/setjmp.S: Likewise.
13622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13640 * sysdeps/ieee754/support.c: Likewise.
13641 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13642 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13643 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13644 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13645 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13646 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13647 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13648 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13649 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13650 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13651 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13652 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13653 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13656 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13657 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13659
44a988af
OB
136602013-06-05 Ondřej Bílka <neleai@seznam.cz>
13661
25506f09 13662 * posix/transbug.c: Remove executable mode.
44a988af 13663
9c84384c
JM
136642013-06-05 Joseph Myers <joseph@codesourcery.com>
13665
13666 * crypt/speeds.c: Remove trailing whitespace.
13667 * dlfcn/default.c: Likewise.
13668 * elf/ifuncdep2.c: Likewise.
13669 * elf/ifuncmain1.c: Likewise.
13670 * elf/ifuncmain1vis.c: Likewise.
13671 * elf/testobj.h: Likewise.
13672 * elf/tst-stackguard1.c: Likewise.
13673 * gmon/sys/gmon.h: Likewise.
13674 * hurd/hurdmsg.c: Likewise.
13675 * hurd/new-fd.c: Likewise.
13676 * hurd/ports-get.c: Likewise.
13677 * iconvdata/ibm1008_420.c: Likewise.
13678 * inet/tst-getni1.c: Likewise.
13679 * inet/tst-getni2.c: Likewise.
13680 * libio/ioungetc.c: Likewise.
13681 * libio/wfiledoalloc.c: Likewise.
13682 * manual/libm-err-tab.pl: Likewise.
13683 * math/w_dremf.c: Likewise.
13684 * misc/ftruncate.c: Likewise.
13685 * posix/bug-glob2.c: Likewise.
13686 * posix/tst-pcre.c: Likewise.
13687 * posix/wait4.c: Likewise.
13688 * resolv/README: Likewise.
13689 * resolv/res_debug.h: Likewise.
13690 * resolv/tst-inet_ntop.c: Likewise.
13691 * setjmp/bug269-setjmp.c: Likewise.
13692 * soft-fp/extended.h: Likewise.
13693 * soft-fp/op-1.h: Likewise.
13694 * soft-fp/op-2.h: Likewise.
13695 * soft-fp/op-4.h: Likewise.
13696 * soft-fp/op-8.h: Likewise.
13697 * soft-fp/testit.c: Likewise.
13698 * stdio-common/bug16.c: Likewise.
13699 * stdlib/random.c: Likewise.
13700 * sunrpc/rpcsvc/rquota.x: Likewise.
13701 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13702 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13704 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13730 * sysdeps/ieee754/s_lib_version.c: Likewise.
13731 * sysdeps/mach/hurd/check_fds.c: Likewise.
13732 * sysdeps/mach/hurd/getsockname.c: Likewise.
13733 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13734 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13735 * sysdeps/powerpc/bits/link.h: Likewise.
13736 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13737 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13738 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13739 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13740 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13741 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13742 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13743 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13744 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13745 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13746 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13747 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13749 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13750 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13757 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13759 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13760 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13768 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13769 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13770 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13771 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13772 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13774 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13775 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13776 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13777 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13778 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13779 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13780 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13781 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13782 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13783 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13784 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13789 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13790 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13791 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13792 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13795 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13798 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13799 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13800 * sysdeps/powerpc/sysdep.h: Likewise.
13801 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13802 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13803 * sysdeps/sh/dl-trampoline.S: Likewise.
13804 * sysdeps/sh/memset.S: Likewise.
13805 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13806 * sysdeps/sh/strlen.S: Likewise.
13807 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13808 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13809 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13810 * sysdeps/sparc/sparc32/rem.S: Likewise.
13811 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13812 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13813 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13814 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13815 * sysdeps/sparc/sparc32/urem.S: Likewise.
13816 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13817 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13818 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13819 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13820 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13821 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13822 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13823 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13824 * sysdeps/unix/bsd/times.c: Likewise.
13825 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13826 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13832 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13833 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13834 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13835 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13839 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13840 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13841 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13842 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13843 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13844 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13845 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13846 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13847 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13849 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13850 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13851 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13853 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13854 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13855 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13856 * sysdeps/x86_64/strcspn.S: Likewise.
13857
869378a5
RA
138582013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13859
13860 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13861 generated file. Regenerate properly from gen-translit.pl.
13862 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13863 locale/C-translit.h.
13864
840e2943
AS
138652013-06-05 Andreas Schwab <schwab@suse.de>
13866
13867 [BZ #15100]
13868 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13869 week as 6 instead of -1.
13870 * time/tst-strptime.c (day_tests): Add test case.
13871
4c60cb0c
SP
138722013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13873
13874 * sysdeps/generic/math_private.h
13875 (libc_feholdexcept_setround_53bit): Replace with
13876 libc_feholdsetround_53bit.
13877 (libc_feupdateenv_53bit): Replace with
13878 libc_feresetround_53bit.
13879 (SET_RESTORE_ROUND_53BIT): Adjust.
13880
d180203e
SP
138812013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13882
96df079a
SP
13883 * string/test-strchrnul.c: Add copyright header.
13884
d180203e
SP
13885 * posix/tst-getaddrinfo4.c: Increase test timeout.
13886
8b0ccb2d
CD
138872013-06-03 Carlos O'Donell <carlos@redhat.com>
13888
13889 [BZ #15536]
13890 * math/libm-test.inc (MAX_EXP): Remove
13891 (MIN_EXP): Define.
13892 (ulp): Use MIN_EXP - MANT_DIG.
13893 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13894
3b3c4d40
CD
138952013-05-31 Carlos O'Donell <carlos@redhat.com>
13896
13897 * po/be.po: Revert last change.
13898 * po/zh_CN.po: Likewise.
13899 * po/header.pot: Likewise.
13900
fab7ce3f
JM
139012013-05-31 Joseph Myers <joseph@codesourcery.com>
13902
13903 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13904 link-libc-deps to empty as target-specific variable.
13905 * Makerules (link-libc-args): New variable.
13906 (libc-for-link): Likewise.
13907 (link-libc-deps): Likewise.
13908 (lib%.so): Depend on $(link-libc-deps). Link with
13909 $(link-libc-args).
13910 (build-module): Link with $(link-libc-args).
13911 (build-module-asneeded): Likewise.
13912 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13913 list of objects.
13914 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13915 target-specific variable.
13916 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13917 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13918 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13919 libc.
13920 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13921 libc and ld.so.
13922 ($(objpfx)libpcprofile.so): Likewise.
13923 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13924 libc_nonshared.a.
13925 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13926 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13927 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13928 $(link-libc-deps).
13929 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13930 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13931 * login/Makefile ($(objpfx)libutil.so): Likewise.
13932 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13933 * math/Makefile ($(objpfx)libm.so): Likewise.
13934 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13935 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13936 variable instead of depending directly on libc.
13937 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13938 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13939 $(link-libc-deps).
13940 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13941 libc.
13942 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13943 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13944 ($(objpfx)libanl.so): Likewise.
13945 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13946 ld.so.
13947 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13948 $(link-libc-deps).
13949 * sysdeps/i386/fpu/Makefile: Remove file.
13950 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13951 ($(objpfx)libm.so): Remove dependency on ld.so.
13952
eca5920c
PF
139532013-05-30 Patsy Franklin <pfrankli@redhat.com>
13954
13955 [BZ # 15553]
13956 * nis/yp_xdr.c (XDRMAXNAME): Define.
13957 (XDRMAXRECORD): Define.
13958 (xdr_domainname): Use XDRMAXNAME.
13959 (xdr_mapname): Likewise.
13960 (xdr_peername): Likewise.
13961 (xdr_keydat): Use XDRMAXRECORD.
13962 (xdr_valdat): Likewise.
13963
139642013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13965
13966 [BZ #14256]
13967 * manual/errno.texi (ESTALE): Update to account for more than
13968 just NFS file systems.
13969 * sysdeps/gnu/errlist.c: Regenerated.
13970
b9375348
SP
139712013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13972
13973 [BZ #15465]
13974 * elf/Makefile (tests): Add tst-null-argv.
13975 (modules-names): Add tst-null-argv-lib.
13976 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13977 (tst-null-argv-ENV): Set environment for tst-null-argv.
13978 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13979 (RTLD_PROGNAME): New macro.
13980 * elf/tst-null-argv.c: New test case.
13981 * elf/tst-null-argv-lib.c: Library for test case.
13982 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13983 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13984 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13985 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13986 * elf/dl-init.c (call_init): Likewise.
13987 (_dl_init): Likewise.
13988 * elf/dl-load.c (print_search_path): Likewise.
13989 (_dl_map_object): Likewise.
13990 * elf/dl-lookup.c (do_lookup_x): Likewise.
13991 (add_dependency): Likewise.
13992 (_dl_lookup_symbol_x): Likewise.
13993 (_dl_debug_bindings): Likewise.
13994 * elf/dl-open.c (_dl_show_scope): Likewise.
13995 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13996 * elf/dl-version.c (match_symbol): Likewise.
13997 (_dl_check_map_versions): Likewise.
13998 * elf/rtld.c (dl_main): Likewise.
13999 (print_unresolved): Use RTLD_PROGNAME.
14000 (print_missing_version): Likewise.
14001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14002 (elf_machine_rela): Likewise.
14003 * sysdeps/powerpc/powerpc32/dl-machine.c
14004 (__process_machine_rela): Likewise.
14005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14006 Likewise.
14007 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14008 Likewise.
14009 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14010 Likewise.
14011 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14013 Likewise.
14014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14015 Likewise.
14016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14017
8a9f20c8
CD
140182013-05-28 Carlos O'Donell <carlos@redhat.com>
14019
14020 * po/be.po: Add descriptive title.
14021 * po/zh_CN.po: Likewise.
14022 * po/header.pot: Likewise.
14023
0e60d68e
MF
140242013-05-28 Mike Frysinger <vapier@gentoo.org>
14025
14026 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14027 error message.
14028 (enlarge_archive): Likewise.
14029
56b672e9
BN
140302013-05-28 Ben North <ben@redfrontdoor.org>
14031
14032 * manual/arith.texi (frexp): It is the magnitude of the return
14033 value which lies in [0.5, 1), not the return value itself.
14034
5e056687
AZ
140352013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14036
14037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14038
2b66ef5d
TS
140392013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14040
528c2405
TS
14041 * stdio-common/bug26.c (main): Correct fscanf template.
14042
07b4c13d
TS
14043 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14044 declare _dl_skip_args.
14045
ec9dd97c
TS
14046 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14047 Don't declare.
14048
2b66ef5d
TS
14049 * manual/platform.texi: Add missing @end deftypefun.
14050
4f8dfe27
JM
140512013-05-24 Joseph Myers <joseph@codesourcery.com>
14052
0323d086
JM
14053 [BZ #15529]
14054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14055 bit of mantissa of 2^16382.
14056 * math/libm-test.inc (hypot_test_data): Add more tests.
14057
dd4259b9
JM
14058 * math/libm-test.inc: Add drem and pow10 to list of tested
14059 functions.
14060 (pow10_test): New function.
14061 (drem_test): Likewise.
14062 (drem_test_tonearest): Likewise.
14063 (drem_test_towardzero): Likewise.
14064 (drem_test_downward): Likewise.
14065 (drem_test_upward): Likewise.
14066 (main): Call the new functions.
14067
4f8dfe27
JM
14068 * math/libm-test.inc (finite_test_data): Remove.
14069 (finite_test): Run tests from isfinite_test_data.
14070 (gamma_test_data): Remove.
14071 (gamma_test): Run tests from lgamma_test_data.
14072 * sysdeps/i386/fpu/libm-test-ulps: Update.
14073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14074
d116b7c4
AZ
140752013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14076
14077 * manual/platform.texi: Add PowerPC PPR function set documentation.
14078 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14079 implementation.
14080
e96e3767
CD
140812013-05-24 Carlos O'Donell <carlos@redhat.com>
14082
14083 * math/libm-test.inc (MAX_EXP): Define.
14084 (ULPDIFF): Define.
14085 (ulp): New function.
14086 (check_float_internal): Use ULPDIFF.
14087 (cpow_test): Disable failing test.
14088 (check_ulp): Test ulp() implemetnation.
14089 (main): Call check_ulp before starting tests.
14090
b679a606
JM
140912013-05-24 Joseph Myers <joseph@codesourcery.com>
14092
e8bdba36
JM
14093 * math/gen-libm-test.pl (generate_testfile): Do not handle
14094 START_DATA and END_DATA.
14095 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14096 END_DATA.
14097 (acos_tonearest_test_data): Likewise.
14098 (acos_towardzero_test_data): Likewise.
14099 (acos_downward_test_data): Likewise.
14100 (acos_upward_test_data): Likewise.
14101 (acosh_test_data): Likewise.
14102 (asin_test_data): Likewise.
14103 (asin_tonearest_test_data): Likewise.
14104 (asin_towardzero_test_data): Likewise.
14105 (asin_downward_test_data): Likewise.
14106 (asin_upward_test_data): Likewise.
14107 (asinh_test_data): Likewise.
14108 (atan_test_data): Likewise.
14109 (atanh_test_data): Likewise.
14110 (atan2_test_data): Likewise.
14111 (cabs_test_data): Likewise.
14112 (cacos_test_data): Likewise.
14113 (cacosh_test_data): Likewise.
14114 (carg_test_data): Likewise.
14115 (casin_test_data): Likewise.
14116 (casinh_test_data): Likewise.
14117 (catan_test_data): Likewise.
14118 (catanh_test_data): Likewise.
14119 (cbrt_test_data): Likewise.
14120 (ccos_test_data): Likewise.
14121 (ccosh_test_data): Likewise.
14122 (ceil_test_data): Likewise.
14123 (cexp_test_data): Likewise.
14124 (cimag_test_data): Likewise.
14125 (clog_test_data): Likewise.
14126 (clog10_test_data): Likewise.
14127 (conj_test_data): Likewise.
14128 (copysign_test_data): Likewise.
14129 (cos_test_data): Likewise.
14130 (cos_tonearest_test_data): Likewise.
14131 (cos_towardzero_test_data): Likewise.
14132 (cos_downward_test_data): Likewise.
14133 (cos_upward_test_data): Likewise.
14134 (cosh_test_data): Likewise.
14135 (cosh_tonearest_test_data): Likewise.
14136 (cosh_towardzero_test_data): Likewise.
14137 (cosh_downward_test_data): Likewise.
14138 (cosh_upward_test_data): Likewise.
14139 (cpow_test_data): Likewise.
14140 (cproj_test_data): Likewise.
14141 (creal_test_data): Likewise.
14142 (csin_test_data): Likewise.
14143 (csinh_test_data): Likewise.
14144 (csqrt_test_data): Likewise.
14145 (ctan_test_data): Likewise.
14146 (ctan_tonearest_test_data): Likewise.
14147 (ctan_towardzero_test_data): Likewise.
14148 (ctan_downward_test_data): Likewise.
14149 (ctan_upward_test_data): Likewise.
14150 (ctanh_test_data): Likewise.
14151 (ctanh_tonearest_test_data): Likewise.
14152 (ctanh_towardzero_test_data): Likewise.
14153 (ctanh_downward_test_data): Likewise.
14154 (ctanh_upward_test_data): Likewise.
14155 (erf_test_data): Likewise.
14156 (erfc_test_data): Likewise.
14157 (exp_test_data): Likewise.
14158 (exp_tonearest_test_data): Likewise.
14159 (exp_towardzero_test_data): Likewise.
14160 (exp_downward_test_data): Likewise.
14161 (exp_upward_test_data): Likewise.
14162 (exp10_test_data): Likewise.
14163 (exp2_test_data): Likewise.
14164 (expm1_test_data): Likewise.
14165 (fabs_test_data): Likewise.
14166 (fdim_test_data): Likewise.
14167 (finite_test_data): Likewise.
14168 (floor_test_data): Likewise.
14169 (fma_test_data): Likewise.
14170 (fma_towardzero_test_data): Likewise.
14171 (fma_downward_test_data): Likewise.
14172 (fma_upward_test_data): Likewise.
14173 (fmax_test_data): Likewise.
14174 (fmin_test_data): Likewise.
14175 (fmod_test_data): Likewise.
14176 (fpclassify_test_data): Likewise.
14177 (frexp_test_data): Likewise.
14178 (gamma_test_data): Likewise.
14179 (hypot_test_data): Likewise.
14180 (ilogb_test_data): Likewise.
14181 (isfinite_test_data): Likewise.
14182 (isgreater_test_data): Likewise.
14183 (isgreaterequal_test_data): Likewise.
14184 (isinf_test_data): Likewise.
14185 (isless_test_data): Likewise.
14186 (islessequal_test_data): Likewise.
14187 (islessgreater_test_data): Likewise.
14188 (isnan_test_data): Likewise.
14189 (isnormal_test_data): Likewise.
14190 (issignaling_test_data): Likewise.
14191 (isunordered_test_data): Likewise.
14192 (j0_test_data): Likewise.
14193 (j1_test_data): Likewise.
14194 (jn_test_data): Likewise.
14195 (ldexp_test_data): Likewise.
14196 (lgamma_test_data): Likewise.
14197 (lrint_test_data): Likewise.
14198 (lrint_tonearest_test_data): Likewise.
14199 (lrint_towardzero_test_data): Likewise.
14200 (lrint_downward_test_data): Likewise.
14201 (lrint_upward_test_data): Likewise.
14202 (llrint_test_data): Likewise.
14203 (llrint_tonearest_test_data): Likewise.
14204 (llrint_towardzero_test_data): Likewise.
14205 (llrint_downward_test_data): Likewise.
14206 (llrint_upward_test_data): Likewise.
14207 (log_test_data): Likewise.
14208 (log10_test_data): Likewise.
14209 (log1p_test_data): Likewise.
14210 (log2_test_data): Likewise.
14211 (logb_test_data): Likewise.
14212 (logb_downward_test_data): Likewise.
14213 (lround_test_data): Likewise.
14214 (llround_test_data): Likewise.
14215 (modf_test_data): Likewise.
14216 (nearbyint_test_data): Likewise.
14217 (nextafter_test_data): Likewise.
14218 (nexttoward_test_data): Likewise.
14219 (pow_test_data): Likewise.
14220 (pow_tonearest_test_data): Likewise.
14221 (pow_towardzero_test_data): Likewise.
14222 (pow_downward_test_data): Likewise.
14223 (pow_upward_test_data): Likewise.
14224 (remainder_test_data): Likewise.
14225 (remainder_tonearest_test_data): Likewise.
14226 (remainder_towardzero_test_data): Likewise.
14227 (remainder_downward_test_data): Likewise.
14228 (remainder_upward_test_data): Likewise.
14229 (remquo_test_data): Likewise.
14230 (rint_test_data): Likewise.
14231 (rint_tonearest_test_data): Likewise.
14232 (rint_towardzero_test_data): Likewise.
14233 (rint_downward_test_data): Likewise.
14234 (rint_upward_test_data): Likewise.
14235 (round_test_data): Likewise.
14236 (scalb_test_data): Likewise.
14237 (scalbn_test_data): Likewise.
14238 (scalbln_test_data): Likewise.
14239 (signbit_test_data): Likewise.
14240 (sin_test_data): Likewise.
14241 (sin_tonearest_test_data): Likewise.
14242 (sin_towardzero_test_data): Likewise.
14243 (sin_downward_test_data): Likewise.
14244 (sin_upward_test_data): Likewise.
14245 (sincos_test_data): Likewise.
14246 (sinh_test_data): Likewise.
14247 (sinh_tonearest_test_data): Likewise.
14248 (sinh_towardzero_test_data): Likewise.
14249 (sinh_downward_test_data): Likewise.
14250 (sinh_upward_test_data): Likewise.
14251 (sqrt_test_data): Likewise.
14252 (tan_test_data): Likewise.
14253 (tan_tonearest_test_data): Likewise.
14254 (tan_towardzero_test_data): Likewise.
14255 (tan_downward_test_data): Likewise.
14256 (tan_upward_test_data): Likewise.
14257 (tanh_test_data): Likewise.
14258 (tgamma_test_data): Likewise.
14259 (trunc_test_data): Likewise.
14260 (y0_test_data): Likewise.
14261 (y1_test_data): Likewise.
14262 (yn_test_data): Likewise.
14263 (significand_test_data): Likewise.
14264
b679a606
JM
14265 * math/gen-libm-test.pl (@functions): Remove variable.
14266 (generate_testfile): Don't handle START and END lines.
14267 * math/libm-test.inc (START): New macro.
14268 (END): Likewise.
14269 (END_COMPLEX): Likewise.
14270 (acos_test): Use END macro without arguments.
14271 (acos_test_tonearest): Likewise.
14272 (acos_test_towardzero): Likewise.
14273 (acos_test_downward): Likewise.
14274 (acos_test_upward): Likewise.
14275 (acosh_test): Likewise.
14276 (asin_test): Likewise.
14277 (asin_test_tonearest): Likewise.
14278 (asin_test_towardzero): Likewise.
14279 (asin_test_downward): Likewise.
14280 (asin_test_upward): Likewise.
14281 (asinh_test): Likewise.
14282 (atan_test): Likewise.
14283 (atanh_test): Likewise.
14284 (atan2_test): Likewise.
14285 (cabs_test): Likewise.
14286 (cacos_test): Use END_COMPLEX macro without arguments.
14287 (cacosh_test): Likewise.
14288 (carg_test): Use END macro without arguments.
14289 (casin_test): Use END_COMPLEX macro without arguments.
14290 (casinh_test): Likewise.
14291 (catan_test): Likewise.
14292 (catanh_test): Likewise.
14293 (cbrt_test): Use END macro without arguments.
14294 (ccos_test): Use END_COMPLEX macro without arguments.
14295 (ccosh_test): Likewise.
14296 (ceil_test): Use END macro without arguments.
14297 (cexp_test): Use END_COMPLEX macro without arguments.
14298 (cimag_test): Use END macro without arguments.
14299 (clog_test): Use END_COMPLEX macro without arguments.
14300 (clog10_test): Likewise.
14301 (conj_test): Likewise.
14302 (copysign_test): Use END macro without arguments.
14303 (cos_test): Likewise.
14304 (cos_test_tonearest): Likewise.
14305 (cos_test_towardzero): Likewise.
14306 (cos_test_downward): Likewise.
14307 (cos_test_upward): Likewise.
14308 (cosh_test): Likewise.
14309 (cosh_test_tonearest): Likewise.
14310 (cosh_test_towardzero): Likewise.
14311 (cosh_test_downward): Likewise.
14312 (cosh_test_upward): Likewise.
14313 (cpow_test): Use END_COMPLEX macro without arguments.
14314 (cproj_test): Likewise.
14315 (creal_test): Use END macro without arguments.
14316 (csin_test): Use END_COMPLEX macro without arguments.
14317 (csinh_test): Likewise.
14318 (csqrt_test): Likewise.
14319 (ctan_test): Likewise.
14320 (ctan_test_tonearest): Likewise.
14321 (ctan_test_towardzero): Likewise.
14322 (ctan_test_downward): Likewise.
14323 (ctan_test_upward): Likewise.
14324 (ctanh_test): Likewise.
14325 (ctanh_test_tonearest): Likewise.
14326 (ctanh_test_towardzero): Likewise.
14327 (ctanh_test_downward): Likewise.
14328 (ctanh_test_upward): Likewise.
14329 (erf_test): Use END macro without arguments.
14330 (erfc_test): Likewise.
14331 (exp_test): Likewise.
14332 (exp_test_tonearest): Likewise.
14333 (exp_test_towardzero): Likewise.
14334 (exp_test_downward): Likewise.
14335 (exp_test_upward): Likewise.
14336 (exp10_test): Likewise.
14337 (exp2_test): Likewise.
14338 (expm1_test): Likewise.
14339 (fabs_test): Likewise.
14340 (fdim_test): Likewise.
14341 (finite_test): Likewise.
14342 (floor_test): Likewise.
14343 (fma_test): Likewise.
14344 (fma_test_towardzero): Likewise.
14345 (fma_test_downward): Likewise.
14346 (fma_test_upward): Likewise.
14347 (fmax_test): Likewise.
14348 (fmin_test): Likewise.
14349 (fmod_test): Likewise.
14350 (fpclassify_test): Likewise.
14351 (frexp_test): Likewise.
14352 (gamma_test): Likewise.
14353 (hypot_test): Likewise.
14354 (ilogb_test): Likewise.
14355 (isfinite_test): Likewise.
14356 (isgreater_test): Likewise.
14357 (isgreaterequal_test): Likewise.
14358 (isinf_test): Likewise.
14359 (isless_test): Likewise.
14360 (islessequal_test): Likewise.
14361 (islessgreater_test): Likewise.
14362 (isnan_test): Likewise.
14363 (isnormal_test): Likewise.
14364 (issignaling_test): Likewise.
14365 (isunordered_test): Likewise.
14366 (j0_test): Likewise.
14367 (j1_test): Likewise.
14368 (jn_test): Likewise.
14369 (ldexp_test): Likewise.
14370 (lgamma_test): Likewise.
14371 (lrint_test): Likewise.
14372 (lrint_test_tonearest): Likewise.
14373 (lrint_test_towardzero): Likewise.
14374 (lrint_test_downward): Likewise.
14375 (lrint_test_upward): Likewise.
14376 (llrint_test): Likewise.
14377 (llrint_test_tonearest): Likewise.
14378 (llrint_test_towardzero): Likewise.
14379 (llrint_test_downward): Likewise.
14380 (llrint_test_upward): Likewise.
14381 (log_test): Likewise.
14382 (log10_test): Likewise.
14383 (log1p_test): Likewise.
14384 (log2_test): Likewise.
14385 (logb_test): Likewise.
14386 (logb_test_downward): Likewise.
14387 (lround_test): Likewise.
14388 (llround_test): Likewise.
14389 (modf_test): Likewise.
14390 (nearbyint_test): Likewise.
14391 (nextafter_test): Likewise.
14392 (nexttoward_test): Likewise.
14393 (pow_test): Likewise.
14394 (pow_test_tonearest): Likewise.
14395 (pow_test_towardzero): Likewise.
14396 (pow_test_downward): Likewise.
14397 (pow_test_upward): Likewise.
14398 (remainder_test): Likewise.
14399 (remainder_test_tonearest): Likewise.
14400 (remainder_test_towardzero): Likewise.
14401 (remainder_test_downward): Likewise.
14402 (remainder_test_upward): Likewise.
14403 (remquo_test): Likewise.
14404 (rint_test): Likewise.
14405 (rint_test_tonearest): Likewise.
14406 (rint_test_towardzero): Likewise.
14407 (rint_test_downward): Likewise.
14408 (rint_test_upward): Likewise.
14409 (round_test): Likewise.
14410 (scalb_test): Likewise.
14411 (scalbn_test): Likewise.
14412 (scalbln_test): Likewise.
14413 (signbit_test): Likewise.
14414 (sin_test): Likewise.
14415 (sin_test_tonearest): Likewise.
14416 (sin_test_towardzero): Likewise.
14417 (sin_test_downward): Likewise.
14418 (sin_test_upward): Likewise.
14419 (sincos_test): Likewise.
14420 (sinh_test): Likewise.
14421 (sinh_test_tonearest): Likewise.
14422 (sinh_test_towardzero): Likewise.
14423 (sinh_test_downward): Likewise.
14424 (sinh_test_upward): Likewise.
14425 (sqrt_test): Likewise.
14426 (tan_test): Likewise.
14427 (tan_test_tonearest): Likewise.
14428 (tan_test_towardzero): Likewise.
14429 (tan_test_downward): Likewise.
14430 (tan_test_upward): Likewise.
14431 (tanh_test): Likewise.
14432 (tgamma_test): Likewise.
14433 (trunc_test): Likewise.
14434 (y0_test): Likewise.
14435 (y1_test): Likewise.
14436 (yn_test): Likewise.
14437 (significand_test): Likewise.
14438
bae143d2
OB
144392013-05-24 Ondřej Bílka <neleai@seznam.cz>
14440
14441 [BZ #15381]
14442 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14443
9323d39b
EM
144442013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14445
d4ea44a0 14446 [BZ #14894]
9323d39b
EM
14447 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14448 __ppc_mdoio and __ppc_mdoom.
14449 * manual/platform.texi: Document new functions __ppc_yield,
14450 __ppc_mdoio and __ppc_mdoom.
14451
13e23af7
CD
144522013-05-22 Carlos O'Donell <carlos@redhat.com>
14453
14454 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14455 (main): Mention "tls" pseudo-hwcap is legacy.
14456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14457
351fe550
JM
144582013-05-22 Joseph Myers <joseph@codesourcery.com>
14459
14460 * math/gen-libm-test.pl (parse_args): Output only string of
14461 arguments as text for test name, not full call or descriptions of
14462 tests for extra outputs.
14463 (generate_testfile): Do not pass function name to parse_args.
14464 Generate this_func variable from START.
14465 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14466 field to arg_str.
14467 (struct test_ff_f_data): Likewise.
14468 (test_ff_f_data_nexttoward): Likewise.
14469 (struct test_fi_f_data): Likewise.
14470 (struct test_fl_f_data): Likewise.
14471 (struct test_if_f_data): Likewise.
14472 (struct test_fff_f_data): Likewise.
14473 (struct test_c_f_data): Likewise.
14474 (struct test_f_f1_data): Likewise. Remove field extra_name.
14475 (struct test_fF_f1_data): Likewise.
14476 (struct test_ffI_f1_data): Likewise.
14477 (struct test_c_c_data): Rename test_name field to arg_str.
14478 (struct test_cc_c_data): Likewise.
14479 (struct test_f_i_data): Likewise.
14480 (struct test_ff_i_data): Likewise.
14481 (struct test_f_l_data): Likewise.
14482 (struct test_f_L_data): Likewise.
14483 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14484 and extra2_name.
14485 (COMMON_TEST_SETUP): New macro.
14486 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14487 (COMMON_TEST_CLEANUP): Likewise.
14488 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14489 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14490 macros.
14491 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14492 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14493 macros.
14494 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14495 (RUN_TEST_fff_f): Take argument string. Call new setup and
14496 cleanup macros.
14497 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14498 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14499 macros.
14500 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14501 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14502 macros.
14503 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14504 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14505 cleanup macros.
14506 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14507 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14508 cleanup macros.
14509 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14510 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14511 cleanup macros.
14512 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14513 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14514 macros.
14515 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14516 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14517 macros.
14518 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14519 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14520 macros.
14521 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14522 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14523 cleanup macros.
14524 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14525 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14526 cleanup macros.
14527 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14528 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14529 macros.
14530 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14531 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14532 cleanup macros.
14533 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14534 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14535 macros.
14536 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14537 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14538 macros.
14539 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14540 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14541 cleanup macros.
14542 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14543
85118d4d
EBM
145442013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14545
14546 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14547 to _sifields.sigfault.
14548 (si_addr_lsb): Define new macro.
14549 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14551 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14552
7a44c18f
CD
145532013-05-03 Carlos O'Donell <carlos at redhat.com>
14554
14555 [BZ #15441]
14556 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14557 returns -1.
14558 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14559 null return -1.
14560 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14561 loading the domain.
14562
b50a7181
JM
145632013-05-22 Joseph Myers <joseph@codesourcery.com>
14564
14565 * math/gen-libm-test.pl (parse_args): Do not include expected
14566 result in test name.
14567 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14570 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14573
051063c8
SP
145742013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14575
3ce9e010
SP
14576 * benchtests/Makefile: Sort function entries.
14577
051063c8
SP
14578 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14579 tanh, asinh, acosh, atanh.
14580 * benchtests/acos-inputs: New file.
14581 * benchtests/acosh-inputs: New file.
14582 * benchtests/asin-inputs: New file.
14583 * benchtests/asinh-inputs: New file.
14584 * benchtests/atanh-inputs: New file.
14585 * benchtests/cosh-inputs: New file.
14586 * benchtests/log-inputs: New file.
14587 * benchtests/sinh-inputs: New file.
14588 * benchtests/tanh-inputs: New file.
14589
47c22455
DL
145902013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14591
14592 [BZ #15339]
14593 * posix/tst-getaddrinfo4.c: New test.
14594 * posix/Makefile (tests): Add it.
14595
3d04f5db
SP
145962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14597
14598 [BZ #15339]
14599 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14600 when no services were used.
14601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14602 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14603
d5dd6189
AS
146042013-05-21 Andreas Schwab <schwab@suse.de>
14605
14606 [BZ #15014]
14607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14608 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14609 successful.
14610 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14611 redundant variable declarations and reallocation of buffer when
14612 parsing as IPv6 address. Always set NSS status when called from
14613 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14614 buffer too small. Correct computation of needed size.
14615 * nss/Makefile (tests): Add test-digits-dots.
14616 * nss/test-digits-dots.c: New test.
14617
fef94eab
SP
146182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14619
14620 * benchtests/Makefile: Remove instructions for adding
14621 benchmark tests.
14622 * benchtests/README: New file to explain how to execute and
14623 enhance the benchmark tests.
14624
e39adf43
AS
146252013-05-21 Andreas Schwab <schwab@suse.de>
14626
14627 [BZ #15493]
14628 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14629 * setjmp/tst-sigsetjmp.c: New test.
14630
b2b671b6
OB
146312013-05-20 Ondřej Bílka <neleai@seznam.cz>
14632
14633 * sysdeps/x86_64/memset.S (memset): New implementation.
14634 (__bzero): Likewise.
14635 (__memset_tail): New function.
14636
2d48b41c
OB
146372013-05-20 Ondřej Bílka <neleai@seznam.cz>
14638
14639 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14640 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14641 __memcpy_sse2_unaligned ifunc selection.
14642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14643 Add memcpy-sse2-unaligned.S.
14644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14645 Add: __memcpy_sse2_unaligned.
14646
f16cc3eb
JM
146472013-05-19 Joseph Myers <joseph@codesourcery.com>
14648
3e694268
JM
14649 [BZ #15490]
14650 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14651 math_force_eval before restoring floating-point envrionment.
14652 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14654 Likewise.
14655 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14656 <math_private.h>.
14657 (__nearbyintl): Use math_force_eval before restoring
14658 floating-point environment.
14659 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14660
db62a907
JM
14661 * math/gen-libm-test.pl (special_functions): Remove.
14662 (parse_args): Don't handle TEST_extra. Handle functions with no
14663 return value.
14664 * math/libm-test.inc (struct test_sincos_data): Replace with
14665 struct test_fFF_11_data.
14666 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14667 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14668 (sincos_test_data): Change element type to struct
14669 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14670 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14671 RUN_TEST_LOOP_sincos.
14672 * math/README.libm-test: Don't mention special handling of
14673 individual functions.
14674 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14676 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14678 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14680
f16cc3eb
JM
14681 * math/gen-libm-test.pl (get_variable): Remove function.
14682 (parse_args): Don't show pointer parameters to call in test
14683 names. Use "extra output N" in test names for extra outputs
14684 rather than naming variables.
14685
3779b5b6
JM
146862013-05-18 Joseph Myers <joseph@codesourcery.com>
14687
2ee094ff
JM
14688 [BZ #15488]
14689 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14690 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14691 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14692 double tests.
14693 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14694 disable.
14695 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14696 check_long_double.
14697
3779b5b6
JM
14698 * math/gen-libm-test.pl (@tests): Remove variable.
14699 ($count): Likewise.
14700 (new_test): Remove function.
14701 (show_exceptions): New function.
14702 (special_functions): Use show_exceptions instead of new_test.
14703 (parse_args): Likewise.
14704 (generate_testfile): Pass only function name in generated call to
14705 print_max_error or print_complex_max_error.
14706 (get_ulps): Do not handle complex tests specially.
14707 (output_test): Rename to ...
14708 (get_all_ulps_for_test): ... this. Return a string rather than
14709 printing to a file. Require ulps to be present.
14710 (output_ulps): Generate arrays rather than #defines.
14711 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14712 (struct ulp_data): New type.
14713 (BUILD_COMPLEX_ULP): Remove macro.
14714 (compare_ulp_data): New function.
14715 (find_ulps): Likewise.
14716 (find_test_ulps): Likewise.
14717 (find_function_ulps): Likewise.
14718 (find_complex_function_ulps): Likewise.
14719 (print_max_error): Determine allowed ulps using
14720 find_function_ulps.
14721 (print_complex_max_error): Determine allowed ulps using
14722 find_complex_function_ulps.
14723 (check_float_internal): Determine max ulps using find_test_ulps.
14724 (check_float): Do not take max_ulp parameter. Update call to
14725 check_float_internal.
14726 (check_complex): Likewise.
14727 (check_int): Do not take max_ulp parameter.
14728 (check_long): Likewise.
14729 (check_bool): Likewise.
14730 (check_longlong): Likewise.
14731 (struct test_f_f_data): Remove max_ulp field.
14732 (struct test_ff_f_data): Likewise.
14733 (struct test_ff_f_data_nexttoward): Likewise.
14734 (struct test_fi_f_data): Likewise.
14735 (struct test_fl_f_data): Likewise.
14736 (struct test_if_f_data): Likewise.
14737 (struct test_fff_f_data): Likewise.
14738 (struct test_c_f_data): Likewise.
14739 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14740 (struct test_fF_f1_data): Likewise.
14741 (struct test_ffI_f1_data): Likewise.
14742 (struct test_c_c_data): Remove max_ulp field.
14743 (struct test_cc_c_data): Likewise.
14744 (struct test_f_i_data): Likewise.
14745 (struct test_ff_i_data): Likewise.
14746 (struct test_f_l_data): Likewise.
14747 (struct test_f_L_data): Likewise.
14748 (struct test_sincos_data): Likewise.
14749 (RUN_TEST_f_f): Do not handle ulps.
14750 (RUN_TEST_LOOP_f_f): Likewise.
14751 (RUN_TEST_2_f): Likewise.
14752 (RUN_TEST_LOOP_2_f): Likewise.
14753 (RUN_TEST_fff_f): Likewise.
14754 (RUN_TEST_LOOP_fff_f): Likewise.
14755 (RUN_TEST_c_f): Likewise.
14756 (RUN_TEST_LOOP_c_f): Likewise.
14757 (RUN_TEST_f_f1): Likewise.
14758 (RUN_TEST_LOOP_f_f1): Likewise.
14759 (RUN_TEST_fF_f1): Likewise.
14760 (RUN_TEST_LOOP_fF_f1): Likewise.
14761 (RUN_TEST_fI_f1): Likewise.
14762 (RUN_TEST_LOOP_fI_f1): Likewise.
14763 (RUN_TEST_ffI_f1): Likewise.
14764 (RUN_TEST_LOOP_ffI_f1): Likewise.
14765 (RUN_TEST_c_c): Likewise.
14766 (RUN_TEST_LOOP_c_c): Likewise.
14767 (RUN_TEST_cc_c): Likewise.
14768 (RUN_TEST_LOOP_cc_c): Likewise.
14769 (RUN_TEST_f_i): Likewise.
14770 (RUN_TEST_LOOP_f_i): Likewise.
14771 (RUN_TEST_f_i_tg): Likewise.
14772 (RUN_TEST_LOOP_f_i_tg): Likewise.
14773 (RUN_TEST_ff_i_tg): Likewise.
14774 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14775 (RUN_TEST_f_b): Likewise.
14776 (RUN_TEST_LOOP_f_b): Likewise.
14777 (RUN_TEST_f_b_tg): Likewise.
14778 (RUN_TEST_LOOP_f_b_tg): Likewise.
14779 (RUN_TEST_f_l): Likewise.
14780 (RUN_TEST_LOOP_f_l): Likewise.
14781 (RUN_TEST_f_L): Likewise.
14782 (RUN_TEST_LOOP_f_L): Likewise.
14783 (RUN_TEST_sincos): Likewise.
14784 (RUN_TEST_LOOP_sincos): Likewise.
14785
8269107f
JM
147862013-05-17 Joseph Myers <joseph@codesourcery.com>
14787
bb38759d
JM
14788 [BZ #15480]
14789 [BZ #15485]
14790 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14791 main case of finite arguments, set rounding mode to FE_TONEAREST
14792 and discard exceptions.
14793 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14794 exceptions.
14795 (remainder_tonearest_test_data): New variable.
14796 (remainder_test_tonearest): New function.
14797 (remainder_towardzero_test_data): New variable.
14798 (remainder_test_towardzero): New function.
14799 (remainder_downward_test_data): New variable.
14800 (remainder_test_downward): New function.
14801 (remainder_upward_test_data): New variable.
14802 (remainder_test_upward): New function.
14803 (main): Call the new test functions.
14804
a00bdcf0
JM
14805 * math/libm-test.inc (struct test_f_f1_data): Remove field
14806 extra_init.
14807 (struct test_fF_f1_data): Likewise.
14808 (struct test_ffI_f1_data): Likewise.
14809 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14810 based on value of EXTRA_EXPECTED.
14811 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14812 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14813 EXTRA_VAR based on value of EXTRA_EXPECTED.
14814 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14815 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14816 EXTRA_VAR based on value of EXTRA_EXPECTED.
14817 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14818 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14819 EXTRA_VAR based on value of EXTRA_EXPECTED.
14820 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14821 * math/gen-libm-test.pl (parse_args): Don't output initializers
14822 for extra output values.
14823
de407f79
JM
14824 * math/libm-test.inc (check_int): Expect result to be exactly
14825 equal to expected value and do not handle ulps.
14826 (check_long): Likewise.
14827 (check_longlong): Likewise.
14828
8269107f
JM
14829 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14830 exceptions.
14831 (cimag_test_data): Likewise.
14832 (conj_test_data): Likewise.
14833 (copysign_test_data): Likewise.
14834 (cproj_test_data): Likewise.
14835 (creal_test_data): Likewise.
14836 (fabs_test_data): Likewise.
14837 (fdim_test_data): Likewise.
14838 (finite_test_data): Likewise.
14839 (floor_test_data): Likewise.
14840 (fmax_test_data): Likewise.
14841 (fmin_test_data): Likewise.
14842 (fmod_test_data): Likewise.
14843 (fpclassify_test_data): Likewise.
14844 (frexp_test_data): Likewise.
14845 (ilogb_test_data): Likewise.
14846 (isfinite_test_data): Likewise.
14847 (isgreater_test_data): Likewise.
14848 (isgreaterequal_test_data): Likewise.
14849 (isinf_test_data): Likewise.
14850 (isless_test_data): Likewise.
14851 (islessequal_test_data): Likewise.
14852 (islessgreater_test_data): Likewise.
14853 (isnan_test_data): Likewise.
14854 (isnormal_test_data): Likewise.
14855 (issignaling_test_data): Likewise.
14856 (isunordered_test_data): Likewise.
14857 (ldexp_test_data): Likewise.
14858 (lrint_test_data): Likewise.
14859 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14860 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14861 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14862 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14863 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14864 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14865 test input.
14866 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14867 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14868 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14869 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14870 that test input.
14871 (lrint_downward_test_data): Test for "inexact" exceptions.
14872 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14873 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14874 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14875 test input.
14876 (lrint_upward_test_data): Test for "inexact" exceptions.
14877 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14878 test input.
14879 (llrint_test_data): Test for "inexact" exceptions.
14880 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14881 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14882 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14883 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14884 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14885 (llrint_downward_test_data): Test for "inexact" exceptions.
14886 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14887 (llrint_upward_test_data): Test for "inexact" exceptions.
14888 (logb_test_data): Likewise.
14889 (logb_downward_test_data): Likewise.
14890 (nextafter_test_data): Likewise.
14891 (nexttoward_test_data): Likewise.
14892 (remainder_test_data): Likewise.
14893 (remquo_test_data): Likewise.
14894 (scalbn_test_data): Likewise.
14895 (scalbln_test_data): Likewise.
14896 (signbit_test_data): Likewise.
14897 (sqrt_test_data): Likewise.
14898 (significand_test_data): Likewise.
14899
48a18de1
SP
149002013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
14902 [BZ #15424]
14903 * benchtests/bench-modf.c (struct args): Mark arg0 as
14904 volatile.
14905 * scripts/bench.pl: Mark members of struct args as volatile.
14906
13d3b41a
AZ
149072013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14908
68191c1d 14909 [BZ # 15497]
13d3b41a
AZ
14910 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14911 negative infinity on POWER6 or lower.
14912 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14913
2848b105
MR
149142013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14915
14916 [BZ #15442]
14917 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14918 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14919 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14920 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14921 (_FP_SETQNAN): New macro.
14922 (_FP_SETQNAN_SEMIRAW): Likewise.
14923 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14924 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14925 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14926 (FP_EXTEND): Use _FP_FRAC_SNANP.
14927 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14928 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14929 into account.
14930 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14931 New macro.
14932 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14933 Likewise.
14934
323e5cb7
JM
149352013-05-16 Joseph Myers <joseph@codesourcery.com>
14936
c58b274f
JM
14937 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14938 with DIVIDE_BY_ZERO_EXCEPTION.
14939 (gamma_test_data): Likewise.
14940 (lgamma_test_data): Likewise.
14941 (log_test_data): Likewise.
14942 (log10_test_data): Likewise.
14943 (log2_test_data): Likewise.
14944 (tgamma_test_data): Likewise.
14945
0ab34904
JM
14946 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14947 (acos_test_tonearest): Likewise.
14948 (acos_test_towardzero): Likewise.
14949 (acos_test_downward): Likewise.
14950 (acos_test_upward): Likewise.
14951 (acosh_test): Likewise.
14952 (asin_test): Likewise.
14953 (asin_test_tonearest): Likewise.
14954 (asin_test_towardzero): Likewise.
14955 (asin_test_downward): Likewise.
14956 (asin_test_upward): Likewise.
14957 (asinh_test): Likewise.
14958 (atan_test): Likewise.
14959 (atanh_test): Likewise.
14960 (atan2_test): Likewise.
14961 (cabs_test): Likewise.
14962 (cacos_test): Likewise.
14963 (cacosh_test): Likewise.
14964 (casin_test): Likewise.
14965 (casinh_test): Likewise.
14966 (catan_test): Likewise.
14967 (catanh_test): Likewise.
14968 (cbrt_test): Likewise.
14969 (ccos_test): Likewise.
14970 (ccosh_test): Likewise.
14971 (cexp_test): Likewise.
14972 (clog_test): Likewise.
14973 (clog10_test): Likewise.
14974 (cos_test): Likewise.
14975 (cos_test_tonearest): Likewise.
14976 (cos_test_towardzero): Likewise.
14977 (cos_test_downward): Likewise.
14978 (cos_test_upward): Likewise.
14979 (cosh_test): Likewise.
14980 (cosh_test_tonearest): Likewise.
14981 (cosh_test_towardzero): Likewise.
14982 (cosh_test_downward): Likewise.
14983 (cosh_test_upward): Likewise.
14984 (cpow_test): Likewise.
14985 (csin_test): Likewise.
14986 (csinh_test): Likewise.
14987 (csqrt_test): Likewise.
14988 (ctan_test): Likewise.
14989 (ctan_test_tonearest): Likewise.
14990 (ctan_test_towardzero): Likewise.
14991 (ctan_test_downward): Likewise.
14992 (ctan_test_upward): Likewise.
14993 (ctanh_test): Likewise.
14994 (ctanh_test_tonearest): Likewise.
14995 (ctanh_test_towardzero): Likewise.
14996 (ctanh_test_downward): Likewise.
14997 (ctanh_test_upward): Likewise.
14998 (erf_test): Likewise.
14999 (erfc_test): Likewise.
15000 (exp_test): Likewise.
15001 (exp_test_tonearest): Likewise.
15002 (exp_test_towardzero): Likewise.
15003 (exp_test_downward): Likewise.
15004 (exp_test_upward): Likewise.
15005 (exp10_test): Likewise.
15006 (exp2_test): Likewise.
15007 (expm1_test): Likewise.
15008 (fmod_test): Likewise.
15009 (gamma_test): Likewise.
15010 (hypot_test): Likewise.
15011 (j0_test): Likewise.
15012 (j1_test): Likewise.
15013 (jn_test): Likewise.
15014 (lgamma_test): Likewise.
15015 (log_test): Likewise.
15016 (log10_test): Likewise.
15017 (log1p_test): Likewise.
15018 (log2_test): Likewise.
15019 (logb_test_downward): Likewise.
15020 (pow_test): Likewise.
15021 (pow_test_tonearest): Likewise.
15022 (pow_test_towardzero): Likewise.
15023 (pow_test_downward): Likewise.
15024 (pow_test_upward): Likewise.
15025 (remainder_test): Likewise.
15026 (remquo_test): Likewise.
15027 (sin_test): Likewise.
15028 (sin_test_tonearest): Likewise.
15029 (sin_test_towardzero): Likewise.
15030 (sin_test_downward): Likewise.
15031 (sin_test_upward): Likewise.
15032 (sincos_test): Likewise.
15033 (sinh_test): Likewise.
15034 (sinh_test_tonearest): Likewise.
15035 (sinh_test_towardzero): Likewise.
15036 (sinh_test_downward): Likewise.
15037 (sinh_test_upward): Likewise.
15038 (sqrt_test): Likewise.
15039 (tan_test): Likewise.
15040 (tan_test_tonearest): Likewise.
15041 (tan_test_towardzero): Likewise.
15042 (tan_test_downward): Likewise.
15043 (tan_test_upward): Likewise.
15044 (tanh_test): Likewise.
15045 (tgamma_test): Likewise.
15046 (y0_test): Likewise.
15047 (y1_test): Likewise.
15048 (yn_test): Likewise.
15049
323e5cb7
JM
15050 * math/gen-libm-test.pl (adjust_arg): Remove function.
15051 (special_function): Remove argument $in_func. Only handle
15052 generating output for tables of tests, not inside functions.
15053 (parse_args): Likewise.
15054 (generate_testfile): Remove variable $in_func. Update call to
15055 parse_args.
15056 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15057 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15058 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15059 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15060 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15061 (MAX_VALUE_INIT): Rename macro to max_value.
15062 (MIN_VALUE_INIT): Rename macro to min_value.
15063 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15064 (plus_zero): Remove variable.
15065 (minus_zero): Likewise.
15066 (plus_infty): Likewise.
15067 (minus_infty): Likewise.
15068 (qnan_value): Likewise.
15069 (max_value): Likewise.
15070 (min_value): Likewise.
15071 (min_subnorm_value): Likewise.
15072
e054f494
RA
150732013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15074
15075 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15076 uint64_t or uint32_t usage.
15077 * crypt/sha256-block.c: Likewise.
15078 * crypt/sha256-crypt.c: Likewise.
15079 * crypt/sha256.c: Likewise.
15080 * crypt/sha512-block.c: Likewise.
15081 * crypt/sha512-crypt.c: Likewise.
15082 * crypt/sha512.c: Likewise.
15083 * debug/backtrace-tst.c: Likewise.
15084 * debug/pcprofiledump.c: Likewise.
15085 * elf/cache.c: Likewise.
15086 * elf/dl-cache.c: Likewise.
15087 * elf/dl-misc.c: Likewise.
15088 * elf/dl-profile.c: Likewise.
15089 * elf/dl-support.c: Likewise.
15090 * elf/ldconfig.c: Likewise.
15091 * elf/sprof.c: Likewise.
15092 * iconv/dummy-repertoire.c: Likewise.
15093 * iconv/iconv_charmap.c: Likewise.
15094 * iconv/skeleton.c: Likewise.
15095 * iconvdata/8bit-generic.c: Likewise.
15096 * iconvdata/cp737.h: Likewise.
15097 * iconvdata/cp775.h: Likewise.
15098 * iconvdata/ibm1008.h: Likewise.
15099 * iconvdata/ibm1025.h: Likewise.
15100 * iconvdata/ibm1046.h: Likewise.
15101 * iconvdata/ibm1097.h: Likewise.
15102 * iconvdata/ibm1112.h: Likewise.
15103 * iconvdata/ibm1122.h: Likewise.
15104 * iconvdata/ibm1123.h: Likewise.
15105 * iconvdata/ibm1124.h: Likewise.
15106 * iconvdata/ibm1129.h: Likewise.
15107 * iconvdata/ibm1130.h: Likewise.
15108 * iconvdata/ibm1132.h: Likewise.
15109 * iconvdata/ibm1133.h: Likewise.
15110 * iconvdata/ibm1137.h: Likewise.
15111 * iconvdata/ibm1140.h: Likewise.
15112 * iconvdata/ibm1141.h: Likewise.
15113 * iconvdata/ibm1142.h: Likewise.
15114 * iconvdata/ibm1143.h: Likewise.
15115 * iconvdata/ibm1144.h: Likewise.
15116 * iconvdata/ibm1145.h: Likewise.
15117 * iconvdata/ibm1146.h: Likewise.
15118 * iconvdata/ibm1147.h: Likewise.
15119 * iconvdata/ibm1148.h: Likewise.
15120 * iconvdata/ibm1149.h: Likewise.
15121 * iconvdata/ibm1153.h: Likewise.
15122 * iconvdata/ibm1154.h: Likewise.
15123 * iconvdata/ibm1155.h: Likewise.
15124 * iconvdata/ibm1156.h: Likewise.
15125 * iconvdata/ibm1157.h: Likewise.
15126 * iconvdata/ibm1158.h: Likewise.
15127 * iconvdata/ibm1160.h: Likewise.
15128 * iconvdata/ibm1161.h: Likewise.
15129 * iconvdata/ibm1162.h: Likewise.
15130 * iconvdata/ibm1163.h: Likewise.
15131 * iconvdata/ibm1164.h: Likewise.
15132 * iconvdata/ibm1166.h: Likewise.
15133 * iconvdata/ibm1167.h: Likewise.
15134 * iconvdata/ibm12712.h: Likewise.
15135 * iconvdata/ibm1390.h: Likewise.
15136 * iconvdata/ibm1399.h: Likewise.
15137 * iconvdata/ibm16804.h: Likewise.
15138 * iconvdata/ibm4517.h: Likewise.
15139 * iconvdata/ibm4899.h: Likewise.
15140 * iconvdata/ibm4909.h: Likewise.
15141 * iconvdata/ibm4971.h: Likewise.
15142 * iconvdata/ibm5347.h: Likewise.
15143 * iconvdata/ibm803.h: Likewise.
15144 * iconvdata/ibm856.h: Likewise.
15145 * iconvdata/ibm901.h: Likewise.
15146 * iconvdata/ibm902.h: Likewise.
15147 * iconvdata/ibm9030.h: Likewise.
15148 * iconvdata/ibm9066.h: Likewise.
15149 * iconvdata/ibm921.h: Likewise.
15150 * iconvdata/ibm922.h: Likewise.
15151 * iconvdata/ibm9448.h: Likewise.
15152 * iconvdata/isiri-3342.h: Likewise.
15153 * iconvdata/jis0201.h: Likewise.
15154 * include/link.h: Likewise.
15155 * include/netdb.h: Likewise.
15156 * inet/check_native.c: Likewise.
15157 * inet/check_pf.c: Likewise.
15158 * inet/getipv4sourcefilter.c: Likewise.
15159 * inet/getnameinfo.c: Likewise.
15160 * inet/getsourcefilter.c: Likewise.
15161 * inet/htonl.c: Likewise.
15162 * inet/setipv4sourcefilter.c: Likewise.
15163 * inet/setsourcefilter.c: Likewise.
15164 * inet/test-inet6_opt.c: Likewise.
15165 * inet/tst-network.c: Likewise.
15166 * locale/C-collate.c: Likewise.
15167 * locale/C-ctype.c: Likewise.
15168 * locale/C-time.c: Likewise.
15169 * locale/C-translit.h: Likewise.
15170 * locale/loadarchive.c: Likewise.
15171 * locale/programs/3level.h: Likewise.
15172 * locale/programs/charmap.c: Likewise.
15173 * locale/programs/charmap.h: Likewise.
15174 * locale/programs/ld-address.c: Likewise.
15175 * locale/programs/ld-collate.c: Likewise.
15176 * locale/programs/ld-ctype.c: Likewise.
15177 * locale/programs/ld-identification.c: Likewise.
15178 * locale/programs/ld-measurement.c: Likewise.
15179 * locale/programs/ld-messages.c: Likewise.
15180 * locale/programs/ld-monetary.c: Likewise.
15181 * locale/programs/ld-name.c: Likewise.
15182 * locale/programs/ld-numeric.c: Likewise.
15183 * locale/programs/ld-paper.c: Likewise.
15184 * locale/programs/ld-telephone.c: Likewise.
15185 * locale/programs/ld-time.c: Likewise.
15186 * locale/programs/linereader.c: Likewise.
15187 * locale/programs/locale.c: Likewise.
15188 * locale/programs/locarchive.c: Likewise.
15189 * locale/programs/locfile.h: Likewise.
15190 * locale/programs/repertoire.c: Likewise.
15191 * locale/programs/simple-hash.c: Likewise.
15192 * locale/programs/simple-hash.h: Likewise.
15193 * malloc/memusage.c: Likewise.
15194 * malloc/memusagestat.c: Likewise.
15195 * nis/nis_defaults.c: Likewise.
15196 * nis/nis_hash.c: Likewise.
15197 * nis/nis_print.c: Likewise.
15198 * nis/nis_xdr.c: Likewise.
15199 * nscd/connections.c: Likewise.
15200 * nscd/hstcache.c: Likewise.
15201 * nscd/nscd_gethst_r.c: Likewise.
15202 * nscd/nscd_getserv_r.c: Likewise.
15203 * nscd/nscd_helper.c: Likewise.
15204 * nscd/servicescache.c: Likewise.
15205 * nss/makedb.c: Likewise.
15206 * nss/nss_db/db-XXX.c: Likewise.
15207 * nss/nss_db/db-initgroups.c: Likewise.
15208 * nss/nss_db/db-netgrp.c: Likewise.
15209 * nss/nss_files/files-network.c: Likewise.
15210 * nss/nss_files/files-parse.c: Likewise.
15211 * posix/bug-regex5.c: Likewise.
15212 * posix/fnmatch_loop.c: Likewise.
15213 * posix/regcomp.c: Likewise.
15214 * posix/regexec.c: Likewise.
15215 * posix/tst-rfc3484-2.c: Likewise.
15216 * posix/tst-rfc3484-3.c: Likewise.
15217 * posix/tst-rfc3484.c: Likewise.
15218 * resolv/nss_dns/dns-canon.c: Likewise.
15219 * resolv/nss_dns/dns-network.c: Likewise.
15220 * resolv/res_init.c: Likewise.
15221 * resolv/res_mkquery.c: Likewise.
15222 * resolv/tst-aton.c: Likewise.
15223 * stdlib/cxa_atexit.c: Likewise.
15224 * stdlib/cxa_finalize.c: Likewise.
15225 * stdlib/gen-fpioconst.c: Likewise.
15226 * stdlib/strtol_l.c: Likewise.
15227 * string/tst-endian.c: Likewise.
15228 * sunrpc/auth_des.c: Likewise.
15229 * sunrpc/clnt_udp.c: Likewise.
15230 * sunrpc/rtime.c: Likewise.
15231 * sunrpc/svcauth_des.c: Likewise.
15232 * sunrpc/xdr.c: Likewise.
15233 * sunrpc/xdr_intXX_t.c: Likewise.
15234 * sunrpc/xdr_rec.c: Likewise.
15235 * sysdeps/generic/ldconfig.h: Likewise.
15236 * sysdeps/generic/ldsodefs.h: Likewise.
15237 * sysdeps/generic/memusage.h: Likewise.
15238 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15248 * sysdeps/posix/getaddrinfo.c: Likewise.
15249 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15251 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15252 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15253 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15254 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15255 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15256 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15257 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15258 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15260 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15261 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15262 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15263 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15264 * sysdeps/x86_64/dl-tls.h: Likewise.
15265 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15266 * time/alt_digit.c: Likewise.
15267 * time/era.c: Likewise.
15268 * wcsmbs/tst-c16c32-1.c: Likewise.
15269
8c75f674
JM
152702013-05-16 Joseph Myers <joseph@codesourcery.com>
15271
15272 * math/libm-test.inc (struct test_sincos_data): New type.
15273 (RUN_TEST_LOOP_sincos): New macro.
15274 (sincos_test_data): New variable.
15275 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15276
e6e49e59
RH
152772013-05-16 Richard Henderson <rth@redhat.com>
15278
15279 * math/atest-exp2.c (LIMB64): New macro.
15280 (CONSTSZ): New macro.
15281 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15282 (hexdig): Move ...
15283 (print_mpn_fp): ... to function scope.
15284 (read_mpn_hex): Remove.
15285 (get_log2): Remove.
15286 (exp2_mpn): Use mp_log2.
15287 (main): Use mp_exp1.
15288
15c7c18d
JM
152892013-05-16 Joseph Myers <joseph@codesourcery.com>
15290
105a07df
JM
15291 * math/libm-test.inc: Remove comment about not testing "inexact"
15292 exceptions.
15293 (INEXACT_EXCEPTION): New macro.
15294 (NO_INEXACT_EXCEPTION): Likewise.
15295 (INVALID_EXCEPTION_OK): Update value.
15296 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15297 (OVERFLOW_EXCEPTION_OK): Likewise.
15298 (UNDERFLOW_EXCEPTION_OK): Likewise.
15299 (IGNORE_ZERO_INF_SIGN): Likewise.
15300 (ERRNO_UNCHANGED): Likewise.
15301 (ERRNO_EDOM): Likewise.
15302 (ERRNO_ERANGE): Likewise.
15303 (test_exceptions): Handle testing "inexact" exceptions.
15304 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15305 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15306 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15307 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15308 INEXACT_EXCEPTION.
15309 (rint_towardzero_test_data): Likewise.
15310 (rint_downward_test_data): Likewise.
15311 (rint_upward_test_data): Likewise.
15312
e9eee333
JM
15313 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15314 with OVERFLOW_EXCEPTION.
15315 (exp10_test_data): Likewise.
15316 (exp2_test_data): Likewise.
15317 (expm1_test_data): Likewise.
15318 (lgamma_test_data): Likewise.
15319 (pow_test_data): Likewise.
15320 (tgamma_test_data): Likewise.
15321 (yn_test_data): Remove duplicate test of overflow.
15322
1c38ff73
JM
15323 * math/libm-test.inc (struct test_cc_c_data): New type.
15324 (RUN_TEST_LOOP_cc_c): New macro.
15325 (cpow_test_data): New variable.
15326 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15327
15c7c18d
JM
15328 * math/libm-test.inc (struct test_f_L_data): New type.
15329 (RUN_TEST_LOOP_f_L): New macro.
15330 (llrint_test_data): New variable.
15331 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15332 (llrint_tonearest_test_data): New variable.
15333 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15334 (llrint_towardzero_test_data): New variable.
15335 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15336 (llrint_downward_test_data): New variable.
15337 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15338 (llrint_upward_test_data): New variable.
15339 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15340 (llround_test_data): New variable.
15341 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15342
f137ff13
PC
153432013-05-13 Peter Collingbourne <pcc@google.com>
15344
15345 * math/atest-exp2.c (get_log2): Remove const attribute.
15346
3608cb24
JM
153472013-05-15 Joseph Myers <joseph@codesourcery.com>
15348
15349 * math/libm-test.inc (struct test_f_l_data): New type.
15350 (RUN_TEST_LOOP_f_l): New macro.
15351 (lrint_test_data): New variable.
15352 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15353 (lrint_tonearest_test_data): New variable.
15354 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15355 (lrint_towardzero_test_data): New variable.
15356 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15357 (lrint_downward_test_data): New variable.
15358 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15359 (lrint_upward_test_data): New variable.
15360 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15361 (lround_test_data): New variable.
15362 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15363
39b1f617
PC
153642013-05-15 Peter Collingbourne <pcc@google.com>
15365
1deff3dc
PC
15366 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15367 (EXTRACT_WORDS64) Use where appropriate.
15368 (INSERT_WORDS64) Likewise.
15369
791f3ba0
PC
15370 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15371 constraints with x constraints.
15372 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15373
39b1f617
PC
15374 * malloc/obstack.c (_obstack_compat): Add initializer.
15375
12fba011
EM
153762013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15377
15378 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15379 si_trapno and add si_addr_lsb to _sifields.sigfault.
15380 (si_trapno): Remove macro.
15381 (si_addr_lsb): Define new macro.
15382 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15383
d369f531
JM
153842013-05-15 Joseph Myers <joseph@codesourcery.com>
15385
b861c6c4
JM
15386 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15387 instead of TEST_f_l.
15388 (llrint_test_tonearest): Likewise.
15389 (llrint_test_towardzero): Likewise.
15390 (llrint_test_downward): Likewise.
15391 (llrint_test_upward): Likewise.
15392 (llround_test): Likewise.
15393
7abeee12
JM
15394 * math/libm-test.inc (struct test_f_i_data): Add comment.
15395 (RUN_TEST_LOOP_f_b): New macro.
15396 (RUN_TEST_LOOP_f_b_tg): Likewise.
15397 (finite_test_data): New variable.
15398 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15399 (isfinite_test_data): New variable.
15400 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15401 (isinf_test_data): New variable.
15402 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15403 (isnan_test_data): New variable.
15404 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15405 (isnormal_test_data): New variable.
15406 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15407 (issignaling_test_data): New variable.
15408 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15409 (signbit_test_data): New variable.
15410 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15411
cbe8c4d3
JM
15412 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15413 with INVALID_EXCEPTION.
15414 (acosh_test_data): Likewise.
15415 (asin_test_data): Likewise.
15416 (atanh_test_data): Likewise.
15417 (fmod_test_data): Likewise.
15418 (log_test_data): Likewise.
15419 (log10_test_data): Likewise.
15420 (log2_test_data): Likewise.
15421 (pow_test_data): Likewise.
15422 (sqrt_test_data): Likewise.
15423 (y0_test_data): Likewise.
15424 (y1_test_data): Likewise.
15425 (yn_test_data): Likewise.
15426
5575c0e5
JM
15427 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15428 function contents.
15429
d369f531
JM
15430 * math/libm-test.inc (struct test_ff_i_data): New type.
15431 (RUN_TEST_LOOP_ff_i_tg): New macro.
15432 (isgreater_test_data): New variable.
15433 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15434 (isgreaterequal_test_data): New variable.
15435 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15436 (isless_test_data): New variable.
15437 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15438 (islessequal_test_data): New variable.
15439 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15440 (islessgreater_test_data): New variable.
15441 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15442 (isunordered_test_data): New variable.
15443 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15444
781fd748
DM
154452013-05-14 David S. Miller <davem@davemloft.net>
15446
15447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15448
87aa21df
JM
154492013-05-14 Joseph Myers <joseph@codesourcery.com>
15450
5e908270
JM
15451 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15452
f71172e5
JM
15453 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15454 extra_test to int.
15455 (struct test_f_i_data): Change type of max_ulp to int.
15456
8cfa635a
JM
15457 * math/libm-test.inc (test_ffI_f1_data): New type.
15458 (RUN_TEST_LOOP_ffI_f1): New macro.
15459 (remquo_test_data): New variable.
15460 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15461
2bcb36b2
JM
15462 * setjmp/tst-setjmp-fp.c: New file.
15463 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15464 (link-libm): New variable.
15465 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15466
acbd839a
JM
15467 * math/libm-test.inc (struct test_f_i_data): New type.
15468 (RUN_TEST_LOOP_f_i): New macro.
15469 (RUN_TEST_LOOP_f_i_tg): Likewise.
15470 (fpclassify_test_data): New variable.
15471 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15472 (ilogb_test_data): New variable.
15473 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15474
e414d745
JM
15475 * math/libm-test.inc (scalbln_test): Correct function name in END
15476 call.
15477
d9c2a0fd
JM
15478 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15479 (RUN_TEST_LOOP_fI_f1): New macro.
15480 (frexp_test_data): New variable.
15481 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15482
9dc9095d
JM
15483 * math/libm-test.inc (struct test_fF_f1_data): New type.
15484 (RUN_TEST_LOOP_fF_f1): New macro.
15485 (modf_test_data): New variable.
15486 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15487
87aa21df
JM
15488 * math/libm-test.inc (struct test_f_f1_data): New type.
15489 (RUN_TEST_LOOP_f_f1): New macro.
15490 (gamma_test_data): New variable.
15491 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15492 (lgamma_test_data): New variable.
15493 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15494
141af660
CD
154952013-05-13 Carlos O'Donell <carlos@redhat.com>
15496
15497 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15498 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15499 (main): Comment "tls" pseudo-hwcap.
15500
6d33265c
JM
155012013-05-13 Joseph Myers <joseph@codesourcery.com>
15502
68fc074c
JM
15503 * math/libm-test.inc (struct test_fl_f_data): New type.
15504 (RUN_TEST_LOOP_fl_f): New variable.
15505 (scalbln_test_data): New variable.
15506 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15507
243216e1
JM
15508 * math/libm-test.inc (struct test_fi_f_data): New type.
15509 (RUN_TEST_LOOP_fi_f): New macro.
15510 (ldexp_test_data): New variable.
15511 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15512 (scalbn_test_data): New variable.
15513 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15514
6a1992e2
JM
15515 * math/libm-test.inc (struct test_c_f_data): New type.
15516 (RUN_TEST_LOOP_c_f): New macro.
15517 (cabs_test_data): New variable.
15518 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15519 (carg_test_data): New variable.
15520 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15521 (cimag_test_data): New variable.
15522 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15523 (creal_test_data): New variable.
15524 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15525
0e400df5
JM
15526 * math/libm-test.inc (struct test_if_f_data): New type.
15527 (RUN_TEST_LOOP_if_f): New macro.
15528 (jn_test_data): New variable.
15529 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15530 (yn_test_data): New variable.
15531 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15532
6d33265c
JM
15533 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15534
f98ece5f
AZ
155352013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15536
15537 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15538 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15539
0f7d347b
SP
155402013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15541
43fe811b
SP
15542 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15543 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15544 (bench-deps): Add bench-timing.h.
15545 * benchtests-bench-skeleton.c: Include bench-timing.h.
15546 (main): Use TIMING_* macros instead of clock_gettime.
15547 * benchtests/bench-timing.h: New file.
15548
0f7d347b
SP
15549 [BZ #14582]
15550 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15551 Renamed from _LIB_VERSION.
15552 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15553
601a3a5f
JM
155542013-05-12 Joseph Myers <joseph@codesourcery.com>
15555
4f184d30
JM
15556 * math/libm-test.inc (struct test_fff_f_data): New type.
15557 (RUN_TEST_LOOP_fff_f): New macro.
15558 (fma_test_data): New variable.
15559 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15560 (fma_towardzero_test_data): New variable.
15561 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15562 (fma_downward_test_data): New variable.
15563 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15564 (fma_upward_test_data): New variable.
15565 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15566
08198877
JM
15567 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15568 (struct test_c_c_data): New type.
15569 (RUN_TEST_LOOP_c_c): New macro.
15570 (cacos_test_data): New variable.
15571 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15572 (cacosh_test_data): New variable.
15573 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15574 (casin_test_data): New variable.
15575 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15576 (casinh_test_data): New variable.
15577 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15578 (catan_test_data): New variable.
15579 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15580 (catanh_test_data): New variable.
15581 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15582 (ccos_test_data): New variable.
15583 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15584 (ccosh_test_data): New variable.
15585 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15586 (cexp_test_data): New variable.
15587 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15588 (clog_test_data): New variable.
15589 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15590 (clog10_test_data): New variable.
15591 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15592 (conj_test_data): New variable.
15593 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15594 (cproj_test_data): New variable.
15595 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15596 (csin_test_data): New variable.
15597 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15598 (csinh_test_data): New variable.
15599 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15600 (csqrt_test_data): New variable.
15601 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15602 (ctan_test_data): New variable.
15603 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15604 (ctan_tonearest_test_data): New variable.
15605 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15606 (ctan_towardzero_test_data): New variable.
15607 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15608 (ctan_downward_test_data): New variable.
15609 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15610 (ctan_upward_test_data): New variable.
15611 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15612 (ctanh_test_data): New variable.
15613 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15614 (ctanh_tonearest_test_data): New variable.
15615 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15616 (ctanh_towardzero_test_data): New variable.
15617 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15618 (ctanh_downward_test_data): New variable.
15619 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15620 (ctanh_upward_test_data): New variable.
15621 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15622 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15623 of BUILD_COMPLEX.
15624
601a3a5f
JM
15625 * math/libm-test.inc (struct test_ff_f_data): New type.
15626 (struct test_ff_f_data_nexttoward): Likewise.
15627 (RUN_TEST_LOOP_2_f): New macro.
15628 (RUN_TEST_LOOP_ff_f): Likewise.
15629 (atan2_test_data): New variable.
15630 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15631 (copysign_test_data): New variable.
15632 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15633 (fdim_test_data): New variable.
15634 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15635 (fmax_test_data): New variable.
15636 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15637 (fmin_test_data): New variable.
15638 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15639 (fmod_test_data): New variable.
15640 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15641 (hypot_test_data): New variable.
15642 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15643 (nextafter_test_data): New variable.
15644 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15645 (nexttoward_test_data): New variable.
15646 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15647 (pow_test_data): New variable.
15648 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15649 (pow_tonearest_test_data): New variable.
15650 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15651 (pow_towardzero_test_data): New variable.
15652 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15653 (pow_downward_test_data): New variable.
15654 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15655 (pow_upward_test_data): New variable.
15656 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15657 (remainder_test_data): New variable.
15658 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15659 (scalb_test_data): New variable.
15660 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15661 * sysdeps/i386/fpu/libm-test-ulps: Update.
15662
74c57478
JM
156632013-05-11 Joseph Myers <joseph@codesourcery.com>
15664
8329e4da
JM
15665 * math/libm-test.inc (fma_test): Use max_value instead of local
15666 variable fltmax.
15667 (nextafter_test): Likewise.
15668
74c57478
JM
15669 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15670 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15671 (acos_downward_test_data): New variable.
15672 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15673 (acos_upward_test_data): New variable.
15674 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15675 (acosh_test_data): New variable.
15676 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15677 (asin_test_data): New variable.
15678 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15679 (asin_tonearest_test_data): New variable.
15680 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15681 (asin_towardzero_test_data): New variable.
15682 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15683 (asin_downward_test_data): New variable.
15684 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15685 (asin_upward_test_data): New variable.
15686 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15687 (asinh_test_data): New variable.
15688 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15689 (atan_test_data): New variable.
15690 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15691 (atanh_test_data): New variable.
15692 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15693 (cbrt_test_data): New variable.
15694 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15695 (ceil_test_data): New variable.
15696 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15697 (cos_test_data): New variable.
15698 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15699 (cos_tonearest_test_data): New variable.
15700 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15701 (cos_towardzero_test_data): New variable.
15702 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15703 (cos_downward_test_data): New variable.
15704 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15705 (cos_upward_test_data): New variable.
15706 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15707 (cosh_test_data): New variable.
15708 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15709 (cosh_tonearest_test_data): New variable.
15710 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15711 (cosh_towardzero_test_data): New variable.
15712 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15713 (cosh_downward_test_data): New variable.
15714 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15715 (cosh_upward_test_data): New variable.
15716 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15717 (erf_test_data): New variable.
15718 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15719 (erfc_test_data): New variable.
15720 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15721 (exp_test_data): New variable.
15722 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15723 (exp_tonearest_test_data): New variable.
15724 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15725 (exp_towardzero_test_data): New variable.
15726 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15727 (exp_downward_test_data): New variable.
15728 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15729 (exp_upward_test_data): New variable.
15730 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15731 (exp10_test_data): New variable.
15732 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15733 (exp2_test_data): New variable.
15734 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15735 (expm1_test_data): New variable.
15736 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15737 (fabs_test_data): New variable.
15738 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15739 (floor_test_data): New variable.
15740 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15741 (j0_test_data): New variable.
15742 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15743 (j1_test_data): New variable.
15744 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15745 (log_test_data): New variable.
15746 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15747 (log10_test_data): New variable.
15748 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15749 (log1p_test_data): New variable.
15750 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15751 (log2_test_data): New variable.
15752 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15753 (logb_test_data): New variable.
15754 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15755 (logb_downward_test_data): New variable.
15756 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15757 (nearbyint_test_data): New variable.
15758 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15759 (rint_test_data): New variable.
15760 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15761 (rint_tonearest_test_data): New variable.
15762 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15763 (rint_towardzero_test_data): New variable.
15764 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15765 (rint_downward_test_data): New variable.
15766 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15767 (rint_upward_test_data): New variable.
15768 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15769 (round_test_data): New variable.
15770 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15771 (sin_test_data): New variable.
15772 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15773 (sin_tonearest_test_data): New variable.
15774 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15775 (sin_towardzero_test_data): New variable.
15776 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15777 (sin_downward_test_data): New variable.
15778 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15779 (sin_upward_test_data): New variable.
15780 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15781 (sinh_test_data): New variable.
15782 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15783 (sinh_tonearest_test_data): New variable.
15784 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15785 (sinh_towardzero_test_data): New variable.
15786 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15787 (sinh_downward_test_data): New variable.
15788 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15789 (sinh_upward_test_data): New variable.
15790 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15791 (sqrt_test_data): New variable.
15792 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15793 (tan_test_data): New variable.
15794 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15795 (tan_tonearest_test_data): New variable.
15796 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15797 (tan_towardzero_test_data): New variable.
15798 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15799 (tan_downward_test_data): New variable.
15800 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15801 (tan_upward_test_data): New variable.
15802 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15803 (tanh_test_data): New variable.
15804 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15805 (tgamma_test_data): New variable.
15806 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15807 (trunc_test_data): New variable.
15808 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15809 (y0_test_data): New variable.
15810 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15811 (y1_test_data): New variable.
15812 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15813 (significand_test_data): New variable.
15814 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15815
7187d844
CG
158162013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15817
15818 [BZ #12387]
15819 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15820
f63fae73
PT
158212013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15822
15823 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15824
8a67a4b3
AJ
158252013-05-10 Andreas Jaeger <aj@suse.de>
15826
15827 [BZ #15448]
15828 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15829 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15830
51df539d
JM
158312013-05-10 Joseph Myers <joseph@codesourcery.com>
15832
15833 * math/gen-libm-test.pl (adjust_arg): New function.
15834 (special_functions): Handle generating output in both functions
15835 and arrays.
15836 (parse_args): Likewise.
15837 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15838 $in_func argument to parse_args.
15839 * math/libm-test.inc (struct test_f_f_data): New type.
15840 (IF_ROUND_INIT_): New macro.
15841 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15842 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15843 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15844 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15845 (ROUND_RESTORE_): Likewise.
15846 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15847 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15848 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15849 (ROUND_RESTORE_FE_UPWARD): Likewise.
15850 (RUN_TEST_LOOP_f_f): New macro.
15851 (acos_test_data): New variable.
15852 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15853 (acos_tonearest_test_data): New variable.
15854 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15855
5c637fe5
SP
158562013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15857
15858 * benchtests/bench-skeleton.c (startup): Fix coding style.
15859
ab2b9461
JM
158602013-05-10 Joseph Myers <joseph@codesourcery.com>
15861
15862 [BZ #6809]
15863 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15864 negative infinity argument.
15865 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15866 negative infinity argument.
15867 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15868 negative infinity argument.
15869 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15870 domain errors.
15871
4c0fe6fe
FW
158722013-05-10 Florian Weimer <fweimer@redhat.com>
15873
15874 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15875 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15876 * iconv/iconv_prog.c (main): Likewise.
15877 * locale/programs/charmap-dir.c (charmap_readdir)
15878 (fopen_uncompressed): Likewise.
15879 * locale/programs/locfile.c (siblings_uncached)
15880 (write_locale_data): Use lstat64 instead of lstat.
15881 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15882 stat.
15883
a3375d29
AJ
158842013-05-10 Andreas Jaeger <aj@suse.de>
15885
15886 [BZ #15395]
15887 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15888 localization.
15889 Include <locale.h>.
15890
36129722
CD
158912013-05-09 Carlos O'Donell <carlos@redhat.com>
15892
15893 * elf/dl-close.c (_dl_close_worker): Add comments.
15894
faa7f811
JM
158952013-05-09 Joseph Myers <joseph@codesourcery.com>
15896
ed41ffef
JM
15897 [BZ #15359]
15898 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15899 high part of pi/2.
15900 (__ieee754_rem_pio2l): Update comments.
15901
d0213cd0
JM
15902 [BZ #15429]
15903 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15904 high part of pi/2.
15905 (__ieee754_rem_pio2l): Update comments.
15906
0d3e777a
JM
15907 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15908 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15909
24f56066
JM
15910 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15911 M_PI_4l.
15912
faa7f811
JM
15913 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15914 (M_PI_34_LOG10El): Likewise.
15915 (M_PI2_LOG10El): Likewise.
15916 (M_PI4_LOG10El): Likewise.
15917 (M_PI_LOG10El): Likewise.
15918
e9a5e0fd
AZ
159192013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15920
15921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15922
d8cd06db
JM
159232013-05-08 Joseph Myers <joseph@codesourcery.com>
15924
a0d9f9d7
JM
15925 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15926 (MINUS_ZERO_INIT): Likewise.
15927 (PLUS_INFTY_INIT): Likewise.
15928 (MINUS_INFTY_INIT): Likewise.
15929 (QNAN_VALUE_INIT): Likewise.
15930 (MAX_VALUE_INIT): Likewise.
15931 (MIN_VALUE_INIT): Likewise.
15932 (MIN_SUBNORM_VALUE_INIT): Likewise.
15933 (plus_zero): Initialize with PLUS_ZERO_INIT.
15934 (minus_zero): Initialize with MINUS_ZERO_INIT.
15935 (plus_infty): Initialize with PLUS_INFTY_INIT.
15936 (minus_infty): Initialize with MINUS_INFTY_INIT.
15937 (qnan_value): Initialize with QNAN_VALUE_INIT.
15938 (max_value): Initialize with MAX_VALUE_INIT.
15939 (min_value): Initialize with MIN_VALUE_INIT.
15940 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15941
ae08db3b
JM
15942 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15943 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15944 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15945 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15946
f44bf14a
JM
15947 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15948 (RUN_TEST_2_f): Likewise.
15949 (RUN_TEST_ff_f): Likewise.
15950 (RUN_TEST_fi_f): Likewise.
15951 (RUN_TEST_fl_f): Likewise.
15952 (RUN_TEST_fff_f): Likewise.
15953 (RUN_TEST_c_f): Likewise.
15954 (RUN_TEST_f_f1): Likewise.
15955 (RUN_TEST_fF_f1): Likewise.
15956 (RUN_TEST_fI_f1): Likewise.
15957 (RUN_TEST_ffI_f1): Likewise.
15958 (RUN_TEST_c_c): Likewise.
15959 (RUN_TEST_cc_c): Likewise.
15960 (RUN_TEST_f_i): Likewise.
15961 (RUN_TEST_f_i_tg): Likewise.
15962 (RUN_TEST_ff_i_tg): Likewise.
15963 (RUN_TEST_f_b): Likewise.
15964 (RUN_TEST_f_b_tg): Likewise.
15965 (RUN_TEST_f_l): Likewise.
15966 (RUN_TEST_f_L): Likewise.
15967 (RUN_TEST_sincos): Likewise.
15968 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15969 whether to show exceptions. Do not include ");\n" in return
15970 value.
15971 (special_functions): Output call to RUN_TEST_sincos instead of
15972 check_float calls. Update calls to new_test.
15973 (parse_args): Output call to single RUN_TEST_* macro instead of
15974 check_* calls and other assignments. Update calls to new_test.
15975
d8cd06db
JM
15976 [BZ #2546]
15977 [BZ #2560]
15978 [BZ #5159]
15979 [BZ #15426]
15980 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15981 input to result for tgamma overflow.
15982 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15983 (gamma_coeff): New variable.
15984 (NCOEFF): New macro.
15985 (gamma_positive): New function.
15986 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15987 underflow here. Use gamma_positive instead of exp (lgamma) for
15988 other arguments.
15989 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15990 (gamma_coeff): New variable.
15991 (NCOEFF): New macro.
15992 (gammaf_positive): New function.
15993 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15994 underflow here. Use gamma_positive instead of exp (lgamma) for
15995 other arguments.
15996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15997 (gamma_coeff): New variable.
15998 (NCOEFF): New macro.
15999 (gammal_positive): New function.
16000 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16001 underflow here. Use gamma_positive instead of exp (lgamma) for
16002 other arguments.
16003 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16004 (gamma_coeff): New variable.
16005 (NCOEFF): New macro.
16006 (gammal_positive): New function.
16007 (__ieee754_gammal_r): Handle positive infinity, overflow and
16008 underflow here. Handle NaN the same as positive infinity. Remove
16009 check x < 0xffffffff for negative integers. Use gamma_positive
16010 instead of exp (lgamma) for other arguments.
16011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16012 (gamma_coeff): New variable.
16013 (NCOEFF): New macro.
16014 (gammal_positive): New function.
16015 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16016 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16021 * sysdeps/generic/math_private.h (__gamma_productf): New
16022 prototype.
16023 (__gamma_product): Likewise.
16024 (__gamma_productl): Likewise.
16025 * math/Makefile (libm-calls): Add gamma_product.
16026 * math/libm-test.inc (tgamma_test): Add more tests.
16027 * sysdeps/i386/fpu/libm-test-ulps: Update.
16028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16029
bb7cf681
OB
160302013-05-08 Ondřej Bílka <neleai@seznam.cz>
16031
16032 * benchtests/bench-skeleton.c (main): Preheat CPU.
16033
ba853947
AJ
160342013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16035
16036 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16037
8347c74c
RM
160382013-05-07 Roland McGrath <roland@hack.frob.com>
16039
16040 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16041 and _dl_skip_args_internal.
16042
e8dd4791
CD
160432013-05-07 Carlos O'Donell <carlos@redhat.com>
16044
16045 * manual/message.texi (Message Translation): Talk about users.
16046 Message to key mapping impacts design.
16047
c7405830
RM
160482013-05-06 Roland McGrath <roland@hack.frob.com>
16049
a9173057
RM
16050 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16051
976e2f03
RM
16052 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16053
9723ffc5
RM
16054 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16055 * sysdeps/wordsize-64/glob64.c: ... here.
16056
962e6658
RM
16057 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16058 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16059 New macros.
16060
ee586a6d
RM
16061 * debug/getlogin_r_chk.c: Moved to ...
16062 * login/getlogin_r_chk.c: ... here.
16063 * debug/Makefile (routines): Move getlogin_r_chk to ...
16064 * login/Makefile (routines): ... here.
16065 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16066 * login/Versions (libc: GLIBC_2.4): ... here.
16067
355f9165
RM
16068 * io/poll.c (__poll): Renamed from poll.
16069 Add libc_hidden_def.
16070 (poll): Define as weak alias.
16071
bd9ffde6
RM
16072 * debug/ptsname_r_chk.c: Moved to ...
16073 * login/ptsname_r_chk.c: ... here.
16074 * debug/Makefile (routines): Move ptsname_r_chk to ...
16075 * login/Makefile (routines): ... here.
16076 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16077 * login/Versions (libc: GLIBC_2.4): ... here.
16078
8fb16a04
RM
16079 * posix/getlogin.c: Moved to ...
16080 * login/getlogin.c: ... here.
16081 * posix/getlogin_r.c: Moved to ...
16082 * login/getlogin_r.c: ... here.
16083 * posix/getlogin_r.c: Moved to ...
16084 * login/getlogin_r.c: ... here.
16085 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16086 * login/Makefile (routines): ... here.
16087 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16088 * login/Versions (libc: GLIBC_2.0): ... here.
16089
b99b892f
RM
16090 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16091 (setrlimit): Define as weak alias.
16092
c7405830
RM
16093 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16094 Call __ names for open, ftruncate, and close.
16095 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16096 (truncate): Define as weak alias.
16097
5bf96de5
JM
160982013-05-06 Joseph Myers <joseph@codesourcery.com>
16099
9ea3513c
JM
16100 * math/gen-libm-test.pl (parse_args): Initialize x before each
16101 test of frexp, modf and remquo.
16102
5bf96de5
JM
16103 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16104 test signgam value.
16105
16e616a7
AZ
161062013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16107
16108 [BZ #15418]
16109 [BZ #15419]
16110 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16111 internal tests.
16112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16113
d5e82754
RM
161142013-05-06 Roland McGrath <roland@hack.frob.com>
16115
16116 * elf/dl-writev.h: New file.
16117 * elf/dl-misc.c: Include it.
16118 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16119 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16120
a7548d41
JM
161212013-05-04 Joseph Myers <joseph@codesourcery.com>
16122
b7dab1e4
JM
16123 * math/libm-test.inc (noXFails): Remove variable.
16124 (noXPasses): Likewise.
16125 (BUILD_COMPLEX_INT): Remove macro.
16126 (print_screen): Remove xfail argument.
16127 (print_screen_max_error): Likewise.
16128 (update_stats): Likewise.
16129 (print_max_error): Likewise. Update calls to other affected
16130 functions.
16131 (print_complex_max_error): Likewise.
16132 (test_single_exception): Update calls to print_screen.
16133 (test_single_errno): Likewise.
16134 (check_float_internal): Remove xfail argument. Update calls to
16135 other affected functions.
16136 (check_float): Likewise.
16137 (check_complex): Likewise.
16138 (check_int): Likewise.
16139 (check_long): Likewise.
16140 (check_bool): Likewise.
16141 (check_longlong): Likewise.
16142 (main): Don't print noXFails and noXPasses.
16143 * math/gen-libm-test.pl (top level): Don't mention expected
16144 failure handling in comment.
16145 (new_test): Don't handle expected failures.
16146 (parse_args): Don't mention expected failure handling in comment.
16147 (generate_testfile): Don't handle expected failures.
16148 (parse_ulps): Likewise.
16149 (print_ulps_file): Likewise.
16150 (get_failure): Remove function.
16151 (output_test): Don't handle expected failures.
16152 * make/README.libm-test: Don't mention expected failure handling.
16153
a7548d41
JM
16154 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16155 (minus_zero): Likewise.
16156 (plus_infty): Likewise.
16157 (minus_infty): Likewise.
16158 (qnan_value): Likewise.
16159 (max_value): Likewise.
16160 (min_value): Likewise.
16161 (min_subnorm_value): Likewise.
16162 (initialize): Do not initialize those variables dynamically.
16163
60bfd54c
RM
161642013-05-03 Roland McGrath <roland@hack.frob.com>
16165
cc0e6ed8
RM
16166 * io/open.c (__open_2): Moved to ...
16167 * io/open_2.c: ... this new file.
16168 * io/open64.c (__open64_2): Moved to ...
16169 * io/open64_2.c: ... this new file.
16170 * io/openat.c (__openat_2): Moved to ...
16171 * io/openat_2.c: ... this new file.
16172 * io/openat64.c (__openat64_2): Moved to ...
16173 * io/openat64_2.c: ... this new file.
16174 * io/Makefile (routines): Add them.
16175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16176 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16177 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16178 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16179 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16180 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16181 (__openat64): Add hidden_ver.
16182 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16183 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16184
60bfd54c
RM
16185 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16186 Separately conditionalize setting of GLRO(dl_sysinfo) so
16187 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16188 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16189
83e7640f
AZ
161902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16191
16192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16194 definition.
16195 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16196 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16197 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16198 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16199 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16200
d5dc2af3
JM
162012013-05-03 Joseph Myers <joseph@codesourcery.com>
16202
c31a5b1e
JM
16203 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16204 test signgam value.
16205
d5dc2af3
JM
16206 * math/libm-test.inc (hypot_test): Do not use
16207 IGNORE_ZERO_INF_SIGN.
16208
164fd39d
AJ
162092013-05-03 Andreas Jaeger <aj@suse.de>
16210
16211 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16212 Linux 3.9.
16213 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16214 (PF_MAX): Adjust for VSOCK change.
16215
8237f48c
AZ
162162013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16217
16218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16219
9df02941
CD
162202013-05-02 Carlos O'Donell <carlos@redhat.com>
16221
16222 [BZ #15264]
16223 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16224 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16225 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16226
d422395e
DM
162272013-05-02 David S. Miller <davem@davemloft.net>
16228
16229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16230
a07c5731
OB
162312013-05-01 Ondřej Bílka <neleai@seznam.cz>
16232
16233 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16234
1324e37f
RM
162352013-05-01 Roland McGrath <roland@hack.frob.com>
16236
16237 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16238
0695940b
RS
162392013-05-01 Richard Smith <richard@metafoo.co.uk>
16240
bb5f27ad 16241 [BZ #14952]
0695940b
RS
16242 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16243 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16244 Use __attribute__ ((__gnu_inline__)).
16245 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16246 Don't use __attribute__ ((__gnu_inline__)).
16247
10de07f5
JM
162482013-05-01 Joseph Myers <joseph@codesourcery.com>
16249
16250 [BZ #15423]
16251 * math/s_catan.c (__catan): Handle small real or imaginary part of
16252 input specially to avoid spurious underflow.
16253 * math/s_catanf.c (__catanf): Likewise.
16254 * math/s_catanh.c (__catanh): Likewise.
16255 * math/s_catanhf.c (__catanhf): Likewise.
16256 * math/s_catanhl.c (__catanhl): Likewise.
16257 * math/s_catanl.c (__catanl): Likewise.
16258 * math/libm-test.inc (catan_test): Add more tests.
16259 (catanh_test): Likewise.
16260 * sysdeps/i386/fpu/libm-test-ulps: Update.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262
cb4d5414
AZ
162632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16264
16265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266
caf84319
JM
162672013-04-30 Joseph Myers <joseph@codesourcery.com>
16268
16269 [BZ #15416]
16270 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16271 accurately for denominator in atan2.
16272 * math/s_catanf.c (__catanf): Likewise.
16273 * math/s_catanh.c (__catanh): Likewise.
16274 * math/s_catanhf.c (__catanhf): Likewise.
16275 * math/s_catanhl.c (__catanhl): Likewise.
16276 * math/s_catanl.c (__catanl): Likewise.
16277 * math/libm-test.inc (catan_test): Add more tests.
16278 (catanh_test): Likewise.
16279 * sysdeps/i386/fpu/libm-test-ulps: Update.
16280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16281
d569c6ee
SP
162822013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16283
6dbe713d
SP
16284 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16285
f0ee064b
SP
16286 * benchtests/Makefile (bench): Remove slow benchmarks.
16287 * benchtests/atan-inputs: Add slow benchmark inputs.
16288 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16289 (BENCH_FUNC): Accept variant offset.
16290 (VARIANT): Define.
16291 * benchtests/bench-skeleton.c (main): Run benchmark for each
16292 variant.
16293 * benchtests/cos-inputs: Add slow benchmark inputs.
16294 * benchtests/exp-inputs: Likewise.
16295 * benchtests/pow-inputs: Likewise.
16296 * benchtests/sin-inputs: Likewise.
16297 * benchtests/slowatan-inputs: Remove.
16298 * benchtests/slowatan.c: Remove.
16299 * benchtests/slowcos-inputs: Remove.
16300 * benchtests/slowcos.c: Remove.
16301 * benchtests/slowexp-inputs: Remove.
16302 * benchtests/slowexp.c: Remove.
16303 * benchtests/slowpow-inputs: Remove.
16304 * benchtests/slowpow.c: Remove.
16305 * benchtests/slowsin-inputs: Remove.
16306 * benchtests/slowsin.c: Remove.
16307 * benchtests/slowtan-inputs: Remove.
16308 * benchtests/slowtan.c: Remove.
16309 * benchtests/tan-inputs: Add slow benchmark inputs.
16310 * scripts/bench.pl: Parse comments and directives.
16311
d569c6ee
SP
16312 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16313 in CPPFLAGS.
16314 ($(objpfx)bench-%.c): Remove *-ITER.
16315 * benchtests/bench-modf.c: Remove definition of ITER.
16316 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16317 (main): Loop for DURATION seconds instead of fixed number of
16318 iterations.
16319 * scripts/bench.pl: Don't expect iterations in parameters.
16320
a6a242fe
RM
163212013-04-29 Roland McGrath <roland@hack.frob.com>
16322
16323 * io/fchdir.c (__fchdir): Renamed from fchdir.
16324 (fchdir): Define as weak alias.
16325
f2da7793
JM
163262013-04-29 Joseph Myers <joseph@codesourcery.com>
16327
16328 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16329 (ERRNO_EDOM): Likewise.
16330 (ERRNO_ERANGE): Likewise.
16331 (noErrnoTests): New variable.
16332 (init_max_error): Set errno to 0.
16333 (test_single_errno): New function.
16334 (test_errno): Likewise.
16335 (check_float_internal): Call test_errno. Set errno to 0.
16336 (check_complex): Refer to errno tests in comment.
16337 (check_int): Call test_errno. Set errno to 0.
16338 (check_long): Likewise.
16339 (check_bool): Likewise.
16340 (check_longlong): Likewise.
16341 (cos_test): Use ERRNO_* flags for errno tests instead of
16342 check_int.
16343 (expm1_test): Likewise.
16344 (fmod_test): Likewise.
16345 (ilogb_test): Likewise.
16346 (lgamma_test): Likewise.
16347 (pow_test): Likewise.
16348 (remainder_test): Likewise.
16349 (sin_test): Likewise.
16350 (tan_test): Likewise.
16351 (yn_test): Likewise.
16352 (initialize): Set errno to 0.
16353 (main): Print number of errno tests.
16354 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16355
b1a36ceb
AJ
163562013-04-29 Andreas Jaeger <aj@suse.de>
16357
c3ed8088
AJ
16358 [BZ #15084]
16359 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16360 and RES_USEVC.
16361
f1a24198
AJ
16362 [BZ #15085]
16363 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16364 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16365 unimplemented.
16366
9ce3b2cb
AJ
16367 [BZ #15380]
16368 * stdlib/random.c (__initstate): Return NULL if
16369 __initstate fails.
16370
f1a24198 16371 [BZ #15086]
b1a36ceb
AJ
16372 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16373 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16374 RES_SNGLKUPREOP.
16375
7e7b6f36
AZ
163762013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16377
16378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16379
4d14f449
JM
163802013-04-29 Joseph Myers <joseph@codesourcery.com>
16381
16382 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16383 of individual tests.
16384 (casin_test): Likewise.
16385 (casinh_test): Likewise.
16386
5b4217d7
JM
163872013-04-27 Joseph Myers <joseph@codesourcery.com>
16388
16389 [BZ #15409]
16390 * math/s_catan.c (__catan): Handle arguments with large real or
16391 imaginary part separately without squaring.
16392 * math/s_catanf.c (__catanf): Likewise.
16393 * math/s_catanh.c (__catanh): Likewise.
16394 * math/s_catanhf.c (__catanhf): Likewise.
16395 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16396 and redefine.
16397 (__catanhl): Handle arguments with large real or imaginary part
16398 separately without squaring.
16399 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16400 and redefine.
16401 (__catanl): Handle arguments with large real or imaginary part
16402 separately without squaring.
16403 * math/libm-test.inc (catan_test): Add more tests.
16404 (catanh_test): Likewise.
16405 * sysdeps/i386/fpu/libm-test-ulps: Update.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16407
4220c3ef
AJ
164082013-04-27 Andreas Jaeger <aj@suse.de>
16409
16410 [BZ #15007]
16411 * stdlib/stdlib.h: Update guards for qecvt.
16412 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16413 <stdlib.h>.
16414
4721b2d1
AM
164152013-04-27 Allan McRae <allan@archlinux.org>
16416
16417 * sysdeps/i386/fpu/libm-test-ulps: Update.
16418
f0302940
JM
164192013-04-26 Joseph Myers <joseph@codesourcery.com>
16420
9457fd95
JM
16421 [BZ #15406]
16422 * math/s_catan.c: Include <float.h>.
16423 (__catan): Ensure underflow exception occurs for underflowed
16424 result.
16425 * math/s_catanf.c: Include <float.h>.
16426 (__catanf): Ensure underflow exception occurs for underflowed
16427 result.
16428 * math/s_catanh.c: Include <float.h>.
16429 (__catanh): Ensure underflow exception occurs for underflowed
16430 result.
16431 * math/s_catanhf.c: Include <float.h>.
16432 (__catanhf): Ensure underflow exception occurs for underflowed
16433 result.
16434 * math/s_catanhl.c: Include <float.h>.
16435 (__catanhl): Ensure underflow exception occurs for underflowed
16436 result.
16437 * math/s_catanl.c: Include <float.h>.
16438 (__catanl): Ensure underflow exception occurs for underflowed
16439 result.
16440 * math/libm-test.inc (catan_test): Add more tests.
16441 (catanh_test): Likewise.
16442
f0302940
JM
16443 [BZ #15405]
16444 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16445 underflowed result.
16446 * math/s_ccoshf.c (__ccoshf): Likewise.
16447 * math/s_ccoshl.c (__ccoshl): Likewise.
16448 * math/s_csin.c (__csin): Likewise.
16449 * math/s_csinf.c (__csinf): Likewise.
16450 * math/s_csinh.c (__csinh): Likewise.
16451 * math/s_csinhf.c (__csinhf): Likewise.
16452 * math/s_csinhl.c (__csinhl): Likewise.
16453 * math/s_csinl.c (__csinl): Likewise.
16454 * math/libm-test.inc (ccos_test): Add more tests.
16455 (ccosh_test): Likewise.
16456 (csin_test): Likewise.
16457 (csinh_test): Likewise.
16458
aa630f59
AZ
164592013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16460
16461 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16462 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16463 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16464 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16465 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16466 powerpc/power5+/fpu folders.
16467 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16468
16469
1b835983
MT
164702013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16471
16472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16473
73709b26
JM
164742013-04-25 Joseph Myers <joseph@codesourcery.com>
16475
16476 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16477 additions to variable.
16478 [$(config-machine) = x86_64] (modules-names): Likewise.
16479 ($(objpfx)tst-audit3): Remove dependency.
16480 ($(objpfx)tst-audit3.out): Likewise.
16481 ($(objpfx)tst-audit4): Likewise.
16482 ($(objpfx)tst-audit4.out): Likewise.
16483 ($(objpfx)tst-audit5): Likewise.
16484 ($(objpfx)tst-audit5.out): Likewise.
16485 ($(objpfx)tst-audit6): Likewise.
16486 ($(objpfx)tst-audit6.out): Likewise.
16487 ($(objpfx)tst-audit7): Likewise.
16488 ($(objpfx)tst-audit7.out): Likewise.
16489 (tst-audit3-ENV): Remove variable.
16490 (tst-audit4-ENV): Likewise.
16491 (tst-audit5-ENV): Likewise.
16492 (tst-audit6-ENV): Likewise.
16493 (tst-audit7-ENV): Likewise.
16494 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16495 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16496 addition to variable.
16497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16502 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16503 tst-audit3, tst-audit4 and tst-audit5.
16504 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16505 tst-audit6 and tst-audit7.
16506 [$(subdir) = elf] (modules-names): Add audit modules for those
16507 tests.
16508 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16509 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16510 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16511 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16512 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16513 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16514 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16515 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16516 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16517 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16518 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16519 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16520 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16521 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16522 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16523 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16524 Likewise.
16525 [$(subdir) = elf && $(config-cflags-avx) = yes]
16526 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16527 [$(subdir) = elf && $(config-cflags-avx) = yes]
16528 (CFLAGS-tst-auditmod4a.c): Likewise.
16529 [$(subdir) = elf && $(config-cflags-avx) = yes]
16530 (CFLAGS-tst-auditmod4b.c): Likewise.
16531 [$(subdir) = elf && $(config-cflags-avx) = yes]
16532 (CFLAGS-tst-auditmod6b.c): Likewise.
16533 [$(subdir) = elf && $(config-cflags-avx) = yes]
16534 (CFLAGS-tst-auditmod6c.c): Likewise.
16535 [$(subdir) = elf && $(config-cflags-avx) = yes]
16536 (CFLAGS-tst-auditmod7b.c): Likewise.
16537 * elf/tst-audit3.c: Move to ...
16538 * sysdeps/x86_64/tst-audit3.c: ... here.
16539 * elf/tst-audit4.c: Move to ...
16540 * sysdeps/x86_64/tst-audit4.c: ... here.
16541 * elf/tst-audit5.c: Move to ...
16542 * sysdeps/x86_64/tst-audit5.c: ... here.
16543 * elf/tst-audit6.c: Move to ...
16544 * sysdeps/x86_64/tst-audit6.c: ... here.
16545 * elf/tst-audit7.c: Move to ...
16546 * sysdeps/x86_64/tst-audit7.c: ... here.
16547 * elf/tst-auditmod3a.c: Move to ...
16548 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16549 * elf/tst-auditmod3b.c: Move to ...
16550 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16551 * elf/tst-auditmod4a.c: Move to ...
16552 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16553 * elf/tst-auditmod4b.c: Move to ...
16554 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16555 * elf/tst-auditmod5a.c: Move to ...
16556 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16557 * elf/tst-auditmod5b.c: Move to ...
16558 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16559 * elf/tst-auditmod6a.c: Move to ...
16560 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16561 * elf/tst-auditmod6b.c: Move to ...
16562 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16563 * elf/tst-auditmod6c.c: Move to ...
16564 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16565 * elf/tst-auditmod7a.c: Move to ...
16566 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16567 * elf/tst-auditmod7b.c: Move to ...
16568 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16569
1ef74943
PP
165702013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16571
16572 [BZ #15366]
16573 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16574 define unconditionally.
16575 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16576 define unconditionally.
16577 (INT8_C, INT16_C, etc.): Likewise.
16578
93fd48c5
MR
165792013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16580
ae9552cf
MR
16581 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16582 __ehdr_start with hidden visibility.
16583
93fd48c5
MR
16584 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16585
418601aa
CD
165862013-04-24 Carlos O'Donell <carlos@redhat.com>
16587
16588 * math/libm-test.inc (cos_test): Use accurate hex constants.
16589 (sincost_test): Likewise.
16590
2f38fbfe
JM
165912013-04-24 Joseph Myers <joseph@codesourcery.com>
16592
5e221800
JM
16593 * math/libm-test.inc (catan_test): Add more tests.
16594 (catanh_test): Likewise.
16595
77f143fd
JM
16596 * math/s_catanf.c (__catanf): Use suffixed floating-point
16597 constants.
16598 * math/s_catanhf.c (__catanhf): Likewise.
16599 * math/s_catanhl.c (__catanhl): Likewise.
16600 * math/s_catanl.c (__catanl): Likewise.
16601
2f38fbfe
JM
16602 [BZ #15394]
16603 * math/s_catan.c (__catan): Calculate imaginary part of result
16604 with log1p not log unless computing log of number close to 0.
16605 * math/s_catanf.c (__catanf): Likewise.
16606 * math/s_catanl.c (__catanl): Likewise.
16607 * math/s_catanh.c (__catanh): Calculate real part of result with
16608 log1p not log unless computing log of number close to 0.
16609 * math/s_catanhf.c (__catanhf): Likewise.
16610 * math/s_catanhl.c (__catanhl): Likewise.
16611 * math/libm-test.inc (catan_test): Add more tests.
16612 (catanh_test): Likewise.
16613 * sysdeps/i386/fpu/libm-test-ulps: Update.
16614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615
45d69176
SP
166162013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16617
16618 * benchtests/Makefile: Mention files in which fast and slow
16619 paths of math functions are implemented.
16620
87f51853
RM
166212013-04-23 Roland McGrath <roland@hack.frob.com>
16622
16623 * sysdeps/posix/timespec_get.c: New file.
16624
3c026539
AZ
166252013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16626
16627 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16628 POWER.
16629 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16630 for POWER.
16631 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16632 powerpc/power5/fpu folders.
16633 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16634 * benchtests/Makefile: Add modf testcase.
16635 * benchtests/bench-modf.c: New file: Benchmark test for mo
16636
ff491d14
SP
166372013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 [BZ #14888]
16640 * time/Makefile (tests): Add tst-strptime-whitespace.
16641 * time/strptime_l.c (get_number): Use ISSPACE.
16642 (__strptime_internal): Likewise.
16643 * time/tst-strptime-whitespace.c: New test case.
16644
7ed3f4e8
AS
166452013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16646
16647 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16648 member.
16649 (_nss_files_init): Set it here.
16650
5c95f7b6
HC
166512013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16652
16653 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16654 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16655 unsigned.
16656
d34c9158
JBG
166572013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16658
16659 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16660
2169712d
SP
166612013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16662
16663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16664 size just once.
16665
29c5de99
DM
166662013-04-21 David S. Miller <davem@davemloft.net>
16667
16668 * po/ru.po: Update Russion translation from translation project.
16669
ccdad15d
AC
166702013-04-17 Adam Conrad <adconrad@0c3.net>
16671
16672 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16673 and setfsgid.
16674
0f122b8d
CD
166752013-04-17 Carlos O'Donell <carlos@redhat.com>
16676
5c5b07da 16677 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16678 * configure: Regenerate.
5c5b07da 16679 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16680 Add example to error message.
16681 * sysdeps/i386/configure: Regenerate.
16682
037714dd
SP
166832013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16684
16685 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16686 slowtan.
16687 * benchtests/cos-inputs: New file.
16688 * benchtests/slowcos-inputs: New file.
16689 * benchtests/slowcos.c: New file.
16690 * benchtests/slowtan-inputs: New file.
16691 * benchtests/slowtan.c: New file.
16692 * benchtests/tan-inputs: New file.
16693
e913141d
RM
166942013-04-16 Roland McGrath <roland@hack.frob.com>
16695
16696 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16697 considered kosher.
16698
a2964074
SP
166992013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16700
4856bcd2
SP
16701 * benchtests/Makefile: Include cppflags-iterator.mk to add
16702 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16703
a2964074
SP
16704 * Makefile.in (bench-clean): New target.
16705 * benchtests/Makefile (bench-clean): Likewise.
16706
9fbf9aca
DH
167072013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16708
16709 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16710
207d1e2a
TS
167112013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16712
16713 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16714
306dfba9
AS
167152013-04-15 Andreas Schwab <schwab@suse.de>
16716
16717 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16719 * nscd/pwdcache.c (cache_addpw): Likewise.
16720 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16721 more than recsize.
16722
206a6699
SP
167232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16724
16725 * benchtests/Makefile (bench): Write all output to
16726 bench-out.tmp together.
16727
0582f6b3
AS
167282013-04-15 Andreas Schwab <schwab@suse.de>
16729
16730 * nscd/nscd.c (main): Don't fork again after closing files.
16731
acb4325f
SP
167322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16733
5cb26d0a
SP
16734 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16735
acb4325f
SP
16736 * benchtests/Rules (bench-deps): Collect dependencies into a
16737 single variable. Add Makefile to dependencies.
16738 ($(objpfx)bench-%.c): Depend on bench-deps.
16739
47792506
RM
167402013-04-12 Roland McGrath <roland@hack.frob.com>
16741 Xavier Roche <roche+kml2@exalead.com>
16742
16743 [BZ #15361]
16744 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16745 just that it's a file descriptor.
16746 * manual/llio.texi (Synchronizing AIO Operations): Update description
16747 for EBADF error from aio_fsync.
16748
8fc1bee5
SP
167492013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16750
16751 * Rules (bench): Move target definition...
16752 * benchtests/Makefile: ... here.
16753
aba5e333
CD
167542013-04-11 Carlos O'Donell <carlos@redhat.com>
16755
16756 * math/libm-test.inc (cos_test): Fix PI/2 test.
16757 (sincos_test): Likewise.
16758 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16759 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16760
273cdee8
AS
167612013-04-11 Andreas Schwab <schwab@suse.de>
16762
6ecec3b6
AS
16763 [BZ #13988]
16764 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16765 accept exponent character only when digits were seen.
16766 * stdio-common/Makefile (tests): Add bug26.
16767 * stdio-common/bug26.c: New file.
16768
273cdee8
AS
16769 [BZ #14293]
16770 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16771 non-freeable.
16772
8da491f5
SP
167732013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16774
01dc6df9
SP
16775 * Makeconfig (rtld-prefix): Define built linker prefix.
16776 * Rules (run-bench): Use it.
16777 * math/Makefile (run-regen-ulps): Likewise.
16778
8da491f5
SP
16779 * Rules (bench): Remove eval.
16780
abe7f530
SP
167812013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16782 Roland McGrath <roland@hack.frob.com>
16783 Ondrej Bilka <neleai@seznam.cz>
16784
16785 [BZ #15346]
16786 * time/getdate.c: Include ctype.h and alloca.h.
16787 (__getdate_r): Trim leading and trailing spaces of input.
16788 * time/tst-getdate.c (tests): Add tests with leading and
16789 trailing spaces.
16790
61c23e62
RM
167912013-04-08 Roland McGrath <roland@hack.frob.com>
16792
16793 [BZ #14280]
16794 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16795 when computing value.
16796
7208a313
CD
167972013-04-06 Carlos O'Donell <carlos@redhat.com>
16798
085b2d41
CD
16799 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16800 Use testrun.sh to run libm tests.
16801
7208a313
CD
16802 [BZ #15309]
16803 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16804
872c0acd
MM
168052013-04-06 Marko Myllynen <myllynen@redhat.com>
16806
16807 [BZ #15264]
16808 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16809
26510bdd
CD
168102013-04-06 Carlos O'Donell <carlos@redhat.com>
16811
16812 * Makefile.in (regen-ulps): New target.
16813 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16814 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16815 [ifneq (no,$(PERL)] (regen-ulps): New target.
16816 [ifeq (no,$(PERL)] (regen-ulps): New target.
16817 * math/libm-test.inc (ulps_file_name): Define.
16818 (output_dir): New variable.
16819 (options): Add "output-dir" option.
16820 (parse_opt): Handle 'o' case.
16821 (main): If output_dir is non-NULL use it as a prefix
16822 otherwise use "".
16823 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16824
a01f19c8
CD
168252013-04-06 Carlos O'Donell <carlos@redhat.com>
16826
16827 [BZ #10060, #10062]
16828 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16829 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16830 fail configure if __sync_val_compare_and_swap is not inlined.
16831 * sysdeps/i386/configure: Regenerate.
16832 * configure.in: Build for i686 when configured for i386.
16833 * configure: Regenerate.
16834 * README: Remove i386 reference.
16835
b7a329a5
CD
168362013-04-06 Carlos O'Donell <carlos@redhat.com>
16837
16838 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16840
bf0f50df
TS
168412013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16842
ee091edf
TS
16843 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16844 (lmsnanval): New variables.
16845 (F): Add conversion tests.
16846 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16847 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16848
a8b792d6
TS
16849 * stdio-common/tstdiomisc.c (F): Properly collect individual
16850 tests' results.
16851
a1cbf437
TS
16852 [BZ #14686, #15336]
16853 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16854 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16855 Instead, use input NaN values or generate a qNaN by arithmetic
16856 operation. Also fix bugs to comply with the standard.
16857 * math/libm-test.inc (remainder_test): Add more tests.
16858
8b43a0c9
TS
16859 [BZ #15335, #15342]
16860 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16862 input NaN values or generate a qNaN by arithmetic operation.
16863
d91da4ce
TS
16864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16865 unreachable code.
16866
bf0f50df
TS
16867 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16868 definitions.
16869
05e166c8
JM
168702013-04-03 Joseph Myers <joseph@codesourcery.com>
16871
16872 [BZ #14478]
16873 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16874 underflowed result.
16875 * math/s_cexpf.c (__cexpf): Likewise.
16876 * math/s_cexpl.c (__cexpl): Likewise.
16877 * math/libm-test.inc (cexp_test): Add more tests.
16878
1cef1b19
AS
168792013-04-03 Andreas Schwab <schwab@suse.de>
16880
16881 [BZ #15330]
16882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16883 order arrays from heap if bigger than alloca cutoff.
16884
74d87055
TS
168852013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16886
16887 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16888 (SNAN_TESTS_double): Refer to GCC PR56831.
16889 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16890 GCC PR56828.
16891
d755bba4
SP
168922013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
90d5d5bb
SP
16894 * Rules (bench): Move bench.out after the run is complete.
16895
73e0cd5d
SP
16896 * Rules (bench): Echo currently running benchmark.
16897
64aabd4b
SP
16898 * benchtests/Makefile (bench): Add atan and slowatan.
16899 * benchtests/atan-inputs: New file.
16900 * benchtests/slowatan-inputs: New file.
16901 * benchtests/slowatan.c: New file.
16902
c871eccd
SP
16903 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16904 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16905 its value.
16906
d755bba4
SP
16907 [BZ #15305]
16908 * sysdeps/unix/sysv/linux/kernel-features.h
16909 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16910 __ASSUME_XFS_RESTRICTED_CHOWN.
16911 * sysdeps/unix/sysv/linux/pathconf.c
16912 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16913 Save and restore errno.
16914
52ce4860
JM
169152013-04-02 Joseph Myers <joseph@codesourcery.com>
16916
16917 [BZ #15327]
16918 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16919 arguments using __kernel_casinh.
16920 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16921 arguments using __kernel_casinhf.
16922 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16923 arguments using __kernel_casinhl.
16924 * math/libm-test.inc (cacosh_test): Add more tests.
16925 * sysdeps/i386/fpu/libm-test-ulps: Update.
16926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16927
81f311c2
SP
169282013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16929
e7906a47
SP
16930 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16932
92e3664b
SP
16933 * bench/Makefile (bench): Add sin and slowsin.
16934 * benchtests/sin-inputs: New file.
16935 * benchtests/slowsin-inputs: New file.
16936 * benchtests/slowsin.c: New file.
16937
81f311c2
SP
16938 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16939 (bench): Add slowexp and slowpow.
16940 (exp-ITER): Increase iterations.
16941 (pow-ITER): Likewise.
16942 * benchtests/exp-inputs: Change input.
16943 * benchtests/pow-inputs: Likewise.
16944 * benchtests/slowexp-inputs: New file.
16945 * benchtests/slowexp.c: New file.
16946 * benchtests/slowpow-inputs: New file.
16947 * benchtests/slowpow.c: New file.
16948
ab0f1aa9
AZ
169492013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16952 instructions.
16953 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16954 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16955 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16956 * benchtests/Makefile: Add rint benchtest.
16957 * benchtests/rint-inputs: Input for rint benchtest.
16958
57267616
TS
169592013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16960
16961 * Versions.def (libm): Add GLIBC_2.18.
16962 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16963 hidden libm prototypes.
16964 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16965 * math/Makefile (libm-calls): Add s_issignaling.
16966 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16967 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16968 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16969 declaration.
16970 * math/math.h [__USE_GNU] (issignaling): New macro.
16971 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16972 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16974 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16977 * manual/arith.texi (issignaling): New section.
16978 * manual/libm-err-tab.pl (@all_functions): Update comment.
16979 * math/gen-libm-test.pl (parse_args): Apply special handling for
16980 issignaling.
16981 * math/libm-test.inc (print_float, issignaling_test): New
16982 functions.
16983 (check_float_internal): Add issignaling checks.
16984 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16985 default definition.
16986 * sysdeps/powerpc/math-tests.h: New file.
16987 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16988 tests.
16989 * math/test-snan.c (TEST_FUNC): Likewise.
16990
6142896d
DM
169912013-03-30 David S. Miller <davem@davemloft.net>
16992
16993 * po/de.po: Update from translation team.
16994
ccc8cadf
JM
169952013-03-30 Joseph Myers <joseph@codesourcery.com>
16996
16997 [BZ #10357]
16998 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16999 imaginary part less than 1.0 and real part less than 0.5
17000 specially.
17001 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17002 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17003 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17004 (cacos_test): Add more tests.
17005 (casin_test): Likewise.
17006 (casinh_test): Likewise.
17007 * sysdeps/i386/fpu/libm-test-ulps: Update.
17008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17009
0f6a8d4b
SP
170102013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17011
0d1029de
SP
17012 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17013 ONE with its value.
17014
c2d94018
SP
17015 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17016 (__pow_mp): Replace ONE and MONE with their values.
17017 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17019 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17020 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17021 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17022 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17023
27ec37f1
SP
17024 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17025
a64d7e0e
SP
17026 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17027 (__pow_mp): Replace ZERO and MZERO with their values.
17028 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17029 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17030 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17032 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17033 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17034 (__sqr): Likewise.
17035
d26dd3eb
SP
17036 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17037
0f6a8d4b
SP
17038 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17039
e57b0c61
RM
170402013-03-28 Roland McGrath <roland@hack.frob.com>
17041
17042 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17043 Declare with __attribute__ ((weak)).
17044 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17045 Call __call_tls_dtors only if it's not NULL.
17046
356b3480
RM
170472013-03-28 Roland McGrath <roland@hack.frob.com>
17048
288f7d79
RM
17049 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17050 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17051 magic __ehdr_start linker symbol if it's defined.
17052 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17053 them up here if it was already done.
17054
dc0a0263
RM
17055 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17056 (_dl_aux_init): Use const in cast when setting it.
17057 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17058 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17059 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17060
3d3436ae
RM
17061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17062 Declare them here.
17063 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17064 * csu/libc-tls.c: Nor here.
17065 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17066
356b3480
RM
17067 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17068 (__libc_message): Never call vsyslog.
17069
b0f1246a
AM
170702013-03-28 Alan Modra <amodra@gmail.com>
17071
17072 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17073 Define as empty.
17074 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17075 Likewise.
17076
fbbe2b9a
AZ
170772013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17078
17079 [BZ #15214]
17080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17081 underflow.
17082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17083
1728ab37
SP
170842013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17085
7a86be6e
SP
17086 [BZ #15304]
17087 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17088 Don't add gid passed as argument.
17089
1728ab37
SP
17090 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17091
3a7182a1
JM
170922013-03-27 Joseph Myers <joseph@codesourcery.com>
17093
17094 [BZ #15307]
17095 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17096 imaginary part between 1.0 and 1.5 and real part less than 0.5
17097 specially.
17098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17100 * math/libm-test.inc (cacos_test): Add more tests.
17101 (casin_test): Likewise.
17102 (casinh_test): Likewise.
17103 * sysdeps/i386/fpu/libm-test-ulps: Update.
17104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17105
6f2e90e7
SP
171062013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17107
5739f705
SP
17108 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17109 constants.
17110 (norm): Likewise.
17111 (denorm): Likewise.
17112 (__dbl_mp): Likewise.
17113 (add_magnitudes): Likewise.
17114 (sub_magnitudes): Likewise.
17115 (__add): Likewise.
17116 (__sub): Likewise.
17117 (__mul): Likewise.
17118 (__sqr): Likewise.
17119 (__inv): Likewise.
17120 (__dvd): Likewise.
17121
e375e83d
SP
17122 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17123 commented code.
17124 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17125 (__dubcos): Likewise.
17126 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17127 (__ieee754_acos): Likewise.
17128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17129 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17130 (__exp1): Likewise.
17131 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17133 (log1): Likewise.
17134 (my_log2): Likewise.
17135 (checkint): Likewise.
17136 * sysdeps/ieee754/dbl-64/e_remainder.c
17137 (__ieee754_remainder): Likewise.
17138 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17140 (bsloww): Likewise.
17141 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17142
6f2e90e7
SP
17143 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17144 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17145 MANTISSA_STORE_T to store computations on mantissa. Use
17146 macros for rounding and division.
17147 (denorm): Likewise.
17148 (__dbl_mp): Likewise.
17149 (add_magnitudes): Likewise.
17150 (sub_magnitudes): Likewise.
17151 (__mul): Likewise.
17152 (__sqr): Likewise.
17153 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17154 powers of two in terms of TWOPOW macro.
17155 (mp_no): Make type of mantissa as MANTISSA_T.
17156 [!RADIXI]: Define RADIXI.
17157 [!TWO52]: Define TWO52.
17158 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17159
fce14d4e
AZ
171602013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17161
17162 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17163 llroundl symbol when building for PPC32.
17164
9ad027fb
MW
171652013-03-24 Mark H Weaver <mhw@netris.org>
17166
17167 * manual/arith.texi (Normalization Functions): Fix prototypes for
17168 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17169
e42a38dd
AZ
171702013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17171
17172 [BZ #13889]
17173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17174 high value to check if expl overflow.
17175 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17176 to check for underflow and overflow.
17177 * math/libm-test.inc: Add exp test.
17178
2e0fb521
DL
171792013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17180
17181 [BZ #11120]
17182 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17183 with NOT_IN_libc.
17184
b5784d95
AZ
171852013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186
17187 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17188 symbol.
17189
5aa4a1a1
TS
171902013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17191
bdef0be7
TS
17192 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17193 wrap blocks consisting of several statements.
17194
5aa4a1a1
TS
17195 * sysdeps/generic/math-tests.h: New file.
17196 * sysdeps/i386/fpu/math-tests.h: Likewise.
17197 * math/test-snan.c: Include it.
17198 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17199
98c48fe5
JM
172002013-03-21 Joseph Myers <joseph@codesourcery.com>
17201
17202 [BZ #15285]
17203 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17204 (__ieee754_j0l): Do not improve calculations using cos of twice
17205 input for inputs above LDBL_MAX / 2.0L.
17206 (__ieee754_y0l): Likewise.
17207 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17208 (__ieee754_j1l): Do not improve calculations using cos of twice
17209 input for inputs above LDBL_MAX / 2.0L.
17210 (__ieee754_y1l): Likewise.
17211 * math/libm-test.inc (j0_test): Add another test.
17212 (j1_test): Likewise.
17213 (y0_test): Likewise.
17214 (y1_test): Likewise.
17215 * sysdeps/i386/fpu/libm-test-ulps: Update.
17216
3775a8bc
SP
172172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17218
17219 * Rules ($(objpfx)bench-%.c): Include code from a C source
17220 file.
17221
0a1b2ae6
JM
172222013-03-21 Joseph Myers <joseph@codesourcery.com>
17223
17224 [BZ #15287]
17225 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17226 imaginary part 1.0 and real part less than 0.5 specially.
17227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17229 * math/libm-test.inc (cacos_test): Add more tests.
17230 (casin_test): Likewise.
17231 (casinh_test): Likewise.
17232 * sysdeps/i386/fpu/libm-test-ulps: Update.
17233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17234
b33d4ce4
SP
172352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17236
17237 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17238 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17239
bef0b507
JM
172402013-03-20 Joseph Myers <joseph@codesourcery.com>
17241
17242 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17243 * config.make.in (config-cflags-sse4): Remove variable.
17244 (config-cflags-avx): Likewise.
17245 (config-cflags-sse2avx): Likewise.
17246 (config-cflags-novzeroupper): Likewise.
17247 (config-asflags-i686): Likewise.
17248 (have-mfma4): Likewise.
17249 (have-as-vis3): Likewise.
17250 (MIG): Likewise.
17251 * configure.in (MIG): Do not AC_SUBST.
17252 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17253 (libc_cv_cc_sse4): Do not AC_SUBST.
17254 (libc_cv_cc_avx): Likewise.
17255 (libc_cv_cc_sse2avx): Likewise.
17256 (libc_cv_cc_novzeroupper): Likewise.
17257 (libc_cv_cc_fma4): Likewise.
17258 (libc_cv_as_i686): Likewise.
17259 (libc_cv_sparc_as_vis3): Likewise.
17260 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17261 LIBC_CONFIG_VAR.
17262 (config-asflags-i686): Likewise.
17263 (config-cflags-avx): Likewise.
17264 (config-cflags-sse2avx): Likewise.
17265 (have-mfma4): Likewise.
17266 (config-cflags-novzeroupper): Likewise.
17267 * sysdeps/mach/configure.in (MIG): Likewise.
17268 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17269 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17270 LIBC_CONFIG_VAR.
17271 (config-cflags-avx): Likewise.
17272 (config-cflags-sse2avx): Likewise.
17273 (have-mfma4): Likewise.
17274 (config-cflags-novzeroupper): Likewise.
17275 * configure: Regenerated.
17276 * sysdeps/i386/configure: Likewise.
17277 * sysdeps/mach/configure: Likewise.
17278 * sysdeps/sparc/configure: Likewise.
17279 * sysdeps/x86_64/configure: Likewise.
17280
912cc4b3
RM
172812013-03-20 Roland McGrath <roland@hack.frob.com>
17282
17283 [BZ #14812]
17284 * locale/programs/localedef.c (options): Put N_ translation marker
17285 on argument names, not just descriptions.
17286
04eed2b0
MS
172872013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17288
17289 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17290
a065ceff
OB
172912013-03-20 Ondřej Bílka <neleai@seznam.cz>
17292
9bb2a810 17293 [BZ #14176]
a065ceff
OB
17294 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17295
a600e5ce
RM
172962013-03-19 Roland McGrath <roland@hack.frob.com>
17297
17298 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17299 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17300 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17301 [!BEFORE_ABORT] (before_abort): New function.
17302 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17303 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17304 (writev_for_fatal): New function.
17305 (WRITEV_FOR_FATAL): New macro; call that.
17306 (backtrace_and_maps): New function.
17307 (BEFORE_ABORT): New macro; call that.
17308 (struct str_list): Type removed.
17309 (__libc_message, __libc_fatal): Functions removed.
17310 Include <sysdeps/posix/libc_fatal.c> instead.
17311
6b18bea6
JM
173122013-03-19 Joseph Myers <joseph@codesourcery.com>
17313
17314 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17315 constants.
17316 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17317 double constants.
17318
aaa8cb4b
AS
173192013-03-19 Andreas Schwab <schwab@suse.de>
17320
44673770
AS
17321 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17322 * sysdeps/gnu/configure: Regenerate.
17323
aaa8cb4b
AS
17324 * configure.in: Substitute libc_cv_rtlddir.
17325 * configure: Regenerate.
17326 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17327 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17328 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17329 * elf/Makefile (install-others, CFLAGS-interp.c)
17330 (ldso_install, common-ldd-rewrite): Likewise.
17331 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17332 $(inst_slibdir)/$(rtld-installed-name).
17333 * scripts/rellns-sh: Add -p option.
17334 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17335 for source.
17336
d3cfc668
SP
173372013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17338
17339 * manual/nptl.texi: Renamed to ...
17340 * manual/threads.texi: ... this.
17341 * manual/Makefile (chapters): Update.
17342
0e2b9cdd
RM
173432013-03-18 Roland McGrath <roland@hack.frob.com>
17344
17345 [BZ #14812]
17346 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17347 on argument names, not just descriptions.
0e2b9cdd
RM
17348 * malloc/memusagestat.c (options): Likewise.
17349 * nss/getent.c (options): Likewise.
63270c24
RM
17350
173512013-03-18 Benno Schulenberg <bensberg@justemail.net>
17352
17353 [BZ #14812]
17354 * iconv/iconv_prog.c (options): Put N_ translation marker
17355 on argument names, not just descriptions.
17356 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17357
b2e1393c
OB
173582013-03-18 Ondrej Bilka <neleai@seznam.cz>
17359
17360 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17361 implementation which is faster on all x86_64 architectures.
17362 Tested on AMD, Intel Nehalem, SNB, IVB.
17363 * sysdeps/x86_64/strnlen.S: Likewise.
17364
17365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17366 Remove all multiarch strlen and strnlen versions.
17367 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17368 Remove strlen and strnlen related parts.
17369
17370 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17371 Inline strlen part.
17372 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17373
17374 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17375 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17376 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17377 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17378 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17379 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17380
ec4ff04d
CD
173812013-03-17 Carlos O'Donell <carlos@redhat.com>
17382
17383 * manual/memory.texi (Malloc Tunable Parameters):
17384 Sort parameters alphabetically. Add comments for missing entries.
17385
cd18e90a
DM
173862013-03-17 David S. Miller <davem@davemloft.net>
17387
17388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17389
2a185d32
JM
173902013-03-16 Joseph Myers <joseph@codesourcery.com>
17391
d2f9799e
JM
17392 [BZ #15283]
17393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17394 for arguments at most half maximum finite value.
17395 * math/libm-test.inc (j0_test): Add more tests.
17396 (j1_test): Likewise.
17397 (y0_test): Likewise.
17398 (y1_test): Likewise.
17399 * sysdeps/i386/fpu/libm-test-ulps: Update.
17400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17401
2a185d32
JM
17402 [BZ #14155]
17403 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17404 1 / x and functions P and Q for arguments above 0x1p256L.
17405 (__ieee754_y0l): Likewise.
17406 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17407 (__ieee754_y1l): Likewise.
17408 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17409 (j1_test): Likewise.
17410 (y0_test): Likewise.
17411 (y1_test): Likewise.
17412
6cbec759
TS
174132013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17414
17415 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17416 variable.
17417
bc16e260
RM
174182013-03-15 Roland McGrath <roland@hack.frob.com>
17419
aefc9b8c
RM
17420 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17421 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17422 zero since it's initialized to EXEC_PAGESIZE.
17423
bc16e260
RM
17424 * sysdeps/unix/sysv/linux/ldsodefs.h
17425 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17426 * sysdeps/generic/ldsodefs.h: ... here.
17427
a57da955
TS
174282013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17429
af00a34d
TS
17430 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17431
495ded2c
TS
17432 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17433 math/test-snan.c.
17434 * math/test-snan.c: Renamed from
17435 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17436 * math/Makefile (tests): Add test-snan.
17437 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17438 test-powerpc-snan.
17439
777b0332
TS
17440 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17441 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17442 functions.
17443 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17444 __builtin_nan family of functions.
17445 * math/libm-test.inc (initialize): Initialize qnan_value with
17446 __builtin_nan family of functions.
17447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17448 Remove variables.
17449 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17450 Remove functions.
17451 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17452 storage class. Initialize qNaN_var and sNaN_var with
17453 __builtin_nan and __builtin_nans families of functions,
17454 respectively.
17455
64d063b8
TS
17456 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17457 (sqrt_test): Remove duplicate test with qNaN input.
17458 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17459 (round_test, signbit_test, significand_test): Note missing +/-Inf
17460 as well as qNaN tests.
17461
67e971f1
TS
17462 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17463 qNaN_var. Fix a few strings, too.
17464 * math/libm-test.inc (nan_value): Rename to qnan_value.
17465 * math/gen-libm-test.pl (%beautify): Adjust to that.
17466 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17467 * math/test-misc.c (main): Likewise.
17468 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17469 to __qnan_bytes, and __qnan_union, respectively.
17470 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17471 Likewise.
17472 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17473 and lqnanval, respectively.
17474 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17475 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17476 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17477 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17478
64487e12
TS
17479 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17480 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17481 doubles.
17482
e015e27b
TS
17483 * math/test-misc.c (main): Fix copy'n'pastos.
17484 * misc/tst-efgcvt.c (special): Likewise.
17485
a57da955
TS
17486 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17487 Remove declarations.
17488
1e380345
SP
174892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17490
17491 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17492 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17493 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17494 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17495
ef26eece
AZ
174962013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17497
17498 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17499 macro to return vdso values correctly in IFUNC implementations.
17500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17501 Optimization by using IFUNC.
17502
8cfdb7e0
SP
175032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17504 Richard Henderson <rth@redhat.com>
17505 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17506
17507 * Makefile.in (bench): New target.
17508 * NEWS: Mention the benchmark framework.
17509 * Rules (bench): Likewise.
17510 (binaries-bench): Generate binaries for functions to
17511 benchmark.
17512 * benchtests/Makefile: New makefile for benchmark tests.
17513 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17514 programs.
17515 * benchtests/exp-inputs: New input file for EXP function.
17516 * benchtests/pow-inputs: New input file for POW function.
17517 * scripts/bench.pl: New script to generate source files for
17518 benchmark programs.
17519
bcda9880
SP
175202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17521
d22ca8cd
SP
17522 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17523 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17524 computations on mantissa. Use macros for rounding and
17525 division.
17526 (denorm): Likewise.
17527 (__dbl_mp): Likewise.
17528 (add_magnitudes): Likewise.
17529 (sub_magnitudes): Likewise.
17530 (__mul): Likewise.
17531 (__sqr): Likewise.
17532 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17533 powers of two in terms of TWOPOW macro.
17534 (mp_no): Make type of mantissa as MANTISSA_T.
17535 [!RADIXI]: Define RADIXI.
17536 [!TWO52]: Define TWO52.
17537 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17538
bcda9880
SP
17539 * manual/nptl.texi (cindex): Modify threads to pthreads.
17540
06d5adfb
JM
175412013-03-15 Joseph Myers <joseph@codesourcery.com>
17542
17543 * sysdeps/x86_64/preconfigure: Regenerated.
17544
41c7328e
JM
175452013-03-14 Joseph Myers <joseph@codesourcery.com>
17546
17547 [BZ #14155]
17548 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17549 0x1p28 and above.
17550 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17551 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17552 0x1p28 and above.
17553 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17554 * math/libm-test.inc (j0_test): Do not allow one spurious
17555 underflow exception.
17556 (y1_test): Likewise.
17557
e25cfa60
SP
175582013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17559
0409959c
SP
17560 * manual/Makefile (chapters): Add nptl.
17561 * manual/debug.texi (Debugging Support): Add link to Threads
17562 chapter.
17563 * manual/nptl.texi: New file.
17564
e25cfa60
SP
17565 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17566
58a1335e
PB
175672013-03-14 Petr Baudis <pasky@ucw.cz>
17568
17569 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17570 for non-NULL pointer before the memory validity test. Pointed
17571 out by Holger Brunck <holger.brunck@keymile.com>.
17572
9dc7c64f
AS
175732013-03-13 Andreas Schwab <schwab@suse.de>
17574
17575 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17576 instead of .os.
17577
54206aa6
JM
175782013-03-13 Joseph Myers <joseph@codesourcery.com>
17579
17580 * timezone/zic.c: Update from tzcode 2013b.
17581
e98cdb38
CD
175822013-03-12 Carlos O'Donell <carlos@redhat.com>
17583
17584 * manual/install.texi (Configuring and compiling):
17585 Mention i686 and i586.
17586 * INSTALL: Regenerate.
17587
9967e003
RM
175882013-03-12 Roland McGrath <roland@hack.frob.com>
17589
17590 * sysdeps/init_array/elf-init.c: New file.
17591 * csu/elf-init.c
17592 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17593 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17594
17595 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17596 __gmon_start__ as global, but as static with a .preinit_array pointer.
17597 * sysdeps/init_array/gmon-start.c: New file. Use that.
17598 * sysdeps/init_array/crti.S: New file, empty except for comments.
17599 * sysdeps/init_array/crtn.S: Likewise.
17600
e6b5a293 176012013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17602
17603 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17604 definining bcopy.
80f844c9
OB
17605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17606 Remove Prefer_SSE_for_memop.
17607 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17608 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17609 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17611 memset-x86-64.
80f844c9 17612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17613 Remove bzero, memset ifunc support.
80f844c9
OB
17614 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17615 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17616 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17617 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17618
fb6b0fcb
AS
176192013-03-11 Andreas Schwab <schwab@suse.de>
17620
17621 [BZ #15234]
17622 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17623 by SHLIB_COMPAT.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17625 (GLIBC_2.16): Remove pthread_atfork.
17626
3e6bd4b1
PP
176272013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17628
17629 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17630 (ptestcases.h): Likewise.
17631
222d7f00
RM
176322013-03-08 Roland McGrath <roland@hack.frob.com>
17633
17634 * Makeconfig ($(common-objpfx)config.status): Depend on
17635 sysdeps/*/preconfigure{,.in} too.
17636
1ba4f030
JM
176372013-03-08 Joseph Myers <joseph@codesourcery.com>
17638
a222d91a
JM
17639 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17640 (__free_hook): Use void * instead of __malloc_ptr_t.
17641 (__malloc_hook): Likewise.
17642 (__realloc_hook): Likewise.
17643 (__memalign_hook): Likewise.
17644 (__after_morecore_hook): Likewise.
17645 * malloc/arena.c (save_malloc_hook): Likewise.
17646 (save_free_hook): Likewise.
17647 * malloc/hooks.c (malloc_hook_ini): Likewise.
17648 (realloc_hook_ini): Likewise.
17649 (memalign_hook_ini): Likewise.
17650 * malloc/malloc.c (malloc_hook_ini): Likewise.
17651 (realloc_hook_ini): Likewise.
17652 (memalign_hook_ini): Likewise.
17653 (__free_hook): Likewise.
17654 (__malloc_hook): Likewise.
17655 (__realloc_hook): Likewise.
17656 (__memalign_hook): Likewise.
17657 (__libc_malloc): Likewise.
17658 (__libc_free): Likewise.
17659 (__libc_realloc): Likewise.
17660 (__libc_memalign): Likewise.
17661 (__libc_valloc): Likewise.
17662 (__libc_pvalloc): Likewise.
17663 (__libc_calloc): Likewise.
17664 (__posix_memalign): Likewise.
17665 * malloc/morecore.c (__sbrk): Likewise.
17666 (__default_morecore): Likewise.
17667
5cc45e10
JM
17668 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17669
dd54b864
JM
17670 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17671 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17672 __malloc_ptrdiff_t.
17673
1ba4f030
JM
17674 * malloc/malloc.h (__malloc_size_t): Remove macro.
17675 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17676 __malloc_size_t.
17677 (old_memalign_hook): Likewise.
17678 (old_realloc_hook): Likewise.
17679 (struct hdr): Likewise.
17680 (flood): Likewise.
17681 (mallochook): Likewise.
17682 (memalignhook): Likewise.
17683 (reallochook): Likewise.
17684 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17685 (tr_old_realloc_hook): Likewise.
17686 (tr_old_memalign_hook): Likewise.
17687 (tr_mallochook): Likewise.
17688 (tr_reallochook): Likewise.
17689 (tr_memalignhook): Likewise.
17690
edf66e57
AZ
176912013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17692
17693 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17694 default_ldbl_pack and using as default implementation.
17695 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17696 implementation.
17697 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17698 redundant definition.
17699 (ldbl_insert_mantissa): Likewise.
17700 (ldbl_canonicalize): Likewise.
17701 (ldbl_nearbyint): Likewise.
17702 (ldbl_pack): Rename to ldbl_pack_ppc.
17703 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17704 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17705 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17706
6d9145d8
SP
177072013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17708
17709 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17710 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17711 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17712 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17714 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17715 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17716 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17717
4dd4e157
AJ
177182013-03-07 Andreas Jaeger <aj@suse.de>
17719
17720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17721 bits/mman-linux.h.
17722
adbb8027
SP
177232013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
ce544b5b
SP
17725 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17726 Include mpa.h and declare __MPEXP.
17727 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17728 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17729 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17730 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17733 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17734
4cc149fd
SP
17735 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17736 (__slowpow): Use long double EXPL and LOGL functions to
17737 compute POW.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17739 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17741 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17744
e6ebd4a7
SP
17745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17746 intermediate variable to calculate exponent.
17747 (__sqr): Likewise.
17748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17749 Likewise.
17750 (__sqr): Likewise.
17751
82a9811d
SP
17752 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17753 [!NO__SQR]: Define __sqr.
17754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17755 and NO__SQR. Remove all code except __mul and __sqr. Include
17756 sysdeps/ieee754/dbl-64/mpa.c.
17757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17758
adbb8027
SP
17759 [BZ #12723]
17760 * posix/Makefile (tests): Add tst-pathconf.
17761 * posix/tst-pathconf.c: New test case.
17762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17763 _PC_PIPE_BUF.
17764 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17765
39120df9
PF
177662013-03-06 Patsy Franklin <pfrankli@redhat.com>
17767
17768 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17769
67525cb8
AJ
177702013-03-06 Andreas Jaeger <aj@suse.de>
17771
664a9ce4
AJ
17772 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17773 definition via __MAP_ANONYMOUS.
17774
8e39047d
AJ
17775 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17776 it's not part of Linux headers.
17777
67525cb8
AJ
17778 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17779 (MAP_HUGE_MASK): Define.
17780
17781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17782 Define.
17783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17784 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17785 Define.
17786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17787 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17788 Define.
17789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17790 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17791 Define.
17792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17793
17794 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17795 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17796 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17797 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17798 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17799 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17800
17801 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17802 Handle f2fs.
17803
17804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17805 Handle f2fs and efivarfs.
17806
17807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17808 f2fs.
17809
17810 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17811 (EFIVARFS_MAGIC): Add.
17812 (F2FS_LINK_MAX): Add.
17813
e1b42695
PP
178142013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17815
17816 * stdio-common/vfprintf.c: Replace __builtin_expect with
17817 __glibc_unlikely.
17818
2d67d91a
JM
178192013-03-06 Joseph Myers <joseph@codesourcery.com>
17820
17821 [BZ #13550]
17822 * sysdeps/generic/bp-sym.h: Remove file.
17823 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17824 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17825 <bp-sym.h> and <bp-asm.h>.
17826 (__longjmp): Don't use BP_SYM.
17827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17828 and <bp-asm.h>.
17829 (memcpy): Don't use BP_SYM.
17830 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17831 <bp-sym.h> and <bp-asm.h>.
17832 (memcpy): Don't use BP_SYM.
17833 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17834 <bp-asm.h>.
17835 (memcpy): Don't use BP_SYM.
17836 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17837 <bp-asm.h>.
17838 (memset): Don't use BP_SYM.
17839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17841 (__bzero): Don't use BP_SYM.
17842 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17843 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17844 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17845 <bp-sym.h> and <bp-asm.h>.
17846 (memcmp): Don't use BP_SYM. Remove comment about bounded
17847 pointers.
17848 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17849 <bp-sym.h> and <bp-asm.h>.
17850 (memcpy): Don't use BP_SYM.
17851 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17852 <bp-sym.h> and <bp-asm.h>.
17853 (memset): Don't use BP_SYM.
17854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17856 (__bzero): Don't use BP_SYM.
17857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17860 <bp-sym.h> and <bp-asm.h>.
17861 (strncmp): Don't use BP_SYM. Remove comment about bounded
17862 pointers.
17863 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17864 <bp-sym.h> and <bp-asm.h>.
17865 (memcpy): Don't use BP_SYM.
17866 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17867 <bp-sym.h> and <bp-asm.h>.
17868 (memset): Don't use BP_SYM.
17869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17871 (__bzero): Don't use BP_SYM.
17872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17874 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17875 <bp-sym.h> and <bp-asm.h>.
17876 (__memchr): Don't use BP_SYM.
17877 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17878 <bp-sym.h> and <bp-asm.h>.
17879 (memcmp): Don't use BP_SYM. Remove comment about bounded
17880 pointers.
17881 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17882 <bp-sym.h> and <bp-asm.h>.
17883 (memcpy): Don't use BP_SYM.
17884 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17885 <bp-sym.h> and <bp-asm.h>.
17886 (__mempcpy): Don't use BP_SYM.
17887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17888 <bp-sym.h> and <bp-asm.h>.
17889 (__memrchr): Don't use BP_SYM.
17890 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17891 <bp-sym.h> and <bp-asm.h>.
17892 (memset): Don't use BP_SYM.
17893 (__bzero): Likewise.
17894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17895 <bp-sym.h> and <bp-asm.h>.
17896 (__rawmemchr): Don't use BP_SYM.
17897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17898 <bp-sym.h> and <bp-asm.h>.
17899 (__STRCMP): Don't use BP_SYM.
17900 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17901 <bp-sym.h> and <bp-asm.h>.
17902 (strchr): Don't use BP_SYM.
17903 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17904 <bp-sym.h> and <bp-asm.h>.
17905 (__strchrnul): Don't use BP_SYM.
17906 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17907 <bp-sym.h> and <bp-asm.h>.
17908 (strlen): Don't use BP_SYM.
17909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17910 <bp-sym.h> and <bp-asm.h>.
17911 (strncmp): Don't use BP_SYM. Remove comment about bounded
17912 pointers.
17913 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17914 <bp-sym.h> and <bp-asm.h>.
17915 (__strnlen): Don't use BP_SYM.
17916 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17917 <bp-sym.h> and <bp-asm.h>.
17918 (__GI__setjmp): Don't use BP_SYM.
17919 (_setjmp): Likewise.
17920 (__sigsetjmp): Likewise.
17921 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17922 (L(start_addresses)): Don't use BP_SYM.
17923 (_start): Likewise.
17924 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17925 <bp-asm.h>.
17926 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17927 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17928 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17929 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17930 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17931 <bp-asm.h>.
17932 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17933 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17934 about bounded pointers.
17935 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17936 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17937 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17938 <bp-asm.h>.
17939 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17940 about bounded pointers. Remove GKM FIXME comments.
17941 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17942 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17943 <bp-asm.h>.
17944 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17945 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17946 Remove GKM FIXME comments.
17947 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17948 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17949 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17950 <bp-asm.h>.
17951 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17952 about bounded pointers. Remove GKM FIXME comment.
17953 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17954 and <bp-asm.h>.
17955 (strncmp): Don't use BP_SYM. Remove comment about bounded
17956 pointers.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17958 <bp-sym.h> and <bp-asm.h>.
17959 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17961 <bp-sym.h> and <bp-asm.h>.
17962 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17963 comment.
17964
cdcf361f
PP
179652013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17966
17967 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17968 call free(NULL).
17969
3c4a2b15
DM
179702013-03-05 David S. Miller <davem@davemloft.net>
17971
17972 * po/es.po: Update from translation team.
17973
cdcf361f 179742013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17975
17976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17977 <bits/mman-linux.h>.
17978 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17979 is fine.
17980 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17981 <bits/mman-linux.h> to end of file.
17982 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17983 is fine.
17984 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17985 <bits/mman-linux.h> to end of file.
17986 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17987 is fine.
17988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17989 <bits/mman-linux.h> to end of file.
17990
17991 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17992 (MCL_CURRENT, MCL_FUTURE): Define here.
17993
5f67c04f
AK
179942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17995
8a4473cc 17996 [BZ #15232]
5f67c04f
AK
17997 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17998 attribute_hidden.
17999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18000
c3e94a95
AK
180012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18002
18003 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18004 fourth parameter needed for rt_sigprocmask syscall.
18005 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18006 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18008 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18009 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18010 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18011
cfb6382a
JM
180122013-03-04 Joseph Myers <joseph@codesourcery.com>
18013
18014 [BZ #13550]
18015 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18016 comment about bounded pointers.
18017 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18018 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18019
539d8e01
AJ
180202013-03-04 Andreas Jaeger <aj@suse.de>
18021
18022 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18023 common definitions.
18024
18025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18026 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18027 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18028 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18031
2e167a70 180322013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18033
18034 [BZ #15055]
18035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18036 __ieee754_sqrl instead of __sqrl.
18037
68508633
JM
180382013-03-01 Joseph Myers <joseph@codesourcery.com>
18039
18040 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18041 * sysdeps/powerpc/fpu_control.h: ... here.
18042 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18043 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18044 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18045 * sysdeps/powerpc/bits/mathinline.h: ... here.
18046
7775448e
RM
180472013-03-01 Roland McGrath <roland@hack.frob.com>
18048
18049 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18050 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18051 to just [NEED_DL_SYSINFO_DSO].
18052 * elf/dl-support.c: Likewise.
18053 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18054 * elf/rtld.c (dl_main): Likewise.
18055 * elf/setup-vdso.h (setup_vdso): Likewise.
18056 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18057 * sysdeps/unix/sysv/linux/dl-sysdep.c
18058 (_dl_discover_osversion): Likewise.
18059
4e9b5995
CD
180602013-03-01 Carlos O'Donell <carlos@redhat.com>
18061
18062 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18063 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18064
e23872c8
SP
180652013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18066
e5c74c63
SP
18067 * NEWS: Mention libm performance improvements and non-x86 PI
18068 futex support.
18069
e23872c8
SP
18070 * csu/libc-start.c (__pthread_initialize_minimal): Change
18071 function arguments.
18072 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18073
b5510883
JM
180742013-02-28 Joseph Myers <joseph@codesourcery.com>
18075
18076 [BZ #13550]
18077 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18079 <bp-sym.h> and <bp-asm.h>.
18080 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18081 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18082 and <bp-asm.h>.
18083 (memcpy): Don't use BP_SYM.
18084 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18085 <bp-asm.h>.
18086 (__mpn_add_n): Don't use BP_SYM.
18087 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18088 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18089 and <bp-asm.h>.
18090 (__mpn_addmul_1): Don't use BP_SYM.
18091 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18092 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18093 <bp-sym.h>.
18094 (_setjmp): Don't use BP_SYM.
18095 (__novmx_setjmp): Likewise.
18096 (__GI__setjmp): Likewise.
18097 (__vmx_setjmp): Likewise.
18098 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18099 <bp-sym.h>.
18100 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18101 (__bzero): Don't use BP_SYM.
18102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18104 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18105 <bp-sym.h> and <bp-asm.h>.
18106 (memcpy): Don't use BP_SYM.
18107 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18108 <bp-sym.h> and <bp-asm.h>.
18109 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18110 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18111 <bp-sym.h> and <bp-asm.h>.
18112 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18113 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18114 <bp-asm.h>.
18115 (__mpn_lshift): Don't use BP_SYM.
18116 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18117 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18118 <bp-asm.h>.
18119 (memset): Don't use BP_SYM.
18120 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18121 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18122 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18123 <bp-asm.h>.
18124 (__mpn_mul_1): Don't use BP_SYM.
18125 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18127 <bp-sym.h> and <bp-asm.h>.
18128 (memcmp): Don't use BP_SYM.
18129 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18130 <bp-sym.h> and <bp-asm.h>.
18131 (memcpy): Don't use BP_SYM.
18132 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18133 <bp-sym.h> and <bp-asm.h>.
18134 (memset): Don't use BP_SYM.
18135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18136 <bp-sym.h> and <bp-asm.h>.
18137 (strncmp): Don't use BP_SYM.
18138 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18139 <bp-sym.h> and <bp-asm.h>.
18140 (memcpy): Don't use BP_SYM.
18141 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18142 <bp-sym.h> and <bp-asm.h>.
18143 (memset): Don't use BP_SYM.
18144 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18145 <bp-sym.h> and <bp-asm.h>.
18146 (__memchr): Don't use BP_SYM.
18147 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18148 <bp-sym.h> and <bp-asm.h>.
18149 (memcmp): Don't use BP_SYM.
18150 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18151 <bp-sym.h> and <bp-asm.h>.
18152 (memcpy): Don't use BP_SYM.
18153 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18154 <bp-sym.h> and <bp-asm.h>.
18155 (__mempcpy): Don't use BP_SYM.
18156 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18157 <bp-sym.h> and <bp-asm.h>.
18158 (__memrchr): Don't use BP_SYM.
18159 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18160 <bp-sym.h> and <bp-asm.h>.
18161 (memset): Don't use BP_SYM.
18162 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18163 <bp-sym.h> and <bp-asm.h>.
18164 (__rawmemchr): Don't use BP_SYM.
18165 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18166 <bp-sym.h> and <bp-asm.h>.
18167 (__STRCMP): Don't use BP_SYM.
18168 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18169 <bp-sym.h> and <bp-asm.h>.
18170 (strchr): Don't use BP_SYM.
18171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18172 <bp-sym.h> and <bp-asm.h>.
18173 (__strchrnul): Don't use BP_SYM.
18174 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18175 <bp-sym.h> and <bp-asm.h>.
18176 (strlen): Don't use BP_SYM.
18177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18178 <bp-sym.h> and <bp-asm.h>.
18179 (strncmp): Don't use BP_SYM.
18180 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18181 <bp-sym.h> and <bp-asm.h>.
18182 (__strnlen): Don't use BP_SYM.
18183 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18184 <bp-asm.h>.
18185 (__mpn_rshift): Don't use BP_SYM.
18186 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18187 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18188 <bp-sym.h> and <bp-asm.h>.
18189 (__sigsetjmp): Don't use BP_SYM.
18190 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18191 (L(start_addresses)): Don't use BP_SYM.
18192 (_start): Likewise.
18193 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18194 <bp-asm.h>.
18195 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18196 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18197 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18198 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18199 <bp-asm.h>.
18200 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18201 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18202 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18203 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18204 <bp-asm.h>.
18205 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18206 comments.
18207 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18208 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18209 <bp-asm.h>.
18210 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18211 FIXME comments.
18212 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18213 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18214 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18215 <bp-asm.h>.
18216 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18217 comment.
18218 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18219 and <bp-asm.h>.
18220 (strncmp): Don't use BP_SYM,
18221 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18222 <bp-asm.h>.
18223 (__mpn_sub_n): Don't use BP_SYM.
18224 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18225 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18226 and <bp-asm.h>.
18227 (__mpn_submul_1): Don't use BP_SYM.
18228 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18230 <bp-sym.h> and <bp-asm.h>.
18231 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18233 <bp-sym.h> and <bp-asm.h>.
18234 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18235 comment.
18236
8d19fe64
SP
182372013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18238
18239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18240 Use ZK to minimize writes to Z.
18241 (sub_magnitudes): Simplify code a bit.
18242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18243 Use ZK to minimize writes to Z.
18244 (sub_magnitudes): Simplify code a bit.
18245
85bd816a
RM
182462013-02-27 Roland McGrath <roland@hack.frob.com>
18247
18248 * csu/gmon-start.c: Add special exception to license text.
18249
b5977bf2
RH
182502013-02-27 Richard Henderson <rth@redhat.com>
18251
18252 * scripts/config.guess: Update from config.git.
18253 * scripts/config.sub: Likewise.
18254
11d6e2f2
SP
182552013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18256
09c14ed2
SP
18257 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18258
a688864e
SP
18259 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18260
6295157a
SP
18261 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18262
b8de2202
SP
18263 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18264
11d6e2f2
SP
18265 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18266
7e80ddb8
RM
182672013-02-26 Roland McGrath <roland@hack.frob.com>
18268
18269 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18270 [$(build-shared = yes].
7e80ddb8 18271
7da6d9ed
SP
182722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18273
45f05884
SP
18274 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18275 (__mul): Reduce iterations for calculating mantissa.
18276
2236d359
SP
18277 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18278 MPTWO.
18279 (__mpranred): Likewise.
18280
7da6d9ed
SP
18281 [BZ #15160]
18282 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18283 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18284
b7688c42
PE
182852013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18286
18287 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18288 Define __attribute__.
18289
53a5c423
SP
182902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18291
18292 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18293 unused.
18294 * posix/regex_internal.h (__attribute): Remove.
18295 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18296 (re_string_context_at): Likewise.
18297 (bitset_not): Use __attribute__ and mark function as possibly
18298 unused.
18299 (bitset_merge): Likewise.
18300 (bitset_mask): Likewise.
18301 (re_string_char_size_at): Likewise.
18302 (re_string_wchar_at): Likewise.
18303 (re_string_elem_size_at): Likewise.
18304
60f5a8b5
SP
183052013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18306
2a983a2e
SP
18307 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18308 code.
18309 (cc32): Likewise.
18310
e69804d1
SP
18311 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18312 (__acr): Likewise.
18313 (__cpy): Likewise.
18314 (norm): Likewise.
18315 (denorm): Likewise.
18316 (__dbl_mp): Likewise.
18317 (add_magnitudes): Likewise.
18318 (sub_magnitudes): Likewise.
18319 (__mul): Likewise.
18320 (__inv): Likewise.
18321
2f22a1e8
SP
18322 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18323 style.
18324
8930ddc7
SP
18325 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18326 style.
18327
dc60cb11
SP
18328 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18329 code.
18330
60f5a8b5
SP
18331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18332 up changes with default code.
18333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18334 Likewise.
18335
b4d1fd33
AM
183362013-02-24 Allan McRae <allan@archlinux.org>
18337
faf6f8bc
AM
18338 * manual/socket.texi (The Internet Namespace): Order menu items
18339 to match that in the file.
18340
b4d1fd33
AM
18341 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18342 node listing of the info page menu.
18343
2366713d
JM
183442013-02-21 Joseph Myers <joseph@codesourcery.com>
18345
18346 [BZ #13550]
18347 * sysdeps/i386/bp-asm.h: Remove file.
18348 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18349 (PARMS): Do not use macros from bp-asm.h.
18350 (S1): Likewise.
18351 (S2): Likewise.
18352 (SIZE): Likewise.
18353 (__mpn_add_n): Do not use BP_SYM
18354 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18355 "bp-asm.h".
18356 (PARMS): Do not use macros from bp-asm.h.
18357 (S1): Likewise.
18358 (SIZE): Likewise.
18359 (__mpn_addmul_1): Do not use BP_SYM
18360 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18361 "bp-asm.h".
18362 (PARMS): Do not use macros from bp-asm.h.
18363 (SIGMSK): Likewise.
18364 (_setjmp): Likewise. Do not use BP_SYM.
18365 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18366 "bp-asm.h".
18367 (PARMS): Do not use macros from bp-asm.h.
18368 (SIGMSK): Likewise.
18369 (setjmp): Likewise. Do not use BP_SYM.
18370 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18371 "bp-asm.h".
18372 (PARMS): Do not use macros from bp-asm.h.
18373 (__frexp): Do not use BP_SYM.
18374 (frexp): Likewise.
18375 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18376 "bp-asm.h".
18377 (PARMS): Do not use macros from bp-asm.h.
18378 (__frexpf): Do not use BP_SYM.
18379 (frexpf): Likewise.
18380 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18381 "bp-asm.h".
18382 (PARMS): Do not use macros from bp-asm.h.
18383 (__frexpl): Do not use BP_SYM.
18384 (frexpl): Likewise.
18385 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18386 "bp-asm.h".
18387 (PARMS): Do not use macros from bp-asm.h.
18388 (__remquo): Do not use BP_SYM.
18389 (remquo): Likewise.
18390 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18391 "bp-asm.h".
18392 (PARMS): Do not use macros from bp-asm.h.
18393 (__remquof): Do not use BP_SYM.
18394 (remquof): Likewise.
18395 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18396 "bp-asm.h".
18397 (PARMS): Do not use macros from bp-asm.h.
18398 (__remquol): Do not use BP_SYM.
18399 (remquol): Likewise.
18400 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18401 "bp-asm.h".
18402 (PARMS): Do not use macros from bp-asm.h.
18403 (DEST): Likewise.
18404 (SRC): Likewise.
18405 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18406 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18407 "bp-asm.h".
18408 (PARMS): Do not use macros from bp-asm.h.
18409 (strlen): Do not use BP_SYM.
18410 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18411 "bp-asm.h".
18412 (PARMS): Do not use macros from bp-asm.h.
18413 (S1): Likewise.
18414 (S2): Likewise.
18415 (SIZE): Likewise.
18416 (__mpn_add_n): Do not use BP_SYM.
18417 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18418 "bp-asm.h".
18419 (PARMS): Do not use macros from bp-asm.h.
18420 (S1): Likewise.
18421 (SIZE): Likewise.
18422 (__mpn_addmul_1): Do not use BP_SYM.
18423 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18424 weak_alias.
18425 (bzero): Likewise.
18426 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18427 "bp-asm.h".
18428 (PARMS): Do not use macros from bp-asm.h.
18429 (S): Likewise.
18430 (SIZE): Likewise.
18431 (__mpn_lshift): Do not use BP_SYM.
18432 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18433 "bp-asm.h".
18434 (PARMS): Do not use macros from bp-asm.h.
18435 (DEST): Likewise.
18436 (SRC): Likewise.
18437 (LEN): Likewise.
18438 (memcpy): Likewise. Do not use BP_SYM.
18439 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18440 libc_hidden_def and weak_alias.
18441 (mempcpy): Do not use BP_SYM in weak_alias.
18442 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18443 "bp-asm.h".
18444 (PARMS): Do not use macros from bp-asm.h.
18445 (DEST): Likewise.
18446 (LEN): Likewise.
18447 [!BZERO_P] (CHR): Likewise.
18448 (memset): Likewise. Do not use BP_SYM.
18449 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18450 "bp-asm.h".
18451 (PARMS): Do not use macros from bp-asm.h.
18452 (S1): Likewise.
18453 (SIZE): Likewise.
18454 (__mpn_mul_1): Do not use BP_SYM.
18455 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18456 "bp-asm.h".
18457 (PARMS): Do not use macros from bp-asm.h.
18458 (S): Likewise.
18459 (SIZE): Likewise.
18460 (__mpn_rshift): Do not use BP_SYM.
18461 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18462 "bp-asm.h".
18463 (PARMS): Do not use macros from bp-asm.h.
18464 (STR): Likewise.
18465 (CHR): Likewise.
18466 (strchr): Likewise. Do not use BP_SYM.
18467 (index): Do not use BP_SYM in weak_alias.
18468 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18469 "bp-asm.h".
18470 (PARMS): Do not use macros from bp-asm.h.
18471 (DEST): Likewise.
18472 (SRC): Likewise.
18473 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18474 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18475 "bp-asm.h".
18476 (PARMS): Do not use macros from bp-asm.h.
18477 (strlen): Do not use BP_SYM.
18478 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18479 "bp-asm.h".
18480 (PARMS): Do not use macros from bp-asm.h.
18481 (S1): Likewise.
18482 (S2): Likewise.
18483 (SIZE): Likewise.
18484 (__mpn_sub_n): Do not use BP_SYM.
18485 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18486 "bp-asm.h".
18487 (PARMS): Do not use macros from bp-asm.h.
18488 (S1): Likewise.
18489 (SIZE): Likewise.
18490 (__mpn_submul_1): Do not use BP_SYM.
18491 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18492 "bp-asm.h".
18493 (PARMS): Do not use macros from bp-asm.h.
18494 (S1): Likewise.
18495 (S2): Likewise.
18496 (SIZE): Likewise.
18497 (__mpn_add_n): Do not use BP_SYM.
18498 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18499 weak_alias.
18500 (bzero): Likewise.
18501 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18502 "bp-asm.h".
18503 (PARMS): Do not use macros from bp-asm.h.
18504 (BLK2): Likewise.
18505 (LEN): Likewise.
18506 (memcmp): Do not use BP_SYM.
18507 (bcmp): Do not use BP_SYM in weak_alias.
18508 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18509 "bp-asm.h".
18510 (PARMS): Do not use macros from bp-asm.h.
18511 (DEST): Likewise.
18512 (SRC): Likewise.
18513 (LEN): Likewise.
18514 (memcpy): Likewise. Do not use BP_SYM.
18515 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18516 "bp-asm.h".
18517 (PARMS): Do not use macros from bp-asm.h.
18518 (DEST): Likewise.
18519 (SRC): Likewise.
18520 (LEN): Likewise.
18521 (memmove): Likewise. Do not use BP_SYM.
18522 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18523 "bp-asm.h".
18524 (PARMS): Do not use macros from bp-asm.h.
18525 (DEST): Likewise.
18526 (SRC): Likewise.
18527 (LEN): Likewise.
18528 (__mempcpy): Likewise. Do not use BP_SYM.
18529 (mempcpy): Do not use BP_SYM in weak_alias.
18530 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18531 "bp-asm.h".
18532 (PARMS): Do not use macros from bp-asm.h.
18533 (DEST): Likewise.
18534 (LEN): Likewise.
18535 [!BZERO_P] (CHR): Likewise.
18536 (memset): Likewise. Do not use BP_SYM.
18537 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18538 "bp-asm.h".
18539 (PARMS): Do not use macros from bp-asm.h.
18540 (STR2): Likewise.
18541 (strcmp): Do not use BP_SYM.
18542 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18543 "bp-asm.h".
18544 (PARMS): Do not use macros from bp-asm.h.
18545 (STR): Likewise.
18546 (DELIM): Likewise.
18547 [USE_AS_STRTOK_R] (SAVE): Likewise.
18548 (FUNCTION): Likewise. Do not use BP_SYM.
18549 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18550 aliases.
18551 (strtok_r): Likewise.
18552 (__GI___strtok_r): Likewise.
18553 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18554 (PARMS): Do not use macros from bp-asm.h.
18555 (S): Likewise.
18556 (SIZE): Likewise.
18557 (__mpn_lshift): Do not use BP_SYM.
18558 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18559 (PARMS): Do not use macros from bp-asm.h.
18560 (STR): Likewise.
18561 (CHR): Likewise.
18562 (__memchr): Do not use BP_SYM.
18563 (memchr): Do not use BP_SYM in weak_alias.
18564 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18565 (PARMS): Do not use macros from bp-asm.h.
18566 (BLK2): Likewise.
18567 (LEN): Likewise.
18568 (memcmp): Do not use BP_SYM.
18569 (bcmp): Do not use BP_SYM in weak_alias.
18570 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18571 (PARMS): Do not use macros from bp-asm.h.
18572 (S1): Likewise.
18573 (SIZE): Likewise.
18574 (__mpn_mul_1): Do not use BP_SYM.
18575 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18576 "bp-asm.h".
18577 (PARMS): Do not use macros from bp-asm.h.
18578 (STR): Likewise.
18579 (CHR): Likewise.
18580 (__rawmemchr): Do not use BP_SYM.
18581 (rawmemchr): Do not use BP_SYM in weak_alias.
18582 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18583 (PARMS): Do not use macros from bp-asm.h.
18584 (S): Likewise.
18585 (SIZE): Likewise.
18586 (__mpn_rshift): Do not use BP_SYM.
18587 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18588 (PARMS): Do not use macros from bp-asm.h.
18589 (SIGMSK): Likewise.
18590 (__sigsetjmp): Likewise. Do not use BP_SYM.
18591 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18592 (_start): Do not use BP_SYM.
18593 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18594 (PARMS): Do not use macros from bp-asm.h.
18595 (DEST): Likewise.
18596 (SRC): Likewise.
18597 (__stpcpy): Likewise. Do not use BP_SYM.
18598 (stpcpy): Do not use BP_SYM in weak_alias.
18599 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18600 "bp-asm.h".
18601 (PARMS): Do not use macros from bp-asm.h.
18602 (DEST): Likewise.
18603 (SRC): Likewise.
18604 (LEN): Likewise.
18605 (__stpncpy): Likewise. Do not use BP_SYM.
18606 (stpncpy): Do not use BP_SYM in weak_alias.
18607 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18608 (PARMS): Do not use macros from bp-asm.h.
18609 (STR): Likewise.
18610 (CHR): Likewise.
18611 (strchr): Likewise. Do not use BP_SYM.
18612 * sysdeps/i386/strchrnul.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 (CHR): Likewise.
18617 (__strchrnul): Likewise. Do not use BP_SYM.
18618 (strchrnul): Do not use BP_SYM in weak_alias.
18619 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18620 "bp-asm.h".
18621 (PARMS): Do not use macros from bp-asm.h.
18622 (STOP): Likewise.
18623 (strcspn): Do not use BP_SYM.
18624 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18625 "bp-asm.h".
18626 (PARMS): Do not use macros from bp-asm.h.
18627 (STR): Likewise.
18628 (STOP): Likewise.
18629 (strpbrk): Likewise. Do not use BP_SYM.
18630 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18631 "bp-asm.h".
18632 (PARMS): Do not use macros from bp-asm.h.
18633 (STR): Likewise.
18634 (CHR): Likewise.
18635 (strrchr): Likewise. Do not use BP_SYM.
18636 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18637 (PARMS): Do not use macros from bp-asm.h.
18638 (SKIP): Likewise.
18639 (strspn): Do not use BP_SYM.
18640 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18641 (PARMS): Do not use macros from bp-asm.h.
18642 (STR): Likewise.
18643 (DELIM): Likewise.
18644 (SAVE): Likewise.
18645 (FUNCTION): Likewise. Do not use BP_SYM.
18646 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18647 aliases.
18648 (strtok_r): Likewise.
18649 (__GI___strtok_r): Likewise.
18650 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18651 (PARMS): Do not use macros from bp-asm.h.
18652 (S1): Likewise.
18653 (S2): Likewise.
18654 (SIZE): Likewise.
18655 (__mpn_sub_n): Do not use BP_SYM.
18656 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18657 "bp-asm.h".
18658 (PARMS): Do not use macros from bp-asm.h.
18659 (S1): Likewise.
18660 (SIZE): Likewise.
18661 (__mpn_submul_1): Do not use BP_SYM.
18662 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18663 <bp-sym.h>.
18664 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18665 and <bp-asm.h>.
18666 (PARMS): Do not use macros from bp-asm.h.
18667 (FLAGS): Likewise.
18668 (PTID): Likewise.
18669 (TLS): Likewise.
18670 (CTID): Likewise.
18671 (__clone): Do not use BP_SYM.
18672 (clone): Do not use BP_SYM in weak_alias.
18673 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18674 and <bp-asm.h>.
18675 (PARMS): Do not use macros from bp-asm.h.
18676 (LEN): Likewise.
18677 (__mmap64): Do not use BP_SYM.
18678 (mmap64): Do not use BP_SYM in weak_alias.
18679 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18680 <bp-sym.h> and <bp-asm.h>.
18681 (PARMS): Do not use macros from bp-asm.h.
18682 (__posix_fadvise64_l64): Do not use BP_SYM.
18683 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18684 (PARMS): Do not use macros from bp-asm.h.
18685 (NSOPS): Likewise.
18686 (semtimedop): Do not use BP_SYM.
18687 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18688 and <bp-asm.h>.
18689
582a3cff
AM
186902013-02-21 Allan McRae <allan@archlinux.org>
18691
18692 * manual/message.texi (Charset conversion in gettext):
18693 Move @end statement to beginning of line.
18694
bab8a695
SP
186952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18696
80945231
SP
18697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18698 static.
18699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18700 Likewise.
18701
bab8a695
SP
18702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18703 (denorm): Likewise.
18704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18706
e21d7aa7
AK
187072013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18708
18709 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18710 tail-call to the resolved function if pltexit isn't needed.
18711
4c7a4263
SP
187122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18713
18714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18715 or Y being zero as being unlikely.
18716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18717 Likewise.
18718
41f49342
CD
187192013-02-20 Carlos O'Donell <carlos@redhat.com>
18720
18721 * manual/nss.texi (System Databases and Name Service Switch):
18722 Remove frobnicate @pxref.
18723
50022a93
TS
187242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18725
18726 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18727 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18728
08cbd996
PM
187292013-02-20 Petr Machata <pmachata@redhat.com>
18730
18731 * elf/elf.h (R_ARM_TARGET1): New macro.
18732 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18733 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18734 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18735 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18736 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18737 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18738 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18739 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18740 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18741 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18742 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18743 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18744 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18745 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18746 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18747 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18748 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18749 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18750 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18751 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18752 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18753 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18754 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18755 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18756 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18757 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18758 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18759 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18760 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18761 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18762 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18763 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18764 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18765 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18766 (R_ARM_THM_GOT_BREL12): Likewise.
18767 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18768 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18769 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18770 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18771 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18772 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18773 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18774 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18775 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18776
c7b275d6
TS
187772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18778
18779 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18780 __attribute_used__ to __attribute__ ((unused)).
18781
20cd7fb3
SP
187822013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18783
18784 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18785 powerpc mpa.c.
18786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18787 comment formatting.
18788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18789
92945b52
JM
187902013-02-19 Joseph Myers <joseph@codesourcery.com>
18791
18792 [BZ #13550]
18793 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18794 Remove macro.
18795 (ENTER): Remove both macro definitions.
18796 (LEAVE): Likewise.
18797 (CHECK_BOUNDS_LOW): Likewise.
18798 (CHECK_BOUNDS_HIGH): Likewise.
18799 (CHECK_BOUNDS_BOTH): Likewise.
18800 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18801 (RETURN_BOUNDED_POINTER): Likewise.
18802 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18803 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18804 (POP_ERRNO_LOCATION_RETURN): Likewise.
18805 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18806 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18807 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18808 macros.
18809 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18810 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18811 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18812 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18813 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18814 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18815 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18816 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18817 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18818 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18819 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18820 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18822 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18823 removed macros.
18824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18825 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18826 macros.
18827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18828 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18829 * sysdeps/i386/i586/memset.S (memset): Likewise.
18830 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18831 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18832 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18833 macros.
18834 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18835 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18836 Change uses of L(2) to L(out).
18837 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18838 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18839 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18841 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18842 removed macros.
18843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18844 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18845 macros.
18846 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18847 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18848 (RETURN): Do not use macro LEAVE.
18849 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18850 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18851 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18852 * sysdeps/i386/i686/memset.S (memset): Likewise.
18853 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18854 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18855 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18856 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18857 Likewise.
18858 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18859 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18860 L(1_2) and L(1_3) into L(1).
18861 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18862 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18864 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18865 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18866 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18867 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18868 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18869 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18870 macros.
18871 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18872 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18873 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18874 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18875 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18876 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18878 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18879 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18880 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18881 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18882 * sysdeps/i386/strspn.S (strspn): Likewise.
18883 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18884 conditional code.
18885 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18886 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18887 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18888 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18889 L(1_3) into L(1_1).
18890 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18891 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18892 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18893 macros.
18894 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18895
2389741a
JJ
188962013-02-19 Jakub Jelinek <jakub@redhat.com>
18897
18898 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18899 macro.
18900
2016b3cd
SP
189012013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18902
e4f22324
SP
18903 * math/atest-exp.c (exp_mpn): Remove ROUND.
18904 * math/atest-exp2.c (exp_mpn): Likewise.
18905 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18906
2016b3cd
SP
18907 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18908 * stdlib/tst-tls-atexit-lib.c: Likewise.
18909 * stdlib/tst-tls-atexit.c: Likewise.
18910
4be9b544
MF
189112013-02-18 Mike Frysinger <vapier@gentoo.org>
18912
18913 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18914 and __attribute_alloc_size__.
18915
2f62b9ee
MF
189162013-02-18 Mike Frysinger <vapier@gentoo.org>
18917
18918 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18919 __attribute_alloc_size__.
18920 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18921 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18922
6ff444c4
MF
189232013-02-18 Mike Frysinger <vapier@gentoo.org>
18924
18925 * include/programs/xmalloc.h: New file.
18926 * catgets/gencat.c: Include it.
18927 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18928 * elf/pldd.c: Likewise.
18929 * iconv/iconv_charmap.c: Likewise.
18930 * iconv/iconvconfig.c: Likewise.
18931 * iconv/strtab.c: Likewise.
18932 * locale/programs/locale.c: Likewise.
18933 * locale/programs/localedef.h: Likewise.
18934 * locale/programs/simple-hash.c: Likewise.
18935 * nscd/nscd.h: Likewise.
18936 * nss/makedb.c: Likewise.
18937 * sysdeps/generic/ldconfig.h: Likewise.
18938
be179c8a
SP
189392013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18940
ba384f6e
SP
18941 * Versions.def: Add GLIBC_2.18.
18942 * include/link.h (struct link_map): New member l_tls_dtor_count.
18943 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18944 (__call_tls_dtors): Likewise.
18945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18946 __cxa_thread_atexit_impl.
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18948 Likewise.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18950 Likewise.
18951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18952 Likewise.
18953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18954 Likewise.
18955 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18957 Likewise.
18958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18959 Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18962 Likewise.
18963 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18964 (tests): Add test case tst-tls-atexit.
18965 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18966 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18967 (GLIBC_PRIVATE): Add __call_tls_dtors.
18968 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18969 for libstdc++.
18970 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18971 * stdlib/tst-tls-atexit.c: New test case.
18972 * stdlib/tst-tls-atexit-lib.c: New test case.
18973
ffaa74cf 18974 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18975
be179c8a
SP
18976 * elf/Versions (ld): Add _dl_find_dso_for_object.
18977 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18978 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18979 (dl_open_worker): Use _dl_find_dso_for_object.
18980 * elf/dl-sym.c (do_sym): Likewise.
18981 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18982
f78b5caa
AK
189832013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18984
18985 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18986 Syntactic changes only.
18987 (_dl_runtime_profile): Do a tail-call to the resolved function.
18988
29691210
JM
189892013-02-17 Joseph Myers <joseph@codesourcery.com>
18990
18991 [BZ #13550]
18992 * sysdeps/x86_64/bp-asm.h: Remove file.
18993 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18994 <bp-sym.h> and <bp-asm.h>.
18995 (__clone): Do not use BP_SYM.
18996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18997 <bp-sym.h> and <bp-asm.h>.
18998 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18999 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19000 "bp-asm.h".
19001 (_setjmp): Do not use BP_SYM.
19002 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19003 "bp-asm.h".
19004 (setjmp): Do not use BP_SYM.
19005 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19006 libc_hidden_def.
19007 (mempcpy): Do not use BP_SYM in weak_alias.
19008 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19009 "bp-asm.h".
19010 (strchr): Do not use BP_SYM.
19011 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19012 "bp-asm.h".
19013 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19014 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19015 (_start): Do not use BP_SYM.
19016 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19017 "bp-asm.h".
19018 (strcat): Do not use BP_SYM.
19019 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19020 "bp-asm.h".
19021 (STRCMP): Do not use BP_SYM.
19022 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19023 "bp-asm.h".
19024 (STRCPY): Do not use BP_SYM.
19025 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19026 "bp-asm.h".
19027 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19028 "bp-asm.h".
19029 (FUNCTION): Do not use BP_SYM.
19030 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19031 weak_alias.
19032 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19033
f238fd19
AJ
190342013-02-17 Andreas Jaeger <aj@suse.de>
19035
19036 * time/Versions: Sort entries.
19037 * string/Versions: Likewise.
19038 * resolv/Versions: Likewise.
19039 * posix/Versions: Likewise.
19040 * iconv/Versions: Likewise.
19041 * elf/Versions: Likewise.
19042 * wcsmbs/Versions: Likewise.
19043
bd07f23c 190442013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19045
22af19f9
SP
19046 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19047 loop termination condition.
19048
4709fe76
SP
19049 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19050 variable to calculate EZ.
19051 (__sqr): Likewise.
2d0e0f29
SP
19052
19053 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19054 the lower precision input.
19055
daaa7713
JM
190562013-02-15 Joseph Myers <joseph@codesourcery.com>
19057
19058 [BZ #13550]
19059 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19060 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19061 (run-via-rtld-prefix): Do not handle %-bp tests.
19062 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19063 (all-object-suffixes): Remove .ob.
19064 (bppfx): Remove variable.
19065 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19066 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19067 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19068 [$(build-bounded) = yes] (libtype.ob): Likewise.
19069 * Makerules (elide-routines.ob): Remove variable.
19070 (do-tests-clean): Do not handle *-bp.out.
19071 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19072 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19073 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19074 (tests): Do not include $(tests-bp.out).
19075 (xtests): Do not include $(xtests-bp.out).
19076 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19077 [$(build-bounded) = yes] ($(addprefix
19078 $(objpfx),$(binaries-bounded))): Remove rule.
19079 ($(objpfx)%-bp.out): Remove rule.
19080 * config.make.in (build-bounded): Remove variable.
19081 * crypt/Makefile [$(build-bounded) = yes]
19082 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19083 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19084 append to variable.
19085 [$(build-bounded) = yes] (install-lib): Likewise.
19086 [$(build-bounded) = yes] (generated): Likewise.
19087 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19088 Remove rule.
19089 * intl/Makefile [$(build-bounded) = yes]
19090 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19091 * math/Makefile [$(build-bounded) = yes]
19092 ($(tests:%=$(objpfx)%-bp): Likewise.
19093 * misc/Makefile [$(build-bounded) = yes]
19094 ($(objpfx)tst-tsearch-bp): Likewise.
19095 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19096 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19097 Remove dependency.
19098 * string/Makefile (o-objects.ob): Remove variable.
19099 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19100 (CFLAGS-.ob): Remove variable.
19101 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19102 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19103 both definitions of variable.
19104 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19105 (ASFLAGS-.ob): Remove variable.
19106
e97ed6dd
JM
191072013-02-14 Joseph Myers <joseph@codesourcery.com>
19108
2bdd4ca6
JM
19109 [BZ #13550]
19110 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19111 Remove __BOUNDED_POINTERS__ from condition.
19112 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19113 * string/bits/string2.h [!__NO_STRING_INLINES &&
19114 !__BOUNDED_POINTERS__]: Likewise.
19115 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19116 Likewise.
19117 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19118 Remove conditional code.
19119 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19120 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19121 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19122 condition.
19123
e97ed6dd
JM
19124 [BZ #13550]
19125 * csu/libc-start.c: Do not include <bp-sym.h>.
19126 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19127 * elf/dl-open.c: Do not include <bp-sym.h>.
19128 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19129 * math/fegetenv.c: Do not include <bp-sym.h>.
19130 (fegetenv): Do not use BP_SYM in versioned symbols.
19131 * nptl/sysdeps/pthread/bits/libc-lockP.h
19132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19133 <bp-sym.h>.
19134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19135 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19137 (__pthread_mutex_destroy): Likewise.
19138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19139 (__pthread_mutex_lock): Likewise.
19140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19141 (__pthread_mutex_trylock): Likewise.
19142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19143 (__pthread_mutex_unlock): Likewise.
19144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19145 (__pthread_mutexattr_init): Likewise.
19146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19147 (__pthread_mutexattr_destroy): Likewise.
19148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19149 (__pthread_mutexattr_settype): Likewise.
19150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19151 (__pthread_rwlock_init): Likewise.
19152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19153 (__pthread_rwlock_destroy): Likewise.
19154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19155 (__pthread_rwlock_rdlock): Likewise.
19156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19157 (__pthread_rwlock_tryrdlock): Likewise.
19158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19159 (__pthread_rwlock_wrlock): Likewise.
19160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19161 (__pthread_rwlock_trywrlock): Likewise.
19162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19163 (__pthread_rwlock_unlock): Likewise.
19164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19165 (__pthread_key_create): Likewise.
19166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19167 (__pthread_setspecific): Likewise.
19168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19169 (__pthread_getspecific): Likewise.
19170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19171 Likewise.
19172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19173 (_pthread_cleanup_push_defer): Likewise.
19174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19175 (_pthread_cleanup_pop_restore): Likewise.
19176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19177 (pthread_setcancelstate): Likewise.
19178 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19179 <bp-sym.h>.
19180 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19181 (memchr): Do not use BP_SYM in weak_alias.
19182 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19183 (fegetenv): Do not use BP_SYM in versioned symbols.
19184 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19185 (fesetenv): Do not use BP_SYM in versioned symbols.
19186 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19187 (feupdateenv): Do not use BP_SYM in versioned symbols.
19188 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19189 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19190 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19191 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19192 (open64): Do not use BP_SYM in weak_alias.
19193 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19194 (fegetenv): Do not use BP_SYM in versioned symbols.
19195 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19196 (fesetenv): Do not use BP_SYM in versioned symbols.
19197 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19198 (feupdateenv): Do not use BP_SYM in versioned symbols.
19199 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19200 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19201 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19202 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19203 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19204 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19205 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19206 <bp-sym.h>.
19207 (__libc_start_main): Do not use BP_SYM.
19208
d6752ccd
SP
192092013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19210
cb57ce60
SP
19211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19212 redundant return line.
19213 (norm): Likewise.
19214 (denorm): Likewise.
19215 (dbl_mp): Likewise.
19216 (sub_magnitudes): Likewise.
19217 (__add): Likewise.
19218 (__sub): Likewise.
19219 (__mul): Likewise.
19220 (__inv): Likewise.
19221 (__dvd): Likewise.
19222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19223 (norm): Likewise.
19224 (denorm): Likewise.
19225 (dbl_mp): Likewise.
19226 (sub_magnitudes): Likewise.
19227 (__add): Likewise.
19228 (__sub): Likewise.
19229 (__mul): Likewise.
19230 (__inv): Likewise.
19231 (__dvd): Likewise.
19232
f414520d
SP
19233 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19234 instead of __mul.
19235 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19236 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19237 (cc32): Likewise.
19238
d6752ccd
SP
19239 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19240 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19242 of __mul for squares.
19243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19244 function
19245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19246 Likewise.
19247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19249
70d9946a
JM
192502013-02-13 Joseph Myers <joseph@codesourcery.com>
19251
19252 [BZ #13550]
19253 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19254 code.
19255 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19256 prototype or function definition. Rename ubp_* variables and
19257 parameters. Remove argv definitions conditional on
19258 [__BOUNDED_POINTERS__].
19259 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19260 * elf/dl-runtime.c (_dl_fixup): Likewise.
19261 * include/set-hooks.h (RUN_HOOK): Likewise.
19262 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19263 definition.
19264 * string/strcpy.c (strcpy): Do not use __unbounded.
19265 * sysdeps/generic/frame.h (struct layout): Likewise.
19266 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19267 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19268 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19269 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19270 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19271 (__backtrace): Likewise.
19272 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19273 use __ptrvalue.
19274 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19275 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19276 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19277 Likewise.
19278 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19279 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19280 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19281 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19282 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19283 Do not use __unbounded.
19284 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19285 Rename __unboundedrlimits parameter to rlimits in prototype.
19286 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19287 Do not use __unbounded.
19288 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19289 not use __ptrvalue.
19290 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19291 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19292 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19293 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19294 __ptrvalue or __unbounded.
19295 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19296 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19297 use __unbounded.
19298 (__new_msgctl): Do not use __ptrvalue.
19299 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19300 __unbounded.
19301 (__libc_msgrcv): Do not use __ptrvalue.
19302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19303 startup_info): Do not use __unbounded.
19304 (__libc_start_main): Likewise. Rename ubp_* variables and
19305 parameters. Remove argv definitions conditional on
19306 [__BOUNDED_POINTERS__].
19307 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19308 __ptrvalue.
19309 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19310 use __unbounded.
19311 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19312 or __ptrvalue.
19313 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19314 use __unbounded.
19315 (__new_shmctl): Do not use __ptrvalue.
19316 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19317 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19318 Likewise.
19319 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19320 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19321 (__libc_sigaction): Likewise.
19322 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19323 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19324 Likewise.
19325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19326
cc7834d6
OB
193272013-02-13 Ondřej Bílka <neleai@seznam.cz>
19328
ffb1ec7b 19329 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19330
19331 * string/mempcpy.c: Implement by calling memcpy.
19332
bdf02814
SP
193332013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
c2af38aa
SP
19335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19336
4e92d59e
SP
19337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19338 evaluation.
19339
909279a5
SP
19340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19341 values in the mantissa.
19342
bdf02814
SP
19343 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19344 minimize writes to Z.
19345 (sub_magnitudes): Simplify code a bit.
19346
cd525923
RM
193472013-02-12 Roland McGrath <roland@hack.frob.com>
19348
19349 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19350 from the message. The linker prefixes all warnings with that already.
19351
7e2f0d2d
AS
193522013-02-12 Andreas Schwab <schwab@suse.de>
19353
a445af0b
AS
19354 [BZ #15078]
19355 * posix/regexec.c (extend_buffers): Add parameter min_len.
19356 (check_matching): Pass minimum needed length.
19357 (clean_state_log_if_needed): Likewise.
19358 (get_subexp): Likewise.
19359 * posix/Makefile (tests): Add bug-regex34.
19360 (bug-regex34-ENV): Define.
19361 * posix/bug-regex34.c: New file.
19362
7e2f0d2d
AS
19363 [BZ #11561]
19364 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19365 elements compare against the byte sequence of it, not its name.
19366 * posix/Makefile (tests): Add bug-regex35.
19367 (bug-regex35-ENV): Define.
19368 * posix/bug-regex35.c: New file.
19369
a175b684
TV
193702013-02-11 Tom de Vries <tom@codesourcery.com>
19371
19372 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19373 comment.
19374 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19375 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19376 (CHECK_EOL): Add undef.
19377
310998fe 193782013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19379
19380 * bits/stdlib-bsearch.h: New file.
19381 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19382 * stdlib/stdlib.h: Likewise.
41eda41d 19383
8ded91fb
RM
193842013-02-11 Roland McGrath <roland@hack.frob.com>
19385
19386 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19387 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19388 declaration.
19389 * manual/search.texi (Array Search Function): Add missing const in
19390 lfind prototype.
19391 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19392 declaration to use rlim_t.
19393 (Basic Scheduling Functions): Remove erroneous const from
19394 sched_getparam prototype. Remove erroneous * from
19395 sched_get_priority_max and sched_get_priority_min prototypes.
19396 (Resource Usage): Fix summary @comment on vtimes to refer to
19397 sys/vtimes.h rather than vtimes.h.
19398 Add missing *s in vtimes prototype.
19399 (Limits on Resources): Fix ulimit prototype to return long int.
19400 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19401 prototypes to use long int rather than double.
19402 (BSD Random): Fix initstate and setstate to use char *, not void *.
19403 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19404 prototype to make second argument 'struct aiocb64 *const[]'.
19405 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19406 (Status of AIO Operations): Remove erroneous const in aio_return and
19407 aio_return64 prototypes.
19408 (Synchronizing I/O): Fix sync prototype to return void.
19409 * manual/startup.texi (Suboptions): Remove an erroneous const in
19410 getsubopt prototype.
19411 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19412 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19413 use size_t rather than int.
19414 (Scanning All Users): Likewise for getpwent_r.
19415 (Setting Groups): Add missing const to setgroups prototype.
19416 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19417 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19418 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19419 'const void *' rather than 'const char *'.
19420 (Host Address Functions): Likewise for inet_ntop.
19421 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19422 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19423 ssize_t for return value.
19424 (Sending Data): Likewise for send, sendto, sendmsg.
19425 (Socket Option Functions): Add a missing const in setsockopt prototype.
19426 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19427 use wchar_t for the argument.
19428 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19429 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19430 take no arguments.
19431 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19432 double/float/long double for second argument.
19433 Fix return types of significand, significandf, significandl.
19434 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19435 argument in fchmod prototype.
19436 (File Owner): Use uid_t and gid_t in fchown prototype.
19437 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19438 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19439 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19440 use 'const struct dirent **' as argument types to CMP function pointer
19441 argument.
19442 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19443 (File Times): Fix summary magic @comment for struct utimbuf and utime
19444 to refer to utime.h, not time.h.
19445 * manual/string.texi (Argz Functions): Add missing const in
19446 argz_extract and argz_next prototypes.
19447 (Finding Tokens in a String): Likewise for basename.
19448 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19449 (Copying and Concatenation): Fix typo in wmemmove prototype.
19450 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19451 (Signal Stack): Remove erroneous const in sigstack prototype.
19452 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19453 prototype.
19454 (Simple Calendar Time): Likewise for stime.
19455 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19456 prototype.
19457 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19458 say sys/sysctl.h instead.
19459 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19460 and vsyslog prototypes.
19461
fe77fe6d
TV
194622013-02-11 Tom de Vries <tom@codesourcery.com>
19463
19464 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19465 Remove.
19466
3a09b620
RM
194672013-02-11 Roland McGrath <roland@hack.frob.com>
19468
19469 * misc/sys/mman.h: Fix typo in mremap comment.
19470
550a0b89
RM
194712013-02-08 Roland McGrath <roland@hack.frob.com>
19472
19473 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19474 the '\0' terminator.
19475
a2da1673
JM
194762013-02-08 Joseph Myers <joseph@codesourcery.com>
19477
19478 [BZ #13550]
19479 * debug/segfault.c: Don't include <bp-checks.h>.
19480 * sysdeps/generic/bp-checks.h: Remove file.
19481 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19482 (__GETDENTS): Don't use CHECK_N.
19483 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19484 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19485 (__getgroups): Don't use CHECK_N.
19486 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19487 (setgroups): Don't use CHECK_N.
19488 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19489 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19490 (__libc_msgrcv): Don't use CHECK_N.
19491 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19492 (__libc_msgsnd): Don't use CHECK_N.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19494 <bp-checks.h>.
19495 (__libc_pread): Don't use CHECK_N.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19497 include <bp-checks.h>.
19498 (__libc_pread64): Don't use CHECK_N.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19500 include <bp-checks.h>.
19501 (__libc_pwrite): Don't use CHECK_N.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19503 include <bp-checks.h>.
19504 (__libc_pwrite64): Don't use CHECK_N.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19506 <bp-checks.h>.
19507 (__libc_pread): Don't use CHECK_N.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19509 include <bp-checks.h>.
19510 (__libc_pread64): Don't use CHECK_N.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19512 include <bp-checks.h>.
19513 (__libc_pwrite): Don't use CHECK_N.
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19515 include <bp-checks.h>.
19516 (__libc_pwrite64): Don't use CHECK_N.
19517 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19518 (do_pread): Don't use CHECK_N.
19519 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19520 (do_pread64): Don't use CHECK_N.
19521 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19522 (do_pwrite): Don't use CHECK_N.
19523 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19524 (do_pwrite64): Don't use CHECK_N.
19525 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19526 (__libc_readv): Don't use CHECK_N.
19527 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19528 (semop): Don't use CHECK_N.
19529 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19530 <bp-checks.h>.
19531 (semtimedop): Don't use CHECK_N.
19532 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19533 (__libc_pread): Don't use CHECK_N.
19534 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19535 <bp-checks.h>.
19536 (__libc_pread64): Don't use CHECK_N.
19537 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19538 <bp-checks.h>.
19539 (__libc_pwrite): Don't use CHECK_N.
19540 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19541 <bp-checks.h>.
19542 (__libc_pwrite64): Don't use CHECK_N.
19543 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19544 <bp-checks.h>.
19545 (__libc_msgrcv): Don't use CHECK_N.
19546 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19547 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19548 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19549 (__libc_writev): Don't use CHECK_N.
19550
b84660a8
RM
195512013-02-08 Roland McGrath <roland@hack.frob.com>
19552
7f3e75f8
RM
19553 * string/strcpy.c: Removed unused variable.
19554
b84660a8
RM
19555 * Makeconfig (+sysdep-includes): Define with := rather than =.
19556 Use an existing include/ subdir of each sysdeps dir before it.
19557
471514d3
CD
195582013-02-08 Carlos O'Donell <carlos@redhat.com>
19559
19560 * nscd/connection.c (register_traced_file): Comment function.
19561 [HAVE_INOTIFY] (union __inev): Define.
19562 [HAVE_INOTIFY] (inotify_check_files): New function.
19563 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19564 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19565 clear_db_cache.
19566 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19567
b2d3c3be
CD
195682013-02-08 Carlos O'Donell <carlos@redhat.com>
19569
19570 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19571 loaded if not already and that a failure is permanent.
19572
b39949d2
CD
195732013-02-08 Carlos O'Donell <carlos@redhat.com>
19574
ddacd1db 19575 [BZ #15006]
b39949d2
CD
19576 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19577 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19578
b2c9eff4
JM
195792013-02-08 Joseph Myers <joseph@codesourcery.com>
19580
f3aae3f3
JM
19581 [BZ #13550]
19582 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19583 (CHECK_1_NULL_OK): Likewise.
19584 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19585 (__fxstat): Do not use CHECK_1.
19586 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19587 <bp-checks.h>.
19588 (___fxstat64): Do not use CHECK_1.
19589 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19590 <bp-checks.h>.
19591 (__fxstatat): Do not use CHECK_1.
19592 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19593 <bp-checks.h>.
19594 (__fxstatat64): Do not use CHECK_1.
19595 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19596 <bp-checks.h>.
19597 (__fxstat): Do not use CHECK_1.
19598 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19599 <bp-checks.h>.
19600 (__fxstatat): Do not use CHECK_1.
19601 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19602 <bp-checks.h>.
19603 (__getresgid): Do not use CHECK_1.
19604 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19605 <bp-checks.h>.
19606 (__getresuid): Do not use CHECK_1.
19607 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19608 <bp-checks.h>.
19609 (__lxstat): Do not use CHECK_1.
19610 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19611 <bp-checks.h>.
19612 (__old_msgctl): Do not use CHECK_1.
19613 (__new_msgctl): Likewise.
19614 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19615 <bp-checks.h>.
19616 (__new_setrlimit): Do not use CHECK_1.
19617 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19618 <bp-checks.h>.
19619 (__old_shmctl): Do not use CHECK_1.
19620 (__new_shmctl): Likewise.
19621 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19622 <bp-checks.h>.
19623 (__xstat): Do not use CHECK_1.
19624 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19625 (__lxstat): Do not use CHECK_1.
19626 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19627 <bp-checks.h>.
19628 (___lxstat64): Do not use CHECK_1.
19629 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19630 (__old_msgctl): Do not use CHECK_1.
19631 (__new_msgctl): Likewise.
19632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19633 <bp-checks.h>.
19634 (__gettimeofday): Do not use CHECK_1.
19635 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19636 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19637 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19638 <bp-checks.h>.
19639 (__gettimeofday): Do not use CHECK_1.
19640 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19641 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19642 (__new_shmctl): Do not use CHECK_1.
19643 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19644 <bp-checks.h>.
19645 (do_sigtimedwait): Do not use CHECK_1.
19646 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19647 <bp-checks.h>.
19648 (do_sigwaitinfo): Do not use CHECK_1.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19650 <bp-checks.h>.
19651 (msgctl): Do not use CHECK_1.
19652 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19653 <bp-checks.h>.
19654 (shmctl): Do not use CHECK_1.
19655 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19656 (ustat): Do not use CHECK_1.
19657 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19658 <bp-checks.h>.
19659 (__fxstat): Do not use CHECK_1.
19660 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19661 <bp-checks.h>.
19662 (__fxstatat): Do not use CHECK_1.
19663 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19664 <bp-checks.h>.
19665 (__lxstat): Do not use CHECK_1.
19666 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19667 <bp-checks.h>.
19668 (__xstat): Do not use CHECK_1.
19669 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19670 (__xstat): Do not use CHECK_1.
19671 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19672 (___xstat64): Do not use CHECK_1.
19673
b2c9eff4
JM
19674 [BZ #13550]
19675 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19676 definitions.
19677 (CHECK_BOUNDS_HIGH): Likewise.
19678 * string/strcpy.c: Do not include <bp-checks.h>.
19679 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19680
f1d70dad
RM
196812013-02-07 Roland McGrath <roland@hack.frob.com>
19682
19683 * nscd/nscd-client.h (__nscd_drop_map_ref):
19684 Add __attribute__ ((unused)).
19685 * nis/nss-nisplus.h (niserr2nss): Likewise.
19686
19687 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19688 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19689
19690 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19691 Remove inline keyword.
19692 * include/rounding-mode.h (round_away): Likewise.
19693 * libio/wfileops.c (adjust_wide_data): Likewise.
19694 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19695 (__m128i_strloadu_tolower): Likewise.
19696 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19697 (__m128i_strloadu_tolower): Likewise.
19698 * time/mktime.c (ydhms_diff): Likewise.
19699 * locale/elem-hash.h (elem_hash): Likewise.
19700 * locale/setlocale.c (setdata): Likewise.
19701 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19702 (re_string_wchar_at): Likewise.
19703 (bitset_not, bitset_merge, bitset_mask): Likewise.
19704 [!(__GNUC__ > 3)] (inline): Remove macro.
19705 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19706 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19707 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19708 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19709 * string/memcmp.c (memcmp_bytes): Likewise.
19710 * locale/programs/locarchive.c (compute_hashval): Likewise.
19711 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19712 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19713 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19714 * nss/getent.c (print_rpc, print_protocols): Likewise.
19715 (print_passwd, print_group, print_aliases): Likewise.
19716 * nis/nss-nisplus.h (niserr2nss): Likewise.
19717 * nscd/connections.c (restart_p): Likewise.
19718 Change return type to bool.
19719
eab55bfb
RM
197202013-02-05 Roland McGrath <roland@hack.frob.com>
19721
7bd642f5
RM
19722 * Makeconfig (all-Depend-files): Add existing
19723 $(sorted-subdirs:=/Depend) files.
19724 (all-subdirs): Remove nss.
19725 * sysdeps/unix/inet/Subdirs: Add it here instead.
19726 * hesiod/Depend: New file.
19727
573c29b2
RM
19728 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19729 instead of calling alloca.
19730
b2e25af0
RM
19731 * io/lseek.c (__lseek): Rename to __libc_lseek.
19732 Define __lseek as an alias.
19733
eab55bfb
RM
19734 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19735
9a0d1941
CD
197362013-02-04 Carlos O'Donell <carlos@redhat.com>
19737
19738 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19739 else clause and remove check for non-standard endianness.
19740
b83bbec4
DM
197412013-02-04 David S. Miller <davem@davemloft.net>
19742
19743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19744
6277fdab
JM
197452013-02-04 Joseph Myers <joseph@codesourcery.com>
19746
19747 [BZ #13550]
19748 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19749 (__ubp_memchr): Remove prototype.
19750 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19751 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19752 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19753 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19754 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19755 Remove alias.
19756 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19757 (__ubp_memchr): Likewise.
19758 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19759 (__ubp_memchr): Likewise.
19760 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19761 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19762 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19763 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19764 CHECK_STRING.
19765 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19766 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19767 (__getcwd): Do not use CHECK_STRING.
19768 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19769 <bp-checks.h>.
19770 (__real_chown): Do not use CHECK_STRING.
19771 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19772 <bp-checks.h>.
19773 (fchownat): Do not use CHECK_STRING.
19774 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19775 CHECK_STRING.
19776 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19777 <bp-checks.h>.
19778 (__lchown): Do not use CHECK_STRING.
19779 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19780 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19781 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19782 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19784 include <bp-checks.h>.
19785 (truncate64): Do not use CHECK_STRING.
19786 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19787 <bp-checks.h>.
19788 (__real_chown): Do not use CHECK_STRING.
19789 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19790 <bp-checks.h>.
19791 (__lchown): Do not use CHECK_STRING.
19792 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19793 <bp-checks.h>.
19794 (__chown): Do not use CHECK_STRING.
19795 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19796 <bp-checks.h>.
19797 (truncate64): Do not use CHECK_STRING.
19798 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19799 Likewise.
19800 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19801 (__xmknod): Do not use CHECK_STRING.
19802 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19803 <bp-checks.h>.
19804 (__xmknodat): Do not use CHECK_STRING.
19805 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19806 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19807
903ae060
AS
198082013-02-04 Andreas Schwab <schwab@suse.de>
19809
19810 [BZ #14142]
19811 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19812 * include/netdb.h: Likewise for h_errno.
19813 * elf/tst-stackguard1.c: Include <tls.h>.
19814
542f9466
JK
198152013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19816
19817 * elf/link.h (struct link_map): Extend the l_addr comment.
19818 * include/link.h (struct link_map): Likewise.
19819
e782a927
JM
198202013-02-01 Joseph Myers <joseph@codesourcery.com>
19821
19822 [BZ #13550]
19823 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19824 (BOUNDED_1): Remove macro.
19825 * debug/backtrace.c: Don't include <bp-checks.h>.
19826 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19827 (__backtrace): Likewise.
19828 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19829 <bp-checks.h>.
19830 (__backtrace): Don't use BOUNDED_1.
19831 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19832 <bp-checks.h>.
19833 (__backtrace): Don't use BOUNDED_1.
19834 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19835 (__backtrace): Don't use BOUNDED_1.
19836 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19837 (shmat): Don't use BOUNDED_N.
19838
8cf28c5e
JM
198392013-01-31 Joseph Myers <joseph@codesourcery.com>
19840
3a7ac8a0
JM
19841 [BZ #13550]
19842 * sysdeps/generic/bp-start.h: Remove file.
19843 * csu/libc-start.c: Don't include <bp-start.h>.
19844 (LIBC_START_MAIN): Set up __environ directly instead of using
19845 INIT_ARGV_and_ENVIRON.
19846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19847 <bp-start.h>.
19848
f3499f95
JM
19849 [BZ #13550]
19850 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19851 definitions.
19852 (CHECK_FCNTL): Likewise.
19853 (CHECK_N_PAGES): Likewise.
19854
32a45bea
JM
19855 [BZ #13550]
19856 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19857 definitions.
19858 (CHECK_SIGSET_NULL_OK): Likewise.
19859 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19860 <bp-checks.h>.
19861 (sigpending): Don't use CHECK_SIGSET.
19862 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19863 <bp-checks.h>.
19864 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19865 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19866 <bp-checks.h>.
19867 (do_sigsuspend): Don't use CHECK_SIGSET.
19868 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19869 use CHECK_SIGSET.
19870 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19871 (do_sigwait): Don't use CHECK_SIGSET.
19872 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19873 use CHECK_SIGSET.
19874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19875 include <bp-checks.h>.
19876 (sigpending): Don't use CHECK_SIGSET.
19877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19878 include <bp-checks.h>.
19879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19880 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19881 <bp-checks.h>.
19882 (sigpending): Don't use CHECK_SIGSET.
19883 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19884 <bp-checks.h>.
19885 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19886
2e8a5c8c
JM
19887 [BZ #13550]
19888 * sysdeps/generic/bp-semctl.h: Remove file.
19889 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19890 <bp-checks.h> and <bp-semctl.h>.
19891 (__old_semctl): Don't use CHECK_SEMCTL.
19892 (__new_semctl): Likewise.
19893 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19894 and <bp-semctl.h>.
19895 (__old_semctl): Don't use CHECK_SEMCTL.
19896 (__new_semctl): Likewise.
19897 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19898 <bp-checks.h> and <bp-semctl.h>.
19899 (__old_semctl): Don't use CHECK_SEMCTL.
19900 (__new_semctl): Likewise.
19901 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19902 <bp-checks.h> and <bp-semctl.h>.
19903 (semctl): Don't use CHECK_SEMCTL.
19904
c2d54929
JM
19905 [BZ #13550]
19906 * Makerules (elide-bp-thunks): Remove variable.
19907 (elide-routines.oS): Don't use $(elide-bp-thunks).
19908 (elide-routines.os): Likewise.
19909 (elide-routines.o): Likewise.
19910 (elide-routines.op): Likewise.
19911 (elide-routines.og): Likewise.
19912 (objects): Don't use $(bp-thunks).
19913 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19914 include.
19915 (common-generated): Do not add s-proto-bp.d.
19916 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19917 (int): Likewise.
19918 (typ): Likewise.
19919 Do not generate makefile rules for bounded-pointer thunks.
19920 * sysdeps/generic/bp-thunks.h: Remove file.
19921 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19922 * sysdeps/unix/s-proto-bp.S: Likewise.
19923
8cf28c5e
JM
19924 [BZ #15062]
19925 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19926 parts of result separately when argument is not close to line from
19927 -i to i and one part of argument is small.
19928 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19929 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19930 * math/libm-test.inc (cacos_test): Add more tests.
19931 (casin_test): Likewise.
19932 (casinh_test): Likewise.
19933 * sysdeps/i386/fpu/libm-test-ulps: Update.
19934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935
c4e33b8d
DM
199362013-01-31 David S. Miller <davem@davemloft.net>
19937
19938 * po/de.po: Update from translation team.
19939
3b60b421
MK
199402013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19941
19942 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19943
bb931195
TS
199442013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19945
b5a5da23
TS
19946 * configure.in (_AC_PROG_CC_C89): New definition.
19947 * configure: Regenerate.
19948
bb931195
TS
19949 * configure.in (AC_PROG_CPP): New definition.
19950 * configure: Regenerate.
19951
8c53a12c
JM
199522013-01-23 Joseph Myers <joseph@codesourcery.com>
19953
19954 * debug/tst-backtrace.h: New file.
19955 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19956 (ret): Remove variable.
19957 (x): Likewise.
19958 (FAIL): Remove macro.
19959 (NO_INLINE): Likewise.
19960 (fn1): Use match function instead of strstr.
19961 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19962 (ret): Remove variable.
19963 (x): Likewise.
19964 (FAIL): Remove macro.
19965 (NO_INLINE): Likewise.
19966 (fn): Use match function instead of strstr.
19967 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19968 (ret): Remove variable.
19969 (x): Likewise.
19970 (FAIL): Remove macro.
19971 (NO_INLINE): Likewise.
19972 (handle_signal): Use match function instead of strstr.
19973 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19974 (ret): Remove variable.
19975 (x): Likewise.
19976 (FAIL): Remove macro.
19977 (NO_INLINE): Likewise.
19978 (handle_signal): Use match function instead of strstr.
19979
4858fa2a
RM
199802013-01-23 Roland McGrath <roland@hack.frob.com>
19981
19982 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19983
bae8e7f5
DM
199842013-01-23 David S. Miller <davem@davemloft.net>
19985
19986 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19987 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19988 argument of CAS if possible.
19989 * sysdeps/sparc/sparc64/bits/atomic.h
19990 (__arch_compare_and_exchange_val_32_acq): Likewise.
19991 (__arch_compare_and_exchange_val_64_acq): Likewise.
19992
9cbbc4ae
PT
199932013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19994
19995 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19996 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19997 Include <limits.h>.
67b3f58c 19998 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19999
5655a0b5
AC
200002013-01-23 Adam Conrad <adconrad@0c3.net>
20001
20002 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20003 (LDFLAGS-tst-array5): Likewise.
20004
052aff95
JM
200052013-01-23 Joseph Myers <joseph@codesourcery.com>
20006
20007 [BZ #15036]
20008 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20009 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20010 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20011 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20012
7c1e01aa
DM
200132013-01-21 David S. Miller <davem@davemloft.net>
20014
20015 * sysdeps/sparc/backtrace.c: New file.
20016 * sysdeps/sparc/sparc32/backtrace.h: New file.
20017 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20018 * sysdeps/sparc/sparc64/backtrace.h: New file.
20019 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20020 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20021 -funwind-tables.
20022
ab087e0a
AS
200232013-01-21 Andreas Schwab <schwab@suse.de>
20024
20025 [BZ #15020]
20026 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20027 closed its stdout.
20028
ed689c2f
AS
200292013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20030
20031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20032 "mpa2.h".
20033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20034
31d470ac
JM
200352013-01-18 Joseph Myers <joseph@codesourcery.com>
20036 Mark Mitchell <mark@codesourcery.com>
20037 Tom de Vries <tom@codesourcery.com>
20038 Paul Pluzhnikov <ppluzhnikov@google.com>
20039
20040 * debug/tst-backtrace2.c: New file.
20041 * debug/tst-backtrace3.c: Likewise.
20042 * debug/tst-backtrace4.c: Likewise.
20043 * debug/tst-backtrace5.c: Likewise.
20044 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20045 (CFLAGS-tst-backtrace3.c): Likewise.
20046 (CFLAGS-tst-backtrace4.c): Likewise.
20047 (CFLAGS-tst-backtrace5.c): Likewise.
20048 (LDFLAGS-tst-backtrace2): Likewise.
20049 (LDFLAGS-tst-backtrace3): Likewise.
20050 (LDFLAGS-tst-backtrace4): Likewise.
20051 (LDFLAGS-tst-backtrace5): Likewise.
20052 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20053 tst-backtrace4 and tst-backtrace5.
20054
90567f30 200552013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20056 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20057
20058 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20059 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20060 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20061 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20063 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20064 "+r" and remove output regs list as redundant. Add explicit inline
20065 asm to specify register of return val to work around compiler codegen
20066 bug. Remove (int) cast on return value. Add return type parameter to
20067 use in macro so that this macro does not truncate return value for
20068 64-bit values.
20069 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20070 pass to INTERNAL_VSYSCALL_NCS.
20071 (INLINE_VSYSCALL): Add 'long int' as return type to
20072 INTERNAL_VSYSCALL_NCS macro invocation.
20073 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20074 INTERNAL_VSYSCALL_NCS macro invocation.
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20076
d3b9ea61
SP
200772013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20078
0b57daeb
SP
20079 [BZ #14496]
20080 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20081 Fix application of SIMD FP exception mask.
20082
caa99d06
SP
20083 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20084 mp_no from a power of two.
20085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20086 __mpexp_twomm1. Use __pow_mp.
20087
d3b9ea61
SP
20088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20089 multiplication.
20090
1dbaee3c
DM
200912013-01-17 David S. Miller <davem@davemloft.net>
20092
20093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20094
728d7b43
JM
200952013-01-17 Joseph Myers <joseph@codesourcery.com>
20096
20097 [BZ #15023]
20098 * include/complex.h: Condition contents on [!_COMPLEX_H].
20099 (__kernel_casinhf): New prototype.
20100 (__kernel_casinh): Likewise.
20101 (__kernel_casinhl): Likewise.
20102 * math/Makefile (libm_calls): Add k_casinh.
20103 * math/k_casinh.c: New file.
20104 * math/k_casinhf.c: Likewise.
20105 * math/k_casinhl.c: Likewise.
20106 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20107 finite nonzero arguments.
20108 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20109 finite nonzero arguments.
20110 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20111 finite nonzero arguments.
20112 * math/s_casinh.c: Do not include <float.h>.
20113 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20114 * math/s_casinhf.c: Do not include <float.h>.
20115 (__casinhf): Move code for finite nonzero arguments to
20116 k_casinhf.c.
20117 * math/s_casinhl.c: Do not include <float.h>.
20118 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20119 redefine.
20120 (__casinhl): Move code for finite nonzero arguments to
20121 k_casinhl.c.
20122 * math/libm-test.inc (cacos_test): Add more tests.
20123 * sysdeps/i386/fpu/libm-test-ulps: Update.
20124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20125
2a26ef3a
PT
201262013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20127
20128 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20129 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20130 [!HAVE_MREMAP]: Remove [defined linux] case.
20131 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20132
a897655d
SP
201332013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20134
20135 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20136
881ebe89 201372013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20138
20139 * elf/elf.h (R_386_SIZE32): New relocation.
20140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20141 R_386_SIZE32.
20142 (elf_machine_rela): Likewise.
20143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20144 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20145
59981e9b
JM
201462013-01-17 Joseph Myers <joseph@codesourcery.com>
20147
20148 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20149 (FP_FAST_FMA): Do not define.
20150 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20151 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20152 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20153 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20154 !_SOFT_FLOAT]: Likewise.
20155 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20156 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20157 value.
20158 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20159 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20160 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20162 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20163 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20164 file.
20165
cfa8054f
AS
201662013-01-16 Andreas Schwab <schwab@suse.de>
20167
20168 [BZ #14327]
20169 * include/stdlib.h (__mktemp): Add declaration.
20170 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20171 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20172
dd930cc5
SP
201732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20174
881ebe89
SP
20175 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20176 definitions.
20177 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20178 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20179 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20180 definitions here.
20181 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20182 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20183 definitions.
20184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20185 and ONE.
20186 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20187 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20188 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20189 definitions.
20190 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20191 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20192 definitions.
20193 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20194
dd930cc5
SP
20195 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20196
c19a9f89
DM
201972013-01-15 David S. Miller <davem@davemloft.net>
20198
1aa61767
DM
20199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20200 trunc{,f} to libm-sysdep_routes.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20203 file.
20204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20206 file.
20207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20208 file.
20209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20211 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20213 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20215 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20216 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20217
c42d5e98
DM
20218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20219 nearbyint{,f} to libm-sysdep_routes.
20220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20222 New file.
20223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20224 file.
20225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20226 New file.
20227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20228 file.
20229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20232 file.
20233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20235 file.
20236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20237 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20238 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20239
c19a9f89
DM
20240 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20241 libc_feholdexcept and libc_fesetenv.
20242
357679d2
MF
202432013-01-15 Mike Frysinger <vapier@gentoo.org>
20244
20245 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20246
65a82e3d
DM
202472013-01-14 David S. Miller <davem@davemloft.net>
20248
8b954ab9
DM
20249 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20250 (SPARC_ASM_VIS2_IFUNC): Likewise.
20251 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20253 use of 'siam' instruction.
20254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20255 Likewise.
20256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20257 Likewise.
20258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20259 Likewise.
20260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20265 file.
20266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20267 file.
20268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20269 file.
20270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20271 file.
20272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20277 new VIS2 routines.
20278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20281 Likewise.
20282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20287 routines to libm-sysdep_routines.
20288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20289
65a82e3d
DM
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20291 fdim/fdimf to libm-sysdep_routines.
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20293 file.
20294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20296 file.
20297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20300 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20301 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20302 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20303 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20304
e34ab705
SP
203052013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20306
2a91b573
SP
20307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20308 to optimize copies.
20309
1066a534
SP
20310 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20313
e34ab705
SP
20314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20315 local variable MPTWO.
20316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20317 Likewise.
20318
aba5e596
MF
203192013-01-13 Mike Frysinger <vapier@gentoo.org>
20320
20321 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20322 GLOB_NOESCAPE.
20323
e557e9e5
MF
203242013-01-13 Mike Frysinger <vapier@gentoo.org>
20325
20326 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20327
0428cec9
MF
203282013-01-13 Mike Frysinger <vapier@gentoo.org>
20329
20330 * manual/pattern.texi (glob_t): Document gl_flags.
20331 (glob64_t): Likewise.
20332
8794a964
DM
203332013-01-11 David S. Miller <davem@davemloft.net>
20334
66438c3f
RM
20335 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20336 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20337 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20338 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20339 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20340 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20341 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20342 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20343 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20344 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20345 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20346 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20347 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20348
4ae4244d
DM
20349 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20350 sparc V9 rather than using V8 code.
20351 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20352 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20353
8794a964
DM
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20355 Move to...
20356 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20357 Here.
20358
6270516e
RM
203592013-01-11 Roland McGrath <roland@hack.frob.com>
20360
20361 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20362 not in the main loop.
20363 * configure: Regenerated.
20364
6a57d931
JM
203652013-01-11 Joseph Myers <joseph@codesourcery.com>
20366
20367 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20368 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20369 to just #else.
20370 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20371 [!__GLIBC_HAVE_LONG_LONG] case.
20372 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20373 condition to just #else.
20374 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20375 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20376 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20377 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20378 unconditional.
20379 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20380 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20381 #elif condition to just #else.
20382 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20383 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20384 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20385 #elif condition to just #else.
20386
0e8529e9
SE
203872013-01-11 Steve Ellcey <sellcey@mips.com>
20388
20389 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20390 (EF_MIPS_ARCH_64): Fix value.
20391 (EF_MIPS_ARCH_32R2): New.
20392 (EF_MIPS_ARCH_64R2): New.
20393
740b3dbe
L
203942013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20395
20396 * Makeconfig (+link-pie-before-libc): New.
20397 (+link-pie-after-libc): Likewise.
20398 (+link-pie-tests): Likewise.
20399 (+link-pie): Rewritten.
20400 (link-before-libc): Remove $(config-LDFLAGS).
20401 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20402 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20403 (config-LDFLAGS): Renamed to ...
20404 (rtld-LDFLAGS): This.
20405 (rtld-tests-LDFLAGS): New macro.
20406 (link-libc-rpath-link): Likewise.
20407 (link-libc-tests-rpath-link): Likewise.
20408 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20409 (link-libc): Prepand $(link-libc-rpath-link).
20410 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20411 (test-program-prefix): New macro.
20412 (test-via-rtld-prefix): Likewise.
20413 (test-program-cmd): Likewise.
20414 (host-test-program-cmd): Likewise.
20415 * Makefile ($(common-objpfx)testrun.sh): Replace
20416 $(run-program-prefix) with $(test-program-prefix).
20417 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20418 $(rtld-LDFLAGS).
20419 ($(common-objpfx)shlib.lds): Likewise.
20420 (build-module-helper): Likewise.
20421 ($(common-objpfx)format.lds): Likewise.
20422 * Rules (binaries-pie-tests): New.
20423 (binaries-pie-notests): Likewise.
20424 (binaries-pie): Rewritten.
20425 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20426 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20427 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20428 (make-test-out): Replace $(host-built-program-cmd) with
20429 $(host-test-program-cmd).
20430 * config.make.in (build-hardcoded-path-in-tests): New variable.
20431 * configure.in (--enable-hardcoded-path-in-tests): New configure
20432 option.
20433 (hardcoded_path_in_tests): New AC_SUBST.
20434 * configure: Regenerated.
20435 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20436 $(built-program-cmd) with $(test-program-cmd).
20437 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20438 (test_program_cmd): This.
20439 * elf/Makefile ($(objpfx)order.out): Run test with
20440 $(test-program-prefix).
20441 ($(objpfx)order2.out): Likewise.
20442 ($(objpfx)tst-initorder.out): Likewise.
20443 ($(objpfx)tst-initorder2.out): Likewise.
20444 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20445 $(test-program-cmd).
20446 ($(objpfx)tst-array1-static.out): Likewise.
20447 ($(objpfx)tst-array2.out): Likewise.
20448 ($(objpfx)tst-array3.out): Likewise.
20449 ($(objpfx)tst-array4.out): Likewise.
20450 ($(objpfx)tst-array5.out): Likewise.
20451 ($(objpfx)tst-array5-static.out): Likewise.
20452 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20453 $(test-program-cmd).
20454 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20455 $(run-program-prefix) with $(test-program-prefix).
20456 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20457 (test_program_prefix): This.
20458 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20459 $(run-program-prefix) with $(test-program-prefix).
20460 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20461 (test_program_prefix): This.
20462 * iconvdata/tst-tables.sh: Likewise.
20463 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20464 $(run-program-prefix) with $(test-program-prefix).
20465 ($(objpfx)tst-translit.out): Likewise.
20466 ($(objpfx)tst-gettext2.out): Likewise.
20467 ($(objpfx)tst-gettext4.out): Likewise.
20468 ($(objpfx)tst-gettext6.out): Likewise.
20469 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20470 (test_program_prefix): This.
20471 * intl/tst-gettext2.sh: Likewise.
20472 * intl/tst-gettext4.sh Likewise.
20473 * intl/tst-gettext6.sh: Likewise.
20474 * intl/tst-translit.sh: Likewise.
20475 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20476 with $(test-program-cmd).
20477 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20478 $(run-program-prefix) with $(test-program-prefix).
20479 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20480 (test_program_prefix): This.
20481 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20482 $(run-program-prefix) with $(test-program-prefix).
20483 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20484 (test_program_prefix): This.
20485 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20486 * posix/Makefile ($(objpfx)globtest.out): Replace
20487 $(run-via-rtld-prefix) and $(test-wrapper) with
20488 $(test-program-prefix) and $(test-via-rtld-prefix).
20489 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20490 $(test-program-prefix).
20491 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20492 $(host-test-program-cmd).
20493 (tst-spawn-ARGS): Likewise.
20494 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20495 $(test-program-prefix).
20496 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20497 (test_via_rtld_prefix): This.
20498 (test_wrapper): Renamed to ...
20499 (test_program_prefix): This.
20500 (run_program_prefix): Replaced by test_program_prefix.
20501 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20502 (test_program_prefix): This.
20503 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20504 with $(host-test-program-cmd).
20505 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20506 $(run-program-prefix) with $(test-program-prefix).
20507 ($(objpfx)tst-printf.out): Likewise.
20508 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20509 $(test-program-cmd).
20510 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20511 (test_program_prefix): This.
20512 * stdio-common/tst-unbputc.sh: Likewise.
20513 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20514 $(run-program-prefix) with $(test-program-prefix).
20515 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20516 (test_program_prefix): This.
20517 * string/Makefile ($(objpfx)tst-svc.out): Replace
20518 $(built-program-cmd) with $(test-program-cmd).
20519
c6fe55cf
AJ
205202013-01-11 Andreas Jaeger <aj@suse.de>
20521
20522 [BZ #15003]
20523 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20524 value. Sync with Linux 3.7.
20525
9e6919c8
DM
205262013-01-10 David S. Miller <davem@davemloft.net>
20527
20528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20531
1c9f1a02
RM
205322013-01-10 Roland McGrath <roland@hack.frob.com>
20533
20534 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20535 never set.
20536 * configure: Regenerated.
20537
b9de2dde
DM
205382013-01-10 David S. Miller <davem@davemloft.net>
20539
20540 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20541 sparc V9 rather than using V8 code.
20542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20544
e7f68ef4
RM
205452013-01-10 Roland McGrath <roland@hack.frob.com>
20546
20547 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20548 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20549 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20550 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20551 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20552 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20553 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20554 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20555 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20556 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20557 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20558 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20559 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20560 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20561 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20562 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20563 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20564 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20565 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20566 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20567 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20568 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20569 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20570 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20571 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20572 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20573 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20574
5a47cc9c
DM
205752013-01-10 David S. Miller <davem@davemloft.net>
20576
20577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20578
4cf8f209
L
205792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20580
20581 * posix/Makefile (tests-static): New variable.
20582 (tests): Add $(tests-static).
20583 (tst-exec-static-ARGS): New variable.
20584 (tst-spawn-static-ARGS): Likewise.
20585 * posix/tst-exec-static.c: New file.
20586 * posix/tst-spawn-static.c: Likewise.
20587 * posix/tst-exec.c: Support run directly.
20588 * posix/tst-spawn.c: Likewise.
20589
fed0faa1
JM
205902013-01-10 Joseph Myers <joseph@codesourcery.com>
20591
828beb13
JM
20592 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20593 long.
20594 * math/bits/mathcalls.h (llrint): Likewise.
20595 (llround): Likewise.
20596 * stdlib/stdlib.h (struct drand48_data): Likewise.
20597 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20598 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20599 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20600 Likewise.
20601 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20602 Likewise.
20603 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20604 (elf_greg_t): Likewise.
20605 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20606 (__jmp_buf): Likewise.
20607 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20608 definitions.
20609 (llrint): Likewise, for all definitions.
20610 (llrintl): Likewise.
20611
fed0faa1
JM
20612 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20613 Remove [__GNUC__] condition.
20614 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20615 condition to just [__USE_ISOC99].
20616 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20617
1a20cb20
L
206182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20619
20620 [BZ #14200]
20621 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20622 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20623 defined.
20624 (_POSIX_V6_ILP32_OFF32): Likewise.
20625 (_XBS5_ILP32_OFF32): Likewise.
20626 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20627 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20628
751b85f7
SP
206292013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20630
7490eb81
SP
20631 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20632
751b85f7
SP
20633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20634 doubles __mpexp_twomm1. Adjust usage.
20635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20636 Remove.
20637
988197f0
AS
206382013-01-10 Andreas Schwab <schwab@suse.de>
20639
20640 [BZ #14964]
20641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20642 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20643
e83d7298
DM
206442013-01-09 David S. Miller <davem@davemloft.net>
20645
034ed64b 20646 [BZ #15003]
57f41c40
AS
20647 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20648 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20649 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20650 (TCP_FASTOPEN): Define.
e83d7298
DM
20651 (tcp_repair_opt): New structure.
20652 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20653 enum values.
57f41c40
AS
20654 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20655 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20656 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20657 (tcp_cookie_transactions): New structure.
20658
d5e0b9bd
AB
206592013-01-09 Anton Blanchard <anton@samba.org>
20660
20661 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20662 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20664 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20665
0c07e3ea
JM
206662013-01-09 Joseph Myers <joseph@codesourcery.com>
20667
20668 * include/features.h (__USE_ANSI): Remove.
20669
232f7002
RM
206702013-01-09 Roland McGrath <roland@hack.frob.com>
20671
ad98e30c
RM
20672 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20673
232f7002
RM
20674 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20675
950c99ca
SP
206762013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20677
b5792741
SP
20678 * sysdeps/s390/fpu/libm-test-ulps: Update.
20679
47cf2278
SP
20680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20681
950c99ca
SP
20682 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20683 (__acr): Likewise.
20684 (__cpy): Likewise.
20685 (norm): Likewise.
20686 (denorm): Likewise.
20687 (__mp_dbl): Likewise.
20688 (__dbl_mp): Likewise.
20689 (add_magnitudes): Likewise.
20690 (sub_magnitudes): Likewise.
20691 (__add): Likewise.
20692 (__sub): Likewise.
20693 (__mul): Likewise.
20694 (__inv): Likewise.
20695 (__dvd): Likewise.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20697 (__acr): Likewise.
20698 (__cpy): Likewise.
20699 (norm): Likewise.
20700 (denorm): Likewise.
20701 (__mp_dbl): Likewise.
20702 (__dbl_mp): Likewise.
20703 (add_magnitudes): Likewise.
20704 (sub_magnitudes): Likewise.
20705 (__add): Likewise.
20706 (__sub): Likewise.
20707 (__mul): Likewise.
20708 (__inv): Likewise.
20709 (__dvd): Likewise.
20710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20711 (__acr): Likewise.
20712 (__cpy): Likewise.
20713 (norm): Likewise.
20714 (denorm): Likewise.
20715 (__mp_dbl): Likewise.
20716 (__dbl_mp): Likewise.
20717 (add_magnitudes): Likewise.
20718 (sub_magnitudes): Likewise.
20719 (__add): Likewise.
20720 (__sub): Likewise.
20721 (__mul): Likewise.
20722 (__inv): Likewise.
20723 (__dvd): Likewise.
20724
eede9df9
JM
207252013-01-08 Joseph Myers <joseph@codesourcery.com>
20726
20727 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20728 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20729 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20730 2 && __USE_EXTERN_INLINES]: Likewise.
20731
c40ea3d9
AJ
207322013-01-08 Andreas Jaeger <aj@suse.de>
20733
20734 [BZ# 14985]
20735 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20736 Remove.
20737 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20738 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20739
2ccdea26
AB
207402013-01-07 Anton Blanchard <anton@samba.org>
20741
20742 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20744 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20745 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20746 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20747 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20748 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20749 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20751 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20756 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20757 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20760 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20762 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20763 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20765 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20766 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20767 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20768 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20769 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20770 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20771 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20772 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20774 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20776 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20777 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20778 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20780 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20781 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20782 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20784 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20785
a9708fed
JM
207862013-01-07 Joseph Myers <joseph@codesourcery.com>
20787
375607b9
JM
20788 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20789 (__MALLOC_PMT): Likewise.
20790 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20791 [__GNUC__], only on [_LIBC].
20792 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20793 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20794 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20795 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20796 forward declaration.
20797 (realloc_hook_ini): Likewise.
20798 (memalign_hook_ini): Likewise.
20799 (__libc_memalign): Do not use __MALLOC_PMT in variable
20800 declaration.
20801 (__libc_valloc): Likewise.
20802 (__libc_pvalloc): Likewise.
20803 (__libc_calloc): Likewise.
20804 (__posix_memalign): Likewise.
20805
a9708fed
JM
20806 [BZ #14996]
20807 * math/s_casinh.c: Include <float.h>.
20808 (__casinh): Do not do computation with squaring and square root
20809 for large arguments.
20810 * math/s_casinhf.c: Include <float.h>.
20811 (__casinhf): Do not do computation with squaring and square root
20812 for large arguments.
20813 * math/s_casinhl.c: Include <float.h>.
20814 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20815 (__casinhl): Do not do computation with squaring and square root
20816 for large arguments.
20817 * math/libm-test.inc (casin_test): Add more tests.
20818 (casinh_test): Likewise.
20819 * sysdeps/i386/fpu/libm-test-ulps: Update.
20820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20821
afec409a
L
208222013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20825 (__x86_64_raw_data_cache_size): Likewise.
20826 (__x86_64_data_cache_size_half): Likewise.
20827 (__x86_64_raw_data_cache_size_half): Likewise.
20828 (__x86_64_shared_cache_size): Likewise.
20829 (__x86_64_raw_shared_cache_size): Likewise.
20830 (__x86_64_shared_cache_size_half): Likewise.
20831 (__x86_64_raw_shared_cache_size_half): Likewise.
20832 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20833 to ...
20834 (__x86_data_cache_size): This.
20835 (__x86_64_raw_data_cache_size): Renamed to ...
20836 (__x86_raw_data_cache_size): This.
20837 (__x86_64_data_cache_size_half): Renamed to ...
20838 (__x86_data_cache_size_half): This.
20839 (__x86_64_raw_data_cache_size_half): Renamed to ...
20840 (__x86_raw_data_cache_size_half): This.
20841 (__x86_64_shared_cache_size): Renamed to ...
20842 (__x86_shared_cache_size): This.
20843 (__x86_64_raw_shared_cache_size): Renamed to ...
20844 (__x86_raw_shared_cache_size): This.
20845 (__x86_64_shared_cache_size_half): Renamed to ...
20846 (__x86_shared_cache_size_half): This.
20847 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20848 (__x86_raw_shared_cache_size_half): This.
20849 * sysdeps/x86_64/memcpy.S: Updated.
20850 * sysdeps/x86_64/memset.S: Likewise.
20851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20852 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20853 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20854
0b3986d0
DM
208552013-01-04 David S. Miller <davem@davemloft.net>
20856
20857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20858
e47686e9
AS
208592013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20860
d643bac1
AS
20861 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20862 1 to avoid redefinition warning.
20863 (__USE_GNU): Don't define.
20864 (init_signaling_nan): Protoize.
20865
e47686e9
AS
20866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20867
b18decba
SP
208682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20869
fffb407f
SP
20870 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20872 (__cpymn): Likewise.
20873 (norm): Remove commented code.
20874 (denorm): Likewise.
20875 (__mp_dbl): Likewise.
20876 (__inv): Likewise.
20877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20878 (__cpymn): Likewise.
20879 (norm): Remove commented code.
20880 (denorm): Likewise.
20881 (__mp_dbl): Likewise.
20882 (__inv): Likewise.
20883
b18decba
SP
20884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20885 mp_no value for 1.0 and 2.0.
20886 (norm): Use RADIXI instead of radixi.d.
20887 (denorm): Likewise.
20888 (__mul): Use 0.0 instead of zero.d.
20889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20890 mp_no value for 1.0 and 2.0.
20891 (norm): Use RADIXI instead of radixi.d.
20892 (denorm): Likewise.
20893 (__mul): Use 0.0 instead of zero.d.
20894
cdc1c96f
JM
208952013-01-04 Joseph Myers <joseph@codesourcery.com>
20896
20897 [BZ #14994]
20898 * math/s_casinh.c (__casinh): Reduce finite argument to first
20899 quadrant then set signs of results at the end.
20900 * math/s_casinhf.c (__casinhf): Likewise.
20901 * math/s_casinhl.c (__casinhl): Likewise.
20902 * math/libm-test.inc (casin_test): Add more tests.
20903 (casinh_test): Likewise.
20904 * sysdeps/i386/fpu/libm-test-ulps: Update.
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20906
302913e1
SP
209072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20908
6420d207
SP
20909 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20910
a9e48ab4
SP
20911 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20912
b7837264
SP
20913 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20914 declarations.
20915 (denorm): Likewise.
20916 (__mp_dbl): Likewise.
20917 (__inv): Likewise.
20918
f8af25d2
SP
20919 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20920 and adjust the header comment.
20921
302913e1
SP
20922 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20923 variable name from declaration.
20924
5d7dd1ca
L
209252013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20926
20927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20928 Initialize COMMON_CPUID_INDEX_7 element.
20929 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20930 (CPUID_RTM): Likewise.
20931 (HAS_RTM): Likewise.
20932 (COMMON_CPUID_INDEX_7): New enum.
20933
2f5f40f4
AS
209342013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20935
20936 [BZ #14981]
20937 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20938 size is zero, record memory as freed.
20939
4056f4a0
AJ
209402013-01-03 Andreas Jaeger <aj@suse.de>
20941
20942 * po/ia.po: Add new Interlingua translation.
20943
ab15736f 209442012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20945
20946 * locale/programs/localedef.c: Fix description of '--posix' flag.
20947
568035b7
JM
209482013-01-02 Joseph Myers <joseph@codesourcery.com>
20949
e6898b8d
JM
20950 * NEWS: Update dates in second copyright notice.
20951 * README: Update copyright dates in example.
20952 * manual/libc.texinfo: Update copyright dates.
20953 * scripts/test-installation.pl: Update copyright date in --version
20954 output.
20955
0e2f9562
JM
20956 * hurd/ctty-input.c: Fix copyright notice formatting.
20957 * hurd/ctty-output.c: Likewise.
20958 * hurd/dtable.c: Likewise.
20959 * hurd/hurd-raise.c: Likewise.
20960 * hurd/hurdprio.c: Likewise.
20961 * hurd/msgportdemux.c: Likewise.
20962 * misc/sys/file.h: Likewise.
20963 * misc/sys/ioctl.h: Likewise.
20964 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20965 * sysdeps/mach/hurd/chdir.c: Likewise.
20966 * sysdeps/mach/hurd/fchdir.c: Likewise.
20967 * sysdeps/mach/hurd/rename.c: Likewise.
20968 * sysdeps/mach/hurd/rmdir.c: Likewise.
20969 * sysdeps/mach/hurd/seekdir.c: Likewise.
20970 * sysdeps/mach/hurd/setsid.c: Likewise.
20971 * sysdeps/posix/wait3.c: Likewise.
20972
568035b7
JM
20973 * All files with FSF copyright notices: Update copyright dates
20974 using scripts/update-copyrights.
20975 * intl/plural.c: Regenerated.
20976 * locale/programs/charmap-kw.h: Likewise.
20977 * locale/programs/locfile-kw.h: Likewise.
20978
da08f647
SP
209792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20980
0f5477af
SP
20981 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20982 four values.
20983
44e0d4c2
SP
20984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20985 calculation loop and add branch prediction.
20986
4d55b4e5
SP
20987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20988 check access beyond bounds of m1np.
20989
da08f647
SP
20990 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20991 MPTWO.
20992 (__inv): Remove local variable MPTWO to use the global
20993 constant.
20994 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20996 variable MPTWO.
20997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20998 MP3HALFS static const.
20999
8e051029
DM
210002013-01-01 David S. Miller <davem@davemloft.net>
21001
21002 * po/ca.po: Update from translation team.
21003
f4cf5f2d
JM
210042013-01-01 Joseph Myers <joseph@codesourcery.com>
21005
21006 * scripts/update-copyrights: New file.
21007 * Makeconfig: Reformat copyright notice.
21008 * ctype/ctype.h: Likewise.
21009 * debug/swprintf_chk.c: Likewise.
21010 * elf/dl-cache.c: Likewise.
21011 * elf/dl-debug.c: Likewise.
21012 * elf/dl-object.c: Likewise.
21013 * grp/initgroups.c: Likewise.
21014 * hurd/Makefile: Likewise.
21015 * hurd/hurd/signal.h: Likewise.
21016 * hurd/hurdfault.c: Likewise.
21017 * hurd/hurdioctl.c: Likewise.
21018 * hurd/hurdlookup.c: Likewise.
21019 * hurd/intr-msg.c: Likewise.
21020 * iconv/gconv_open.c: Likewise.
21021 * libio/swprintf.c: Likewise.
21022 * locale/lc-ctype.c: Likewise.
21023 * locale/nl_langinfo.c: Likewise.
21024 * mach/Machrules: Likewise.
21025 * mach/Makefile: Likewise.
21026 * malloc/obstack.h: Likewise.
21027 * manual/Makefile: Likewise.
21028 * manual/tsort.awk: Likewise.
21029 * misc/bits/stab.def: Likewise.
21030 * nis/nis_print_group_entry.c: Likewise.
21031 * nis/nis_table.c: Likewise.
21032 * nis/nss_compat/compat-pwd.c: Likewise.
21033 * nis/nss_compat/compat-spwd.c: Likewise.
21034 * po/Makefile: Likewise.
21035 * posix/fnmatch.c: Likewise.
21036 * posix/regex.h: Likewise.
21037 * resolv/Makefile: Likewise.
21038 * resolv/nss_dns/dns-network.c: Likewise.
21039 * resolv/res_hconf.c: Likewise.
21040 * scripts/gen-sorted.awk: Likewise.
21041 * soft-fp/soft-fp.h: Likewise.
21042 * stdio-common/printf.h: Likewise.
21043 * stdlib/monetary.h: Likewise.
21044 * stdlib/random.c: Likewise.
21045 * stdlib/random_r.c: Likewise.
21046 * sysdeps/generic/Makefile: Likewise.
21047 * sysdeps/gnu/Makefile: Likewise.
21048 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21076 * sysdeps/mach/hurd/errnos.awk: Likewise.
21077 * sysdeps/mach/hurd/fork.c: Likewise.
21078 * sysdeps/mach/hurd/getcwd.c: Likewise.
21079 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21080 * sysdeps/mach/hurd/mmap.c: Likewise.
21081 * sysdeps/mach/hurd/utimes.c: Likewise.
21082 * sysdeps/mach/hurd/xmknod.c: Likewise.
21083 * sysdeps/posix/profil.c: Likewise.
21084 * sysdeps/posix/readdir_r.c: Likewise.
21085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21086 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21087 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21088 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21090 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21094 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21095 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21096 * sysdeps/pthread/lio_listio.c: Likewise.
21097 * sysdeps/sparc/dl-procinfo.h: Likewise.
21098 * sysdeps/unix/i386/sysdep.S: Likewise.
21099 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21100 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21101 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21102 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21104 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21105 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21106 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21107 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21108 * sysdeps/wordsize-32/divdi3.c: Likewise.
21109 * time/sys/time.h: Likewise.
21110 * wcsmbs/Makefile: Likewise.
21111
0549fbba
DM
211122013-01-01 David S. Miller <davem@davemloft.net>
21113
a141f1a7
DM
21114 * po/fr.po: Update from translation team.
21115
0549fbba
DM
21116 * catgets/gencat.c: Update copyright year.
21117 * csu/version.c: Likewise.
21118 * debug/catchsegv.sh: Likewise.
21119 * debug/pcprofiledump.c: Likewise.
21120 * debug/xtrace.sh: Likewise.
21121 * elf/ldconfig.c: Likewise.
21122 * elf/ldd.bash.in: Likewise.
21123 * elf/pldd.c: Likewise.
21124 * elf/sotruss.ksh: Likewise.
21125 * elf/sprof.c: Likewise.
21126 * iconv/iconv_prog.c: Likewise.
21127 * iconv/iconvconfig.c: Likewise.
21128 * locale/programs/locale.c: Likewise.
21129 * locale/programs/localedef.c: Likewise.
21130 * login/programs/pt_chown.c: Likewise.
21131 * malloc/memusage.sh: Likewise.
21132 * malloc/memusagestat.c: Likewise.
21133 * malloc/mtrace.pl: Likewise.
21134 * nscd/nscd.c: Likewise.
21135 * nss/getent.c: Likewise.
21136 * nss/makedb.c: Likewise.
21137 * posix/getconf.c: Likewise.
21138
18ea052c
SP
211392012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21140
21141 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21142 numbers.
21143
9c89fca6
MF
211442012-12-30 Mike Frysinger <vapier@gentoo.org>
21145
21146 * math/bits/mathcalls.h (modf): Use __nonnull.
21147
085ec079
SP
211482012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21149
21150 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21151 (split): Use macro CN instead of the bare value.
21152 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21153 could be used.
21154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21155 instead of the bare value.
21156 (power1): Likewise.
21157
6d9f97e1
SP
211582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21159
d63f73be
SP
21160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21161 __ATAN_TWOM.
21162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21163
6d9f97e1
SP
21164 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21165 their values.
21166 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21168 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21169 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21170
4c4febf5
AJ
211712012-12-28 Andreas Jaeger <aj@suse.de>
21172
af5843ef
AJ
21173 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21174 values are from Linux 3.7.
21175
4c4febf5
AJ
21176 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21177 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21178
99136f82
SP
211792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21180
2f216c3c 21181 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21182 TRUE case.
21183
99136f82
SP
21184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21185 (norm): Likewise.
21186 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21187 variables with preprocessor constants.
21188 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21189 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21190 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21191
7fffbdff
BH
211922012-12-27 Bruno Haible <bruno@clisp.org>
21193
21194 [BZ #14317]
21195 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21196 only if needed.
21197
b76eb5f0
SP
211982012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21199
31a7fe5c
SP
21200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21201 and use variable directly.
21202 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21203
b76eb5f0
SP
21204 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21205 MPONE.
21206 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21207 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21208 variable MPONE.
21209 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21211 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21212 include directive. Remove local variable MPONE.
21213 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21216
2c8bfe7d
DM
212172012-12-25 David S. Miller <davem@davemloft.net>
21218
21219 * version.h (RELEASE): Set to "development".
21220 (VERSION): Set to "2.17.90".
21221 * NEWS: Add 2.18 section.
21222
147d03b0
DM
212232012-12-21 David S. Miller <davem@davemloft.net>
21224
21225 * po/hr.po: Update from translation team.
21226
a8ebb2b9
AK
212272012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21228
21229 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21230
95b4f1b6
SE
212312012-12-19 Steve Ellcey <sellcey@mips.com>
21232
b2d94007 21233 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21234
cedb2a90
MS
212352012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21236
21237 * manual/contrib.texi (Contributors): Spelling correction.
21238
bbf527d6
DM
212392012-12-15 David S. Miller <davem@davemloft.net>
21240
21241 * po/ru.po: Update from translation team.
21242
bc38c906
DM
212432012-12-13 David S. Miller <davem@davemloft.net>
21244
85429b1a
DM
21245 * NEWS: Mention IFUNC testsuite enhancements.
21246
d283e353
DM
21247 * po/pl.po: Update from translation team.
21248 * po/bg.po: Likewise.
21249
bc38c906
DM
21250 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21251 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21252
a181b0d7
DM
212532012-12-11 David S. Miller <davem@davemloft.net>
21254
4641d57e
DM
21255 * po/sv.po: Update from translation team.
21256
f7bc6495
DM
21257 * po/vi.po: Update from translation team.
21258
6fc9048f
DM
21259 * po/cs.po: Update from translation team.
21260
a181b0d7
DM
21261 * po/de.po: Update from translation team.
21262 * po/eo.po: Likewise.
21263 * po/nl.po: Likewise.
21264
f70bfe80
SP
212652012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21266
3c8b4190
SP
21267 [BZ #14246]
21268 * manual/argp.texi (Argp Helper Functions): Move node to follow
21269 Argp Parsing State.
21270
f70bfe80
SP
21271 [BZ #14872]
21272 * manual/conf.texi (Limits on File System Capacity): Mention if
21273 terminating null is included in the max size.
21274
188f0adf
AJ
212752012-12-10 Andreas Jaeger <aj@suse.de>
21276
21277 * po/cs.po: Update from translation team.
21278
56e7d3ad
SP
212792012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21280
21281 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21282 void pointer and cast to uintptr_t.
21283 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21284 path.
21285 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21286 * sysdeps/s390/s390-64/memset.S: Likewise.
21287
76f2d2ea 212882012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21289
21290 [BZ #14833]
21291 * menual/message.texi (Message Translation): Fix typos.
21292 (Helper programs for gettext): Likewise.
21293
67cbf9a2
AS
212942012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21295
21296 [BZ #14898]
21297 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21298 Change to -1.
21299
682d0e9a
DM
213002012-12-07 David S. Miller <davem@davemloft.net>
21301
21302 * po/libc.pot: Update.
21303
573cd484
RH
213042012-12-07 Richard Henderson <rth@redhat.com>
21305
7e9da188 21306 [BZ #10114]
573cd484
RH
21307 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21308 normal/normal case to before the switch.
21309 (_FP_DIV): Likewise.
21310
e933a943
MF
213112012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21312 Mike Frysinger <vapier@gentoo.org>
21313
21314 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21315 check for __NR_fadvise64_64.
21316
82123268
CM
213172012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21318
21319 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21320 0, not just to plain "0" as a statement.
21321 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21322 with cw.
21323
d9814526
JM
213242012-12-06 Joseph Myers <joseph@codesourcery.com>
21325
21326 * NEWS: Use sourceware.org in Bugzilla URL.
21327
7728c574
SP
213282012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21329
f16946dd
SP
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21331 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21332
5704bbcb
SP
21333 * stdio-common/tst-put-error.c (do_test): Add newline to the
21334 padded test to ensure flush.
21335
17aa0516
JL
213362012-12-05 Jeff Law <law@redhat.com>
21337
21338 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21339
363313b5
JM
213402012-12-05 Joseph Myers <joseph@codesourcery.com>
21341
effbd42a
JM
21342 * README: Don't refer to ports add-on as distributed separately.
21343 Mention AArch64 in list of systems supported in the ports add-on.
21344
87600365
JM
21345 * LICENSES: Add more non-FSF copyright and license notices.
21346
a0d7066a
JM
21347 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21348 ((unused)).
21349
66ca5a5b
JM
21350 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21351
363313b5
JM
21352 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21353 10000 as width of padded output.
21354
b37984ad
JM
213552012-12-04 Joseph Myers <joseph@codesourcery.com>
21356
9003570a
JM
21357 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21358
b37984ad
JM
21359 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21360 variable LX with __attribute__ ((unused)).
21361 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21362 Likewise.
21363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21366 with __attribute__ ((unused)).
21367
c8df52ec
DM
213682012-12-04 David S. Miller <davem@abraco.davemloft.net>
21369
21370 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21371
b3b099af
JM
213722012-12-04 Joseph Myers <joseph@codesourcery.com>
21373
c33aa6e3
JM
21374 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21375 (CFLAGS-nldbl-acos.c): New variable.
21376 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21377 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21378 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21379 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21380 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21381 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21382 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21383 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21384 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21385 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21386 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21387 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21388 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21389 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21390 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21391 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21392 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21393 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21394 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21395 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21396 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21397 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21398 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21399 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21400 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21401 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21402 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21403 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21404 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21405 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21406 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21407 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21408 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21409 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21410 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21411 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21412 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21413 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21414 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21415 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21416 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21417 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21418 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21419 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21420 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21421 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21422 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21423 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21424 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21425 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21426 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21427 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21428 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21429 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21430 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21431 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21432 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21433 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21434 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21435 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21436 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21441 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21442 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21443 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21473
20f0018d
JM
21474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21475 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21476
b3b099af
JM
21477 [BZ #14914]
21478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21479 whole low double instead of just low 47 bits when splitting values
21480 into two parts.
21481
029264d1
AM
214822012-12-03 Allan McRae <allan@archlinux.org>
21483
21484 * manual/stdio.texi (Predefined Printf Handlers): Remove
21485 @hsep and @vsep usage.
21486
c9d6789e
MF
214872012-12-03 Mike Frysinger <vapier@gentoo.org>
21488
21489 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21490 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21491
4b7634a5
JL
214922012-12-03 Jeff Law <law@redhat.com>
21493
21494 * time/sys/time.h (settimeofday): Do not mark TV argument
21495 as __nonnull.
21496
eb6cbd24
MF
214972012-12-01 Mike Frysinger <vapier@gentoo.org>
21498
21499 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21500 when currently writing and seek to current position when not.
21501 * libio/Makefile (tests): Remove bug-fclose1.
21502 * libio/bug-fclose1.c: Delete.
21503
f638872a
JM
215042012-12-01 Joseph Myers <joseph@codesourcery.com>
21505
21506 * manual/arith.texi (feenableexcept): Fix typo.
21507 (fedisableexcept): Likewise.
21508
48085d14
RM
215092012-11-30 Roland McGrath <roland@hack.frob.com>
21510
21511 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21512 second, differently-typed declaration, rather than a cast.
21513
1a538b9f
SP
215142012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21515
21516 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21517 * include/rpc/svc.h: ... here.
21518
d07f2ff1 215192012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21520
21521 [BZ #13013]
21522 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21523 depending n and resplen2 to catch cases where answer
21524 equals answerp2.
21525
c93ec1f0
CD
215262012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21527
21528 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21529 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21530
37db69de
MF
215312012-11-29 Mike Frysinger <vapier@gentoo.org>
21532
21533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21534
e10c4e4f
RM
215352012-11-29 Roland McGrath <roland@hack.frob.com>
21536
21537 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21538
2af1b328
JL
215392012-11-28 Jeff Law <law@redhat.com>
21540
21541 [BZ #13761]
21542 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21543 dataset_temporary. Track alloca usage into alloca_used.
21544 If dataset is large allocate and release it via malloc/free.
21545
111db5b1
FW
215462012-06-04 Florian Weimer <fweimer@redhat.com>
21547
f06cc227 21548 [BZ #14197]
111db5b1
FW
21549 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21550
dd694abd
DM
215512012-11-28 David S. Miller <davem@davemloft.net>
21552
21553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21554
9984dd01
JM
215552012-11-28 Joseph Myers <joseph@codesourcery.com>
21556
21557 [BZ #14803]
21558 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21559 of pi/2 rounded to nearest to 64 bits.
21560 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21561 nearest to 64 bits.
21562 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21563 bits.
21564
14bc93a9
JL
215652012-11-28 Jeff Law <law@redhat.com>
21566 Martin Osvald <mosvald@redhat.com>
21567
21568 [BZ #14889]
21569 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21570 * sunrpc/svc.c: Include time.h.
21571 (__svc_accept_failed): New function.
21572 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21573 any reason other than EINTR, call __svc_accept_failed.
21574 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21575 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21576
e3c6aa3a
AS
215772012-11-28 Andreas Schwab <schwab@suse.de>
21578
21579 * scripts/abilist.awk: Also handle indirect functions in .opd
21580 section.
21581
1bead169
JM
215822012-11-28 Joseph Myers <joseph@codesourcery.com>
21583
21584 [BZ #13881]
21585 * sysdeps/x86/fpu/powl_helper.c: New file.
21586 * sysdeps/x86/fpu/Makefile: Likewise.
21587 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21588 (p3): New object.
21589 (__ieee754_powl): Use __powl_helper for finite arguments except
21590 integer exponents below 8.
21591 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21592 (p3): New object.
21593 (__ieee754_powl): Use __powl_helper for finite arguments except
21594 integer exponents below 8.
21595 * math/libm-test.inc (pow_test): Add more tests and enable some
21596 previously disabled tests.
21597 * sysdeps/i386/fpu/libm-test-ulps: Update.
21598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21599
0817d63d
SP
216002012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21601 Carlos O'Donell <carlos_odonell@mentor.com>
21602
21603 * nss/makedb.c (is_prime): Assert that input is odd and greater
21604 than 4. Note that fact in a comment too.
21605 (next_prime): Add 4 to input.
21606
de2fd463
SP
216072012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21608
21609 [BZ #11741]
21610 * libio/Makefile (tests): Add test case tst-fwrite-error.
21611 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21612 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21613 * libio/tst-fwrite-error.c: New test case.
21614
c515fb51
L
216152012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21616
21617 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21618 before casting to void *.
21619 * include/libc-internal.h (__pointer_type): New macro.
21620 (__integer_if_pointer_type_sub): Likewise.
21621 (__integer_if_pointer_type): Likewise.
21622 (cast_to_integer): Likewise.
21623 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21624 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21625 before casting to atomic64_t.
21626 (atomic_exchange_acq): Likewise.
21627 (__arch_exchange_and_add_body): Likewise.
21628 (__arch_add_body): Likewise.
21629 (atomic_add_negative): Likewise.
21630 (atomic_add_zero): Likewise.
21631
4cf77aa9
JM
216322012-11-26 Joseph Myers <joseph@codesourcery.com>
21633
21634 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21635 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21636 (add_fdes): Likewise.
21637 (linear_search_fdes): Likewise.
21638 (binary_search_unencoded_fdes): Likewise.
21639
d260b3b4
AS
216402012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21641
21642 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21643
67060746
AC
216442012-11-24 Adam Conrad <adconrad@0c3.net>
21645
21646 * configure.in: Autodetect C++ header directories.
21647 * configure: Regenerated.
21648
800938a1
MF
216492012-11-23 Mike Frysinger <vapier@gentoo.org>
21650
21651 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21652
4e6e34e6
AS
216532012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21654
21655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21656
7c7feb47
JM
216572012-11-22 Joseph Myers <joseph@codesourcery.com>
21658
7184dcdf
JM
21659 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21660 LDBL_MANT_DIG == 106]: Disable some tests.
21661 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21662 Likewise.
21663 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21664 Likewise.
21665
0a42601f
JM
21666 [BZ #14871]
21667 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21668 input for small inputs. Return +/- pi/2 for large inputs.
21669 * math/libm-test.inc (atan_test): Add more tests.
21670
79c9b9fe
JM
21671 * sysdeps/generic/unwind-dw2-fde-glibc.c
21672 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21673 __attribute__ ((unused)).
21674
c60d3bf2
JM
21675 [BZ #14645]
21676 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21677 x * y if x and y are nonzero and z is zero.
21678
ef1e0867
JM
21679 [BZ #14811]
21680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21681 nonzero exponents with absolute value below 0x1p-117 to +/-
21682 0x1p-117.
21683
1468ded3
JM
21684 [BZ #14869]
21685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21686 up arguments below 2**-450, not just those below 2**-500.
21687 * math/libm-test.inc (hypot_test): Add another test.
21688
8e27e3cc
JM
21689 [BZ #14868]
21690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21691 Return a+b for ratio over 2**120, not 2**60.
21692 * math/libm-test.inc (hypot_test): Add another test.
21693
c9c0279b
JM
21694 * math/libm-test.inc (clog_test): Use
21695 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21696 (clog10_test): Likewise.
21697
7c7feb47
JM
21698 [BZ #6778]
21699 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21700
fff1530e
AS
217012012-11-22 Andreas Schwab <schwab@suse.de>
21702
21703 * sysdeps/i386/fpu/libm-test-ulps: Update.
21704
94558d30
PT
217052012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21706
21707 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21708 printf output with newline.
21709
7e1be741
L
217102012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21711
6bfea974
L
21712 [BZ #14865]
21713 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21714 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21715 -z nodlopen, -z initfirst and -z execstack support.
21716 * configure: Regenerated.
21717
7e1be741
L
21718 * elf/elf.h (DF_1_NODIRECT): New macro.
21719 (DF_1_IGNMULDEF): Likewise.
21720 (DF_1_NOKSYMS): Likewise.
21721 (DF_1_NOHDR): Likewise.
21722 (DF_1_EDITED): Likewise.
21723 (DF_1_NORELOC): Likewise.
21724 (DF_1_SYMINTPOSE): Likewise.
21725 (DF_1_GLOBAUDIT): Likewise.
21726 (DF_1_SINGLETON): Likewise.
21727 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21728 DT_1_SUPPORTED_MASK bits.
21729 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21730
105ce2ce
CD
217312012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21732
21733 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21734
123be9de
TS
217352012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21736
d072f3f7
TS
21737 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21738 macro.
21739
123be9de
TS
21740 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21741 (sendmmsg): Move declarations...
21742 * socket/sys/socket.h: ... here.
21743 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21744 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21745 include it from...
21746 * socket/recvmmsg.c: ... this new file.
21747 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21748 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21749 definition of __sendmmsg hidden.
21750 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21751 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21752 Move ENOSYS stub into and include it from...
21753 * socket/sendmmsg.c: ... this new file.
21754 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21755 (sysdep_routines): Move recvmmsg and sendmmsg...
21756 * socket/Makefile (routines): ... here.
21757 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21758 (GLIBC_PRIVATE): Add __sendmmsg.
21759 * include/sys/socket.h (__sendmmsg): Add declarations.
21760 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21761 sendmmsg.
21762
cf9a5d18
JM
217632012-11-20 Joseph Myers <joseph@codesourcery.com>
21764
21765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21766 variable I1 with __attribute__ ((unused)).
21767 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21768
ecd4caf9
JM
217692012-11-19 Joseph Myers <joseph@codesourcery.com>
21770
be14d48f
JM
21771 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21772 DUMMY variables with __attribute__ ((unused)).
21773
ecd4caf9
JM
21774 * bits/byteswap.h: Include <bits/types.h>.
21775 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21776
986cab95
PT
217772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21778
21779 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21780 string_t. Do not manually set errno.
21781 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21782 length with __strnlen. Make sure to both set errno and return it on
21783 failure.
21784
6d33cc9d
DM
217852012-11-19 David S. Miller <davem@davemloft.net>
21786
21787 With help from Joseph Myers.
21788 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21789 very large arguments properly.
21790 * math/libm-test.inc (atan_test): New tests.
21791 (atan2_test): New tests.
21792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21794
ee663277
JM
217952012-11-19 Joseph Myers <joseph@codesourcery.com>
21796
877f2d8e
JM
21797 [BZ #14856]
21798 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21799 Define to 3.
21800
116fc08a
JM
21801 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21802 [POSIX] (EADDRNOTAVAIL): Likewise.
21803 [POSIX] (EAFNOSUPPORT): Likewise.
21804 [POSIX] (EALREADY): Likewise.
21805 [POSIX] (ECONNABORTED): Likewise.
21806 [POSIX] (ECONNREFUSED): Likewise.
21807 [POSIX] (ECONNRESET): Likewise.
21808 [POSIX] (EDESTADDRREQ): Likewise.
21809 [POSIX] (EDQUOT): Likewise.
21810 [POSIX] (EHOSTUNREACH): Likewise.
21811 [POSIX] (EIDRM): Likewise.
21812 [POSIX] (EISCONN): Likewise.
21813 [POSIX] (ELOOP): Likewise.
21814 [POSIX] (EMULTIHOP): Likewise.
21815 [POSIX] (ENETDOWN): Likewise.
21816 [POSIX] (ENETUNREACH): Likewise.
21817 [POSIX] (ENOBUFS): Likewise.
21818 [POSIX] (ENODATA): Likewise.
21819 [POSIX] (ENOLINK): Likewise.
21820 [POSIX] (ENOMSG): Likewise.
21821 [POSIX] (ENOPROTOOPT): Likewise.
21822 [POSIX] (ENOSR): Likewise.
21823 [POSIX] (ENOSTR): Likewise.
21824 [POSIX] (ENOTCONN): Likewise.
21825 [POSIX] (ENOTSOCK): Likewise.
21826 [POSIX] (EOPNOTSUPP): Likewise.
21827 [POSIX] (EOVERFLOW): Likewise.
21828 [POSIX] (EPROTO): Likewise.
21829 [POSIX] (EPROTONOSUPPORT): Likewise.
21830 [POSIX] (EPROTOTYPE): Likewise.
21831 [POSIX] (ESTALE): Likewise.
21832 [POSIX] (ETIME): Likewise.
21833 [POSIX] (ETXTBSY): Likewise.
21834 [POSIX] (EWOULDBLOCK): Likewise.
21835 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21836 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21837 [POSIX] (SEEK_CUR): Likewise.
21838 [POSIX] (SEEK_END): Likewise.
21839 [POSIX || UNIX98] (mode_t): Do not require.
21840 [POSIX] (off_t): Likewise.
21841 [POSIX] (pid_t): Likewise.
21842 [POSIX] (sys/stat.h): Do not allow header.
21843 [POSIX] (unistd.h): Likewise.
21844 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21845 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21846 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21847 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21848 require.
21849 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21850 sigevent): Specify elements.
21851 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21852 entry.
21853 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21854 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21855
a483863f
JM
21856 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21857 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21858 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21859 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21860 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21861 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21862 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21863 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21865 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21866 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21867 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21868 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21869 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21870 Likewise.
21871 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21872 Likewise.
21873 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21874 Likewise.
21875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21876 Likewise.
21877 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21878 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21882 Specify lower bound on value.
21883 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21889 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21890 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21891 value.
21892 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21893 as optional.
21894 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21910 entry.
21911 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21912 optional.
21913 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21919 Likewise.
21920 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21925 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21926 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21927 as optional.
21928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21932 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21933 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21934 specify as optional.
21935 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21936 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21938 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21939 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21940 [XPG3] (NL_LANGMAX): Likewise.
21941 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21942 [POSIX || XPG3] (NL_NMAX): Likewise.
21943 [POSIX || XPG3] (NL_SETMAX): Likewise.
21944 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21945 [XPG3] (NZERO): Likewise.
21946 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21947 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21948 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21949 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21950 (REG_ERANGE): Expect.
21951 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21952 optional-constant.
21953 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21954 Use (void) in prototype.
21955 [POSIX] (*_t): Allow.
21956 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21957 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21958 (WRDE_BADVAL): Expect.
21959
5ba924e3
JM
21960 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21961 expect.
21962 [XPG3 || XPG4] (O_RSYNC): Likewise.
21963 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21964 Likewise.
21965 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21966 [XPG3 || XPG4] (sigqueue): Likewise.
21967 [XPG3 || XPG4] (sigtimedwait): Likewise.
21968 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21969 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21970 [XPG3 || XPG4] (vsnprintf): Likewise.
21971 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21972 Likewise.
21973 [XPG3 || XPG4] (blksize_t): Likewise.
21974 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21975 Likewise.
21976 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21977 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21978 [XPG3 || XPG4] (struct itimerspec): Likewise.
21979 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21980 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21981 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21982 [XPG3 || XPG4] (clockid_t): Likewise.
21983 [XPG3 || XPG4] (timer_t): Likewise.
21984 [XPG3 || XPG4] (clock_getres): Likewise.
21985 [XPG3 || XPG4] (clock_gettime): Likewise.
21986 [XPG3 || XPG4] (clock_settime): Likewise.
21987 [XPG3 || XPG4] (nanosleep): Likewise.
21988 [XPG3 || XPG4] (timer_create): Likewise.
21989 [XPG3 || XPG4] (timer_delete): Likewise.
21990 [XPG3 || XPG4] (timer_gettime): Likewise.
21991 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21992 [XPG3 || XPG4] (timer_settime): Likewise.
21993 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21994 [XPG3 || XPG4] (getlogin_r): Likewise.
21995 [XPG3 || XPG4] (pread): Likewise.
21996 [XPG3 || XPG4] (pthread_atfork): Likewise.
21997 [XPG3 || XPG4] (pwrite): Likewise.
21998
ee663277
JM
21999 [BZ #14835]
22000 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22001 <bits/siginfo.h>.
22002
942caa16
PT
220032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22004
e19af380
PT
22005 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22006 finalizing MALLSTREAM.
22007
942caa16
PT
22008 * sysdeps/mach/hurd/syncfs.c: New file.
22009
cfde9b46
SP
220102012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22011
22012 [BZ #14719]
22013 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22014 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22015 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22016 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22017 (_nss_dns_gethostbyname4_r): Likewise.
22018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22019 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22020
f6da27e5
PH
220212012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22022
22023 [BZ #13763]
22024 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22025
6665d4a2
SM
220262012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22027
1f51ee92
SM
22028 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22029 * elf/cache.c (print_entry): Print ",AArch64" for
22030 FLAG_AARCH64_LIB64
22031
6665d4a2
SM
22032 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22033 * elf/cache.c (print_entry): Print ",hard-float" for
22034 FLAG_ARM_LIBHF.
22035
05b227bd
DM
220362012-11-18 David S. Miller <davem@davemloft.net>
22037
22038 With help from Joseph Myers.
22039 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22040 cutoff to 2**-13.
22041 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22042 cutoff to 2**-25.
22043 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22044 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22045 small.
22046 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22047 * math/libm-test.inc (y0_test): New tests.
22048 (y1_test): New tests.
22049 * sysdeps/i386/fpu/libm-test-ulps: Update.
22050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22052
786b0b67
AS
220532012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22054
22055 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22056 64-bit targets.
22057 * configure: Regenerated.
22058
8e18b86d
DM
220592012-11-17 David S. Miller <davem@davemloft.net>
22060
22061 [BZ #14811]
22062 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22063 nonzero exponents with absolute value below 0x1p-128 to +/-
22064 0x1p-128.
22065
531f1ae0
JM
220662012-11-17 Joseph Myers <joseph@codesourcery.com>
22067
12df29e2
JM
22068 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22069
150dc1a0
JM
22070 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22071
531f1ae0
JM
22072 * posix/getconf-speclist.c: New file.
22073 * posix/posix-envs.def: Likewise.
22074 * posix/confstr.c (START_ENV_GROUP): New macro.
22075 (END_ENV_GROUP): Likewise.
22076 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22077 (KNOWN_PRESENT_ENV_STRING): Likewise.
22078 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22079 (UNKNOWN_ENVIRONMENT): Likewise.
22080 (confstr): Include posix-envs.def instead of handling
22081 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22082 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22083 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22084 (END_ENV_GROUP): Likewise.
22085 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22086 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22087 (UNKNOWN_ENVIRONMENT): Likewise.
22088 (__sysconf): Include posix-envs.def instead of handling associated
22089 cases directly here.
22090 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22091 preprocessing getconf-speclist.c rather than running getconf or
22092 generating empty file.
22093
a93f9cbc
PT
220942012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22095
22096 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22097
d64d9f87
AL
220982012-11-16 Andrej Lajovic <natrij@gmail.com>
22099
22100 [BZ #14672]
22101 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22102
447885eb
DM
221032012-11-16 David S. Miller <davem@davemloft.net>
22104
22105 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22106 smaller than LDBL_EPSILON/2.0L, just return xm1.
22107
bcbf9830
L
221082012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22109
22110 * elf/tst-array1.c (init): Set constructor priority to 1000.
22111 (fini): Set destructor priority to 1000.
22112 * elf/tst-array2dep.c: Likewise.
22113
2b766585
SP
221142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22115
22116 [BZ #11741]
22117 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22118 (_IO_new_file_xsputn): Also return EOF if none of the input
22119 data was written when overflow failed.
22120 * libio/iopadn.c (_IO_padn): Likewise.
22121 * libio/iowpadn.c (_IO_wpadn): Likewise.
22122 * stdio-common/tst-put-error.c: Add copyright notice.
22123 (do_test): Add case for printing padded string.
22124 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22125 _IO_padn returned error.
22126 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22127 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22128 return EOF.
22129
b1848fde
SP
221302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22131
22132 * libio/libioP.h: Add comment note that the references to C++
22133 bits are now obsolete.
22134
2fd89785
MS
221352012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22136
22137 * math/libm-test.inc (check_complex): Use asprintf.
22138
e3ea5409
JM
221392012-11-14 Joseph Myers <joseph@codesourcery.com>
22140
22141 * debug/pcprofiledump.c (print_version): Update copyright year.
22142 * malloc/memusagestat.c (print_version): Likewise.
22143
2e64d265
L
221442012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22145
22146 [BZ #14831]
22147 * elf/Makefile (tests): Add tst-audit8.
22148 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22149 ($(objpfx)tst-audit8.out): New target.
22150 (tst-audit8-ENV): New variable.
22151 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22152 audit if l_reloc_result is NULL.
22153 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22154 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22155 * elf/tst-audit8.c: New file.
22156
c485e4d2
MS
221572012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22158
22159 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22160 * misc/Makefile (CFLAGS-select.c): Define.
22161 * posix/Makefile (CFLAGS-pause.c): Define.
22162
3a0d900a
DM
221632012-11-13 David S. Miller <davem@davemloft.net>
22164
22165 * crypt/Makefile: Move test targets after toplevel Rules
22166 inclusion. Grab any necessary sysdep routines when linking.
22167 * crypt/md5.c (md5_process_block): Remove define, we will always
22168 name it __md5_process_block.
22169 (md5_finish_ctx): Update md5_process_block call.
22170 (md5_stream): Likewise.
22171 (md5_process_bytes): Likewise.
22172 (md5_process_block): Rename to __md5_process_block and move to ...
22173 * crypt/md5-block.c: ... here.
22174 * crypt/sha256.c (sha256_process_block): Move to ...
22175 * crypt/sha256-block.c: ... here.
22176 * crypt/sha512.c (sha512_process_block): Move to ...
22177 * crypt/sha512-block.c: ... here.
22178 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22179 path.
22180 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22181 * sysdeps/sparc/sparc64/multiarch/Makefile
22182 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22183 crypt subdir.
22184 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22185 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22186 multiarch changes.
22187 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22188 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22189 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22190 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22191 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22192 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22193 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22195 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22196 file.
22197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22199 file.
22200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22201
8ca89318
JM
222022012-11-13 Joseph Myers <joseph@codesourcery.com>
22203
e27d476a
JM
22204 * timezone/tzselect.ksh: Update from tzcode git revision
22205 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22206 * timezone/zdump.c: Likewise.
22207 * timezone/zic.c: Likewise.
22208 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22209 in TZVERSION setting, not $(PKGVERSION).
22210 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22211 REPORT_BUGS_TO settings.
22212
8ca89318
JM
22213 [BZ #14838]
22214 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22215 macro.
22216
47594329
MS
222172012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22218
22219 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22220 detection to immediately after _FP_ROUND().
22221 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22222 bits are 0.
22223
640ac3f1
DM
222242012-11-11 David S. Miller <davem@davemloft.net>
22225
22226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22227 inttypes.h
22228 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22229 __close rather than their public counterparts.
22230
3d2577bb
JM
222312012-11-10 Joseph Myers <joseph@codesourcery.com>
22232
22233 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22234 file.
22235 [UNIX98] (sem_timedwait): Do not expect.
22236 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22237 [XPG4 || UNIX98] (sockatmark): Do not expect.
22238 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22239 (clock_getcpuclockid): Do not expect.
22240 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22241 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22242 Do not expect.
22243 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22244 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22245 [UNIX98] (vwscanf): Likewise.
22246 [UNIX98] (vswscanf): Likewise.
22247
fb1ae1ee
JM
222482012-11-09 Joseph Myers <joseph@codesourcery.com>
22249
9ec6f8bd
JM
22250 * timezone/version.h: Remove file.
22251 * timezone/README: Do not refer to version.h.
22252 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22253 $(objpfx)version.h.
22254 ($(objpfx)zdump.o): Likewise.
c3f81911 22255 ($(objpfx)version.h): New target.
9ec6f8bd 22256
0aa8f8a1
JM
22257 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22258 2012i.
22259 * timezone/README: Don't mention modification to tzselect.ksh.
22260 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22261 work on unmodified tzselect.ksh. Substitute version numbers in
22262 tzselect.ksh.
22263
4e87147f
JM
22264 * Makefile (format-me): Remove.
22265 (INSTALL): Adjust indentation. Use commands directly instead of
22266 using $(format-me).
22267
8b748aed
JM
22268 * aclocal.m4 (ACX_PKGVERSION): New macro.
22269 (ACX_BUGURL): Likewise.
22270 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22271 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22272 (REPORT_BUGS_TO): Likewise.
22273 * configure: Regenerated.
22274 * config.h.in (PKGVERSION): New macro.
22275 (REPORT_BUGS_TO): Likewise.
22276 * config.make.in (PKGVERSION): New variable.
22277 (PKGVERSION_TEXI): Likewise.
22278 (REPORT_BUGS_TO): Likewise.
22279 (REPORT_BUGS_TEXI): Likewise.
22280 * Makefile (format-me): Use -I$(common-objpfx)manual.
22281 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22282 ($(common-objpfx)manual/%): New target.
22283 (manual/%): Remove target.
22284 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22285 (print_version): Use PKGVERSION.
22286 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22287 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22288 and REPORT_BUGS_TO.
22289 ($(objpfx)xtrace): Likewise.
22290 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22291 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22292 (print_version): Use PKGVERSION.
22293 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22294 (do_version): Use PKGVERSION.
22295 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22296 REPORT_BUGS_TO.
22297 (common-ldd-rewrite): Likewise.
22298 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22299 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22300 (print_version): Use PKGVERSION.
22301 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22302 * elf/pldd.c (argp_program_bug_address): Remove variable.
22303 (more_help): New function.
22304 (argp): Use more_help.
22305 (print_version): Use PKGVERSION.
22306 * elf/sln.c (main): Use PKGVERSION.
22307 (usage): Use REPORT_BUGS_TO.
22308 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22309 (top level): Use PKGVERSION.
22310 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22311 (print_version): Use PKGVERSION.
22312 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22313 (print_version): Use PKGVERSION.
22314 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22315 (print_version): Use PKGVERSION.
22316 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22317 (print_version): Use PKGVERSION.
22318 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22319 (print_version): Use PKGVERSION.
22320 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22321 (print_version): Use PKGVERSION.
22322 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22323 and BUGURL.
22324 ($(objpfx)memusage): Likewise.
22325 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22326 (do_version): Use PKGVERSION.
22327 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22328 (print_version): Use PKGVERSION.
22329 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22330 ($PKGVERSION): New variable.
22331 ($REPORT_BUGS_TO): Likewise.
22332 (usage): Use $REPORT_BUGS_TO.
22333 (top level): Use $PKGVERSION.
22334 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22335 ($(objpfx)pkgvers.texi): New rule.
22336 ($(objpfx)stamp-pkgvers): Likewise.
22337 * manual/install.texi: Include pkgvers.texi.
22338 (--with-pkgversion): Document new configure option.
22339 (--with-bugurl): Likewise.
22340 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22341 than necessarily for this particular distribution. Use
22342 REPORT_BUGS_TO for where to report bugs.
22343 * INSTALL: Regenerated.
22344 * manual/libc.texinfo: Include pkgvers.texi.
22345 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22346 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22347 (print_version): Use PKGVERSION.
22348 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22349 (print_version): Use PKGVERSION.
22350 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22351 (print_version): Use PKGVERSION.
22352 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22353 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22354 macro.
22355 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22356 (print_version): Use PKGVERSION.
22357 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22358 (print_version): Use PKGVERSION.
22359 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22360 and PKGVERSION.
22361
92e4b6a9
JM
22362 * timezone/checktab.awk: Update from tzcode 2012i.
22363 * timezone/ialloc.c: Likewise.
22364 * timezone/private.h: Likewise.
22365 * timezone/scheck.c: Likewise.
22366 * timezone/tzfile.h: Likewise.
22367 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22368 (TZVERSION): Hardcode tzcode version number.
22369 * timezone/zdump.c: Update from tzcode 2012i.
22370 * timezone/zic.c: Likewise.
22371 * timezone/version.h: New file.
22372 * timezone/README: Describe version.h. Update upstream location.
22373
9bde902c
JM
22374 [BZ #14824]
22375 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22376 (mktemp): Enable declaration.
22377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22381 Likewise.
22382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22383 Likewise.
22384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22385 Likewise.
22386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22387 Likewise.
22388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22389 Likewise.
22390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22391 Likewise.
22392
fb1ae1ee
JM
22393 [BZ #14821]
22394 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22395 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22396 for copies of such integer values.
22397 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22398 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22399
2c1adbcb
AJ
224002012-11-09 Andreas Jaeger <aj@suse.de>
22401
22402 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22403 definitions and declarations that are provided by
22404 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22405
d0f8457e
AK
224062012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22407
3a235abb 22408 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22409 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22410 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22411 definition.
22412
57241e26
MS
224132012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22414
22415 * elf/elf.h: Update comment before AArch64 relocations.
22416
60e8270d
DM
224172012-11-07 David S. Miller <davem@davemloft.net>
22418
22419 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22420 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22421 (__start_context): Declare.
22422 (__makecontext_ret): Delete.
22423 (__makecontext): Hook up __start_context instead of
22424 __makecontext_ret.
22425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22426 (sysdep_routines): Add __start_context when in stdlib.
22427
0fbb0fbc
JM
224282012-11-07 Joseph Myers <joseph@codesourcery.com>
22429
22430 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22431 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22432 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22433 hardcoded "nm".
22434 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22435 (READELF): New variable. Use it instead of hardcoded "readelf".
22436
eb48db7e
L
224372012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22438
22439 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22440 * sysdeps/x86/Makefile: Here.
22441 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22442 * sysdeps/x86/tst-xmmymm.sh: This.
22443
05bcf62a
JM
224442012-11-07 Joseph Myers <joseph@codesourcery.com>
22445
c4b6cf53
JM
22446 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22447 expectations.
22448 [UNIX98] (pthread_barrier_t): Do not expect.
22449 [UNIX98] (pthread_barrierattr_t): Likewise.
22450 [UNIX98] (pthread_spinlock_t): Likewise.
22451 [UNIX98] (pthread_barrier_destroy): Likewise.
22452 [UNIX98] (pthread_barrier_init): Likewise.
22453 [UNIX98] (pthread_barrier_wait): Likewise.
22454 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22455 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22456 [UNIX98] (pthread_barrierattr_init): Likewise.
22457 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22458 [UNIX98] (pthread_getcpuclockid): Likewise.
22459 [UNIX98] (pthread_mutex_timedlock): Likewise.
22460 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22461 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22462 [UNIX98] (pthread_sigmask): Likewise.
22463 [UNIX98] (pthread_spin_destroy): Likewise.
22464 [UNIX98] (pthread_spin_init): Likewise.
22465 [UNIX98] (pthread_spin_lock): Likewise.
22466 [UNIX98] (pthread_spin_trylock): Likewise.
22467 [UNIX98] (pthread_spin_unlock): Likewise.
22468 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22469 Do not expect.
22470 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22472 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22473 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22474 [XPG3 || XPG4] (pthread_key_t): Likewise.
22475 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22476 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22477 [XPG3 || XPG4] (pthread_once_t): Likewise.
22478 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22479 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22481 [XPG3 || XPG4] (pthread_t): Likewise.
22482
cbe6e120
JM
22483 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22484 not expect.
22485 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22486
1b126443
JM
22487 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22488 Change function return type to int.
22489
b961a573
JM
22490 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22491 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22492 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22493 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22494 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22495 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22496 [!POSIX] (posix_madvise): Likewise.
22497 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22498 && !UNIX98].
22499 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22500 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22501 (mode_t): Likewise.
22502 (posix_mem_offset): Likewise.
22503 (posix_typed_mem_get_info): Likewise.
22504 (posix_typed_mem_open): Likewise.
22505
9e188909
JM
22506 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22507 Change condition to [XOPEN2K8].
22508
05bcf62a
JM
22509 * conform/conformtest.pl: Preprocess allow-header data with -x c
22510 instead of from stdin.
22511 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22512 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22513 [C99-based standards] (cerfc): Likewise.
22514 [C99-based standards] (cexp2): Likewise.
22515 [C99-based standards] (cexpm1): Likewise.
22516 [C99-based standards] (clog10): Likewise.
22517 [C99-based standards] (clog1p): Likewise.
22518 [C99-based standards] (clog2): Likewise.
22519 [C99-based standards] (clgamma): Likewise.
22520 [C99-based standards] (ctgamma): Likewise.
22521 [C99-based standards] (cerff): Likewise.
22522 [C99-based standards] (cerfcf): Likewise.
22523 [C99-based standards] (cexp2f): Likewise.
22524 [C99-based standards] (cexpm1f): Likewise.
22525 [C99-based standards] (clog10f): Likewise.
22526 [C99-based standards] (clog1pf): Likewise.
22527 [C99-based standards] (clog2f): Likewise.
22528 [C99-based standards] (clgammaf): Likewise.
22529 [C99-based standards] (ctgammaf): Likewise.
22530 [C99-based standards] (cerfl): Likewise.
22531 [C99-based standards] (cerfcl): Likewise.
22532 [C99-based standards] (cexp2l): Likewise.
22533 [C99-based standards] (cexpm1l): Likewise.
22534 [C99-based standards] (clog10l): Likewise.
22535 [C99-based standards] (clog1pl): Likewise.
22536 [C99-based standards] (clog2l): Likewise.
22537 [C99-based standards] (clgammal): Likewise.
22538 [C99-based standards] (ctgammal): Likewise.
22539 * conform/data/inttypes.h-data [C99-based standards]: Include
22540 stdint.h-data. Remove all expectations for stdint.h contents.
22541 [C99-based standards] (PRI*): Do not allow.
22542 [C99-based standards] (SCN*): Likewise.
22543 [C99-based standards] (*_t): Likewise.
22544 [C99-based-standards] (PRId8): Expect macro.
22545 [C99-based-standards] (PRIi8): Likewise.
22546 [C99-based-standards] (PRIo8): Likewise.
22547 [C99-based-standards] (PRIu8): Likewise.
22548 [C99-based-standards] (PRIx8): Likewise.
22549 [C99-based-standards] (PRIX8): Likewise.
22550 [C99-based-standards] (SCNd8): Likewise.
22551 [C99-based-standards] (SCNi8): Likewise.
22552 [C99-based-standards] (SCNo8): Likewise.
22553 [C99-based-standards] (SCNu8): Likewise.
22554 [C99-based-standards] (SCNx8): Likewise.
22555 [C99-based-standards] (PRIdLEAST8): Likewise.
22556 [C99-based-standards] (PRIiLEAST8): Likewise.
22557 [C99-based-standards] (PRIoLEAST8): Likewise.
22558 [C99-based-standards] (PRIuLEAST8): Likewise.
22559 [C99-based-standards] (PRIxLEAST8): Likewise.
22560 [C99-based-standards] (PRIXLEAST8): Likewise.
22561 [C99-based-standards] (SCNdLEAST8): Likewise.
22562 [C99-based-standards] (SCNiLEAST8): Likewise.
22563 [C99-based-standards] (SCNoLEAST8): Likewise.
22564 [C99-based-standards] (SCNuLEAST8): Likewise.
22565 [C99-based-standards] (SCNxLEAST8): Likewise.
22566 [C99-based-standards] (PRIdFAST8): Likewise.
22567 [C99-based-standards] (PRIiFAST8): Likewise.
22568 [C99-based-standards] (PRIoFAST8): Likewise.
22569 [C99-based-standards] (PRIuFAST8): Likewise.
22570 [C99-based-standards] (PRIxFAST8): Likewise.
22571 [C99-based-standards] (PRIXFAST8): Likewise.
22572 [C99-based-standards] (SCNdFAST8): Likewise.
22573 [C99-based-standards] (SCNiFAST8): Likewise.
22574 [C99-based-standards] (SCNoFAST8): Likewise.
22575 [C99-based-standards] (SCNuFAST8): Likewise.
22576 [C99-based-standards] (SCNxFAST8): Likewise.
22577 [C99-based-standards] (PRId16): Likewise.
22578 [C99-based-standards] (PRIi16): Likewise.
22579 [C99-based-standards] (PRIo16): Likewise.
22580 [C99-based-standards] (PRIu16): Likewise.
22581 [C99-based-standards] (PRIx16): Likewise.
22582 [C99-based-standards] (PRIX16): Likewise.
22583 [C99-based-standards] (SCNd16): Likewise.
22584 [C99-based-standards] (SCNi16): Likewise.
22585 [C99-based-standards] (SCNo16): Likewise.
22586 [C99-based-standards] (SCNu16): Likewise.
22587 [C99-based-standards] (SCNx16): Likewise.
22588 [C99-based-standards] (PRIdLEAST16): Likewise.
22589 [C99-based-standards] (PRIiLEAST16): Likewise.
22590 [C99-based-standards] (PRIoLEAST16): Likewise.
22591 [C99-based-standards] (PRIuLEAST16): Likewise.
22592 [C99-based-standards] (PRIxLEAST16): Likewise.
22593 [C99-based-standards] (PRIXLEAST16): Likewise.
22594 [C99-based-standards] (SCNdLEAST16): Likewise.
22595 [C99-based-standards] (SCNiLEAST16): Likewise.
22596 [C99-based-standards] (SCNoLEAST16): Likewise.
22597 [C99-based-standards] (SCNuLEAST16): Likewise.
22598 [C99-based-standards] (SCNxLEAST16): Likewise.
22599 [C99-based-standards] (PRIdFAST16): Likewise.
22600 [C99-based-standards] (PRIiFAST16): Likewise.
22601 [C99-based-standards] (PRIoFAST16): Likewise.
22602 [C99-based-standards] (PRIuFAST16): Likewise.
22603 [C99-based-standards] (PRIxFAST16): Likewise.
22604 [C99-based-standards] (PRIXFAST16): Likewise.
22605 [C99-based-standards] (SCNdFAST16): Likewise.
22606 [C99-based-standards] (SCNiFAST16): Likewise.
22607 [C99-based-standards] (SCNoFAST16): Likewise.
22608 [C99-based-standards] (SCNuFAST16): Likewise.
22609 [C99-based-standards] (SCNxFAST16): Likewise.
22610 [C99-based-standards] (PRId32): Likewise.
22611 [C99-based-standards] (PRIi32): Likewise.
22612 [C99-based-standards] (PRIo32): Likewise.
22613 [C99-based-standards] (PRIu32): Likewise.
22614 [C99-based-standards] (PRIx32): Likewise.
22615 [C99-based-standards] (PRIX32): Likewise.
22616 [C99-based-standards] (SCNd32): Likewise.
22617 [C99-based-standards] (SCNi32): Likewise.
22618 [C99-based-standards] (SCNo32): Likewise.
22619 [C99-based-standards] (SCNu32): Likewise.
22620 [C99-based-standards] (SCNx32): Likewise.
22621 [C99-based-standards] (PRIdLEAST32): Likewise.
22622 [C99-based-standards] (PRIiLEAST32): Likewise.
22623 [C99-based-standards] (PRIoLEAST32): Likewise.
22624 [C99-based-standards] (PRIuLEAST32): Likewise.
22625 [C99-based-standards] (PRIxLEAST32): Likewise.
22626 [C99-based-standards] (PRIXLEAST32): Likewise.
22627 [C99-based-standards] (SCNdLEAST32): Likewise.
22628 [C99-based-standards] (SCNiLEAST32): Likewise.
22629 [C99-based-standards] (SCNoLEAST32): Likewise.
22630 [C99-based-standards] (SCNuLEAST32): Likewise.
22631 [C99-based-standards] (SCNxLEAST32): Likewise.
22632 [C99-based-standards] (PRIdFAST32): Likewise.
22633 [C99-based-standards] (PRIiFAST32): Likewise.
22634 [C99-based-standards] (PRIoFAST32): Likewise.
22635 [C99-based-standards] (PRIuFAST32): Likewise.
22636 [C99-based-standards] (PRIxFAST32): Likewise.
22637 [C99-based-standards] (PRIXFAST32): Likewise.
22638 [C99-based-standards] (SCNdFAST32): Likewise.
22639 [C99-based-standards] (SCNiFAST32): Likewise.
22640 [C99-based-standards] (SCNoFAST32): Likewise.
22641 [C99-based-standards] (SCNuFAST32): Likewise.
22642 [C99-based-standards] (SCNxFAST32): Likewise.
22643 [C99-based-standards] (PRId64): Likewise.
22644 [C99-based-standards] (PRIi64): Likewise.
22645 [C99-based-standards] (PRIo64): Likewise.
22646 [C99-based-standards] (PRIu64): Likewise.
22647 [C99-based-standards] (PRIx64): Likewise.
22648 [C99-based-standards] (PRIX64): Likewise.
22649 [C99-based-standards] (SCNd64): Likewise.
22650 [C99-based-standards] (SCNi64): Likewise.
22651 [C99-based-standards] (SCNo64): Likewise.
22652 [C99-based-standards] (SCNu64): Likewise.
22653 [C99-based-standards] (SCNx64): Likewise.
22654 [C99-based-standards] (PRIdLEAST64): Likewise.
22655 [C99-based-standards] (PRIiLEAST64): Likewise.
22656 [C99-based-standards] (PRIoLEAST64): Likewise.
22657 [C99-based-standards] (PRIuLEAST64): Likewise.
22658 [C99-based-standards] (PRIxLEAST64): Likewise.
22659 [C99-based-standards] (PRIXLEAST64): Likewise.
22660 [C99-based-standards] (SCNdLEAST64): Likewise.
22661 [C99-based-standards] (SCNiLEAST64): Likewise.
22662 [C99-based-standards] (SCNoLEAST64): Likewise.
22663 [C99-based-standards] (SCNuLEAST64): Likewise.
22664 [C99-based-standards] (SCNxLEAST64): Likewise.
22665 [C99-based-standards] (PRIdFAST64): Likewise.
22666 [C99-based-standards] (PRIiFAST64): Likewise.
22667 [C99-based-standards] (PRIoFAST64): Likewise.
22668 [C99-based-standards] (PRIuFAST64): Likewise.
22669 [C99-based-standards] (PRIxFAST64): Likewise.
22670 [C99-based-standards] (PRIXFAST64): Likewise.
22671 [C99-based-standards] (SCNdFAST64): Likewise.
22672 [C99-based-standards] (SCNiFAST64): Likewise.
22673 [C99-based-standards] (SCNoFAST64): Likewise.
22674 [C99-based-standards] (SCNuFAST64): Likewise.
22675 [C99-based-standards] (SCNxFAST64): Likewise.
22676 [C99-based-standards] (PRIdMAX): Likewise.
22677 [C99-based-standards] (PRIiMAX): Likewise.
22678 [C99-based-standards] (PRIoMAX): Likewise.
22679 [C99-based-standards] (PRIuMAX): Likewise.
22680 [C99-based-standards] (PRIxMAX): Likewise.
22681 [C99-based-standards] (PRIXMAX): Likewise.
22682 [C99-based-standards] (SCNdMAX): Likewise.
22683 [C99-based-standards] (SCNiMAX): Likewise.
22684 [C99-based-standards] (SCNoMAX): Likewise.
22685 [C99-based-standards] (SCNuMAX): Likewise.
22686 [C99-based-standards] (SCNxMAX): Likewise.
22687 [C99-based-standards] (PRIdPTR): Likewise.
22688 [C99-based-standards] (PRIiPTR): Likewise.
22689 [C99-based-standards] (PRIoPTR): Likewise.
22690 [C99-based-standards] (PRIuPTR): Likewise.
22691 [C99-based-standards] (PRIxPTR): Likewise.
22692 [C99-based-standards] (PRIXPTR): Likewise.
22693 [C99-based-standards] (SCNdPTR): Likewise.
22694 [C99-based-standards] (SCNiPTR): Likewise.
22695 [C99-based-standards] (SCNoPTR): Likewise.
22696 [C99-based-standards] (SCNuPTR): Likewise.
22697 [C99-based-standards] (SCNxPTR): Likewise.
22698 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22699 allow.
22700 * conform/data/stdint.h-data: Update comments to clarify
22701 requirements.
22702 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22703 type.
22704 [C99-based standards] (INT8_MAX): Likewise.
22705 [C99-based standards] (INT16_MIN): Likewise.
22706 [C99-based standards] (INT16_MAX): Likewise.
22707 [C99-based standards] (INT32_MIN): Likewise.
22708 [C99-based standards] (INT32_MAX): Likewise.
22709 [C99-based standards] (INT64_MIN): Likewise.
22710 [C99-based standards] (INT64_MAX): Likewise.
22711 [C99-based standards] (UINT8_MAX): Likewise.
22712 [C99-based standards] (UINT16_MAX): Likewise.
22713 [C99-based standards] (UINT32_MAX): Likewise.
22714 [C99-based standards] (UINT64_MAX): Likewise.
22715 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22716 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22717 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22718 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22719 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22720 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22721 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22722 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22723 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22724 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22725 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22726 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22727 [C99-based standards] (INT_FAST8_MIN): Likewise.
22728 [C99-based standards] (INT_FAST8_MAX): Likewise.
22729 [C99-based standards] (INT_FAST16_MIN): Likewise.
22730 [C99-based standards] (INT_FAST16_MAX): Likewise.
22731 [C99-based standards] (INT_FAST32_MIN): Likewise.
22732 [C99-based standards] (INT_FAST32_MAX): Likewise.
22733 [C99-based standards] (INT_FAST64_MIN): Likewise.
22734 [C99-based standards] (INT_FAST64_MAX): Likewise.
22735 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22736 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22737 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22738 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22739 [C99-based standards] (INTPTR_MIN): Likewise.
22740 [C99-based standards] (INTPTR_MAX): Likewise.
22741 [C99-based standards] (UINTPTR_MAX): Likewise.
22742 [C99-based standards] (INTMAX_MIN): Likewise.
22743 [C99-based standards] (INTMAX_MAX): Likewise.
22744 [C99-based standards] (UINTMAX_MAX): Likewise.
22745 [C99-based standards] (PTRDIFF_MIN): Likewise.
22746 [C99-based standards] (PTRDIFF_MAX): Likewise.
22747 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22748 [C99-based standards] (SIZE_MAX): Likewise.
22749 [C99-based standards] (WCHAR_MAX): Likewise.
22750 [C99-based standards] (WINT_MAX): Likewise.
22751 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22752 constraint on value.
22753 [C99-based standards] (WCHAR_MIN): Likewise.
22754 [C99-based standards] (WINT_MIN): Likewise.
22755 [C99-based standards] (*_t): Allow.
22756 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22757 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22758 Include math.h-data and complex.h-data. Remove all expectations
22759 of math.h and complex.h contents.
22760 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22761 at end of line.
22762 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22763 (struct tm): Expect tag.
22764 [C99-based-standards] (wcstof): Expect function.
22765 [C99-based-standards] (wcstold): Likewise.
22766 [C99-based-standards] (wcstoll): Likewise.
22767 [C99-based-standards] (wcstoull): Likewise.
22768 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22769 macro-int-constant. Specify type.
22770 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22771 constraint on value.
22772 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22773 Specify type.
22774 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22775 Specify value.
22776 [ISO C standards]: Do not allow headers.
22777 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22778 wcs[abcdefghijklmnopqrstuvwxyz]*.
22779 [ISO C standards] (*_t): Do not allow.
22780 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22781 Expect function.
22782 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22783 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22784 Specify type.
22785 [ISO C standards]: Do not allow headers.
22786 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22787 is[abcdefghijklmnopqrstuvwxyz]*.
22788 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22789 to[abcdefghijklmnopqrstuvwxyz]*.
22790 [ISO C standards] (*_t): Do not allow.
22791 * conform/data/stdalign.h-data: New file.
22792 * conform/data/stdbool.h-data: Likewise.
22793 * conform/data/stdnoreturn.h-data: Likewise.
22794
7514feb8
RM
227952012-11-07 Roland McGrath <roland@hack.frob.com>
22796
22797 [BZ #14815]
22798 * manual/filesys.texi (Directory Entries): Typo fix.
22799 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22800
19b2ecfc
MS
228012012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22802
22803 * elf/elf.h (EM_AARCH64): New macro.
22804 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22805 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22806 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22807 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22808 (R_AARCH64_TLSDESC): Likewise.
22809 (NT_ARM_TLS): Likewise.
22810 (NT_ARM_HW_BREAK): Likewise.
22811 (NT_ARM_HW_WATCH): Likewise.
22812
60e235ee
JM
228132012-11-07 Joseph Myers <joseph@codesourcery.com>
22814
22815 [BZ #14811]
22816 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22817 (__ieee754_powl): Saturate nonzero exponents with absolute value
22818 below 0x1p-79 to +/- 0x1p-79.
22819 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22820 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22821 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22822 nonzero exponents with absolute value below 0x1p-32 to +/-
22823 0x1p-32.
22824 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22825 (__ieee754_powl): Saturate nonzero exponents with absolute value
22826 below 0x1p-79 to +/- 0x1p-79.
22827 * math/libm-test.inc (pow_test): Add more tests.
22828
0ab234b7
AK
228292012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22830
22831 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22832 _dl_s390_cap_flags with kernel. Increase string length.
22833 (_dl_s390_platforms): Add z196 and zEC12.
22834
45832f74
JM
228352012-11-07 Joseph Myers <joseph@codesourcery.com>
22836
22837 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22838 Change XOPEN21K to XOPEN2K.
22839
19218757
MK
228402012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22841
22842 * string/memmove.c: Use memcpy when possible.
22843
c5f45721
AJ
228442012-11-06 Andreas Jaeger <aj@suse.de>
22845
22846 * po/eo.po: Update from translation team.
22847
82477c28
JM
228482012-11-06 Joseph Myers <joseph@codesourcery.com>
22849
22850 [BZ #14793]
22851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22852 exponent and small x and y exponents, scale x or y up. Increase
22853 by 2 the exponent used in scaling up.
22854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22856 * math/libm-test.inc (fma_test): Add more tests.
22857 (fma_test_towardzero): Likewise.
22858 (fma_test_downward): Likewise.
22859 (fma_test_upward): Likewise.
22860
99252c8c
JM
228612012-11-05 Joseph Myers <joseph@codesourcery.com>
22862
acfa885f
JM
22863 [BZ #14805]
22864 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22865 fenv_t *.
22866
99252c8c
JM
22867 [BZ #14801]
22868 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22869 namespace for names of struct fields.
22870 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22871 fenv_t fields.
22872 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22873 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22874
d6d98dea
ST
228752012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22876
22877 [BZ #3665]
22878 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22879
e10bb107
TS
228802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22881
22882 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22883 PTR_DEMANGLE.
22884
22885 [BZ #5246]
22886 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22887 PTR_DEMANGLE.
22888
a0c2940d
JM
228892012-11-04 Joseph Myers <joseph@codesourcery.com>
22890
22891 [BZ #14797]
22892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22893 definitely overflow as x * y not x * y + z.
22894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22896 * math/libm-test.inc (fma_test): Add more tests.
22897 (fma_test_towardzero): Likewise.
22898 (fma_test_downward): Likewise.
22899 (fma_test_upward): Likewise.
22900
b830319d
TS
229012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22902
22903 [BZ #157]
22904
22905 * include/stub-tag.h: Remove file.
22906 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22907 '#include' of it.
22908 * manual/maint.texi (Porting): Don't reference it.
22909 * Makerules ($(objpfx)stubs): Likewise.
22910 * dirent/closedir.c: Don't include <stub-tag.h>.
22911 * dirent/dirfd.c: Likewise.
22912 * dirent/fdopendir.c: Likewise.
22913 * dirent/getdents.c: Likewise.
22914 * dirent/getdents64.c: Likewise.
22915 * dirent/opendir.c: Likewise.
22916 * dirent/readdir.c: Likewise.
22917 * dirent/readdir64.c: Likewise.
22918 * dirent/readdir64_r.c: Likewise.
22919 * dirent/readdir_r.c: Likewise.
22920 * dirent/rewinddir.c: Likewise.
22921 * dirent/seekdir.c: Likewise.
22922 * dirent/telldir.c: Likewise.
22923 * gmon/profil.c: Likewise.
22924 * grp/setgroups.c: Likewise.
22925 * inet/if_index.c: Likewise.
22926 * io/access.c: Likewise.
22927 * io/chdir.c: Likewise.
22928 * io/chmod.c: Likewise.
22929 * io/chown.c: Likewise.
22930 * io/close.c: Likewise.
22931 * io/dup.c: Likewise.
22932 * io/dup2.c: Likewise.
22933 * io/dup3.c: Likewise.
22934 * io/euidaccess.c: Likewise.
22935 * io/faccessat.c: Likewise.
22936 * io/fchdir.c: Likewise.
22937 * io/fchmod.c: Likewise.
22938 * io/fchmodat.c: Likewise.
22939 * io/fchown.c: Likewise.
22940 * io/fchownat.c: Likewise.
22941 * io/fcntl.c: Likewise.
22942 * io/flock.c: Likewise.
22943 * io/fstatfs.c: Likewise.
22944 * io/fstatfs64.c: Likewise.
22945 * io/fstatvfs.c: Likewise.
22946 * io/fstatvfs64.c: Likewise.
22947 * io/futimens.c: Likewise.
22948 * io/fxstat.c: Likewise.
22949 * io/fxstat64.c: Likewise.
22950 * io/fxstatat.c: Likewise.
22951 * io/fxstatat64.c: Likewise.
22952 * io/getcwd.c: Likewise.
22953 * io/isatty.c: Likewise.
22954 * io/lchmod.c: Likewise.
22955 * io/lchown.c: Likewise.
22956 * io/link.c: Likewise.
22957 * io/linkat.c: Likewise.
22958 * io/lseek.c: Likewise.
22959 * io/lseek64.c: Likewise.
22960 * io/lxstat64.c: Likewise.
22961 * io/mkdir.c: Likewise.
22962 * io/mkdirat.c: Likewise.
22963 * io/mkfifo.c: Likewise.
22964 * io/mkfifoat.c: Likewise.
22965 * io/open.c: Likewise.
22966 * io/open64.c: Likewise.
22967 * io/openat.c: Likewise.
22968 * io/openat64.c: Likewise.
22969 * io/pipe.c: Likewise.
22970 * io/pipe2.c: Likewise.
22971 * io/poll.c: Likewise.
22972 * io/posix_fadvise.c: Likewise.
22973 * io/posix_fadvise64.c: Likewise.
22974 * io/posix_fallocate.c: Likewise.
22975 * io/posix_fallocate64.c: Likewise.
22976 * io/read.c: Likewise.
22977 * io/readlink.c: Likewise.
22978 * io/readlinkat.c: Likewise.
22979 * io/rmdir.c: Likewise.
22980 * io/sendfile.c: Likewise.
22981 * io/sendfile64.c: Likewise.
22982 * io/statfs.c: Likewise.
22983 * io/statfs64.c: Likewise.
22984 * io/statvfs.c: Likewise.
22985 * io/statvfs64.c: Likewise.
22986 * io/symlink.c: Likewise.
22987 * io/symlinkat.c: Likewise.
22988 * io/ttyname.c: Likewise.
22989 * io/ttyname_r.c: Likewise.
22990 * io/umask.c: Likewise.
22991 * io/unlink.c: Likewise.
22992 * io/unlinkat.c: Likewise.
22993 * io/utime.c: Likewise.
22994 * io/utimensat.c: Likewise.
22995 * io/write.c: Likewise.
22996 * io/xmknod.c: Likewise.
22997 * io/xmknodat.c: Likewise.
22998 * io/xstat.c: Likewise.
22999 * io/xstat64.c: Likewise.
23000 * login/getpt.c: Likewise.
23001 * login/grantpt.c: Likewise.
23002 * login/unlockpt.c: Likewise.
23003 * math/e_acoshl.c: Likewise.
23004 * math/e_acosl.c: Likewise.
23005 * math/e_asinl.c: Likewise.
23006 * math/e_atan2l.c: Likewise.
23007 * math/e_atanhl.c: Likewise.
23008 * math/e_coshl.c: Likewise.
23009 * math/e_expl.c: Likewise.
23010 * math/e_fmodl.c: Likewise.
23011 * math/e_gammal_r.c: Likewise.
23012 * math/e_hypotl.c: Likewise.
23013 * math/e_j0l.c: Likewise.
23014 * math/e_j1l.c: Likewise.
23015 * math/e_jnl.c: Likewise.
23016 * math/e_lgammal_r.c: Likewise.
23017 * math/e_log10l.c: Likewise.
23018 * math/e_log2l.c: Likewise.
23019 * math/e_logl.c: Likewise.
23020 * math/e_powl.c: Likewise.
23021 * math/e_rem_pio2l.c: Likewise.
23022 * math/e_sinhl.c: Likewise.
23023 * math/e_sqrtl.c: Likewise.
23024 * math/fclrexcpt.c: Likewise.
23025 * math/fedisblxcpt.c: Likewise.
23026 * math/feenablxcpt.c: Likewise.
23027 * math/fegetenv.c: Likewise.
23028 * math/fegetexcept.c: Likewise.
23029 * math/fegetround.c: Likewise.
23030 * math/feholdexcpt.c: Likewise.
23031 * math/fesetenv.c: Likewise.
23032 * math/fesetround.c: Likewise.
23033 * math/feupdateenv.c: Likewise.
23034 * math/fgetexcptflg.c: Likewise.
23035 * math/fraiseexcpt.c: Likewise.
23036 * math/fsetexcptflg.c: Likewise.
23037 * math/ftestexcept.c: Likewise.
23038 * math/k_cosl.c: Likewise.
23039 * math/k_rem_pio2l.c: Likewise.
23040 * math/k_sinl.c: Likewise.
23041 * math/k_tanl.c: Likewise.
23042 * math/s_asinhl.c: Likewise.
23043 * math/s_atanl.c: Likewise.
23044 * math/s_cbrtl.c: Likewise.
23045 * math/s_erfl.c: Likewise.
23046 * math/s_expm1l.c: Likewise.
23047 * math/s_log1pl.c: Likewise.
23048 * math/s_tanhl.c: Likewise.
23049 * misc/acct.c: Likewise.
23050 * misc/brk.c: Likewise.
23051 * misc/chflags.c: Likewise.
23052 * misc/chroot.c: Likewise.
23053 * misc/fchflags.c: Likewise.
23054 * misc/fgetxattr.c: Likewise.
23055 * misc/flistxattr.c: Likewise.
23056 * misc/fremovexattr.c: Likewise.
23057 * misc/fsetxattr.c: Likewise.
23058 * misc/fsync.c: Likewise.
23059 * misc/ftruncate.c: Likewise.
23060 * misc/futimes.c: Likewise.
23061 * misc/futimesat.c: Likewise.
23062 * misc/getdomain.c: Likewise.
23063 * misc/getdtsz.c: Likewise.
23064 * misc/gethostid.c: Likewise.
23065 * misc/gethostname.c: Likewise.
23066 * misc/getloadavg.c: Likewise.
23067 * misc/getpagesize.c: Likewise.
23068 * misc/getsysstats.c: Likewise.
23069 * misc/getxattr.c: Likewise.
23070 * misc/gtty.c: Likewise.
23071 * misc/ioctl.c: Likewise.
23072 * misc/lgetxattr.c: Likewise.
23073 * misc/listxattr.c: Likewise.
23074 * misc/llistxattr.c: Likewise.
23075 * misc/lremovexattr.c: Likewise.
23076 * misc/lsetxattr.c: Likewise.
23077 * misc/lutimes.c: Likewise.
23078 * misc/madvise.c: Likewise.
23079 * misc/mincore.c: Likewise.
23080 * misc/mlock.c: Likewise.
23081 * misc/mlockall.c: Likewise.
23082 * misc/mmap.c: Likewise.
23083 * misc/mprotect.c: Likewise.
23084 * misc/msync.c: Likewise.
23085 * misc/munlock.c: Likewise.
23086 * misc/munlockall.c: Likewise.
23087 * misc/munmap.c: Likewise.
23088 * misc/preadv.c: Likewise.
23089 * misc/preadv64.c: Likewise.
23090 * misc/ptrace.c: Likewise.
23091 * misc/pwritev.c: Likewise.
23092 * misc/pwritev64.c: Likewise.
23093 * misc/readv.c: Likewise.
23094 * misc/reboot.c: Likewise.
23095 * misc/remap_file_pages.c: Likewise.
23096 * misc/removexattr.c: Likewise.
23097 * misc/revoke.c: Likewise.
23098 * misc/select.c: Likewise.
23099 * misc/setdomain.c: Likewise.
23100 * misc/setegid.c: Likewise.
23101 * misc/seteuid.c: Likewise.
23102 * misc/sethostid.c: Likewise.
23103 * misc/sethostname.c: Likewise.
23104 * misc/setregid.c: Likewise.
23105 * misc/setreuid.c: Likewise.
23106 * misc/setxattr.c: Likewise.
23107 * misc/sstk.c: Likewise.
23108 * misc/stty.c: Likewise.
23109 * misc/swapoff.c: Likewise.
23110 * misc/swapon.c: Likewise.
23111 * misc/sync.c: Likewise.
23112 * misc/syncfs.c: Likewise.
23113 * misc/syscall.c: Likewise.
23114 * misc/truncate.c: Likewise.
23115 * misc/ualarm.c: Likewise.
23116 * misc/usleep.c: Likewise.
23117 * misc/ustat.c: Likewise.
23118 * misc/utimes.c: Likewise.
23119 * misc/vhangup.c: Likewise.
23120 * misc/writev.c: Likewise.
23121 * posix/_exit.c: Likewise.
23122 * posix/alarm.c: Likewise.
23123 * posix/execve.c: Likewise.
23124 * posix/fexecve.c: Likewise.
23125 * posix/fork.c: Likewise.
23126 * posix/fpathconf.c: Likewise.
23127 * posix/getaddrinfo.c: Likewise.
23128 * posix/getegid.c: Likewise.
23129 * posix/geteuid.c: Likewise.
23130 * posix/getgid.c: Likewise.
23131 * posix/getgroups.c: Likewise.
23132 * posix/getlogin.c: Likewise.
23133 * posix/getlogin_r.c: Likewise.
23134 * posix/getpgid.c: Likewise.
23135 * posix/getpid.c: Likewise.
23136 * posix/getppid.c: Likewise.
23137 * posix/getresgid.c: Likewise.
23138 * posix/getresuid.c: Likewise.
23139 * posix/getsid.c: Likewise.
23140 * posix/getuid.c: Likewise.
23141 * posix/glob64.c: Likewise.
23142 * posix/nanosleep.c: Likewise.
23143 * posix/pathconf.c: Likewise.
23144 * posix/pause.c: Likewise.
23145 * posix/posix_madvise.c: Likewise.
23146 * posix/pread.c: Likewise.
23147 * posix/pread64.c: Likewise.
23148 * posix/pwrite.c: Likewise.
23149 * posix/pwrite64.c: Likewise.
23150 * posix/sched_getaffinity.c: Likewise.
23151 * posix/sched_getp.c: Likewise.
23152 * posix/sched_gets.c: Likewise.
23153 * posix/sched_primax.c: Likewise.
23154 * posix/sched_primin.c: Likewise.
23155 * posix/sched_rr_gi.c: Likewise.
23156 * posix/sched_setaffinity.c: Likewise.
23157 * posix/sched_setp.c: Likewise.
23158 * posix/sched_sets.c: Likewise.
23159 * posix/sched_yield.c: Likewise.
23160 * posix/setgid.c: Likewise.
23161 * posix/setlogin.c: Likewise.
23162 * posix/setpgid.c: Likewise.
23163 * posix/setresgid.c: Likewise.
23164 * posix/setresuid.c: Likewise.
23165 * posix/setsid.c: Likewise.
23166 * posix/setuid.c: Likewise.
23167 * posix/sleep.c: Likewise.
23168 * posix/spawni.c: Likewise.
23169 * posix/sysconf.c: Likewise.
23170 * posix/times.c: Likewise.
23171 * posix/wait.c: Likewise.
23172 * posix/wait3.c: Likewise.
23173 * posix/wait4.c: Likewise.
23174 * posix/waitpid.c: Likewise.
23175 * resolv/gai_sigqueue.c: Likewise.
23176 * resource/getpriority.c: Likewise.
23177 * resource/getrlimit.c: Likewise.
23178 * resource/getrusage.c: Likewise.
23179 * resource/nice.c: Likewise.
23180 * resource/setpriority.c: Likewise.
23181 * resource/setrlimit.c: Likewise.
23182 * resource/ulimit.c: Likewise.
23183 * rt/aio_cancel.c: Likewise.
23184 * rt/aio_fsync.c: Likewise.
23185 * rt/aio_read.c: Likewise.
23186 * rt/aio_sigqueue.c: Likewise.
23187 * rt/aio_suspend.c: Likewise.
23188 * rt/aio_write.c: Likewise.
23189 * rt/clock_getres.c: Likewise.
23190 * rt/clock_gettime.c: Likewise.
23191 * rt/clock_nanosleep.c: Likewise.
23192 * rt/clock_settime.c: Likewise.
23193 * rt/lio_listio.c: Likewise.
23194 * rt/mq_close.c: Likewise.
23195 * rt/mq_getattr.c: Likewise.
23196 * rt/mq_notify.c: Likewise.
23197 * rt/mq_open.c: Likewise.
23198 * rt/mq_receive.c: Likewise.
23199 * rt/mq_send.c: Likewise.
23200 * rt/mq_setattr.c: Likewise.
23201 * rt/mq_timedreceive.c: Likewise.
23202 * rt/mq_timedsend.c: Likewise.
23203 * rt/mq_unlink.c: Likewise.
23204 * rt/shm_open.c: Likewise.
23205 * rt/shm_unlink.c: Likewise.
23206 * rt/timer_create.c: Likewise.
23207 * rt/timer_delete.c: Likewise.
23208 * rt/timer_getoverr.c: Likewise.
23209 * rt/timer_gettime.c: Likewise.
23210 * rt/timer_settime.c: Likewise.
23211 * setjmp/__longjmp.c: Likewise.
23212 * setjmp/setjmp.c: Likewise.
23213 * signal/kill.c: Likewise.
23214 * signal/killpg.c: Likewise.
23215 * signal/raise.c: Likewise.
23216 * signal/sigaction.c: Likewise.
23217 * signal/sigaltstack.c: Likewise.
23218 * signal/sigblock.c: Likewise.
23219 * signal/sigignore.c: Likewise.
23220 * signal/sigintr.c: Likewise.
23221 * signal/signal.c: Likewise.
23222 * signal/sigpause.c: Likewise.
23223 * signal/sigpending.c: Likewise.
23224 * signal/sigqueue.c: Likewise.
23225 * signal/sigreturn.c: Likewise.
23226 * signal/sigset.c: Likewise.
23227 * signal/sigsetmask.c: Likewise.
23228 * signal/sigstack.c: Likewise.
23229 * signal/sigsuspend.c: Likewise.
23230 * signal/sigtimedwait.c: Likewise.
23231 * signal/sigvec.c: Likewise.
23232 * signal/sigwait.c: Likewise.
23233 * signal/sigwaitinfo.c: Likewise.
23234 * signal/sysv_signal.c: Likewise.
23235 * socket/accept.c: Likewise.
23236 * socket/accept4.c: Likewise.
23237 * socket/bind.c: Likewise.
23238 * socket/connect.c: Likewise.
23239 * socket/getpeername.c: Likewise.
23240 * socket/getsockname.c: Likewise.
23241 * socket/getsockopt.c: Likewise.
23242 * socket/isfdtype.c: Likewise.
23243 * socket/listen.c: Likewise.
23244 * socket/recv.c: Likewise.
23245 * socket/recvfrom.c: Likewise.
23246 * socket/recvmsg.c: Likewise.
23247 * socket/send.c: Likewise.
23248 * socket/sendmsg.c: Likewise.
23249 * socket/sendto.c: Likewise.
23250 * socket/setsockopt.c: Likewise.
23251 * socket/shutdown.c: Likewise.
23252 * socket/sockatmark.c: Likewise.
23253 * socket/socket.c: Likewise.
23254 * socket/socketpair.c: Likewise.
23255 * stdio-common/ctermid.c: Likewise.
23256 * stdio-common/cuserid.c: Likewise.
23257 * stdio-common/remove.c: Likewise.
23258 * stdio-common/rename.c: Likewise.
23259 * stdio-common/renameat.c: Likewise.
23260 * stdio-common/tempname.c: Likewise.
23261 * stdlib/getcontext.c: Likewise.
23262 * stdlib/makecontext.c: Likewise.
23263 * stdlib/setcontext.c: Likewise.
23264 * stdlib/swapcontext.c: Likewise.
23265 * stdlib/system.c: Likewise.
23266 * streams/fattach.c: Likewise.
23267 * streams/fdetach.c: Likewise.
23268 * streams/getmsg.c: Likewise.
23269 * streams/getpmsg.c: Likewise.
23270 * streams/putmsg.c: Likewise.
23271 * streams/putpmsg.c: Likewise.
23272 * sysdeps/unix/bsd/getpt.c: Likewise.
23273 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23274 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23275 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23277 Likewise.
23278 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23279 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23280 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23281 * sysvipc/msgctl.c: Likewise.
23282 * sysvipc/msgget.c: Likewise.
23283 * sysvipc/msgrcv.c: Likewise.
23284 * sysvipc/msgsnd.c: Likewise.
23285 * sysvipc/semctl.c: Likewise.
23286 * sysvipc/semget.c: Likewise.
23287 * sysvipc/semop.c: Likewise.
23288 * sysvipc/semtimedop.c: Likewise.
23289 * sysvipc/shmat.c: Likewise.
23290 * sysvipc/shmctl.c: Likewise.
23291 * sysvipc/shmdt.c: Likewise.
23292 * sysvipc/shmget.c: Likewise.
23293 * termios/tcdrain.c: Likewise.
23294 * termios/tcflow.c: Likewise.
23295 * termios/tcflush.c: Likewise.
23296 * termios/tcgetattr.c: Likewise.
23297 * termios/tcgetpgrp.c: Likewise.
23298 * termios/tcsendbrk.c: Likewise.
23299 * termios/tcsetattr.c: Likewise.
23300 * termios/tcsetpgrp.c: Likewise.
23301 * time/adjtime.c: Likewise.
23302 * time/clock.c: Likewise.
23303 * time/getitimer.c: Likewise.
23304 * time/gettimeofday.c: Likewise.
23305 * time/setitimer.c: Likewise.
23306 * time/settimeofday.c: Likewise.
23307 * time/stime.c: Likewise.
23308 * time/time.c: Likewise.
23309
233102012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23311
a20492cf
PT
23312 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23313 /usr/old/bin.
23314
72e182e3
PT
23315 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23316 instead of spaces.
23317 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23318
fbeafede
JM
233192012-11-03 Joseph Myers <joseph@codesourcery.com>
23320
5b5b04d6
JM
23321 [BZ #14796]
23322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23323 FE_TONEAREST before applying Dekker multiplication and Knuth
23324 addition. Clear inexact exceptions and check for exact zero
23325 results afterwards.
23326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23327 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23328 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23329 * math/libm-test.inc (fma_test): Add more tests.
23330 (fma_test_towardzero): Likewise.
23331 (fma_test_downward): Likewise.
23332 (fma_test_upward): Likewise.
23333 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23334 function.
23335 (libc_fesetround): New macro.
23336 (libc_fesetroundf): Likewise.
23337 (libc_fesetroundl): Likewise.
23338 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23339 function.
23340 (libc_fesetround_387): Likewise.
23341 (libc_fesetroundf): New macro.
23342 (libc_fesetround): Likewise.
23343 (libc_fesetroundl): Likewise.
23344 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23345 function.
23346 (libc_fesetroundf): New macro.
23347 (libc_fesetround): Likewise.
23348 (libc_fesetroundl): Likewise.
23349 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23350 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23351 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23352 libm_hidden_ver.
23353 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23354 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23355 libm_hidden_def.
23356 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23357 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23358 libm_hidden_ver.
23359 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23360 libm_hidden_def.
23361
fbeafede
JM
23362 [BZ #3439]
23363 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23364 integer constant usable in #if and use that to give value to enum
23365 constant.
23366 (FE_DIVBYZERO): Likewise.
23367 (FE_UNDERFLOW): Likewise.
23368 (FE_OVERFLOW): Likewise.
23369 (FE_INVALID): Likewise.
23370 (FE_INVALID_SNAN): Likewise.
23371 (FE_INVALID_ISI): Likewise.
23372 (FE_INVALID_IDI): Likewise.
23373 (FE_INVALID_ZDZ): Likewise.
23374 (FE_INVALID_IMZ): Likewise.
23375 (FE_INVALID_COMPARE): Likewise.
23376 (FE_INVALID_SOFTWARE): Likewise.
23377 (FE_INVALID_SQRT): Likewise.
23378 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23379 (FE_TONEAREST): Likewise.
23380 (FE_TOWARDZERO): Likewise.
23381 (FE_UPWARD): Likewise.
23382 (FE_DOWNWARD): Likewise.
23383 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23384 (FE_DIVBYZERO): Likewise.
23385 (FE_OVERFLOW): Likewise.
23386 (FE_UNDERFLOW): Likewise.
23387 (FE_INEXACT): Likewise.
23388 (FE_TONEAREST): Likewise.
23389 (FE_DOWNWARD): Likewise.
23390 (FE_UPWARD): Likewise.
23391 (FE_TOWARDZERO): Likewise.
23392 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23393 (FE_UNDERFLOW): Likewise.
23394 (FE_OVERFLOW): Likewise.
23395 (FE_DIVBYZERO): Likewise.
23396 (FE_INVALID): Likewise.
23397 (FE_TONEAREST): Likewise.
23398 (FE_TOWARDZERO): Likewise.
23399 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23400 (FE_OVERFLOW): Likewise.
23401 (FE_UNDERFLOW): Likewise.
23402 (FE_DIVBYZERO): Likewise.
23403 (FE_INEXACT): Likewise.
23404 (FE_TONEAREST): Likewise.
23405 (FE_TOWARDZERO): Likewise.
23406 (FE_UPWARD): Likewise.
23407 (FE_DOWNWARD): Likewise.
23408 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23409 (FE_DIVBYZERO): Likewise.
23410 (FE_OVERFLOW): Likewise.
23411 (FE_UNDERFLOW): Likewise.
23412 (FE_INEXACT): Likewise.
23413 (FE_TONEAREST): Likewise.
23414 (FE_DOWNWARD): Likewise.
23415 (FE_UPWARD): Likewise.
23416 (FE_TOWARDZERO): Likewise.
23417
105ca950
CM
234182012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23419
23420 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23421
a542b389
AS
234222012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23423
23424 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23425 commands. Quote $PWD.
23426 (blacklist_exports): Don't use remove_newlines. Replace "declare
23427 -x" by "export".
23428 (remove_newlines): Remove.
23429
f62c8abc
L
234302012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23433 * stdlib/stdlib.h (atof): Moved to ...
23434 * include/bits/stdlib-float.h: Here. New file.
23435 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23436 * stdlib/bits/stdlib-float.h: New file.
23437 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23438 -mno-sse -mno-mmx.
23439 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23440 <xmmintrin.h>.
23441
0155d5b2
JM
234422012-11-02 Joseph Myers <joseph@codesourcery.com>
23443
a68d0680
JM
23444 * conform/conformtest.pl (@headers): Add fenv.h.
23445 * conform/data/fenv.h-data: New file.
23446 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23447 include of <math/fenv.h>.
23448
caf7f573
JM
23449 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23450 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23451 && !UNIX98]. Enables tests for XOPEN2K8.
23452 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23453 POSIX2008]: Likewise.
23454
6c073ad6
JM
23455 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23456 (struct rusage): Do not expect type or its members.
23457
0155d5b2
JM
23458 [BZ #3439]
23459 * math/math.h (FP_NAN): Define macro to integer constant usable in
23460 #if and use that to give value to enum constant.
23461 (FP_INFINITE): Likewise.
23462 (FP_ZERO): Likewise.
23463 (FP_SUBNORMAL): Likewise.
23464 (FP_NORMAL): Likewise.
23465
b5dcacb4
AS
234662012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23467
23468 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23469 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23470 arguments.
23471
f7934be8
RM
234722012-11-02 Roland McGrath <roland@hack.frob.com>
23473
23474 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23475 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23476 autoconf-time if not.
23477 * configure.in: Remove AC_PREREQ.
23478
d7d08bde
TMQMF
234792012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23480
23481 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23482 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23483 of the internal implementation.
23484
dcdae19a
JM
234852012-11-02 Joseph Myers <joseph@codesourcery.com>
23486
23487 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23488 except include of <misc/sys/syslog.h>.
23489
d6cffd3e
AS
234902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23491
23492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23493 function returns with a NULL context exit with zero.
23494
b3563932
TMQMF
234952012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23496
23497 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23498
b288a93d
L
234992012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23500
23501 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23502 (run_program_cmd): This.
23503 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23504 (tst_langinfo): New variable. Use it.
23505
a2421a68
SAS
235062012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23507
23508 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23509 floating point opcodes.
23510
6f796e1b
TS
235112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23512
7402596b
TS
23513 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23514 variable.
23515
d0d4f868
TS
23516 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23517
6f796e1b
TS
23518 * sysdeps/mach/hurd/powerpc: Remove directory.
23519 * sysdeps/mach/powerpc: Likewise.
23520
4da224a2
AS
235212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23522
23523 * scripts/check-local-headers.sh: Ignore c++ headers.
23524
341dd673
TS
235252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23526
23527 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23528 __libc_cleanup_region_start argument.
23529
473611b2
JM
235302012-11-01 Joseph Myers <joseph@codesourcery.com>
23531
23532 [BZ #14784]
23533 [BZ #14785]
23534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23535 x * y using scaling, not as x * y + z.
23536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23538 * math/libm-test.inc (fma_test): Add more tests.
23539 (fma_test_towardzero): Likewise.
23540 (fma_test_downward): Likewise.
23541 (fma_test_upward): Likewise.
23542
4078da3d
TS
235432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23544
23545 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23546
903252aa
JM
235472012-10-31 Joseph Myers <joseph@codesourcery.com>
23548
23549 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23550 New variable.
23551
cbc818d0
TS
235522012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23553
23554 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23555
5a03cb1e
AS
235562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23559 Fix sort order.
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23561 Likewise.
23562
90aff2ff
TMQMF
235632012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23564
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23566 Fix the order of the list for glibc 2.17.
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23568 Likewise.
23569
1818fcb7
AS
235702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23571
23572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23573
ef82f4da
JM
235742012-10-31 Joseph Myers <joseph@codesourcery.com>
23575
16a0e2ec
JM
23576 [BZ #14610]
23577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23578 for low part of x being zero before using __atanl (y).
23579 * math/libm-test.inc (atan2_test): Add another test.
23580
0eb69512
JM
23581 * manual/install.texi (Configuring and compiling): Document
23582 general use of test-wrapper and test-wrapper-env.
23583 * INSTALL: Regenerated.
23584
ef82f4da
JM
23585 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23586 (__fma): Do not extract and scale down low bits on after-rounding
23587 systems when result rounded to normal precision would have normal
23588 exponent.
23589 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23590 (__fmal): Do not extract and scale down low bits on after-rounding
23591 systems when result rounded to normal precision would have normal
23592 exponent.
23593 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23594 (__fmal): Do not extract and scale down low bits on after-rounding
23595 systems when result rounded to normal precision would have normal
23596 exponent.
23597 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23598 macro.
23599 (fma_test): Add more tests.
23600 (fma_test_towardzero): Likewise.
23601 (fma_test_downward): Likewise.
23602 (fma_test_upward): Likewise.
23603
954ef0d9
L
236042012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23605
23606 * sysdeps/i386/tininess.h: Renamed to ...
23607 * sysdeps/x86/tininess.h: This.
23608 * sysdeps/x86_64/tininess.h: Removed.
23609
df61ffb2
JM
236102012-10-30 Joseph Myers <joseph@codesourcery.com>
23611
23612 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23613 input. Use $(build-program-cmd).
23614 ($(objpfx)tst-array1-static.out): Likewise.
23615 ($(objpfx)tst-array2.out): Likewise.
23616 ($(objpfx)tst-array3.out): Likewise.
23617 ($(objpfx)tst-array4.out): Likewise.
23618 ($(objpfx)tst-array5.out): Likewise.
23619 ($(objpfx)tst-array5-static.out): Likewise.
23620
01767843
CM
236212012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23622
47cc1490
CM
23623 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23624 if defined.
23625
01767843
CM
23626 * nss/nsswitch.h (nss_interface_function): Provide new
23627 macro for use with NSS functions.
23628 * grp/initgroups.c: Use new macro.
23629 * nss/getXXbyYY.c: Likewise.
23630 * nss/getXXbyYY_r.c: Likewise.
23631 * nss/getXXent.c: Likewise.
23632 * nss/getXXent_r.c: Likewise.
23633 * sysdeps/posix/getaddrinfo.c: Likewise.
23634
8321aa97
AJ
236352012-10-30 Andreas Jaeger <aj@suse.de>
23636
23637 * po/ru.po: Update Russion translation from translation project.
23638
2a27fd6d
JM
236392012-10-30 Joseph Myers <joseph@codesourcery.com>
23640
8627a232
JM
23641 [BZ #14152]
23642 [BZ #14783]
23643 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23644 result and shift together with sticky bit instead of replicating
23645 round-to-nearest rounding.
23646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23648 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23649 missing underflow exceptions.
23650 (fma_test_towardzero): Add more tests.
23651 (fma_test_downward): Likewise.
23652 (fma_test_upward): Likewise.
23653
2a27fd6d
JM
23654 [BZ #14047]
23655 * sysdeps/generic/tininess.h: New file.
23656 * sysdeps/i386/tininess.h: Likewise.
23657 * sysdeps/sh/tininess.h: Likewise.
23658 * sysdeps/x86_64/tininess.h: Likewise.
23659 * stdlib/tst-strtod-underflow.c: Likewise.
23660 * stdlib/tst-tininess.c: Likewise.
23661 * stdlib/strtod_l.c: Include <tininess.h>.
23662 (round_and_return): Do not set errno for exact underflow cases.
23663 Force an underflow exception when setting errno for underflow.
23664 Determine underflow based on rounding to normal precision if
23665 TININESS_AFTER_ROUNDING.
23666 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23667 ERANGE for exact underflow cases.
23668 * stdlib/Makefile (tests): Add tst-tininess and
23669 tst-strtod-underflow.
23670 ($(objpfx)tst-tininess): Use $(link-libm).
23671 ($(objpfx)tst-strtod-underflow): Likewise.
23672
e7170363
AJ
236732012-10-30 Andreas Jaeger <aj@suse.de>
23674
e5088dc6
AJ
23675 [BZ#14767]
23676 * elf/Makefile (tests): Remove conditional for have-initfini-array
23677 since this is now always required and the variable does not exist
23678 anymore.
23679 (tests-static): Likewise.
23680 (modules-names): Likewise.
23681
e7170363 23682 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23683
23684 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23685 merged with constructor/destructor.
23686 (init_array): Likewise.
23687 * elf/tst-array2dep.c (fini_array): Likewise.
23688 (init_array): Likewise.
23689
60457d8a
MF
236902012-10-29 Mike Frysinger <vapier@gentoo.org>
23691
23692 * manual/message.texi: Delete @cartouche tags.
23693
8bece752
PT
236942012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23695
94ce799f
PT
23696 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23697 EOPNOTSUPP.
23698 * sysdeps/mach/hurd/fsync.c: Likewise.
23699
8bece752
PT
23700 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23701 [_POSIX_REALTIME_SIGNALS]: Change condition to
23702 [_POSIX_REALTIME_SIGNALS > 0].
23703
86ebe6b1
AJ
237042012-10-27 Andreas Jaeger <aj@suse.de>
23705
23706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23707 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23709 [__WORDSIZE != 64]: Likewise.
23710
54399c08
L
237112012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23712
23713 * iconvdata/tst-table.sh: Remove ${SHELL}.
23714 * iconvdata/tst-tables.sh: Likewise.
23715
e2211bed
DM
237162012-10-25 David S. Miller <davem@davemloft.net>
23717
23718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23719 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23720 of strtoull.
23721
f303f97c
DM
23722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23723 ifunc-impl-list.c
23724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23725 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23726 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23727 file.
23728
1e9d84cd
RM
237292012-10-25 Roland McGrath <roland@hack.frob.com>
23730
23731 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23732 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23733 __getdirentries.
23734
df381762
JM
237352012-10-25 Joseph Myers <joseph@codesourcery.com>
23736 Jim Blandy <jimb@codesourcery.com>
23737
23738 * scripts/cross-test-ssh.sh: New file.
23739 * manual/install.texi (Configuring and compiling): Document use of
23740 cross-test-ssh.sh.
23741 * INSTALL: Regenerated.
23742
bff64913
PT
237432012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23744
23745 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23746 EOPNOTSUPP.
23747
25fe8932
JM
237482012-10-25 Joseph Myers <joseph@codesourcery.com>
23749
23750 * Makeconfig (run-program-prefix): Fix comment.
23751
cc1290d0
JM
237522012-10-24 Joseph Myers <joseph@codesourcery.com>
23753 Jim Blandy <jimb@codesourcery.com>
23754
23755 * Makeconfig (test-wrapper): New variable,
23756 (test-wrapper-env): Likewise.
23757 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23758 (run-built-tests): Define to yes.
23759 (run-program-prefix): Use $(test-wrapper).
23760 (built-program-cmd): Likewise.
23761 * Rules (make-test-out): Use $(test-wrapper-env) and
23762 $(host-built-program-cmd).
23763 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23764 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23765 tst-pathopt.sh.
23766 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23767 $(test-wrapper-env) to tst-rtld-load-self.sh.
23768 ($(objpfx)order2.out): Use $(test-wrapper).
23769 ($(objpfx)tst-initorder.out): Likewise.
23770 ($(objpfx)tst-initorder2.out): Likewise.
23771 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23772 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23773 (test_wrapper_env): New variable. Use it to run ld.so.
23774 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23775 Use it to run ld.so.
23776 (test_wrapper_env): Likewise.
23777 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23778 $(test-wrapper) to run-iconv-test.sh.
23779 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23780 (ICONV): Use $test_wrapper.
23781 * posix/Makefile ($(objpfx)globtest.out): Pass
23782 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23783 globtest.sh, not $(run-program-prefix).
23784 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23785 (test_wrapper): Likewise.
23786 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23787 set together with run_via_rtld_prefix.
23788 (run_program_prefix): Define in terms of test_wrapper and
23789 run_via_rtld_prefix.
23790
6e6249d0
RM
237912012-10-24 Roland McGrath <roland@hack.frob.com>
23792
23793 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23794 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23795 Targets removed.
23796
23797 [BZ #14743]
23798 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23799 Declare __clock_getres, __clock_gettime, __clock_settime,
23800 __clock_nanosleep, and __clock_getcpuclockid.
23801 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23802 Remove librt_hidden_def (clock_gettime).
23803 * sysdeps/unix/clock_gettime.c: Likewise.
23804 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23805 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23806 * rt/clock_getres.c: Define __clock_getres as an alias.
23807 * sysdeps/posix/clock_getres.c: Likewise.
23808 * rt/clock_settime.c: Define __clock_settime as an alias.
23809 * sysdeps/unix/clock_settime.c: Likewise.
23810 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23811 * sysdeps/unix/clock_nanosleep.c: Likewise.
23812 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23813 * rt/clock-compat.c: New file.
23814 * rt/Makefile (librt-routines): Add clock-compat and move
23815 $(clock-routines) to ...
23816 (routines): ... here, new variable.
23817 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23818 Don't add get_clockfreq here.
23819 * rt/Versions (libc: GLIBC_2.17): New version set.
23820 Add clock_* symbols here.
23821 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23823 (GLIBC_2.17): Add clock_* symbols.
23824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23828 Likewise.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23830 Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23835 * NEWS: Mention the move.
23836
23837 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23838 Use __open, __read, __close rather than their public counterparts.
23839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23840 (__get_clockfreq_via_cpuinfo): Likewise.
23841 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23842 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23843
23844 * config.h.in (HAVE_IFUNC): New #undef.
23845 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23846 was successful.
23847 * configure: Regenerated.
23848
0cae3f4b
MF
238492012-10-24 Mike Frysinger <vapier@gentoo.org>
23850
23851 * configure.in: Move READELF check to start of file.
23852 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23853 libc_cv_asm_gnu_indirect_function in the process.
23854 * configure: Regenerated.
23855
8175a253
MF
238562012-10-24 Mike Frysinger <vapier@gentoo.org>
23857
23858 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23859 send the output to /dev/null.
23860 (libc_cv_cc_with_libunwind): Likewise.
23861 (libc_cv_as_noexecstack): Likewise.
23862 * configure: Regenerate.
23863
0708a7d1
JM
238642012-10-24 Joseph Myers <joseph@codesourcery.com>
23865
10b40d85
JM
23866 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23867
0708a7d1
JM
23868 * posix/globtest.sh (TMPDIR): Do not set.
23869 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23870 (testout): Likewise.
23871
9fddec1a
AJ
238722012-10-24 Andreas Jaeger <aj@suse.de>
23873
3a8db22f
AJ
23874 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23875 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23876 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23877 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23878 posix_fadvise64, posix_fallocate64.
23879
9fddec1a
AJ
23880 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23881 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23882 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23883 Likewise.
23884 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23885 Likewise.
23886 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23887
23888 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23889 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23890 <bits/fcntl-linux.h>.
23891 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23892
23893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23894 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23895 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23896 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23897 [__WORDSIZE != 64]: Likewise.
23898
ebfd1bbd
JM
238992012-10-23 Joseph Myers <joseph@codesourcery.com>
23900
03ac099f
JM
23901 * Makeconfig (run-built-tests): New variable.
23902 * Rules [$(cross-compiling) = yes]: Change condition to
23903 [$(run-built-tests) = no].
23904 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23905 to [$(run-built-tests) = yes].
23906 * elf/Makefile [$(cross-compiling) = no]: Likewise
23907 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23908 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23909 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23910 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23911 * io/Makefile [$(cross-compiling) = no]: Likewise.
23912 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23913 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23914 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23915 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23916 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23917 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23918 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23919 * string/Makefile [$(cross-compiling) = no]: Likewise.
23920
ebfd1bbd
JM
23921 * posix/Makefile ($(objpfx)globtest.out): Pass
23922 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23923 $(rtld-installed-name).
23924 * posix/globtest.sh (elf_objpfx): Remove variable.
23925 (rtld_installed_name): Likewise.
23926 (library_path): Likewise.
23927 (run_program_prefix): New variable. Use for running globtest
23928 binary.
23929
166bca24
JB
239302012-10-23 Jim Blandy <jimb@codesourcery.com>
23931 Joseph Myers <joseph@codesourcery.com>
23932
23933 * Makeconfig (host-built-program-cmd): New variable.
23934 * elf/Makefile (tst-stackguard1-ARGS): Use
23935 $(host-built-program-cmd).
23936 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23937 (tst-spawn-ARGS): Likewise.
23938 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23939
88866099
JM
239402012-10-23 Joseph Myers <joseph@codesourcery.com>
23941 Jim Blandy <jimb@codesourcery.com>
23942
23943 * Makeconfig (run-via-rtld-prefix): New variable.
23944 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23945 (built-program-cmd): Likewise.
23946
b4b4c296
AJ
239472012-10-22 Andreas Jaeger <aj@suse.de>
23948
23949 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23950 __O_RSYNC if it exists, otherwise to O_SYNC.
23951
6fb54a22
JB
239522012-10-22 Jim Blandy <jimb@codesourcery.com>
23953 Joseph Myers <joseph@codesourcery.com>
23954
23955 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23956 /dev/null.
23957 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23958 from /dev/null
23959 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23960 /dev/null.
23961
481b90b9
AJ
239622012-10-22 Andreas Jaeger <aj@suse.de>
23963
2a0e2669
AJ
23964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23965 Define always.
23966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23967
76e38f9a
AJ
23968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23969 bits/fcntl-linux.h.
23970
7cd37b43
AJ
23971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23972 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23973
481b90b9
AJ
23974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23975 to __O_LARGEFILE.
23976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23977 to __O_LARGEFILE.
23978
aba75984
JB
239792012-10-21 Jim Blandy <jimb@codesourcery.com>
23980 Joseph Myers <joseph@codesourcery.com>
23981
23982 * config.make.in (NM): New variable.
23983
88d4247f
AJ
239842012-10-21 Andreas Jaeger <aj@suse.de>
23985
23986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23987 definitions and declarations that are provided by
23988 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23989
f2eed205
L
239902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23991
23992 [BZ #14683]
23993 * elf/Makefile (tests-static): Add tst-leaks1-static.
23994 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23995 ($(objpfx)tst-leaks1-static): New rule.
23996 ($(objpfx)tst-leaks1-static-mem): Likewise.
23997 (tst-leaks1-static-ENV): New macro.
23998 * elf/dl-open.c (dl_open_worker): Check the main application
23999 only if SHARED is defined.
24000 * elf/tst-leaks1-static.c: New file.
24001
335e6931
AJ
240022012-10-20 Andreas Jaeger <aj@suse.de>
24003
24004 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24005 generic values for Linux.
24006 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24007 and declarations that are provided by <bits/fcntl-linux.h> and
24008 include <bits/fcntl-linux.h>.
24009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24011
ac5c94d3
RM
240122012-10-20 Roland McGrath <roland@hack.frob.com>
24013
24014 * io/fcntl.h: Move include of <bits/types.h> to the top and
24015 include it unconditionally.
24016
de54b33a
L
240172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24018
228cfb01
L
24019 * wcsmbs/Makefile (tests-ifunc): New variable.
24020 (tests): Add $(tests-ifunc).
24021 * wcsmbs/test-wcschr-ifunc.c: New file.
24022 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24023 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24024 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24025 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24026 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24027
69f07e5f
L
24028 * string/Makefile (tests-ifunc): New variable.
24029 (tests): Add $(tests-ifunc).
24030 * string/test-memccpy.c (TEST_NAME): New macro.
24031 * string/test-memchr.c (TEST_NAME): Likewise.
24032 * string/test-memcmp.c (TEST_NAME): Likewise.
24033 * string/test-memcpy.c (TEST_NAME): Likewise.
24034 * string/test-memmem.c (TEST_NAME): Likewise.
24035 * string/test-memmove.c (TEST_NAME): Likewise.
24036 * string/test-memset.c (TEST_NAME): Likewise.
24037 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24038 * string/test-stpcpy.c (TEST_NAME): Likewise.
24039 * string/test-stpncpy.c (TEST_NAME): Likewise.
24040 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24041 * string/test-strcasestr.c (TEST_NAME): Likewise.
24042 * string/test-strcat.c (TEST_NAME): Likewise.
24043 * string/test-strchr.c (TEST_NAME): Likewise.
24044 * string/test-strcmp.c(TEST_NAME): Likewise.
24045 * string/test-strcpy.c (TEST_NAME): Likewise.
24046 * string/test-strcspn.c (TEST_NAME): Likewise.
24047 * string/test-strlen.c (TEST_NAME): Likewise.
24048 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24049 * string/test-strncmp.c (TEST_NAME): Likewise.
24050 * string/test-strncpy.c (TEST_NAME): Likewise.
24051 * string/test-strnlen.c (TEST_NAME): Likewise.
24052 * string/test-strpbrk.c (TEST_NAME): Likewise.
24053 * string/test-strrchr.c (TEST_NAME): Likewise.
24054 * string/test-strspn.c (TEST_NAME): Likewise.
24055 * string/test-strstr.c (TEST_NAME): Likewise.
24056 * string/test-bcopy-ifunc.c: New file.
24057 * string/test-bzero-ifunc.c: Likewise.
24058 * string/test-memccpy-ifunc.c: Likewise.
24059 * string/test-memchr-ifunc.c: Likewise.
24060 * string/test-memcmp-ifunc.c: Likewise.
24061 * string/test-memcpy-ifunc.c: Likewise.
24062 * string/test-memmem-ifunc.c: Likewise.
24063 * string/test-memmove-ifunc.c: Likewise.
24064 * string/test-mempcpy-ifunc.c: Likewise.
24065 * string/test-memset-ifunc.c: Likewise.
24066 * string/test-rawmemchr-ifunc.c: Likewise.
24067 * string/test-stpcpy-ifunc.c: Likewise.
24068 * string/test-stpncpy-ifunc.c: Likewise.
24069 * string/test-strcasecmp-ifunc.c: Likewise.
24070 * string/test-strcasestr-ifunc.c: Likewise.
24071 * string/test-strcat-ifunc.c: Likewise.
24072 * string/test-strchr-ifunc.c: Likewise.
24073 * string/test-strchrnul-ifunc.c: Likewise.
24074 * string/test-strcmp-ifunc.c: Likewise.
24075 * string/test-strcpy-ifunc.c: Likewise.
24076 * string/test-strcspn-ifunc.c: Likewise.
24077 * string/test-strlen-ifunc.c: Likewise.
24078 * string/test-strncasecmp-ifunc.c: Likewise.
24079 * string/test-strncat-ifunc.c: Likewise.
24080 * string/test-strncmp-ifunc.c: Likewise.
24081 * string/test-strncpy-ifunc.c: Likewise.
24082 * string/test-strnlen-ifunc.c: Likewise.
24083 * string/test-strpbrk-ifunc.c: Likewise.
24084 * string/test-strrchr-ifunc.c: Likewise.
24085 * string/test-strspn-ifunc.c: Likewise.
24086 * string/test-strstr-ifunc.c: Likewise.
24087
de54b33a
L
24088 * debug/Makefile (tests-ifunc): New variable.
24089 (tests): Add $(tests-ifunc).
24090 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24091 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24092 * debug/test-stpcpy_chk-ifunc.c: New file.
24093 * debug/test-strcpy_chk-ifunc.c: Likewise.
24094
88481c16
SP
240952012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24096
24097 [BZ #13601]
24098 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24099 header is not read in.
24100
135948bd
JM
241012012-10-19 Joseph Myers <joseph@codesourcery.com>
24102
89f1c388
JM
24103 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24104 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24105 directly. Pass built executable to script as
24106 $(built-program-cmd).
24107 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24108 $testprogram without using LD_LIBRARY_PATH and $ldso.
24109
e40a0d21
JM
24110 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24111 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24112 $(rtld-installed-name).
24113 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24114 (rtld_installed_name): Likewise.
24115 (library_path): Likewise.
24116 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24117 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24118 $(run-program-prefix) to tst-tables.sh.
24119 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24120 it to run tst-table-from and tst-table-to.
24121 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24122 Pass it to tst-table.sh.
24123 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24124 $(run-program-prefix) to tst-gettext.sh.
24125 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24126 tst-translit.sh.
24127 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24128 tst-gettext2.sh.
24129 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24130 to run tst-gettext.
24131 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24132 to run tst-gettext2.
24133 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24134 to run tst-translit.
24135 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24136 $(run-program-prefix) to tst-mtrace.sh.
24137 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24138 to run tst-mtrace.
24139 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24140 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24141 $(rtld-installed-name).
24142 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24143 (rtld_installed_name): Likewise.
24144 (run_program_prefix): New variable. Use it to run wordexp-test.
24145
728e272a
JM
24146 * Makeconfig (ARCH): Remove all definitions.
24147 (machine): Likewise.
24148 [ARCH]: Remove conditional code.
24149 [!objdir]: Give error.
24150 [!objdir] (objpfx): Remove.
24151 [!objdir] (common-objpfx): Likewise.
24152 [!objdir] (common-objdir): Likewise.
24153 * configure.in (config_makefile): Remove. Hardcode Makefile in
24154 AC_CONFIG_FILES call.
24155 * configure: Regenerated.
24156
d528cdcf
JM
24157 [BZ #13888]
24158 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24159 or TMPDIR.
24160 (testout): Likewise.
24161
135948bd
JM
24162 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24163 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24164 $(rtld-installed-name).
24165 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24166 (rtld_installed_name): Likwise.
24167 (runit): Remove function.
24168 (run_getconf): New variable, Use it for running getconf binary.
24169
38c78296
L
241702012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24171
24172 [BZ #14716]
24173 * string/test-memmem.c (check_result): New function.
24174 (do_one_test): Use it.
24175 (check1): New function.
24176 (test_main): Use it.
24177
d077f65f
MT
241782012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24179
24180 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24181
ced52c71
JM
241822012-10-18 Joseph Myers <joseph@codesourcery.com>
24183
24184 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24185 (_G_LSEEK64): Likewise.
24186 (_G_MMAP64): Likewise.
24187 (_G_FSTAT64): Likewise.
24188 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24189 (_G_LSEEK64): Likewise.
24190 (_G_MMAP64): Likewise.
24191 (_G_FSTAT64): Likewise.
24192 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24193 unconditional. Call __mmap64 directly.
24194 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24195 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24196 __lseek64 directly.
24197 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24198 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24199 __mmap64 directly.
24200 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24201 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24202 __lseek64 directly.
24203 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24204 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24205 __lseek64 directly.
24206 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24207 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24208 __lseek64 directly.
24209 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24210 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24211 __fxstat64 directly.
24212 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24213 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24214 unconditional.
24215 (freopen64) [!_G_OPEN64]: Remove conditional code.
24216 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24217 unconditional.
24218 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24219 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24220 unconditional.
24221 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24222 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24223 unconditional.
24224 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24225 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24226 unconditional.
24227 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24228 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24229 unconditional.
24230 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24231 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24232 unconditional.
24233 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24234 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24235 unconditional.
24236 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24237
b741de23
SP
242382012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24239
24240 [BZ #12140]
24241 * manual/memory.texi (Malloc Tunable Parameters): Add note
24242 about free list pointers overwriting some perturb bytes.
24243 Wording suggested by Roland McGrath.
24244
f9b9d9c9
JM
242452012-10-17 Joseph Myers <joseph@codesourcery.com>
24246
24247 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24248 (lgamma_test): Likewise.
24249 (tgamma_test): Likewise.
24250
172a631a
FW
242512012-10-16 Florian Weimer <fweimer@redhat.com>
24252
24253 [BZ #14700]
24254 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24255 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24256
e9f37252
MK
242572012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24258
24259 * NEWS: Mention BZ #14716.
24260 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24261 when removing AVAILABLE1_USES_J macro.
24262
d394eb74
L
242632012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24266 (__bswap_64): __uint64_t for unsigned 64-bit int.
24267
ca38dc17
AS
242682012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24269
24270 * include/string.h (memmem): Declare libc hidden alias.
24271 * string/memmem.c (memmem): Define libc hidden alias.
24272 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24273 __read, __close instead of open, read, close.
24274
9a387d1f
L
242752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24276
ac49ecaf
L
24277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24278 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24279 global and hidden.
24280 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24281 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24282 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24283 Likewise.
24284 (__rawmemchr_sse2): Likewise.
24285 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24286 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24287 (__strchr_sse2): Likewise.
24288 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24289 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24290 (__strcasecmp_sse2): Likewise.
24291 (__strncasecmp_sse2): Likewise.
24292 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24293 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24294 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24295 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24296 (__strrchr_sse2): Likewise.
24297 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24298 ifunc-impl-list.c.
24299 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24300 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24301 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24302 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24303 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24304 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24305 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24306 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24307 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24308 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24309 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24310 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24311 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24312 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24313 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24314 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24315 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24316 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24317 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24318 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24319 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24320 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24321 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24322 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24323 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24324 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24325 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24326 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24327 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24328 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24329
b090e8ea
L
24330 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24331 global and hidden.
24332 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24333 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24334 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24335 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24336 Likewise.
24337 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24338 Likewise.
24339 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24340 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24341 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24342 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24343 ifunc-impl-list.c.
24344 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24345 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24346 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24347 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24348 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24362 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24366 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24378 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24379 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24385
11dd4af6
L
24386 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24387 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24388 * include/ifunc-impl-list.h: New file.
24389 * misc/ifunc-impl-list.c: Likewise.
24390 * misc/Makefile (routines): Add ifunc-impl-list.
24391 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24392 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24393 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24394 TEST_NAME]: New variables.
11dd4af6
L
24395 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24396 are defined.
24397 (test_init): Call __libc_ifunc_impl_list to initialize
24398 func_list if TEST_IFUNC and TEST_NAME are defined.
24399
9a387d1f
L
24400 * string/Makefile (strop-tests): Add bcopy and bzero.
24401 * string/test-bcopy.c: New file.
24402 * string/test-bzero.c: Likewise.
24403 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24404 defined.
24405 * string/test-memset.c: Support bzero test if TEST_BZERO is
24406 defined.
24407 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24408 __libc_memmove.
24409 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24410 __libc_memset.
24411 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24412 of memset.
24413
472371b9
JM
244142012-10-10 Joseph Myers <joseph@codesourcery.com>
24415
1e4a9536
JM
24416 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24417 * configure: Regenerated.
24418
d173d12e
JM
24419 * Makeconfig (+link-static-before-libc): Don't include
24420 $(link-static-libc).
24421
472371b9
JM
24422 * libio/libio.h (_IO_pos_t): Remove.
24423
89a3ad0b
AO
244242012-10-10 Alexandre Oliva <aoliva@redhat.com>
24425
24426 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24427 McGrath.
24428
e7451425
AO
244292012-10-10 Alexandre Oliva <aoliva@redhat.com>
24430
24431 * crypt/crypt-entry.c: Include fips-private.h.
24432 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24433 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24434 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24435 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24436
4ba74a35
AO
244372012-10-10 Alexandre Oliva <aoliva@redhat.com>
24438
24439 * crypt/crypt-private.h: Include stdbool.h.
24440 (_ufc_setup_salt_r): Return bool.
24441 * crypt/crypt-entry.c: Include errno.h.
24442 (__crypt_r): Return NULL with EINVAL for bad salt.
24443 * crypt/crypt_util.c (bad_for_salt): New.
24444 (_ufc_setup_salt_r): Check that salt is long enough and within
24445 the specified alphabet.
24446 * crypt/badsalttest.c: New file.
24447 * crypt/Makefile (tests): Add it.
24448 ($(objpfx)badsalttest): New.
24449
f96f1242
MK
244502012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24451
24452 * NEWS: Add entry for BZ #14602.
24453
0e8e0c1c
JM
244542012-10-09 Joseph Myers <joseph@codesourcery.com>
24455
24456 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24457 type-generic.
24458 * math/libm-test.inc: Update comment listing what functions and
24459 macros are tested.
24460 (isgreater_test): New function.
24461 (isgreaterequal_test): Likewise.
24462 (isless_test): Likewise.
24463 (islessequal_test): Likewise.
24464 (islessgreater_test): Likewise.
24465 (isunordered_test): Likewise.
24466 (main): Call the new functions.
24467
273edc5e
RM
244682012-10-09 Roland McGrath <roland@hack.frob.com>
24469
b8493de0
RM
24470 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24471 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24472 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24473 * sysdeps/i386/configure: Regenerated.
24474 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24475 * sysdeps/mach/configure: Regenerated.
24476 * sysdeps/mach/hurd/configure: Regenerated.
24477 * sysdeps/powerpc/configure: Regenerated.
24478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24480 * sysdeps/s390/s390-32/configure: Regenerated.
24481 * sysdeps/s390/s390-64/configure: Regenerated.
24482 * sysdeps/sh/configure: Regenerated.
24483 * sysdeps/sparc/configure: Regenerated.
24484 * sysdeps/unix/sysv/linux/configure: Regenerated.
24485 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24486 * sysdeps/x86_64/configure: Regenerated.
24487
273edc5e
RM
24488 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24489 defined. Don't check if MAP is NULL.
24490
c8450f70
JM
244912012-10-09 Joseph Myers <joseph@codesourcery.com>
24492
24493 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24494 (_G_stat64): Likewise.
24495 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24496 (_G_stat64): Likewise.
24497 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24498 instead of struct _G_stat64.
24499 * libio/fileops.c (mmap_remap_check): Likewise.
24500 (decide_maybe_mmap): Likewise.
24501 (_IO_new_file_seekoff): Likewise.
24502 (_IO_file_stat): Likewise.
24503 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24504 _G_off64_t.
24505 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24506 instead of struct _G_stat64.
24507 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24508
57e605ba
MK
245092012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24510
24511 [BZ #14602]
24512 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24513 Replace with ...
24514 (CHECK_EOL): New macro.
24515 (two_way_short_needle): Check beginning of haystack for EOL. Use
24516 CHECK_EOL.
24517 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24518 Replace with CHECK_EOL.
24519 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24520 Replace with CHECK_EOL.
24521
ef1bb361
JM
245222012-10-08 Joseph Myers <joseph@codesourcery.com>
24523
24524 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24525 type-generic.
24526 * math/libm-test.inc: Update comment listing what functions and
24527 macros are tested.
24528 (finite_test): New function.
24529 (isinf_test): Likewise.
24530 (isnan_test): Likewise.
24531 (fpclassify_test): Test subnormal input.
24532 (isfinite_test): Likewise.
24533 (isnormal_test): Likewise.
24534 (main): Call the new functions.
24535
55f11534
JN
245362012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24537
24538 [BZ #14660]
24539 * Makerules (%.dynsym): Force C locale when running
24540 $(OBJDUMP) --dynamic-syms.
24541
1ab29350
AS
245422012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24543
24544 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24545 <stdint.h>.
24546
f1ecb7ef
DM
245472012-10-06 David S. Miller <davem@davemloft.net>
24548
24549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24550 upper 32-bits of the length value in %o2 since we use branch-on-register
24551 tests which consider the entire 64-bit register.
24552
5d41d91a
L
245532012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24554
24555 * string/test-strstr.c (check2): Add a test for page boundary.
24556
3baddb72
DM
245572012-10-05 David S. Miller <davem@davemloft.net>
24558
24559 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24560 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24561 file.
24562 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24563 sysdep_routines.
24564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24565 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24566 and bzero when HWCAP_SPARC_CRYPTO is present.
24567
9cee5585
L
245682012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24569
d7e0dab9
L
24570 [BZ #14602]
24571 * string/test-strstr.c (check2): New function.
24572 (test_main): Call check2.
24573
03759f47
L
24574 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24575 and bug-strchr1.
24576 * string/bug-strcasestr1.c (do_test): Moved to ...
24577 * string/test-strcasestr.c (check1): Here. New function.
24578 (do_one_test): Break out result checking code into ...
24579 (check_result): This. New function.
24580 (do_one_test): Call check_result.
24581 (test_main): Call check1.
24582 * string/bug-strchr1.c (do_test): Moved to ...
24583 * string/test-strchr.c (check1): Here. New function.
24584 (do_one_test): Break out result checking code into ...
24585 (check_result): This. New function.
24586 (do_one_test): Call check_result.
24587 (test_main): Call check1.
24588 * string/bug-strstr1.c (main): Moved to ...
046f153e 24589 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24590 (do_one_test): Break out result checking code into ...
24591 (check_result): This. New function.
24592 (do_one_test): Call check_result.
24593 (test_main): Call check1.
24594 * string/bug-strcasestr1.c: Removed.
24595 * string/bug-strchr1.c: Likewise.
24596 * string/bug-strstr1.c: Likewise.
24597
53cea63e
L
24598 * elf/Makefile (dl-routines): Add hwcaps.
24599 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24600 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24601 (_dl_important_hwcaps): Moved to ...
24602 * elf/dl-hwcaps.c: Here. New file.
24603 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24604
9cee5585 24605 [BZ #14557]
bb859b06
L
24606 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24607 if IS_IN_rtld isn't defined.
24608
9cee5585
L
24609 * elf/dl-support.c (_dl_sysinfo_map): New.
24610 Include "get-dynamic-info.h" and "setup-vdso.h".
24611 (_dl_non_dynamic_init): Call setup_vdso.
24612 * elf/dynamic-link.h: Don't include <assert.h>.
24613 (elf_get_dynamic_info): Moved to ...
24614 * elf/get-dynamic-info.h: Here. New file.
24615 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24616 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24617 * elf/setup-vdso.h: Here. New file.
24618 * elf/rtld.c: Include "setup-vdso.h".
24619 (dl_main): Call setup_vdso.
24620
23c31b76
JM
246212012-10-05 Joseph Myers <joseph@codesourcery.com>
24622
28234b07
JM
24623 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24624 creal in comment listing functions tested. List finite, isinf,
24625 isnan, isless, islessequal, isgreater, isgreaterequal,
24626 islessgreater, isunordered, lgamma_r and pow10 as functions and
24627 macros not tested. Mention which functions not tested are aliases
24628 for other functions. Fix typo. Note that signs of NaNs are not
24629 tested.
24630
23c31b76
JM
24631 * scripts/config.guess: Update from config.git.
24632 * scripts/config.sub: Likewise.
24633
9043e228
RM
246342012-10-04 Roland McGrath <roland@hack.frob.com>
24635
24636 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24637 * misc/madvise.c (madvise): Renamed to __madvise.
24638 Make madvise a weak alias.
24639 * include/sys/mman.h: Declare __madvise.
24640 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24641 * sysdeps/unix/syscalls.list
24642 (madvise): Make __madvise the strong name, and madvise a weak alias.
24643 * sysdeps/unix/sysv/linux/syscalls.list
24644 (madvise, mmap): Remove redundant entries.
24645 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24646 * malloc/malloc.c (mtrim): Likewise.
24647 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24648
f57f8055
RM
246492012-10-03 Roland McGrath <roland@hack.frob.com>
24650
24651 * sysdeps/mach/hurd/dl-cache.c: File removed.
24652 * config.h.in (USE_LDCONFIG): New #undef.
24653 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24654 * configure: Regenerated.
24655 * elf/Makefile (dl-routines): Add dl-cache only under
24656 [$(use-ldconfig) = yes].
24657 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24658 cache on [USE_LDCONFIG].
24659 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24660 [USE_LDCONFIG].
24661 * elf/rtld.c (dl_main): Likewise.
24662
5bb0c10a
PT
246632012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24664
24665 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24666 _SC_LEVEL4_CACHE_LINESIZE.
24667
010188c6
RM
246682012-10-03 Roland McGrath <roland@hack.frob.com>
24669
24670 * sysdeps/unix/bsd/confstr.h: File removed.
24671
b6c5ec07
AO
246722012-10-02 Alexandre Oliva <aoliva@redhat.com>
24673
24674 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24675 sys/sdt-config.h.
24676
408223d4
RM
246772012-10-02 Roland McGrath <roland@hack.frob.com>
24678
24679 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24680 Make 'mapoff' field ElfW(Off) rather than off_t.
24681
bb9510dc
DL
246822012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24683
fc997c6e
DL
24684 * nscd/Makefile: Remove nscd-cflags and all its users.
24685 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24686 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24687
bb9510dc
DL
24688 [BZ #10631]
24689 * malloc.c (malloc_printerr): Clarify error message.
24690
05699367
L
246912012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24692
24693 [BZ #14648]
24694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24695 Set bit_FMA_Usable if FMA is supported.
24696 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24697 macro.
24698 (bit_FMA4_Usable): Updated.
24699 (index_FMA_Usable): New macro.
24700 (CPUID_FMA): Likewise
24701 (HAS_FMA): Defined with bit_FMA_Usable.
24702
51367701
RM
247032012-10-01 Roland McGrath <roland@hack.frob.com>
24704
24705 * bits/types.h (__swblk_t): Type removed.
24706 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24707 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24709 (__SWBLK_T_TYPE): Likewise.
24710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24711 (__SWBLK_T_TYPE): Likewise.
24712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24713 (__SWBLK_T_TYPE): Likewise.
24714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24715 (__SWBLK_T_TYPE): Likewise.
24716
4d57bf63 247172012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24718 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24719
24720 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24721 (xdr_mapname): Use YPMAXMAP as maxsize.
24722 (xdr_peername): Use YPMAXPEER as maxsize.
24723 (xdr_keydat): Use YPAXRECORD as maxsize.
24724 (xdr_valdat): Use YPMAXRECORD as maxsize.
24725
93c65d43
RM
247262012-10-01 Roland McGrath <roland@hack.frob.com>
24727
497a03d6
RM
24728 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24729
93c65d43
RM
24730 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24731 * csu/init-first.c: ... here.
24732 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24733 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24734 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24735 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24736 * sysdeps/i386/init-first.c: File removed.
24737 * sysdeps/sh/init-first.c: File removed.
24738
bec749fd
JM
247392012-10-01 Joseph Myers <joseph@codesourcery.com>
24740
24741 [BZ #14645]
24742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24743 if x * y might underflow to zero and z is zero.
24744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24745 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24746 * math/libm-test.inc (min_subnorm_value): New variable.
24747 (fma_test): Add more tests.
24748 (fma_test_towardzero): Likewise.
24749 (fma_test_downward): Likewise
24750 (fma_test_upward): Likewise.
24751 (initialize): Set min_subnorm_value.
24752
8ec5b013
JM
247532012-09-29 Joseph Myers <joseph@codesourcery.com>
24754
24755 [BZ #14638]
24756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24757 0 + 0.
24758 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24759 mode for addition resulting in exact zero.
24760 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24762 exact 0 + 0.
24763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24764 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24765 * math/libm-test.inc (fma_test): Add more tests.
24766 (fma_test_towardzero): New function.
24767 (fma_test_downward): Likewise.
24768 (fma_test_upward): Likewise.
24769 (main): Call the new functions.
24770
b1fa802e
DM
247712012-09-28 David S. Miller <davem@davemloft.net>
24772
24773 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24774
d3b9fd9e
RM
247752012-09-28 Roland McGrath <roland@hack.frob.com>
24776
ea4d37b3
RM
24777 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24778 instead of SIGALRM.
24779
ac51c949
RM
24780 * sysdeps/gnu/_G_config.h: Moved to ...
24781 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24782 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24783 * sysdeps/generic/_G_config.h: ... here.
24784
28c195f7
RM
24785 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24786
848917f9
RM
24787 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24788
6bacf05b
RM
24789 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24790 Conditionalize target on [libnss_test1.so-version].
24791
91363dbb
RM
24792 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24793
cc87f7d8
RM
24794 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24795 (elfobjdir): Move out of conditionals.
24796
b1c608fe
RM
24797 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24798 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24799 (__nss_lookup_function): Conditionalize label remove_from_tree on
24800 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24801
1d9a6d96
DM
248022012-09-28 David S. Miller <davem@davemloft.net>
24803
24804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24805 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24806 file.
24807 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24808 sysdep_routines.
24809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24811 when HWCAP_SPARC_CRYPTO is present.
24812
72581615
PT
248132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24814
24815 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24816
715a900c
JL
248172012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24818
24819 [BZ #6530]
24820 * stdio-common/vfprintf.c (process_string_arg): Revert
24821 2000-07-22 change.
24822
248232011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24824
24825 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24826 for testcase.
24827 * stdio-common/tst-sprintf.c: Include <locale.h>
24828 (main): Test sprintf's handling of incomplete multibyte
24829 characters.
24830
9bac1d86
L
248312012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24832
24833 * elf/dl-runtime.c (VERSYMIDX): Removed.
24834 * elf/dl-version.c (VERSYMIDX): Likewise.
24835 * elf/do-rel.h (VERSYMIDX): Likewise.
24836 (VALIDX): Likewise.
24837 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24838 * elf/rtld.c (VALIDX): Likewise.
24839 (ADDRIDX): Likewise.
9bac1d86
L
24840 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24841 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24842 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24843 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24844 (VALIDX): Likewise.
24845 (ADDRIDX): Likewise.
9bac1d86 24846
b31606c0
PT
248472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24848
24849 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24850
11541177
JL
248512012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24852
24853 [BZ #11438]
24854 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24855 to global scope.
24856 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24857 addresses are in the same scope as 192.0.2/24.
24858 * posix/gai.conf: Document new scope table defaults.
24859
adb26fae
SP
248602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24861
24862 [BZ #5298]
24863 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24864 for ftell. Compute offsets from write pointers instead.
24865 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24866
4573c6b0
SP
248672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24868
24869 [BZ #14543]
24870 * libio/Makefile (tests): New test case tst-fseek.
24871 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24872 combination works in wide mode.
24873 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24874 state when the external buffer state changes.
24875
aa9bbfe6
DM
248762012-09-27 David S. Miller <davem@davemloft.net>
24877
24878 [BZ #14376]
24879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24880 pass reloc->r_addend in as the 'high' argument to
24881 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24882
784421e7
DM
24883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24884
c39bc8b8
PT
248852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24886
24887 * rt/tst-aio2.c: Include <pthread.h>.
24888 * rt/tst-aio3.c: Likewise.
24889
1ccc2399
SE
248902012-09-27 Steve Ellcey <sellcey@mips.com>
24891
24892 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24893
31ed4153
L
248942012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24895
25f5f885
L
24896 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24897 contents on [SHARED].
31ed4153 24898
b7bfe116
MP
248992012-09-26 Marek Polacek <polacek@redhat.com>
24900
24901 [BZ #14530]
24902 [BZ #13741]
24903 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24904 for C++ and GCC <4.3 as well as for non GCC compilers.
24905
43c4edba
MT
249062012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24907
24908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24909
6a1bf82f
RM
249102012-09-25 Roland McGrath <roland@hack.frob.com>
24911
24912 * Makefile.in (all, install): Declare with .PHONY.
24913 Reported by Michael Hope <michael.hope@linaro.org>.
24914
8ad11b9a
TMQMF
249152012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24916
24917 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24918 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24919 system header.
24920 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24921 Likewise.
24922 (sydep_routines): Add the new and the internal functions.
24923 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24924 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24926 (GLIBC_2.17): Add the new function.
24927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24928 (GLIBC_2.17): Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24930 (GLIBC_2.17): Likewise.
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24932 (GLIBC_2.17): Likewise.
24933 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24934
7e2fca8d
AM
249352012-09-25 Alan Modra <amodra@gmail.com>
24936
24937 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24938 Add release barrier before setting once_control to say
24939 initialisation is done. Add hints on lwarx. Use macro in
24940 place of isync.
24941 (clear_once_control): Add release barrier.
24942
b87c4b24
JM
249432012-09-25 Joseph Myers <joseph@codesourcery.com>
24944
d032e0d2
JM
24945 [BZ #13629]
24946 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24947 specially.
24948 * math/s_clog10.c (__clog10): Likewise.
24949 * math/s_clog10f.c (__clog10f): Likewise.
24950 * math/s_clog10l.c (__clog10l): Likewise.
24951 * math/s_clogf.c (__clogf): Likewise.
24952 * math/s_clogl.c (__clogl): Likewise.
24953 * math/Makefile (libm-calls): Add x2y2m1.
24954 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24955 (__x2y2m1): Likewise.
24956 (__x2y2m1l): Likewise.
24957 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24958 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24959 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24961 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24962 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24963 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24964 * sysdeps/i386/fpu/libm-test-ulps: Update.
24965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24966
b87c4b24
JM
24967 [BZ #14621]
24968 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24969 int as type of variable DEPTH.
24970 (glob): Use size_t instead of int as type of variables NEWCOUNT
24971 and OLD_PATHC.
24972
6d3bf199
LD
249732012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24974
22bf5c17
LD
24975 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24976 Add s_sincosf-sse2.
24977 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24979 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24980 macros for using routine as __sincosf_ia32.
24981 Use macro for function declaration and weak_alias.
24982 * sysdeps/i386/fpu/libm-test-ulps: Update.
24983
24984 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24986
24987 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24988 subnormal argument.
24989 * math/s_cexpf.c (__cexpf): Likewise.
24990 * math/s_csinf.c (__csinf): Likewise.
24991 * math/s_csinhf.c (__csinhf): Likewise.
24992 * math/s_ctanf.c (__ctanf): Likewise.
24993 * math/s_ctanhf.c (__ctanhf): Likewise.
24994 * math/s_ccosh.c (__ccoshf): Likewise.
24995 * math/s_cexp.c (__cexpl): Likewise.
24996 * math/s_csin.c (__csin): Likewise.
24997 * math/s_csinh.c (__csinh): Likewise.
24998 * math/s_ctan.c (__ctan): Likewise.
24999 * math/s_ctanh.c (ctanh): Likewise.
25000 * math/s_ccoshl.c (__ccoshl): Likewise.
25001 * math/s_cexpl.c (__cexpl): Likewise.
25002 * math/s_csinl.c (__csinl): Likewise.
25003 * math/s_csinhl.c (__csinhl): Likewise.
25004 * math/s_ctanl.c (__ctanl): Likewise.
25005 * math/s_ctanhl.c (__ctanhl): Likewise.
25006
203e5603
JM
250072012-09-25 Joseph Myers <joseph@codesourcery.com>
25008
25009 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25010 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25011 (_IO_off_t): Define to __off_t, not _G_off_t.
25012 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25013 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25014 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25015 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25016 type of __dummy and __dummy2 fields.
25017 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25018 (_G_ssize_t): Likewise.
25019 (_G_off_t): Likewise.
25020 (_G_pid_t): Likewise.
25021 (_G_uid_t): Likewise.
25022 (_G_wchar_t): Likewise.
25023 (_G_wint_t): Likewise.
25024 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25025 (_G_ssize_t): Likewise.
25026 (_G_off_t): Likewise.
25027 (_G_pid_t): Likewise.
25028 (_G_uid_t): Likewise.
25029 (_G_wchar_t): Likewise.
25030 (_G_wint_t): Likewise.
25031 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25032 (_G_ssize_t): Likewise.
25033 (_G_off_t): Likewise.
25034 (_G_pid_t): Likewise.
25035 (_G_uid_t): Likewise.
25036 (_G_wchar_t): Likewise.
25037 (_G_wint_t): Likewise.
25038
9fab36eb
SP
250392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25040
25041 * malloc/arena.c: Include malloc-sysdep.h.
25042 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25043 is sufficient to shrink the heap or an unmap is needed.
25044 * sysdeps/generic/malloc-sysdep.h: New file. Define
25045 new function check_may_shrink_heap.
25046 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25047 new function check_may_shrink_heap.
25048
2b4f00d1
SP
250492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25050
25051 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25052 comments.
25053
9a9028b1
DL
250542012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25055
57c69bef
DL
25056 * catgets/test-gencat.sh: Add "set -e".
25057 * elf/tst-pathopt.sh: Likewise.
25058 * grp/tst_fgetgrent.sh: Likewise.
25059 * iconvdata/run-iconv-test.sh: Likewise.
25060 * intl/tst-gettext.sh: Likewise.
25061 * intl/tst-gettext2.sh: Likewise.
25062 * intl/tst-gettext4.sh: Likewise.
25063 * intl/tst-gettext6.sh: Likewise.
25064 * intl/tst-translit.sh: Likewise.
25065 * io/ftwtest-sh: Likewise.
25066 * libio/test-freopen.sh: Likewise.
25067 * malloc/tst-mtrace.sh: Likewise.
25068 * posix/globtest.sh: Likewise.
25069 * posix/tst-getconf.sh: Likewise.
25070 * posix/wordexp-tst.sh: Likewise.
25071 * stdio-common/tst-printf.sh: Likewise.
25072 * stdio-common/tst-unbputc.sh: Likewise.
25073 * stdlib/tst-fmtmsg.sh: Likewise.
25074 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25075 * catgets/Makefile: Do not specify -e option when running
25076 testsuite shell scripts.
25077 * elf/Makefile: Likewise.
25078 * grp/Makefile: Likewise.
25079 * iconvdata/Makefile: Likewise.
25080 * intl/Makefile: Likewise.
25081 * io/Makefile: Likewise.
25082 * libio/Makefile: Likewise.
25083 * malloc/Makefile: Likewise.
25084 * posix/Makefile: Likewise.
25085 * stdio-common/Makefile: Likewise.
25086 * stdlib/Makefile: Likewise.
25087 * sysdeps/x86_64/Makefile: Likewise.
25088
9a9028b1
DL
25089 * io/ftwtest-sh: Add copyright header.
25090 * posix/globtest.sh: Likewise.
25091 * posix/tst-getconf.sh: Likewise.
25092 * posix/wordexp-tst.sh: Likewise.
25093 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25094
ced6f16e
L
250952012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25096
94b32c39
L
25097 [BZ #13679]
25098 * Makeconfig (+link): Defined as $(+link-static) if
25099 $(build-shared) isn't yes.
25100 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25101 isn't yes.
25102 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25103
189e935b
L
25104 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25105
ced6f16e
L
25106 [BZ #14562]
25107 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25108 new chunk size with MALLOC_ALIGN_MASK.
25109
a9f8e53a
JM
251102012-09-24 Joseph Myers <joseph@codesourcery.com>
25111
25112 [BZ #5044]
25113 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25114 <rounding-mode.h>.
25115 (__printf_fphex): Determine rounding using get_rounding_mode and
25116 round_away.
25117 * stdio-common/tst-printf-round.c (struct hex_test): New
25118 structure.
25119 (hex_tests): New variable.
25120 (test_hex_in_one_mode): New function.
25121 (do_test): Also run tests for hex float output.
25122
43153109
JM
251232012-09-21 Joseph Myers <joseph@codesourcery.com>
25124
25125 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25126 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25127 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25128 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25130 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25131 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25132 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25133
8a26625d
JM
251342012-09-20 Joseph Myers <joseph@codesourcery.com>
25135
25136 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25137 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25138 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25139 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25140
f3fd569c
DL
251412012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25142
25143 [BZ #14579]
25144 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25145 mode only.
25146 * elf/tst-rtld-load-self.sh: New test.
25147 * elf/Makefile: Run it.
25148
63bbedd4
JM
251492012-09-18 Joseph Myers <joseph@codesourcery.com>
25150
25151 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25152 (tst-writev-ENV): Remove.
25153 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25154
626f8b6a
CM
251552012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25156
25157 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25158
b7aaa4d6
JM
251592012-09-17 Joseph Myers <joseph@codesourcery.com>
25160
25161 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25162 unconditional.
25163 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25164 Likewise.
25165 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25166 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25168 Likewise.
25169
65513990
L
251702012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25171
25172 [BZ #14587]
25173 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25174 * config.make.in (have-cpp-asm-debuginfo): Removed.
25175 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25176 * configure: Regenerated.
25177
784761be
JM
251782012-09-14 Joseph Myers <joseph@codesourcery.com>
25179
25180 [BZ #5044]
25181 * stdio-common/printf_fp.c: Include <stdbool.h> and
25182 <rounding-mode.h>.
25183 (___printf_fp): Determine rounding using get_rounding_mode and
25184 round_away.
25185 * stdio-common/tst-printf-round.c: New file.
25186 * stdio-common/Makefile (tests): Add tst-printf-round.
25187 (link-libm): New variable.
25188 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25189
9503345f
L
251902012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25191
25192 [BZ #14576]
25193 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25194 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25195 Likewise.
25196 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25197 Likewise.
25198
ad35fc00
JM
251992012-09-13 Joseph Myers <joseph@codesourcery.com>
25200
25201 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25202 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25203 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25204 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25205
6c9b0f68
JM
252062012-09-12 Joseph Myers <joseph@codesourcery.com>
25207
25208 [BZ #14518]
25209 * include/rounding-mode.h: New file.
25210 * sysdeps/generic/get-rounding-mode.h: Likewise.
25211 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25212 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25213 (MAX_VALUE): New macro.
25214 (MIN_VALUE): Likewise.
25215 (overflow_value): New function.
25216 (underflow_value): Likewise.
25217 (round_and_return): Use overflow_value and underflow_value to
25218 determine return values in overflow and underflow cases. Use
25219 round_away to determine rounding depending on rounding mode.
25220 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25221 determine return values in overflow and underflow cases.
25222 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25223 (struct test_results): New structure.
25224 (struct test): Use struct test_results to store expected results
25225 for all rounding modes.
25226 (TEST): Include expected results for all rounding modes.
25227 (test_in_one_mode): New function.
25228 (do_test): Use test_in_one_mode to compute and check results.
25229 Check results for all rounding modes.
25230 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25231 $(link-libm).
25232
19fcedd5
AM
252332012-12-09 Allan McRae <allan@archlinux.org>
25234
1e9d84cd 25235 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25236
8bbfd2f1
JM
252372012-09-11 Joseph Myers <joseph@codesourcery.com>
25238
25239 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25240 (_G_int32_t): Likewise.
25241 (_G_uint16_t): Likewise.
25242 (_G_uint32_t): Likewise.
25243 (_G_HAVE_BOOL): Likewise.
25244 (_G_HAVE_ATEXIT): Likewise.
25245 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25246 (_G_HAVE_IO_FILE_OPEN): Likewise.
25247 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25248 (_G_int32_t): Likewise.
25249 (_G_uint16_t): Likewise.
25250 (_G_uint32_t): Likewise.
25251 (_G_HAVE_BOOL): Likewise.
25252 (_G_HAVE_ATEXIT): Likewise.
25253 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25254 (_G_HAVE_IO_FILE_OPEN): Likewise.
25255 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25256 (_G_int32_t): Likewise.
25257 (_G_uint16_t): Likewise.
25258 (_G_uint32_t): Likewise.
25259 (_G_HAVE_BOOL): Likewise.
25260 (_G_HAVE_ATEXIT): Likewise.
25261 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25262 (_G_HAVE_IO_FILE_OPEN): Likewise.
25263
b1dc5912
L
252642012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25265
25266 * csu/libc-tls.c: Update copyright years.
25267
0e886ef9
JM
252682012-09-10 Joseph Myers <joseph@codesourcery.com>
25269
28361c5e
JM
25270 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25271 [!_G_USING_THUNKS]: Remove conditional code.
25272 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25273 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25274
0e886ef9
JM
25275 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25276 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25277 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25278 (_G_VTABLE_LABEL_PREFIX): Likewise.
25279 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25280 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25281 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25282 (_G_VTABLE_LABEL_PREFIX): Likewise.
25283 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25284 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25286 (_G_VTABLE_LABEL_PREFIX): Likewise.
25287 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25288
bcba7aa2
L
252892012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25290
25291 * libio/Makefile: Include ../Makeconfig before tests.
25292 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25293 only if $(build-shared) is yes.
25294
06585ee8
L
25295 * iconv/gconv_db.c: Update copyright years.
25296
80ccd52c
LD
252972012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25298
25299 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25300 unwind info if defined PIC. Fix special cases description.
25301 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25302
25303 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25304 DP_HI_MASK entry.
25305 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25306
691bc9c1
L
253072012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25308
3d9b46b3
L
25309 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25310
de2139a9
L
25311 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25312 is NULL.
25313
5ca78dd0
L
25314 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25315 (LDLIBS-tst-chk4): This.
25316 (LDFLAGS-tst-chk5): Renamed to ...
25317 (LDLIBS-tst-chk5): This.
25318 (LDFLAGS-tst-chk6): Renamed to ...
25319 (LDLIBS-tst-chk6): This.
25320 (LDFLAGS-tst-lfschk4): Renamed to ...
25321 (LDLIBS-tst-lfschk4): This.
25322 (LDFLAGS-tst-lfschk5): Renamed to ...
25323 (LDLIBS-tst-lfschk5): This.
25324 (LDFLAGS-tst-lfschk6): Renamed to ...
25325 (LDLIBS-tst-lfschk6): This.
25326
691bc9c1
L
25327 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25328 on $(common-objpfx)soversions.mk.
25329
65cafb1c
JM
253302012-09-07 Joseph Myers <joseph@codesourcery.com>
25331
25332 [BZ #10014]
25333 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25334 example host name.
25335
c78ab094
SP
253362012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25337
25338 * malloc/arena.c (arena_get_retry): New function that gets
25339 another arena for the caller to try its request on.
25340 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25341 current arena cannot fulfill the request.
25342 (__libc_memalign): Likewise.
25343 (__libc_memalign): Likewise.
25344 (__libc_pvalloc): Likewise.
25345 (__libc_calloc): Likewise.
25346
01f49f59
JT
253472012-09-05 John Tobey <john.tobey@gmail.com>
25348
25349 [BZ #13542]
25350 * manual/arith.texi (Operations on Complex): Fix description
25351 of carg branch cut.
25352
4c23fed5
JM
253532012-09-06 Joseph Myers <joseph@codesourcery.com>
25354
1d3c8572
JM
25355 [BZ #10014]
25356 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25357 host name.
25358
4c23fed5
JM
25359 [BZ #10038]
25360 * manual/memory.texi (Memory): Make order of menu items match
25361 order of sections.
25362
04570aaa
L
253632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25364
25365 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25366 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25367 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25368
b80af2f4
L
253692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25370
25371 * csu/libc-tls.c (static_dtv): Renamed to ...
25372 (_dl_static_dtv): This. Make it global.
25373 (_dl_initial_dtv): Removed.
25374 (__libc_setup_tls): Updated.
25375 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25376 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25377 DL_INITIAL_DTV.
25378
2abe9f15
PM
253792012-09-06 Petr Machata <pmachata@redhat.com>
25380
25381 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25382 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25383 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25384 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25385
0948c3af
L
253862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25387
25388 [BZ #14545]
25389 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25390 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25391 freeing dtv[-1].
25392
a5055ad1
L
253932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25394
25395 [BZ #14544]
25396 * Makeconfig (link-static-before-libc): Replace $(+prector)
25397 with $(+prectorT).
25398 (link-static-after-libc): Replace $(+postctor) with
25399 $(+postctorT).
25400 (link-bounded): Replace $(+prector)/$(+postctor) with
25401 $(+prectorT)/$(+postctorT).
25402 (+prectorT): New macro.
25403 (+postctorT): Likewise.
25404
ed8c2ecd
JM
254052012-09-06 Joseph Myers <joseph@codesourcery.com>
25406
25407 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25408 (round_str): Handle values above the maximum for IBM long double
25409 as inexact.
25410 * stdlib/tst-strtod-round.c (tests): Regenerated.
25411
14c996c8
AK
254122012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25413
25414 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25415 assembler flag.
25416 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25417 zarch_nohighgprs around the zarch optimized routines.
25418 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25419 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25420 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25421 for zarch.
25422
430d6ce6
DM
254232012-09-05 David S. Miller <davem@davemloft.net>
25424
25425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25426
57f41c40
AS
25427 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25428 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25429 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25430 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25431 entries.
25432
24d4e01b
AO
254332012-09-05 Alexandre Oliva <aoliva@redhat.com>
25434
25435 * malloc/arena.c: Fold copyright years.
25436 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25437
61d58174
AO
254382012-09-05 Alexandre Oliva <aoliva@redhat.com>
25439
25440 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25441
20196a5e
AO
254422012-09-05 Alexandre Oliva <aoliva@redhat.com>
25443
25444 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25445
5c447383
AO
254462012-09-05 Alexandre Oliva <aoliva@redhat.com>
25447
25448 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25449 change internal state upon failure.
25450
fad64255
AO
254512012-09-05 Alexandre Oliva <aoliva@redhat.com>
25452
25453 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25454 * malloc/memusage.c (mmap): Likewise.
25455 (mmap64, mremap): Likewise. Adjust name in comment.
25456
1ffb8c90
SP
254572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25458
25459 * libio/fileops.c: Fix typos in comments.
25460 * libio/oldfileops.c: Likewise.
25461 * libio/wfileops.c: Likewise.
25462
6ef9cc37
SP
254632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25464
25465 [BZ #1349]
25466 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25467 (tst-malloc-usable-ENV): Set environment for test case.
25468 * malloc/hooks.c (malloc_check_get_size): New function to get
25469 requested size.
25470 * malloc/malloc.c (musable): Use malloc_check_get_size.
25471 * malloc/tst-malloc-usable.c: New test case.
25472
4d038ae3
AS
254732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25474
25475 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25476
c4e85184
AM
254772012-09-05 Allan McRae <allan@archlinux.org>
25478
b9dafc56 25479 [BZ #13966]
c4e85184
AM
25480 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25481 determine header location.
25482 * configure: Regenerated.
25483
e1343020
AS
254842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25485
25486 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25487 float format.
25488 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25489 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25490 format.
e1343020
AS
25491 (test): Regenerate.
25492
0a9f1987
DM
254932012-09-04 David S. Miller <davem@davemloft.net>
25494
25495 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25496 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25498
29237804
FW
254992012-09-04 Florian Weimer <fweimer@redhat.com>
25500
25501 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25502 failures.
25503
edb3cb88
FW
25504 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25505
60160d83
JM
255062012-09-04 Joseph Myers <joseph@codesourcery.com>
25507
25508 [BZ #9914]
25509 * libio/iogetdelim.c: Include <limits.h>.
25510 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25511 + len + 1 would overflow.
25512
bcd6c8dc
AJ
255132012-09-03 Andreas Jaeger <aj@suse.de>
25514
25515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25516 * sysdeps/i386/fpu/libm-test-ulps: Update.
25517
4ffffbd2
LD
255182012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25519
25520 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25521 Add s_sinf-sse2, s_conf-sse2.
25522
25523 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25524 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25525 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25526 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25527
25528 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25529 for using routine as __sinf_ia32.
25530 Use macro for function declaration and weak_alias.
25531 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25532 for using routine as __cosf_ia32.
25533 Use macro for function declaration and weak_alias.
25534
25535 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25536 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25537
25538 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25539 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25541
25542 * math/libm-test.inc (cos_test): Add more test cases.
25543 (sin_test): Likewise.
25544 (sincos_test): Likewise.
25545
511fa286
AK
255462012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25547
25548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25549 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25550 hidden.
25551 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25552
5f30cfec
L
255532012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25554
25555 [BZ #14538]
25556 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25557 first element of the GOT.
25558 (elf_machine_load_address): Return the difference between
25559 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25560
0786794f
AM
255612012-09-01 Allan McRae <allan@archlinux.org>
25562
5f30cfec
L
25563 [BZ #13412]
25564 * configure.in (AWK): Require gawk version 3.0 or later.
25565 * configure: Regenerated.
0786794f 25566
26889eac
JM
255672012-09-01 Joseph Myers <joseph@codesourcery.com>
25568
25569 * sysdeps/unix/sysv/linux/kernel-features.h
25570 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25572 [__NR_clock_getres]: Make code unconditional.
25573 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25574 (clock_getcpuclockid): Remove code left unreachable by removal of
25575 conditionals.
25576 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25577 code unconditional.
25578 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25579 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25580 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25581 Make code unconditional.
25582 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25583 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25584 * sysdeps/unix/sysv/linux/clock_settime.c
25585 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25586 conditional code.
25587 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25588 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25589
d22e28b0
L
255902012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25591
25592 [BZ #14476]
25593 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25594 scripts/test-installation.pl.
25595
25596 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25597 and $ld_so_version if it is set.
25598
050af9c4
SP
255992012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25600
25601 [BZ #14516]
25602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25603 failure if reading from procfs failed.
25604 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25605
ad845c0b
JM
256062012-08-27 Joseph Myers <joseph@codesourcery.com>
25607
25608 * sysdeps/unix/sysv/linux/kernel-features.h
25609 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25610 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25611 Remove conditional code.
25612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25613 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25614 Remove conditional code.
25615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25616 * sysdeps/unix/sysv/linux/i386/fxstat.c
25617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25619 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25622 * sysdeps/unix/sysv/linux/i386/lxstat.c
25623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25625 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25626 Remove conditional code.
25627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25628 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25629 Remove conditional code.
25630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25631 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25632 <kernel-features.h>.
25633 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25634 Remove.
25635 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25636 Remove conditional code.
25637 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25638 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25639 Remove conditional.
25640
5dbf56af
MF
256412012-08-27 Mike Frysinger <vapier@gentoo.org>
25642
25643 [BZ #5400]
25644 * NEWS: Add fixed bug number.
25645
d6e70f43
JM
256462012-08-27 Joseph Myers <joseph@codesourcery.com>
25647
7efb4737
JM
25648 [BZ #14519]
25649 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25650 underflowing exponent in case of negative sign.
25651 * stdlib/tst-strtod-round-data: Add more tests.
25652 * stdlib/tst-strtod-round.c (tests): Regenerated.
25653
af92131a
JM
25654 [BZ #3479]
25655 * stdlib/strtod_l.c (NDIG): Remove.
25656 (HEXNDIG): Likewise.
25657 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25658 smallest representable value.
25659 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25660 lie within an exact representation of 1/2 ulp of the result.
25661 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25662 unconditionally.
25663 (TENS_P9_IDX): Define unconditionally.
25664 (TENS_P9_SIZE): Likewise.
25665 (TENS_P10_IDX): Likewise.
25666 (TENS_P10_SIZE): Likewise.
25667 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25668 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25669 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25670 entries for 10^2^13 and 10^2^14.
25671 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25672 (TENS_P13_IDX): Define.
25673 (TENS_P13_SIZE): Likewise.
25674 (TENS_P14_IDX): Likewise.
25675 (TENS_P14_SIZE): Likewise.
25676 (_fpioconst_pow10): Change array size to
25677 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25678 unconditional.
25679 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25680 1024]: Add entries for 10^2^13 and 10^2^14.
25681 [LAST_POW10 > _LAST_POW10]: Remove #error.
25682 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25683 (_fpioconst_pow10): Change array size to
25684 FPIOCONST_POW10_ARRAY_SIZE.
25685 * stdlib/gen-fpioconst.c: New file.
25686 * stdlib/gen-tst-strtod-round.c: Likewise.
25687 * stdlib/tst-strtod-round-data: Likewise.
25688 * stdlib/tst-strtod-round.c: Likewise.
25689 * stdlib/Makefile (tests): Add tst-strtod-round.
25690
d6e70f43
JM
25691 [BZ #14459]
25692 * stdlib/strtod_l.c: Include <stdint.h>.
25693 (NDEBUG): Do not define.
25694 (round_and_return): Change EXPONENT parameter to type intmax_t.
25695 Rearrange calculations to avoid internal overflow possibilities.
25696 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25697 Rearrange calculations to avoid internal overflow possibilities.
25698 Assert that number fits inside MPNSIZE limbs.
25699 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25700 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25701 calculations and add assertions to avoid internal overflow
25702 possibilities. Add casts to avoid signed/unsigned operations.
25703 * stdlib/tst-strtod-overflow.c: New file.
25704 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25705
1f529f7d
MP
257062012-08-25 Marek Polacek <polacek@redhat.com>
25707
25708 * time/time.h: Fix some typos in comments.
25709
59a629f1
RM
257102012-08-23 Roland McGrath <roland@hack.frob.com>
25711
25712 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25713 * posix/tst-rfc3484-2.c: Likewise.
25714 * posix/tst-rfc3484-3.c: Likewise.
25715
d3bafbc9
SM
257162012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25717
25718 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25719 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25720
4efcc022
JM
257212012-08-23 Joseph Myers <joseph@codesourcery.com>
25722
25723 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25724 #include of fxstatat64.c.
25725
3cc3ef96
RM
257262012-08-22 Roland McGrath <roland@hack.frob.com>
25727
f04e2132
RM
25728 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25729 * shadow/getspent_r.c: Likewise.
25730 * shadow/getspnam.c: Likewise.
25731 * shadow/getspnam_r.c: Likewise.
25732 * gshadow/getsgent.c: Likewise.
25733 * gshadow/getsgent_r.c: Likewise.
25734 * gshadow/getsgnam.c: Likewise.
25735 * gshadow/getsgnam_r.c: Likewise.
25736 * inet/getnetbyad.c: Likewise.
25737 * inet/getnetbyad_r.c: Likewise.
25738 * inet/getnetbynm.c: Likewise.
25739 * inet/getnetbynm_r.c: Likewise.
25740 * inet/getnetent.c: Likewise.
25741 * inet/getnetent_r.c: Likewise.
25742 * inet/getproto.c: Likewise.
25743 * inet/getproto_r.c: Likewise.
25744 * inet/getprtent.c: Likewise.
25745 * inet/getprtent_r.c: Likewise.
25746 * inet/getprtname.c: Likewise.
25747 * inet/getprtname_r.c: Likewise.
25748 * inet/getrpcbyname.c: Likewise.
25749 * inet/getrpcbyname_r.c: Likewise.
25750 * inet/getrpcbynumber.c: Likewise.
25751 * inet/getrpcbynumber_r.c: Likewise.
25752 * inet/getrpcent.c: Likewise.
25753 * inet/getrpcent_r.c: Likewise.
25754 * inet/getaliasent.c: Likewise.
25755 * inet/getaliasent_r.c: Likewise.
25756 * inet/getaliasname.c: Likewise.
25757 * inet/getaliasname_r.c: Likewise.
25758 * nscd/getgrgid_r.c: Likewise.
25759 * nscd/getgrnam_r.c: Likewise.
25760 * nscd/gethstbyad_r.c: Likewise.
25761 * nscd/gethstbynm3_r.c: Likewise.
25762 * nscd/getpwnam_r.c: Likewise.
25763 * nscd/getpwuid_r.c: Likewise.
25764 * nscd/getsrvbynm_r.c: Likewise.
25765 * nscd/getsrvbypt_r.c: Likewise.
25766 * nscd/gai.c: Likewise.
25767
c53d909c
RM
25768 * configure.in (build_nscd): New substituted variable, set
25769 by --disable-build-nscd and defaults to $use_nscd.
25770 * configure: Regenerated.
25771 * config.make.in (build-nscd): New substituted variable.
25772 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25773 Change conditional to require [$(build-nscd) = yes] as well.
25774 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25775
3cc3ef96
RM
25776 [BZ# 13696]
25777 * configure.in (use_nscd): New substituted variable, set by
25778 --disable-nscd. If enabled, define USE_NSCD.
25779 * configure: Regenerated.
25780 * config.h.in: Add USE_NSCD.
25781 * config.make.in (use-nscd): New substituted variable.
25782 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25783 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25784 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25785 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25786 (CFLAGS-getgrnam_r.c): Likewise.
25787 (CFLAGS-initgroups.c): Likewise.
25788 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25789 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25790 Variables removed.
25791 * inet/getnetgrent_r.c
25792 (nscd_setnetgrent): New function, broken out of ...
25793 (setnetgrent): ... here. Call it.
25794 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25795 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25796 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25797 * nscd/Makefile (routines, aux): Move definitions after include of
25798 Makeconfig. Conditionalize on [$(use-nscd) != no].
25799 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25800 Conditionalize on [USE_NSCD].
25801 (is_nscd, nscd_init_cb): Likewise.
25802 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25803 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25804 * nss/nss_db/db-init.c: Likewise.
25805 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25806 [USE_NSCD].
25807 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25808 (make_request): Use it.
25809 (cache_valid_p): New function.
25810 (__check_pf): Use it.
25811 * NEWS: Add item for --disable-nscd.
25812
07e51550
DL
258132012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25814
25815 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25816 to support sed >= 4.2.1-20-ga9bf076.
25817 * configure: Regenerated.
25818
35a5b08b
RM
258192012-08-22 Roland McGrath <roland@hack.frob.com>
25820
25821 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25822 Conditionalize whole body on [IREL].
25823
8479f23a
JL
258242012-08-22 Jeff Law <law@redhat.com>
25825
25826 [BZ #14505]
25827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25828 if the family is PF_UNSPEC.
25829
48da0b21
MF
258302012-08-22 Mike Frysinger <vapier@gentoo.org>
25831
25832 * Makerules (lib-version): Rename from V.
25833 (install-lib-nosubdir): Change V to lib-version.
25834
15d0da8c
WS
258352012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25836
25837 [BZ #14252]
25838 * powerpc32/power6/wcschr.c: New file.
25839 * powerpc32/power6/wcscpy.c: New file.
25840 * powerpc32/power6/wcsrchr.c: New file.
25841 * powerpc64/power6/wcschr.c: New file.
25842 * powerpc64/power6/wcscpy.c: New file.
25843 * powerpc64/power6/wcsrchr.c: New file.
25844
bcca0895
MK
258452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25846
25847 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25848 (two_way_short_needle): Use it.
5a4aaa33
RM
25849 * string/strstr.c (AVAILABLE1_USES_J): Define.
25850 * string/strcasestr.c: Likewise.
99677e57
MK
25851
25852 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25853 array references.
25854 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25855
400726de
MK
25856 [BZ #11607]
25857 * NEWS: Add an entry.
25858 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25859 define their defaults.
25860 (two_way_short_needle): Detect end-of-string on-the-fly.
25861 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25862 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25863 * string/bug-strcasestr1.c: New test.
25864 * string/Makefile: Run it.
25865
20a71f2c
MK
258662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25867
25868 [BZ #11607]
25869 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25870 the first character.
25871
21ad0558
RM
258722012-08-21 Roland McGrath <roland@hack.frob.com>
25873
25874 * csu/elf-init.c (__libc_csu_irel): Function removed.
25875 * csu/libc-start.c (apply_irel): New function.
25876 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25877
0e1d9911
JM
258782012-08-21 Joseph Myers <joseph@codesourcery.com>
25879
25880 * sysdeps/unix/sysv/linux/kernel-features.h
25881 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25882 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25883 <kernel-features.h>.
25884 [__NR_fadvise64_64]: Make code unconditional.
25885 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25886 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25887 !__NR_fadvise64_64)]: Likewise.
25888 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25889 !__NR_fadvise64_64))]: Likewise.
25890 [__NR_fadvise64]: Make code unconditional.
25891 [!__NR_fadvise64]: Remove conditional code.
25892 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25893 <kernel-features.h>.
25894 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25895 unconditional.
25896 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25897 conditional code.
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25899 not include <kernel-features.h>.
25900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25901 unconditional.
25902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25903 conditional code.
25904 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25905 include <kernel-features.h>.
25906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25907 unconditional.
25908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25909 conditional code.
25910
14a50c9d
WS
259112012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25912
25913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25914 slight instruction rearrangements per scrollpipe analysis.
25915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25916
c0f4faf0
RM
259172012-08-20 Roland McGrath <roland@hack.frob.com>
25918
696da859
RM
25919 * manual/syslog.texi (syslog; vsyslog, closelog):
25920 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25921 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25922
c0f4faf0
RM
25923 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25924 DSOCAPS to match condition on defining it.
25925
348363b2
JM
259262012-08-20 Joseph Myers <joseph@codesourcery.com>
25927
a35cbf28
JM
25928 * sysdeps/unix/sysv/linux/kernel-features.h
25929 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25939
445f7ecd
JM
25940 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25941 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25942
348363b2
JM
25943 * sysdeps/unix/sysv/linux/kernel-features.h
25944 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25945 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25946 unconditional.
25947 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25948 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25949 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25950 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25951 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25952 Make code unconditional.
25953 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25954 (__mmap64) [!__NR_mmap2]: Likewise.
25955 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25956 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25957 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25959 [__NR_mmap2]: Make code unconditional.
25960 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25961 (__mmap64) [!__NR_mmap2]: Likewise.
25962
bc5bc0e5
AK
259632012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25964
25965 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25966
88d506de
AJ
259672012-08-18 Andreas Jaeger <aj@suse.de>
25968
25969 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25970
493387d2
MF
259712012-08-18 Mike Frysinger <vapier@gentoo.org>
25972
25973 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25974 * include/unistd.h (__have_sock_cloexec): Likewise.
25975 (__have_pipe2): Likewise.
25976 (__have_dup3): Likewise.
25977
a277af22
MF
259782012-08-18 Mike Frysinger <vapier@gentoo.org>
25979
25980 [BZ #9685]
25981 * include/unistd.h (__have_pipe2): Change define into an extern int.
25982 (__have_dup3): Likewise.
25983 * socket/have_sock_cloexec.c: Include fcntl.h.
25984 (__have_pipe2): New variable.
25985 (__have_dup3): Likewise.
25986
fdab8fd3
MF
259872012-08-17 Mike Frysinger <vapier@gentoo.org>
25988
25989 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25990
31035e80
MP
259912012-08-17 Marek Polacek <polacek@redhat.com>
25992
25993 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25994 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25995
3bd9e993
RM
259962012-08-17 Roland McGrath <roland@hack.frob.com>
25997
c91c505f
RM
25998 * configure.in: Add AC_SUBST for sysheaders.
25999 * configure: Regenerated.
26000 * config.make.in (sysheaders): New substituted variable.
26001
7c6f9d53
RM
26002 * sysdeps/unix/mkfifo.c: Moved ...
26003 * sysdeps/posix/mkfifo.c: ... here.
26004 * sysdeps/unix/mkfifoat.c: Moved ...
26005 * sysdeps/posix/mkfifoat.c: ... here.
26006
26007 * sysdeps/unix/utime.c: Moved ...
26008 * sysdeps/posix/utime.c: ... here.
26009
26010 * sysdeps/unix/time.c: Moved ...
26011 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26012 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26013 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26014
26015 * sysdeps/unix/nice.c: Moved ...
26016 * sysdeps/posix/nice.c: ... here.
26017
26018 * sysdeps/unix/alarm.c: Moved ...
26019 * sysdeps/posix/alarm.c: ... here.
26020
3bd9e993
RM
26021 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26022
d1f09384
JL
260232012-08-17 Jeff Law <law@redhat.com>
26024
26025 * intl/Makefile (codeset_mo): New variable.
26026 ($(codeset_mo)): New target.
26027 (tst-codeset.out): Depend on that. Remove explicit rule.
26028 (tst-gettext3.out, tst-gettext5.out): Likewise.
26029 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26030 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26031 * intl/tst-codeset.sh: Remove.
26032 * intl/tst-gettext3.sh: Likewise.
26033 * intl/tst-gettext5.sh: Likewise.
26034
2ae1ae5c
RM
260352012-08-17 Roland McGrath <roland@hack.frob.com>
26036
c31fdb83
RM
26037 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26038 * sysdeps/unix/syscalls.list: ... here.
26039
a0844057
RM
26040 * sysdeps/posix/getaddrinfo.c
26041 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26042 (gaiconf_init, gaiconf_reload): Use them.
26043 [!_STATBUF_ST_NSEC]
26044 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26045 Define using time_t rather than struct timespec.
26046
750c1f2a
RM
26047 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26048 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26049 Macros removed.
26050 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26051 [!NO_THREADS].
26052 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26053 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26054 Likewise.
26055
2ae1ae5c
RM
26056 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26057 __libc_cleanup_push argument.
26058
e66a42f5
RM
26059 * bits/param.h: New file.
26060 * misc/sys/param.h: New file.
26061 * include/sys/param.h: New file.
26062 * misc/Makefile (headers): Add bits/param.h.
26063 * sysdeps/generic/sys/param.h: File removed.
26064 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26065 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26066 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26067 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26068
b7c08a66
RM
26069 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26070 last change.
26071
b2e1c562
RM
26072 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26073 [_IO_MTSAFE_IO].
26074 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26075 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26076 New macros.
26077
c75ccd4c
RM
26078 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26079 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26080 rather than -D_IO_MTSAFE_IO conditionally.
26081 * stdio-common/Makefile (CPPFLAGS): Likewise.
26082 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26083 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26084 Use $(libio-mtsafe).
26085 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26086 of -D_IO_MTSAFE_IO.
26087 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26088 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26089 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26090 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26091 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26092 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26093 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26094 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26095 (CFLAGS-fread_u_chk.c): Likewise.
26096 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26097 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26098 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26099 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26100 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26101 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26102 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26103 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26104 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26105
26106 * libio/Makefile: Test [$(libc-reentrant) = yes]
26107 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26108
26109 * Makeconfig
26110 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26111 * sysdeps/pthread/configure: File removed.
26112 * sysdeps/pthread/Makeconfig: New file.
26113 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26114 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26115
d9195db8
GB
261162012-08-16 Gary Benson <gbenson@redhat.com>
26117
26118 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26119 unmapping the first object in a namespace.
26120
86466cd9
RM
261212012-08-16 Roland McGrath <roland@hack.frob.com>
26122
26123 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26124 (__internal_setnetgrent): ... this. Add internal_function to
26125 definition. Add libc_hidden_def.
26126 (setnetgrent): Update caller.
26127 (internal_endnetgrent): Renamed to ...
26128 (__internal_endnetgrent): ... this. Add internal_function to
26129 definition. Add libc_hidden_def.
26130 (endnetgrent): Update caller.
26131 (internal_getnetgrent_r): Renamed to ...
26132 (__internal_getnetgrent_r): ... this. Add internal_function to
26133 definition. Add libc_hidden_def.
26134 (__getnetgrent_r): Update caller.
26135 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26136
c3c8283c
JM
261372012-08-16 Joseph Myers <joseph@codesourcery.com>
26138
26139 * stdlib/longlong.h: Update from GCC.
26140
db1ee0a8
RM
261412012-08-16 Roland McGrath <roland@hack.frob.com>
26142
26143 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26144 on _QL, which is set by umul_ppmm but never used.
26145 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26146 variables, which are set by GMP macros but never used.
26147 * stdio-common/_itowa.c (_itowa): Likewise.
26148 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26149 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26150
30f69637
CD
261512012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26152
26153 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26154 struct La_sh_regs is not constant.
26155 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26156 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26157 and struct La_sparc64_regs are not constant.
26158
93a78ac4
JM
261592012-08-16 Joseph Myers <joseph@codesourcery.com>
26160
26161 * sysdeps/unix/sysv/linux/kernel-features.h
26162 (__ASSUME_POSIX_TIMERS): Remove.
26163 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26165 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26166 Make code unconditional.
26167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26168 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26169 Make code unconditional.
26170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26171 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26172 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26174 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26175 Make code unconditional.
26176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26177 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26178 (__libc_missing_posix_timers): Remove.
26179
dd924cd7
RM
261802012-08-15 Roland McGrath <roland@hack.frob.com>
26181
4b4f2771
RM
26182 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26183 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26184
601c888b
RM
26185 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26186
176790a7
RM
26187 * elf/dl-sym.c: Include <stdlib.h>.
26188
329bc018
RM
26189 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26190 constants, which avoids warnings in 32-bit builds.
26191
e04e272d
RM
26192 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26193 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26194
952bf94a
RM
26195 * misc/lseek.c: File moved to ...
26196 * io/lseek.c: ... here.
26197
7c99b50a
RM
26198 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26199
dd924cd7
RM
26200 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26201 shifting LEN more than 31 bits at once.
26202
b3f479a8
LD
262032012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26204
26205 [BZ #14195]
8c4ae0d4
RM
26206 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26207 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26208 * string/test-strncasecmp.c (check1): Renamed to...
26209 (bz12205): ...this.
26210 (bz14195): Add new testcase for two empty input strings and N > 0.
26211 (test_main): Call new testcase, adapt for renamed function.
26212
9c55864e
AJ
262132012-08-15 Andreas Jaeger <aj@suse.de>
26214
26215 [BZ #14090]
26216 * crypt/md5test2.c: New test, based on test supplied by Serge
26217 Belyshev <belyshev@depni.sinp.msu.ru>.
26218 * crypt/Makefile (xtests): Add md5test-giant..
26219 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26220
02dcb6c5
PE
262212012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26222
26223 [BZ #14090]
26224 * crypt/md5.c (md5_process_block): Don't assume the buffer
26225 length is less than 2**32.
26226 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26227 length is less than 2**64.
26228
a3f95dcc
RM
262292012-08-15 Roland McGrath <roland@hack.frob.com>
26230
be75d758
RM
26231 * string/str-two-way.h: Include <sys/param.h>.
26232 (MAX): Macro removed.
26233
7312ca90
RM
26234 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26235 Move #define and #undef of memmove to just before and after
26236 including <string.h>.
26237
9a0a5486
RM
26238 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26239 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26240 and after including <string.h>. Move declarations of
26241 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26242 to before #include "string/memmove.c".
26243
67cc348d
RM
26244 * include/dirent.h: Declare __getdirentries.
26245
a3f95dcc
RM
26246 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26247 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26248
ca98e171
MF
262492012-08-14 Mike Frysinger <vapier@gentoo.org>
26250
26251 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26252 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26253 * sysdeps/i386/configure: Regenerated.
26254 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26255 STABS_CURRENT_FILE, and STABS_FUN.
26256 (END): Remove call to STABS_FUN_END.
26257 (STABS_CURRENT_FILE1): Delete.
26258 (STABS_CURRENT_FILE): Likewise.
26259 (STABS_FUN): Likewise.
26260 (STABS_FUN_END): Likewise.
26261 (STABS_FUN2): Likewise.
26262 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26263 * sysdeps/x86_64/configure: Regenerated.
26264
5908bf46
RM
262652012-08-14 Roland McGrath <roland@hack.frob.com>
26266
26267 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26268 * elf/dl-lookup.c: Likewise.
5908bf46 26269
f2c05b9e
JM
262702012-08-14 Joseph Myers <joseph@codesourcery.com>
26271
26272 * sysdeps/unix/sysv/linux/kernel-features.h
26273 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26274 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26275 unconditionally.
26276 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26277 unconditionally.
26278 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26279 condition on __ASSUME_CLONE_THREAD_FLAGS.
26280
e11f5155
AJ
262812012-08-14 Andreas Jaeger <aj@suse.de>
26282
26283 * sysdeps/i386/fpu/libm-test-ulps: Update.
26284
51a9ba86
MK
262852012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26286
2fdd4f78
AJ
26287 * include/atomic.h (atomic_exchange_and_add): Split into ...
26288 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26289 New atomic macros.
51a9ba86 26290
ba6cba9e
MT
262912012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26292
26293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26294
42443a47
JL
262952012-08-13 Jeff Law <law@redhat.com>
26296
26297 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26298 null byte in the output string.
26299
121dce05
JM
263002012-08-10 Joseph Myers <joseph@codesourcery.com>
26301
26302 * sysdeps/unix/sysv/linux/kernel-features.h
26303 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26304 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26305 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26306 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26307 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26308 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26309 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26310
bf51f568
JL
263112012-08-09 Jeff Law <law@redhat.com>
26312
26313 [BZ #13939]
26314 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26315 When avoid_arena is set, don't retry in the that arena. Pick the
26316 next one, whatever it might be.
26317 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26318 (arena_lock): Pass in new parameter to arena_get2.
26319 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26320 arena_get2.
26321 (__libc_malloc): Unify retrying after main arena failure with
26322 __libc_memalign version.
26323 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26324
f85fa270
L
263252012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26326
26327 [BZ #14166]
26328 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26329 to __redirect_strstr.
26330 (__strstr_sse42): Use typeof __redirect_strstr.
26331 (__strstr_ia32): Likewise.
26332 (__libc_strstr): New prototype.
26333 (strstr): Renamed to ...
26334 (__libc_strstr): This.
26335 (strstr): New strong alias of __libc_strstr.
26336 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26337 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26338 __redirect_time.
26339 Include <time.h>.
26340 (__libc_time): New prototype.
26341 (time_ifunc): Replace time with __libc_time.
26342 (time): New strong alias and hidden definition of __libc_time.
26343 (__GI_time): Remove strong alias.
26344 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26345 Include <stddef.h>.
26346 (memmove): Redefined to __redirect_memmove.
26347 (__memmove_sse2): Use typeof __redirect_memmove.
26348 (__memmove_ssse3): Likewise.
26349 (__memmove_ssse3_back): Likewise.
26350 (__libc_memmove): New prototype.
26351 (memmove): Renamed to ...
26352 (__libc_memmove): This.
26353 (memmove): New strong alias of __libc_memmove.
26354
33b4a91e
MS
263552012-08-08 Mark Salter <msalter@redhat.com>
26356
26357 * elf/elf.h
26358 (R_MN10300_TLS_GD): Define.
26359 (R_MN10300_TLS_LD): Likewise.
26360 (R_MN10300_TLS_LDO): Likewise.
26361 (R_MN10300_TLS_GOTIE): Likewise.
26362 (R_MN10300_TLS_IE): Likewise.
26363 (R_MN10300_TLS_LE): Likewise.
26364 (R_MN10300_TLS_DTPMOD): Likewise.
26365 (R_MN10300_TLS_DTPOFF): Likewise.
26366 (R_MN10300_TLS_TPOFF): Likewise.
26367 (R_MN10300_SYM_DIFF): Likewise.
26368 (R_MN10300_ALIGN): Likewise.
26369 (R_MN10300_NUM): Update.
26370
b36137f1
JM
263712012-08-08 Joseph Myers <joseph@codesourcery.com>
26372
26373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26374 Remove.
26375
cdd915fd
RM
263762012-08-08 Roland McGrath <roland@hack.frob.com>
26377
a2433aac
RM
26378 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26379
cdd915fd
RM
26380 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26381 sysdeps/unix -> sysdeps/posix move.
26382 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26383
bf9b740a
AM
263842012-08-07 Allan McRae <allan@archlinux.org>
26385
26386 [BZ #14303]
26387 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26388 (SUNOS_CPP): Likewise.
26389 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26390 not found.
26391 (open_input): Call CPP using execvp.
26392
93df14ee
JM
263932012-08-07 Joseph Myers <joseph@codesourcery.com>
26394
26395 * sysdeps/unix/sysv/linux/kernel-features.h
26396 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26397 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26398 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26399 (__ASSUME_WAITID_SYSCALL): Likewise.
26400 * sysdeps/unix/sysv/linux/dl-execstack.c
26401 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26402 code unconditional.
26403 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26404 conditional code.
26405 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26406 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26407 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26408 code.
26409 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26410 unconditional.
26411 [__ASSUME_WAITID_SYSCALL]: Likewise.
26412 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26413
d34689de
RM
264142012-08-07 Roland McGrath <roland@hack.frob.com>
26415
a281decc
RM
26416 * sysdeps/unix/closedir.c: Renamed to ...
26417 * sysdeps/posix/closedir.c: ... here.
26418 * sysdeps/unix/dirfd.c: Renamed to ...
26419 * sysdeps/posix/dirfd.c: ... here.
26420 * sysdeps/unix/dirstream.h: Renamed to ...
26421 * sysdeps/posix/dirstream.h: ... here.
26422 * sysdeps/unix/fdopendir.c: Renamed to ...
26423 * sysdeps/posix/fdopendir.c: ... here.
26424 * sysdeps/unix/opendir.c: Renamed to ...
26425 * sysdeps/posix/opendir.c: ... here.
26426 * sysdeps/unix/readdir.c: Renamed to ...
26427 * sysdeps/posix/readdir.c: ... here.
26428 * sysdeps/unix/readdir_r.c: Renamed to ...
26429 * sysdeps/posix/readdir_r.c: ... here.
26430 * sysdeps/unix/rewinddir.c: Renamed to ...
26431 * sysdeps/posix/rewinddir.c: ... here.
26432 * sysdeps/unix/seekdir.c: Renamed to ...
26433 * sysdeps/posix/seekdir.c: ... here.
26434 * sysdeps/unix/telldir.c: Renamed to ...
26435 * sysdeps/posix/telldir.c: ... here.
26436 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26437 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26438 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26439 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26440
22895b47
RM
26441 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26442 * bits/fcntl.h: ... here.
26443
707a53b6
RM
26444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26445 not 0.
26446 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26447 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26448 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26449 (struct flock): Move l_start, l_len to the beginning.
26450 Use __pid_t for l_pid.
26451 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26452 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26453 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26454 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26455 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26456 [__USE_LARGEFILE64] (struct flock64): New type.
26457 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26458
f0bd3e25
RM
26459 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26460 * bits/dirent.h: ... here.
26461
d34689de
RM
26462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26463 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26464
6dad2c06
JM
264652012-08-07 Joseph Myers <joseph@codesourcery.com>
26466
26467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26468 Change from 2.6.0 to 2.6.16.
26469 * sysdeps/unix/sysv/linux/configure: Regenerated.
26470 * sysdeps/unix/sysv/linux/kernel-features.h
26471 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26472 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26473 version.
26474 (__ASSUME_UTIMES): Likewise.
26475 (__ASSUME_CLONE_STOPPED): Remove.
26476 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26477 architectures, not kernel version.
26478 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26479 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26480 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26481 (__ASSUME_WAITID_SYSCALL): Likewise.
26482 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26483 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26484 * README: State 2.6.16 as minimum Linux kernel version. Do not
26485 refer to older versions.
26486
03af9520
RM
264872012-08-06 Roland McGrath <roland@hack.frob.com>
26488
8e49df1d
RM
26489 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26490 Define alphasort64 as an alias.
26491 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26492 Define versionsort64 as an alias.
26493 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26494 Define scandir64 as an alias.
26495 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26496 Define scandirat64 as an alias.
26497 * dirent/alphasort64.c (alphasort64):
26498 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26499 * dirent/versionsort64.c: Likewise.
26500 * dirent/scandir64.c: Likewise.
26501 * dirent/scandirat64.c: Likewise.
26502 * sysdeps/wordsize-64/alphasort.c: File removed.
26503 * sysdeps/wordsize-64/alphasort64.c: File removed.
26504 * sysdeps/wordsize-64/scandir.c: File removed.
26505 * sysdeps/wordsize-64/scandir64.c: File removed.
26506 * sysdeps/wordsize-64/scandirat.c: File removed.
26507 * sysdeps/wordsize-64/scandirat64.c: File removed.
26508 * sysdeps/wordsize-64/versionsort.c: File removed.
26509 * sysdeps/wordsize-64/versionsort64.c: File removed.
26510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26512 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26514 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26518
26519 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26521 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26523 [defined __arch64__ || defined __sparcv9]
26524 (__INO_T_MATCHES_INO64_T): New macro.
26525 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26526 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26527 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26528 * sysdeps/unix/sysv/linux/bits/dirent.h
26529 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26530 (_DIRENT_MATCHES_DIRENT64): New macro.
26531
03af9520
RM
26532 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26533 Define lockf64 as an alias.
26534 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26535 Define fseeko64 as an alias.
26536 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26537 Define ftello64 as an alias.
26538 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26539 Define _IO_fgetpos64 and fgetpos64 as aliases.
26540 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26541 Define _IO_fsetpos64 and fsetpos64 as aliases.
26542 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26543 Conditionalize body on this.
26544 * libio/fseeko64.c: Likewise.
26545 * libio/ftello64.c: Likewise.
26546 * libio/iofgetpos64.c: Likewise.
26547 * libio/iofsetpos64.c: Likewise.
26548 * sysdeps/wordsize-64/lockf.c: File removed.
26549 * sysdeps/wordsize-64/lockf64.c: File removed.
26550 * sysdeps/wordsize-64/fseeko.c: File removed.
26551 * sysdeps/wordsize-64/fseeko64.c: File removed.
26552 * sysdeps/wordsize-64/ftello.c: File removed.
26553 * sysdeps/wordsize-64/ftello64.c: File removed.
26554 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26555 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26556 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26557 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26568
26569 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26571 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26573 [defined __arch64__ || defined __sparcv9]
26574 (__OFF_T_MATCHES_OFF64_T): New macro.
26575 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26576 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26577 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26578 (__OFF_T_MATCHES_OFF64_T): New macro.
26579
c5757acd
L
265802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26581
26582 * stdlib/secure-getenv.c (__secure_getenv): Replace
26583 GLIBC_2_16 with GLIBC_2_17.
26584
3a31811e
L
265852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26586
26587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26589
faa2bccb
DM
265902012-08-03 David S. Miller <davem@davemloft.net>
26591
26592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26593
85fe1997
JM
265942012-08-03 Joseph Myers <joseph@codesourcery.com>
26595
26596 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26597 Remove.
26598 (__ASSUME_CORRECT_SI_PID): Likewise.
26599 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26600 (__ASSUME_TMPFS_NAME): Likewise.
26601 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26602 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26603 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26604 (HAVE_AUX_SECURE): Make definition unconditional.
26605 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26606 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26607
4f75b7a0
RM
266082012-08-03 Roland McGrath <roland@hack.frob.com>
26609
26610 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26611 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26612 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26613 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26614 __eloop_threshold instead of SYMLOOP_MAX.
26615
26616 * sysdeps/generic/eloop-threshold.h: New file.
26617 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26618 of MAXSYMLINKS.
26619 * elf/chroot_canon.c (chroot_canon): Likewise.
26620
7aab07e4
JM
266212012-08-03 Joseph Myers <joseph@codesourcery.com>
26622
26623 [BZ #13717]
26624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26625 Change to 2.6.0 everywhere.
26626 * sysdeps/unix/sysv/linux/configure: Regenerated.
26627 * sysdeps/unix/sysv/linux/kernel-features.h
26628 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26629 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26630 kernel versions.
26631 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26632 (__ASSUME_FUTEX_REQUEUE): Remove.
26633 (__ASSUME_STATFS64): Define unconditionally.
26634 (__ASSUME_AT_SECURE): Likewise.
26635 (__ASSUME_CORRECT_SI_PID): Likewise.
26636 (__ASSUME_TGKILL): Define without depending on kernel version for
26637 i386.
26638 (__ASSUME_UTIMES): Likewise.
26639 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26640 kernel version.
26641 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26642 (__ASSUME_TMPFS_NAME): Likewise.
26643 * README: Update reference to Linux kernel versions.
26644
b67e9372
MP
266452012-08-02 Marek Polacek <polacek@redhat.com>
26646
1f529f7d 26647 [BZ# 14150]
b67e9372
MP
26648 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26649 libc_cv_asm_type_prefix with %.
26650 * configure: Regenerated.
d2441631
RM
26651 * include/libc-symbols.h: Remove comment about
26652 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26653 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26654 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26655 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26656 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26657 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26658 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26660 * elf/tst-unique2mod1.c: Likewise.
26661 * elf/tst-unique1mod2.c: Likewise.
26662 * elf/tst-unique1mod1.c: Likewise.
26663 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26664 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26665 Replace ASM_TYPE_DIRECTIVE with .type.
26666 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26667 * sysdeps/i386/sysdep.h: Likewise.
26668 * sysdeps/x86_64/sysdep.h: Likewise.
26669 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26671 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26672 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26673 * sysdeps/powerpc/powerpc32/sysdep.h:
26674 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26675 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26677 * sysdeps/i386/fpu/e_powf.S: Likewise.
26678 * sysdeps/i386/fpu/e_expl.S: Likewise.
26679 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26681 * sysdeps/i386/fpu/e_pow.S: Likewise.
26682 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26683 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26684 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26685 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26686 * sysdeps/i386/fpu/e_log2.S: Likewise.
26687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26688 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26689 * sysdeps/i386/fpu/e_powl.S: Likewise.
26690 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26691 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26692 * sysdeps/i386/fpu/e_logl.S: Likewise.
26693 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26694 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26695 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26696 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26697 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26698 * sysdeps/i386/fpu/e_log.S: Likewise.
26699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26700 * sysdeps/i386/fpu/e_logf.S: Likewise.
26701 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26702 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26703 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26704 * sysdeps/i386/fpu/e_log10.S: Likewise.
26705 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26706 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26707 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26708 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26709 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26710 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26711 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26712 * sysdeps/i386/i686/strtok.S: Likewise.
26713 * sysdeps/i386/i386-mcount.S: Likewise.
26714 * sysdeps/i386/strtok.S: Likewise.
26715 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26716 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26717 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26718 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26719 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26724 * sysdeps/x86_64/_mcount.S: Likewise.
26725 * sysdeps/x86_64/strtok.S: Likewise.
26726 * sysdeps/sh/_mcount.S: Likewise.
26727
2747bf9a
RM
267282012-08-01 Roland McGrath <roland@hack.frob.com>
26729
26730 * libio/iofopen.c: Include <fcntl.h>.
26731 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26732 (_IO_fopen64, fopen64): Define as aliases.
26733 * libio/iofopen64.c: Include <fcntl.h>.
26734 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26735 Conditionalize body on this.
26736 * sysdeps/wordsize-64/iofopen.c: File removed.
26737 * sysdeps/wordsize-64/iofopen64.c: File removed.
26738
3fb791b8
MP
267392012-08-01 Marek Polacek <polacek@redhat.com>
26740
26741 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26742 Use dlfcn directly instead of a variable.
26743 (binfmt-subdir): Do not define.
26744 (dlfcn): Likewise.
26745
a9f1039f
JM
267462012-08-01 Joseph Myers <joseph@codesourcery.com>
26747
23bddc06
JM
26748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26749 Remove all definitions.
26750 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26751 <kernel-features.h>.
26752 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26753 (miss_F_GETOWN_EX): Remove all definitions.
26754 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26755 macro definition.
26756 [!__ASSUME_FCNTL64]: Remove conditional code.
26757 [__ASSUME_FCNTL64]: Make code unconditional.
26758 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26759 <kernel-features.h>.
26760 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26761 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26762 (lockf64) [__NR_fcntl64]: Make code unconditional.
26763 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26764
a9f1039f
JM
26765 * sysdeps/unix/sysv/linux/kernel-features.h
26766 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26767 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26768 Make code unconditional.
26769 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26770 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26772 [__NR_vfork]: Make code unconditional.
26773 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26774 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26776 [__NR_vfork]: Make code unconditional.
26777 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26778 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26779
09c0ee5f
RM
267802012-08-01 Roland McGrath <roland@hack.frob.com>
26781
48aec5b9
RM
26782 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26783 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26784
cd97c966
RM
26785 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26786 Define mkstemp64 as an alias.
3f55550c
RM
26787 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26788 Define mkstemps64 as an alias.
cd97c966
RM
26789 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26790 Define mkostemp64 as an alias.
b8625cfc
RM
26791 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26792 Define mkostemps64 as an alias.
cd97c966
RM
26793 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26794 Conditionalize body on this.
26795 * misc/mkostemp64.c: Likewise.
b8625cfc 26796 * misc/mkostemps64.c: Likewise.
3f55550c 26797 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26798 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26799 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26800 * sysdeps/wordsize-64/mkostemp.c: File removed.
26801 * sysdeps/wordsize-64/mkstemp.c: File removed.
26802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26806
09c0ee5f
RM
26807 [BZ #14138]
26808 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26809 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26810 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26811 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26812
26813 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26814 compat_symbol macros from <shlib-compat.h> rather than the underlying
26815 default_symbol_version and symbol_version macros, so that DEFAULT
26816 lines in shlib-versions are respected.
26817 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26818
7e66ee51
FW
268192012-08-01 Florian Weimer <fweimer@redhat.com>
26820
26821 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26822 Declare with warn_unused_result.
26823 (setgid, setregid, setegid, setresgid): Likewise.
26824 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26825 Likewise.
26826 * WUR-REPORT: Remove set*id functions.
26827
d2a54255
PT
268282012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26829
26830 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26831
7ecdb005
RM
268322012-07-31 Roland McGrath <roland@hack.frob.com>
26833
b4180a5e 26834 [BZ #10191]
789bd351
RM
26835 * include/sys/socket.h (__libc_accept, __libc_accept4):
26836 Add attribute_hidden.
26837 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26838
40ce302d
RM
26839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26840 use of PTR_MANGLE.
26841 * inet/getnetgrent_r.c (setup): Likewise.
26842
7ecdb005
RM
26843 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26844
e2eabb2c
DM
268452012-07-31 David S. Miller <davem@davemloft.net>
26846
26847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26848
d0419dbf
JM
268492012-07-31 Joseph Myers <joseph@codesourcery.com>
26850
26851 [BZ #13629]
26852 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26853 value between 1.0 and 2.0 and smaller part has absolute value less
26854 than 1.0.
26855 * math/s_clog10.c (__clog10): Likewise.
26856 * math/s_clog10f.c (__clog10f): Likewise.
26857 * math/s_clog10l.c (__clog10l): Likewise.
26858 * math/s_clogf.c (__clogf): Likewise.
26859 * math/s_clogl.c (__clogl): Likewise.
26860 * math/libm-test.inc (clog_test): Add more tests.
26861 (clog10_test): Likewise.
26862 * sysdeps/i386/fpu/libm-test-ulps: Update.
26863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26864
2bc13872
FW
268652012-07-31 Florian Weimer <fweimer@redhat.com>
26866
26867 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26868 Exit with zero in case no suitable GID is found, and write a
26869 message to standard error.
26870
bea9b193
RM
268712012-07-30 Roland McGrath <roland@hack.frob.com>
26872
26873 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26874 rather than to 1.
26875 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26876 (MAXPATHLEN): Removed.
26877 (NOGROUP, NODEV): New macros.
26878 (setbit, clrbit, isset, isclr): New macros.
26879 (howmany, roundup, powerof2): New macros.
26880 (DEV_BSIZE): New macro.
26881
26882 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26883 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26884
26885 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26886 definition on [!__NO_LONG_DOUBLE_MATH].
26887
26888 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26889 PTR_MANGLE and PTR_DEMANGLE.
26890
26891 * socket/accept4.c (accept4): Rename to __libc_accept4.
26892 Define accept4 as a weak alias.
26893
26894 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26895 on [_DIRENT_HAVE_D_TYPE].
26896 * io/ftw.c (ftw_dir): Likewise.
26897
26898 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26899
26900 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26901
26902 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26903 Use the BSD numbers rather than the arbitrary ones we had.
26904 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26905 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26906 (SIGXCPU, SIGXFSZ): New macros.
26907 (_NSIG): Now 32.
26908
26909 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26910 initializer on [_LIBC_REENTRANT].
26911
26912 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26913 definitions inside [_POSIX_MAPPED_FILES].
26914
26915 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26916
26917 * dirent/opendir.c: Include <fcntl.h>.
26918
26919 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26920 (__libc_getspecific): Likewise.
26921 (__libc_key_create): Likewise.
26922
26923 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26924 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26925 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26926 (tmpfile64): Define as alias.
26927 * sysdeps/wordsize-64/tmpfile.c: File removed.
26928 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26931
26932 * stdio-common/vfscanf.c: Include <stdbool.h>.
26933 * nss/makedb.c: Likewise.
26934 * stdio-common/_i18n_number.h: Likewise.
26935 * argp/argp-help.c: Likewise.
26936 * posix/wordexp.c: Likewise.
26937 * sysdeps/posix/spawni.c: Likewise.
26938 * nss/nss_files/files-initgroups.c: Likewise.
26939 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26940 * nss/nss_files/files-initgroups.c: Likewise.
26941 * nss/nss_db/db-netgrp.c: Likewise.
26942 * nss/nss_db/db-initgroups.c: Likewise.
26943 * io/fchmodat.c: Include <sys/stat.h>.
26944
26945 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26946 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26947
26948 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26949 [HAVE_MMAP].
26950
26951 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26952 Add multiple inclusion protection.
26953
e5abc686
DM
269542012-07-27 David S. Miller <davem@davemloft.net>
26955
26956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26957
815e6fa3
GB
269582012-07-27 Gary Benson <gbenson@redhat.com>
26959
26960 [BZ #14298]
26961 * elf/rtld.c: Include <stap-probe.h>.
26962 (dl_main): Added static probes "init_start" and "init_complete".
26963 * elf/dl-load.c: Include <stap-probe.h>.
26964 (lose): Take new parameter "nsid".
26965 Added static probe "map_failed".
26966 (_dl_map_object_from_fd): Pass namespace id to lose.
26967 Added static probe "map_start".
26968 (open_verify): Pass namespace id to lose.
26969 * elf/dl-open.c: Include <stap-probe.h>.
26970 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26971 and "reloc_complete".
26972 * elf/dl-close.c: Include <stap-probe.h>.
26973 (_dl_close_worker): Added static probes "unmap_start" and
26974 "unmap_complete".
26975 * elf/rtld-debugger-interface.txt: New file documenting the above.
26976
9f98c16c
RM
269772012-07-26 Roland McGrath <roland@hack.frob.com>
26978
26979 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26980 rather than a string variable.
26981 * sunrpc/rpc_main.c (h_output): Likewise.
26982 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26983
f3c22df3
PT
269842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26985
26986 * inet/check_native.c: New file.
26987
3129cfc6
JM
269882012-07-26 Joseph Myers <joseph@codesourcery.com>
26989
da865e95
JM
26990 [BZ #13629]
26991 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26992 if larger part has absolute value 1.0.
26993 * math/s_clog10.c (__clog10): Likewise.
26994 * math/s_clog10f.c (__clog10f): Likewise.
26995 * math/s_clog10l.c (__clog10l): Likewise.
26996 * math/s_clogf.c (__clogf): Likewise.
26997 * math/s_clogl.c (__clogl): Likewise.
26998 * math/libm-test.inc (clog_test): Add more tests.
26999 (clog10_test): Likewise.
27000 * sysdeps/i386/fpu/libm-test-ulps: Update.
27001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27002
3129cfc6
JM
27003 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27004 (pltexit): Likewise.
27005 (La_regs): Likewise.
27006 (La_retval): Likewise.
27007 (int_retval): Likewise.
27008 Update #error for removed macros to refer only to definitions in
27009 tst-audit.h.
27010 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27011 macro.
27012 (pltexit): Likewise.
27013 (La_regs): Likewise.
27014 (La_retval): Likewise.
27015 (int_retval): Likewise.
27016 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27017 macro.
27018 (pltexit): Likewise.
27019 (La_regs): Likewise.
27020 (La_retval): Likewise.
27021 (int_retval): Likewise.
27022 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27023 macro.
27024 (pltexit): Likewise.
27025 (La_regs): Likewise.
27026 (La_retval): Likewise.
27027 (int_retval): Likewise.
27028 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27029 macro.
27030 (pltexit): Likewise.
27031 (La_regs): Likewise.
27032 (La_retval): Likewise.
27033 (int_retval): Likewise.
27034 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27035 macro.
27036 (pltexit): Likewise.
27037 (La_regs): Likewise.
27038 (La_retval): Likewise.
27039 (int_retval): Likewise.
27040 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27041 macro.
27042 (pltexit): Likewise.
27043 (La_regs): Likewise.
27044 (La_retval): Likewise.
27045 (int_retval): Likewise.
27046 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27047 macro definitions in tst-audit.h.
27048 * sysdeps/i386/tst-audit.h: New file.
27049 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27050 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27051 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27052 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27053 * sysdeps/sh/tst-audit.h: Likewise.
27054 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27055 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27056 * sysdeps/x86_64/tst-audit.h: Likewise.
27057
bfc07087
AJ
270582012-07-26 Andreas Jaeger <aj@suse.de>
27059
b1b2aaf8
AJ
27060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27061 ptrace.
27062
27063 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27064 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27065 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27066 PTRACE_O_MASK.
27067 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27068 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27069 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27070
bfc07087
AJ
27071 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27072 value.
27073
27074 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27075 _sigsys.
27076 (si_call_addr, si_syscall, si_arch): Define new macro.
27077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27078 _sigsys.
27079 (si_call_addr, si_syscall, si_arch): Define new marcro.
27080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27081 _sigsys.
27082 (si_call_addr, si_syscall, si_arch): Define new macro.
27083 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27084 _sigsys.
27085 (si_call_addr, si_syscall, si_arch): Define new macro.
27086
89b4b02f
JM
270872012-07-25 Joseph Myers <joseph@codesourcery.com>
27088
27089 [BZ #13717]
27090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27091 Change to 2.4.21 where previously 2.4.1.
27092 * sysdeps/unix/sysv/linux/configure: Regenerated.
27093 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27094 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27095 Linux kernel version.
27096 (__ASSUME_STD_AUXV): Remove.
27097 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27098 kernel version.
27099 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27100 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27101 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27102 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27103 (__ASSUME_NETLINK_SUPPORT): Likewise.
27104 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27105 (__no_netlink_support): Remove conditional definition.
27106 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27107 Remove.
27108 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27109 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27110 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27111 (if_nameindex_ioctl): Remove.
27112 (if_nameindex_netlink): Do not handle __no_netlink_support.
27113 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27114 code.
27115 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27116 Remove conditional code.
27117 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27118 code.
27119 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27120 unconditional.
27121 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27122 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27123 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27124 Remove.
27125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27126 [!__ASSUME_STD_AUXV]: Remove conditional code.
27127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27128 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27129 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27131 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27133 code.
27134 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27138 conditional code.
27139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27142 code.
27143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27145 conditional code.
27146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27147 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27148 code unconditional.
27149 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27150 conditional code.
27151 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27152 unconditional.
27153 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27154 conditional code.
27155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27156 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27157 unconditional.
27158 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27159 conditional code.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27161 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27162 code unconditional.
27163 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27164 conditional code.
27165 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27166 unconditional.
27167 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27168 conditional code.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27170 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27171 code unconditional.
27172 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27173 conditional code.
27174 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27175 unconditional.
27176 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27177 conditional code.
27178
842a39cd
AS
271792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27180
27181 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27184 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27185 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27188 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27189 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27191 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27192 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27193 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27199 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27201 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27204
84b3fd84
FW
272052012-07-25 Florian Weimer <fweimer@redhat.com>
27206
27207 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27208 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27209 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27210 Introduce __libc_secure_getenv.
0c7936d5
FW
27211 * stdlib/Versions (2.17): Add secure_getenv
27212 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27213 * stdlib/secure-getenv.c: Rename __secure_getenv to
27214 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27215 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27216 * stdlib/tst-secure-getenv.c: New.
27217 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27218 * manual/startup.texi (Environment Access): Document
27219 secure_getenv.
84b3fd84
FW
27220 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27221 __libc_secure_getenv.
27222 * inet/ruserpass.c (ruserpass): Likewise.
27223 * malloc/mtrace.c (mtrace): Likewise.
27224 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27225 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27226 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27227 * sysdeps/posix/tempname.c: Likewise. Evaluate
27228 HAVE_SECURE_GETENV.
27229 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27230 __secure_getenv to __libc_secure_getenv.
84b3fd84 27231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27233 Likewise.
27234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27235 Likewise.
27236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27243
56e49b71
JM
272442012-07-25 Joseph Myers <joseph@codesourcery.com>
27245
27246 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27247 (struct La_i86_retval): Likewise.
27248 (struct La_x86_64_regs): Likewise.
27249 (struct La_x86_64_retval): Likewise.
27250 (struct La_x32_regs): Likewise.
27251 (struct La_x32_retval): Likewise.
27252 (struct La_ppc32_regs): Likewise.
27253 (struct La_ppc32_retval): Likewise.
27254 (struct La_ppc64_regs): Likewise.
27255 (struct La_ppc64_retval): Likewise.
27256 (struct La_sh_regs): Likewise.
27257 (struct La_sh_retval): Likewise.
27258 (struct La_s390_32_regs): Likewise.
27259 (struct La_s390_32_retval): Likewise.
27260 (struct La_s390_64_regs): Likewise.
27261 (struct La_s390_64_retval): Likewise.
27262 (struct La_sparc32_regs): Likewise.
27263 (struct La_sparc32_retval): Likewise.
27264 (struct La_sparc64_regs): Likewise.
27265 (struct La_sparc64_retval): Likewise.
27266 (struct audit_ifaces): Remove architecture-specific pltenter and
27267 pltexit members.
27268 * sysdeps/i386/ldsodefs.h: New file.
27269 * sysdeps/powerpc/ldsodefs.h: Likewise.
27270 * sysdeps/s390/ldsodefs.h: Likewise.
27271 * sysdeps/sh/ldsodefs.h: Likewise.
27272 * sysdeps/sparc/ldsodefs.h: Likewise.
27273 * sysdeps/x86_64/ldsodefs.h: Likewise.
27274
354691b7
MP
272752012-07-25 Marek Polacek <polacek@redhat.com>
27276
27277 [BZ #6808]
27278 * math/libm-test.inc (yn_test): Add another test.
27279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27280 to ERANGE when the result is +-Inf.
27281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27285
bf9e2071
JM
272862012-07-24 Joseph Myers <joseph@codesourcery.com>
27287
27288 * conform/data/time.h-data (NULL): Use macro-constant. Require
27289 equal to 0.
27290 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27291 clock_t.
27292 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27293
57633811
TS
272942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27295
27296 * configure.in <sysdeps resolving>: Correct printing
27297 Implies_before.
27298 * configure: Regenerate.
27299
c23c33b0
TS
273002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27301
27302 * math/w_ilogb.c: Include <limits.h>.
27303 * math/w_ilogbl.c: Likewise.
27304
b5982523
JM
273052012-07-20 Joseph Myers <joseph@codesourcery.com>
27306
27307 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27308 va_copy. Document allowing for unavailable va_copy only as
27309 pre-C99 compatibility.
27310 * manual/string.texi (Copying and Concatenation): Use va_copy
27311 instead of __va_copy in concat example.
27312
ac4ea442
PT
273132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27314
27315 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27316 (__sendto): Use create_address_port. Initialize APORT and deallocate
27317 it if not null.
27318
f98eafbd
PT
27319 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27320 with O_NOLINK passed to __file_name_lookup.
27321
898c7aab
PT
27322 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27323 with O_NOLINK passed to __file_name_lookup.
27324
0ced335a
PT
27325 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27326 negative N or less than NGIDS.
27327
b3404dbd
PT
27328 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27329 type to string_t. Set ERANGE as errno and return it if NAME is not big
27330 enough. Use memcpy instead of strncpy.
27331
0f48659e
JM
273322012-07-20 Joseph Myers <joseph@codesourcery.com>
27333
27334 * elf/Makefile (check-data): Remove.
27335 (localplt.data): New vpath directive.
27336 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27337 instead of $(check-data).
27338 * scripts/data/localplt-generic.data: Move to ...
27339 * sysdeps/generic/localplt.data: ... here.
27340 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27342 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27344 ... here.
27345 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27347 ... here.
27348 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27350 ... here.
27351 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27353 ... here.
27354 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27356 ... here.
27357 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27359 ... here.
27360
d37cbdaa
AZ
273612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27362
27363 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27364 PPC32 and PPC64 files.
27365 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27366 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27367
46f85fc2
AK
273682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27369
27370 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27371 __makecontext_ret to ...
27372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27373 ... here and call exit if uc_link is NULL. New file.
27374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27375 __makecontext_ret.S.
27376 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27377 __makecontext_ret to ...
27378 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27379 ... here and call exit if uc_link is NULL. New file.
27380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27381 __makecontext_ret.S.
27382
08f43f9b
AK
273832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27384
27385 * elf/elf.h (R_390_IRELATIVE): New definition.
27386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27387 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27388 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27390 (elf_machine_lazy_rel): Likewise.
27391 * sysdeps/s390/dl-irel.h: New file.
27392 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27393 * sysdeps/s390/s390-64/memset.S: New asm code.
27394 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27395 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27396 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27397 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27398 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27399 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27401 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27402 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27403 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27404 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27405 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27406 * sysdeps/s390/s390-32/memset.S: New asm code.
27407 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27408
3b05db33
MP
274092012-07-17 Marek Polacek <polacek@redhat.com>
27410
27411 [BZ #14349]
27412 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27413 * sysdeps/s390/s390-64/configure.in: Likewise.
27414 * sysdeps/sparc/configure.in: Likewise.
27415 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27416 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27417 * sysdeps/i386/configure.in: Likewise.
27418 * sysdeps/x86_64/configure.in: Likewise.
27419 * sysdeps/sh/configure.in: Likewise.
27420 * sysdeps/s390/s390-32/configure: Regenerated.
27421 * sysdeps/s390/s390-64/configure: Likewise.
27422 * sysdeps/x86_64/configure: Likewise.
27423 * sysdeps/sh/configure: Likewise.
27424 * sysdeps/powerpc/powerpc64/configure: Likewise.
27425 * sysdeps/powerpc/powerpc32/configure: Likewise.
27426 * sysdeps/sparc/configure: Likwise.
27427 * sysdeps/i386/configure: Likewise.
27428
a66877c6
MP
27429 * elf/dl-open.c: Comment fixes.
27430
cfc82fd8
JM
274312012-07-17 Joseph Myers <joseph@codesourcery.com>
27432
bd29910a
JM
27433 * Makefile [CXX] (check-data): Remove.
27434 [CXX] (c++-types.data): New vpath directive.
27435 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27436 vpath. Do not allow for C++ type data being missing.
27437 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27438 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27439 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27440 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27441 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27442 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27443 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27445 ... here.
27446 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27448 ... here.
27449 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27451 ... here.
27452 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27454 ... here.
27455 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27457 ... here.
27458 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27460 ... here.
27461 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27463 ... here.
27464 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27466
cfc82fd8
JM
27467 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27468 definitions to architecture-specific files.
27469 (TLS_IE): Likewise.
27470 (TLS_LD): Likewise.
27471 (TLS_GD): Likewise.
27472 * sysdeps/i386/tls-macros.h: New file.
27473 * sysdeps/powerpc/tls-macros.h: Likewise.
27474 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27475 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27476 * sysdeps/sh/tls-macros.h: Likewise.
27477 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27478 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27479 * sysdeps/x86_64/tls-macros.h: Likewise.
27480
f7db3170
TS
274812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27482
07cbfc23
TS
27483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27484 zero value for regular exit case.
27485
f7db3170
TS
27486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27487 (__start_context): Preserve zero value for regular exit case.
27488
dc97c227
TS
274892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27490 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27491
27492 * manual/setjmp.texi (setcontext): Clarify normal process
27493 termination when uc_link is the null pointer.
27494 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27495 exit call.
27496
d0cd7d02
AS
274972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27498
27499 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27500 preprocessor. Test for each exception mask separately.
27501
dd318934
AJ
275022012-07-16 Andreas Jaeger <aj@suse.de>
27503
27504 * po/ru.po: Update from translation team.
27505
8048311a
JM
275062012-07-15 Joseph Myers <joseph@codesourcery.com>
27507
27508 * conform/data/string.h-data (NULL): Use macro-constant. Require
27509 equal to 0.
27510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27512 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27513 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27515
b637d46e
AJ
275162012-07-13 Andreas Jaeger <aj@suse.de>
27517
27518 * po/fr.po: Update from translation team.
27519
541428fe
MP
275202012-07-12 Marek Polacek <polacek@redhat.com>
27521
27522 [BZ #14173]
27523 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27525 loop condition.
27526
ec332e94
JM
275272012-07-12 Joseph Myers <joseph@codesourcery.com>
27528
27529 [BZ #13717]
27530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27531 Change to 2.4.1 where previously 2.4.0.
27532 * sysdeps/unix/sysv/linux/configure: Regenerated.
27533 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27534 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27535 version.
27536 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27537 (__ASSUME_AT_CLKTCK): Remove.
27538 (__ASSUME_AT_PAGESIZE): Likewise.
27539 (__ASSUME_AT_XID): Likewise.
27540 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27541 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27542 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27543 unconditionally.
27544 (HAVE_AUX_PAGESIZE): Likewise.
27545 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27546 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27547 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27548
7b6e99be
JB
275492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27550
27551 [BZ #14307]
27552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27553 the temporary buffer used to invoke __gethostbyname2_r,
27554 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27555 host_data / struct gaih_addrtuple.
27556 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27557 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27558 header file nss/nsswitch.h.
27559 * nss/nsswitch.h (global scope): Add definition of implementation
27560 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27561 resolv/nss_dns/dns-host.c).
27562
608404eb
AJ
275632012-07-11 Andreas Jaeger <aj@suse.de>
27564
27565 * po/fr.po: Update from translation team.
27566
71220aca
AJ
27567 * po/sv.po: Update from translation team
27568 * po/fr.po: Another update from translation team.
27569
28cfe843
AZ
275702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27571
27572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27573 for subnormals or multiply small sinh result by itself.
27574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27576
6b90f981
DM
275772012-07-11 David S. Miller <davem@davemloft.net>
27578
27579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27580
c6825772
AS
275812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27582
27583 [BZ #14347]
27584 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27585 (INTERNAL_MARK): Shift it here.
27586
7b8e0d49
MP
275872012-07-10 Marek Polacek <polacek@redhat.com>
27588
27589 [BZ #14151]
27590 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27591 libc_cv_asm_global_directive with .globl.
27592 * configure: Regenerated.
27593 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27594 with .globl.
27595 * sysdeps/i386/configure: Regenerated.
27596 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27597 with .globl.
27598 * sysdeps/x86_64/configure: Regenerated.
27599 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27600 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27601 * elf/tst-unique2mod2.c: Likewise.
27602 * elf/tst-unique2mod1.c: Likewise.
27603 * elf/tst-unique1mod2.c: Likewise.
27604 * elf/tst-unique1mod1.c: Likewise.
27605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27608 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27609 * sysdeps/mach/sysdep.h: Likewise.
27610 * sysdeps/i386/sysdep.h: Likewise.
27611 * sysdeps/i386/i386-mcount.S: Likewise.
27612 * sysdeps/x86_64/_mcount.S: Likewise.
27613 * sysdeps/x86_64/sysdep.h: Likewise.
27614 * sysdeps/sh/_mcount.S: Likewise.
27615 * sysdeps/sh/sysdep.h: Likewise.
27616 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27622 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27623 * locale/localeinfo.h: Likewise.
27624 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27625 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27626
6c55cda3
RM
276272012-07-09 Roland McGrath <roland@hack.frob.com>
27628
27629 [BZ #14336]
27630 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27631 system".
27632 * manual/message.texi (The Uniforum approach): Likewise.
27633 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27634 (glibc iconv Implementation): Likewise.
27635
638a572e
JM
276362012-07-09 Joseph Myers <joseph@codesourcery.com>
27637
27638 [BZ #14337]
27639 * math/s_clog.c (__clog): Avoid scaling a value down where that
27640 could result in underflow.
27641 * math/s_clog10.c (__clog10): Likewise.
27642 * math/s_clog10f.c (__clog10f): Likewise.
27643 * math/s_clog10l.c (__clog10l): Likewise.
27644 * math/s_clogf.c (__clogf): Likewise.
27645 * math/s_clogl.c (__clogl): Likewise.
27646 * math/libm-test.inc (clog_test): Add more tests.
27647 (clog10_test): Likewise.
27648 * sysdeps/i386/fpu/libm-test-ulps: Update.
27649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27650
261f4859
AS
276512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27652
0abaf3e4
AS
27653 [BZ #14283]
27654 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27655 by 7 not 8 to examine high bit of fractional part.
27656
261f4859
AS
27657 [BZ #14042]
27658 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27659 for call to __mcount_internal.
27660 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27661 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27662 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27663
f17ac40d
JM
276642012-07-06 Joseph Myers <joseph@codesourcery.com>
27665
9ad63c23
JM
27666 [BZ #14154]
27667 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27668 approximation for values within 0x1p-13f of an odd multiple of
27669 pi/4.
27670 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27671 exception. Add more tests.
27672 * sysdeps/i386/fpu/libm-test-ulps: Update.
27673
f17ac40d
JM
27674 [BZ #6778]
27675 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27676 inputs and return -1 for them. Do not check for +Inf in case not
27677 reachable for +Inf.
27678 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27679 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27681 and return -1 for them. Do not check for +Inf in case not
27682 reachable for +Inf.
27683 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27684 define.
27685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27686 and return -1 for them. Do not check for +Inf in case not
27687 reachable for +Inf.
27688 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27689 spurious underflow.
27690 * sysdeps/i386/fpu/libm-test-ulps: Update.
27691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27692
fb21f89b
MF
276932012-07-06 Mike Frysinger <vapier@gentoo.org>
27694
27695 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27696
cdfe2c5e
JM
276972012-07-05 Joseph Myers <joseph@codesourcery.com>
27698
27699 [BZ #14157]
27700 [BZ #14331]
27701 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27702 could result in spurious underflow. Scale down values above
27703 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27704 * math/s_csqrtf.c (__csqrtf): Likewise.
27705 * math/s_csqrtl.c (__csqrtl): Likewise.
27706 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27707 spurious underflow.
27708 * sysdeps/i386/fpu/libm-test-ulps: Update.
27709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27710
70d35b67
AS
277112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27712
704bc459
AS
27713 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27714 xopen-msg.sed.
27715 * catgets/xopen-msg.awk: New file.
27716 * catgets/xopen-msg.sed: Removed.
27717
70d35b67
AS
27718 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27719 po2text.sed.
27720 * intl/po2test.awk: New file.
27721 * intl/po2test.sed: Removed.
27722
ca61cf32
JM
277232012-07-04 Joseph Myers <joseph@codesourcery.com>
27724
27725 [BZ #14328]
27726 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27727 or multiply small sinh result by itself.
27728 * math/s_ctanf.c (__ctanf): Likewise.
27729 * math/s_ctanh.c (__ctanh): Likewise.
27730 * math/s_ctanhf.c (__ctanhf): Likewise.
27731 * math/s_ctanhl.c (__ctanhl): Likewise.
27732 * math/s_ctanl.c (__ctanl): Likewise.
27733 * math/libm-test.inc (ctan_test_tonearest): New function.
27734 (ctan_test_towardzero): Likewise.
27735 (ctan_test_downward): Likewise.
27736 (ctan_test_upward): Likewise.
27737 (ctanh_test_tonearest): Likewise.
27738 (ctanh_test_towardzero): Likewise.
27739 (ctanh_test_downward): Likewise.
27740 (ctanh_test_upward): Likewise.
27741 (main): Call these new functions.
27742 * sysdeps/i386/fpu/libm-test-ulps: Update.
27743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27744
ca48a46a
MF
277452012-07-03 Mike Frysinger <vapier@gentoo.org>
27746
27747 * .gitignore: Delete /ports entry.
27748
9d63d37d
AJ
277492012-07-03 Andreas Jaeger <aj@suse.de>
27750
27751 * po/bg.po: Update from translation team.
27752 * po/cs.po: Likewise.
27753 * po/de.po: Likewise.
27754 * po/hr.po: Likewise.
27755 * po/nl.pl: Likewise.
27756 * po/pl.po: Likewise.
27757 * po/vi.po: Likewise.
27758
370ca3d2
JM
277592012-07-03 Joseph Myers <joseph@codesourcery.com>
27760
95f5a9a8
JM
27761 * Makeconfig [!+link] (+link-before-libc): New variable.
27762 [!+link] (+link-after-libc): Likewise.
27763 [!+link] (+link-tests): Likewise.
27764 [!+link] (+link): Define in terms of $(+link-before-libc) and
27765 $(+link-after-libc).
27766 [!+link-static] (+link-static-before-libc): New variable.
27767 [!+link-static] (+link-static-after-libc): Likewise.
27768 [!+link-static] (+link-static-tests): Likewise.
27769 [!+link-static] (+link-static): Define in terms of
27770 $(+link-static-before-libc) and $(+link-static-after-libc).
27771 [build-shared] (link-libc-before-gnulib): New variable.
27772 [build-shared] (link-libc-tests): Likewise.
27773 [build-shared] (link-libc): Define in terms of
27774 $(link-libc-before-gnulib).
27775 [!build-shared] (link-libc-tests): New variable.
27776 (link-libc-static-tests): New variable.
27777 [!gnulib] (gnulib-arch): New variable.
27778 [!gnulib] (gnulib-tests): Likewise.
27779 [!gnulib] (static-gnulib-arch): Likewise.
27780 [!gnulib] (static-gnulib-tests): Likewise.
27781 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27782 Define with "=" instead of ":=".
27783 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27784 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27785 * Rules (binaries-all-notests): New variable.
27786 (binaries-all-tests): Likewise.
27787 (binaries-static-notests): Likewise.
27788 (binaries-static-tests): Likewise.
27789 (binaries-all): Define using $(binaries-all-notests) and
27790 $(binaries-all-tests).
27791 (binaries-static): Define using $(binaries-static-notests) and
27792 $(binaries-static-tests).
27793 (binaries-shared-tests): New variable.
27794 (binaries-shared-notests): Likewise.
27795 (binaries-shared): Remove variable.
27796 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27797 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27798 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27799 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27800 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27801 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27802 * elf/Makefile (sln-modules): New variable.
27803 (extra-objs): Add $(sln-modules:=.o).
27804 (ldconfig-modules): Add static-stubs.
27805 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27806 * elf/static-stubs.c: New file.
27807
7a845b2c
JM
27808 [BZ #14283]
27809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27810 by 7 not 8 to examine high bit of fractional part. Use volatile
27811 variables when splitting into final array of floats if
27812 __FLT_EVAL_METHOD__ != 0.
27813 * math/libm-test.inc (cos_test): Add another test.
27814 (sin_test): Likewise.
27815 * sysdeps/i386/fpu/libm-test-ulps: Update.
27816
e2283f38
JM
27817 [BZ #14273]
27818 * math/libm-test.inc (cosh_test): Add more tests.
27819
370ca3d2
JM
27820 * version.h (RELEASE): Set to "development".
27821 (VERSION): Set to "2.16.90".
27822
ee9247c3
CD
278232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27824
27825 * NEWS: Update copyright. Remove last-updated date.
27826 Mention math library bug fixes and timezone data changes.
27827 * README: Mention GNU/Hurd, x32, and HPPA support status.
27828
4648c381
TS
278292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27830
27831 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27832
aac78a43
AJ
278332012-06-27 Andreas Jaeger <aj@suse.de>
27834
27835 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27836
ed3dbfad
AJ
278372012-06-25 Andreas Jaeger <aj@suse.de>
27838
27839 * sysdeps/s390/fpu/libm-test-ulps: Update.
27840
4d0ee855
AS
278412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27842 Thomas Schwinge <thomas@codesourcery.com>
27843
27844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27845 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27847 fanotify_mark.
27848
af1bce34
TS
278492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27850
a9fa33ba
TS
27851 * sysdeps/mach/start.c: Remove file.
27852 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27853 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27854 * sysdeps/sh/init-first.c: Likewise.
27855
58f902b8
TS
27856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27857 registers for frame unwinding purposes, add CFI directives.
27858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27860 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27861 Likewise.
27862
1518f58b
TS
27863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27864 __fortify_fail returning.
27865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27866
db9b5059
TS
27867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27868 sysdeps/sh/____longjmp_chk.S.
27869 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27870 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27871 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27872 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27873
967705fe
TS
27874 * sysdeps/sh/abort-instr.h: New file.
27875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27876 process in case exit returns.
27877
a9def8c4
TS
27878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27879 initialize the GOT register before use.
27880
2a649725
TS
27881 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27882 calculation of ARGC > 4.
27883
af1bce34
TS
27884 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27885 meaningful names to some local labels.
27886
d230f50a
KK
278872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27888 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27889
27890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27891 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27892 (__arch_compare_and_exchange_val_16_acq): Likewise.
27893 (__arch_compare_and_exchange_val_32_acq): Likewise.
27894 (atomic_exchange_and_add): Fix gUSA sequence.
27895 (atomic_add): Likewise.
27896 (atomic_add_negative): Likewise.
27897 (atomic_add_zero): Likewise.
27898 (atomic_bit_test_set): Likewise.
27899
0479b305
AS
279002012-06-22 Andreas Schwab <schwab@redhat.com>
27901
27902 [BZ #13579]
27903 * include/link.h (struct link_map): Add l_free_initfini.
27904 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27905 l_initfini.
27906 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27907 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27908 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27909 set.
27910
0e3933b9
CD
279112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27912
27913 * configure.in: Use AC_LANG_SOURCE.
27914 * configure: Regenerate.
27915
4248b1b1
RM
279162012-06-22 Roland McGrath <roland@hack.frob.com>
27917
27918 * configure.in (libc_cv_localstatedir): New substituted variable.
27919 * configure: Regenerated.
27920 * config.make.in (localstatedir): New variable, substituted from
27921 libc_cv_localstatedir.
27922 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27923 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27924 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27925 * sysdeps/gnu/configure: Regenerated.
27926
006dd861
JL
279272012-06-21 Jeff Law <law@redhat.com>
27928
27929 [BZ #14277]
27930 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27931 free. Simplify list management for _LIBC case.
27932
79662d42
JM
279332012-06-21 Joseph Myers <joseph@codesourcery.com>
27934
b7abb4bf
JM
27935 [BZ #14273]
27936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27937 Clear sign bit of 64-bit integer value before comparing against
27938 overflow value.
27939
79662d42
JM
27940 * sysdeps/mach/configure: Regenerated.
27941
1f150908
L
279422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27943
27944 [BZ #14278]
27945 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27946
28363bbf
JL
279472012-06-21 Jeff Law <law@redhat.com>
27948
27949 [BZ #13882]
27950 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27951 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27953 * elf/dl-open.c (dl_open_worker): Likewise.
27954
09615db4
CD
279552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27956
27957 * scripts/list-sources.sh: Scan PORTS for translations.
27958 * po/libc.pot: Regenerated.
27959
2174c6dd
AJ
279602012-06-21 Andreas Jaeger <aj@suse.de>
27961
27962 [BZ #12194]
27963 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27964 warning.
27965 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27966 * bits/byteswap-16.h (__bswap_16): Likewise.
27967 * bits/byteswap.h (__bswap_constant_16): Likewise.
27968
3ee947b1
L
279692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27970
27971 [BZ #14117]
a2f34833
L
27972 * sysdeps/i386/fpu_control.h: Removed.
27973 * sysdeps/x86_64/fpu_control.h: Moved to ...
27974 * sysdeps/x86/fpu_control.h: Here.
27975
3ee947b1
L
27976 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27977 (_FPU_SETCW): Likewise.
27978
ed1825f8
L
279792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27980
25f1282a
L
27981 [BZ #14117]
27982 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27983 * sysdeps/x86/fpu/bits/mathinline.h: This.
27984 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27985
ed1825f8
L
27986 [BZ #14050]
27987 [BZ #14117]
27988 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27989 functions if __x86_64__ is defined.
27990
36d54b74
CLT
279912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27992
27993 * string/endian.h: Add !__ASSEMBLER__ condition for including
27994 conversion interfaces.
27995
10285c21
JM
279962012-06-15 Joseph Myers <joseph@codesourcery.com>
27997
27998 [BZ #14241]
27999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28000 of ABS(x) in calculating zero to negative powers other than odd
28001 integers.
28002 * math/libm-test.inc (pow_test): Add more tests.
28003
06c5abbd
AJ
280042012-06-15 Andreas Jaeger <aj@suse.de>
28005
28006 * manual/contrib.texi (Contributors): Update entry of Liubov
28007 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28008 Machado Filho.
28009
a3aeac40
CH
280102012-06-15 Cyril Hrubis <metan@ucw.cz>
28011
28012 * string/string.h: Add __wur to GNU version of strerror_r.
28013
49bdf4c1
L
280142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 [BZ #14229]
28017 * string/Makefile (tests): Add tst-strtok_r.
28018 * string/tst-strtok_r.c: New file.
28019 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28020 RAX_LP/RDX_LP on SAVE_PTR.
28021
834f9b8d
RM
280222012-06-14 Roland McGrath <roland@hack.frob.com>
28023
28024 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28025
75fa1921
JM
280262012-06-14 Joseph Myers <joseph@codesourcery.com>
28027
28028 * libm_test.inc (csqrt_test): Allow more spurious underflow
28029 exceptions.
28030 (j0_test): Likewise.
28031 (j1_test): Likewise.
28032 (y0_test): Likewise.
28033 (y1_test): Likewise.
28034
771766df
CD
280352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28036
28037 * po/Makefile (libc.pot): Use UTF-8 charset.
28038
ceb9e56b
PP
280392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28040
28041 [BZ #14210]
28042 Suppress sign-conversion warning from FD_SET.
28043 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28044 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28045 not unsigned long int.
28046 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28047
ddb28975
L
280482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28049
28050 [BZ #14050]
28051 [BZ #14117]
28052 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28053 __extern_always_inline instead of __extern_inline.
28054 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28055 (__signbit): Likewise.
28056 (__signbitl): Support C++ namespace.
28057 (lrintf): New inline function.
28058 (lrint): Likewise.
28059 (llrintf): Likewise.
28060 (llrint): Likewise.
28061 (fmaxf): Likewise.
28062 (fmax): Likewise.
28063 (fminf): Likewise.
28064 (fmin): Likewise.
28065 (rint): Likewise.
28066 (rintf): Likewise.
28067 (ceil): Likewise.
28068 (ceilf): Likewise.
28069 (floor): Likewise.
28070 (floorf): Likewise.
28071 (nearbyint): Likewise.
28072 (nearbyintf): Likewise.
28073
d7b4fb26
TS
280742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28075
28076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28077 non-default versions.
28078
eb55f5c2
RM
280792012-06-11 Roland McGrath <roland@hack.frob.com>
28080
28081 [BZ #14218]
28082 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28083
366af02c
TS
280842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28085
99ff6e5c
TS
28086 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28087 (FE_UPWARD, FE_DOWNWARD): Don't define.
28088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28090
366af02c
TS
28091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28092 reading it.
28093 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28095
793ea851
KK
280962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28097
28098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28102
a728a38f
L
281032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28104
28105 [BZ #14117]
c08010c7
L
28106 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28107 * sysdeps/i386/fpu/Implies: New file.
28108 * sysdeps/x86_64/fpu/Implies: Likewise.
28109 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28110 * sysdeps/x86/fpu/bits/fenv.h: This.
28111
a728a38f
L
28112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28113 __SSE_MATH__.
28114
6e230d11
SP
281152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28116
28117 [BZ #14134]
28118 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28119 character 0xffff that matches the last element of the
28120 conversion table.
28121
1b671feb
AZ
281222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28123
28124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28125 fmodl commit.
28126
6043738b
AZ
281272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28128
28129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28130 values higher than 25.6283.
28131
34ae0b32
AZ
281322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28133
28134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28135 subnormal exponent extraction and add some __builtin_expect.
28136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28137 Fix for subnormal mantissa calculation.
28138
1214ec8f
MF
281392012-06-04 Mike Frysinger <vapier@gentoo.org>
28140
28141 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28142 cpu2 is -1 and errno is not ENOSYS.
28143
f3d1f93c
L
281442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 [BZ #14117]
0e4a3cd7
L
28147 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28148 * sysdeps/x86/bits/string.h: This.
28149 * sysdeps/x86_64/bits/string.h: Removed.
28150
6704c645
L
28151 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28152 if not compiling for x86-64, but compiling for >= i486.
28153
48495318
L
28154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28155 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28156
14adcbfc
L
28157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28158 New macro from Linux kernel 3.4.0.
28159 (FP_XSTATE_MAGIC2): Likewise.
28160 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28161 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28162 (struct _fpx_sw_bytes): New struct.
28163 (struct _xsave_hdr): Likewise.
28164 (struct _ymmh_state): Likewise.
28165 (struct _xstate): Likewise.
28166
68e408ab
L
28167 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28168 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28170 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28172 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28173
f3d1f93c
L
28174 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28176 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28177 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28178 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28179 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28180
d9dc34cd
TMQMF
281812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28182
28183 [BZ #13743]
28184 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28185 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28186 (sysdep_headers): Include sys/platform/ppc.h.
28187 * sysdeps/powerpc/test-gettimebase.c: Test for
28188 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28189 * manual/Makefile (appendices): Include platform.texi.
28190 * manual/contrib.texi (Contributors): Update @node pointers.
28191 * manual/maint.texi (Maintenance): Likewise.
28192 (Platform): New node.
28193 * manual/platform.texi: New file. Document the new features.
28194
4af3879c
SP
281952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28196 Jakub Jelinek <jakub@redhat.com>
28197
28198 [BZ #14188]
28199 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28200 where __builtin_expect is unavailable.
28201
2fd6ff13
DM
282022012-06-03 David S. Miller <davem@davemloft.net>
28203
28204 * stdlib/longlong.h: Updated from GCC.
28205
173f7220
AS
282062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28207
28208 [BZ #14042]
28209 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28210 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28211 __mcount_internal.
28212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28213 (GLIBC_2.16): Likewise.
28214
f34a1c6f
L
282152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28218
88a4576f
JM
282192012-06-01 Joseph Myers <joseph@codesourcery.com>
28220
ea32bcdd
JM
28221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28222 (default-abi): New variable.
28223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28224 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28225 variable.
28226 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28227 Likewise.
28228 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28229 Likewise.
28230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28231 Likewise.
28232
88a4576f
JM
28233 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28234 definition. Document in comment.
28235
402fe938
DM
282362012-06-01 David S. Miller <davem@davemloft.net>
28237
28238 * stdlib/longlong.h: Updated from GCC.
28239
3553723f
L
282402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28241
28242 [BZ #14117]
3bd872c4
L
28243 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28244 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28245 sys/debugreg.h sys/io.h here.
28246 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28247 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28248 sys/io.h.
28249 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28250 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28252 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28254 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28255
3553723f
L
28256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28257 Define only if __x86_64__ is defined.
28258
4842e4fe
JM
282592012-06-01 Joseph Myers <joseph@codesourcery.com>
28260
c5bfe3d5
JM
28261 [BZ #14048]
28262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28263 Use int64_t for variable i.
28264 * math/libm-test.inc (fmod_test): Add more tests.
28265
4842e4fe
JM
28266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28267 z computation is not scheduled after fetestexcept.
28268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28269 Use math_force_eval instead of asm to ensure calculation scheduled
28270 before exception test.
28271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28272 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28273
efb73488
AJ
282742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28275
28276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28277 computation is not scheduled after fetestexcept.
28278
29bcce7c
L
282792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28280
28281 [BZ #14117]
28282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28284
73a68f94
AZ
282852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28286
28287 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28289
67b6df78
L
282902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28291
edf2933a 28292 [BZ #14117]
ebc64a18
L
28293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28294 <bits/wordsize.h>.
28295 (__WCHAR_MIN): Support __WORDSIZE == 64.
28296 (__WCHAR_MAX): Likewise.
28297
edf2933a
L
28298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28300
57c6cf40
L
28301 [BZ #14183]
28302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28303 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28304
67b6df78 28305 [BZ #14117]
8eb6281e
L
28306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28308
aac639f4
L
28309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28311
67b6df78
L
28312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28313 Defined to 1 if __x86_64__ isn't defined.
28314 (_STAT_VER_LINUX_OLD): New.
28315 (st_atime): Remove duplicate.
28316 (st_mtime): Likewise.
28317 (st_ctime): Likewise.
28318
1c2cfe81
DM
283192012-05-31 David S. Miller <davem@davemloft.net>
28320
28321 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28322 entries.
28323
5be8418c
AS
283242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28325
e7725326
AS
28326 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28327 gen-libm-test.pl.
28328
5be8418c
AS
28329 [BZ #14132]
28330 * elf/dl-reloc.c: Include <_itoa.h>.
28331 (_dl_reloc_bad_type): Remove use of INTUSE.
28332 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28333 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28334 * stdio-common/psiginfo.c (psiginfo): Likewise.
28335 * stdio-common/psignal.c (psignal): Likewise.
28336 * string/strsignal.c (strsignal): Likewise.
28337 * include/signal.h (_sys_siglist): Declare hidden proto.
28338 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28339 INTVARDEF with libc_hidden_data_def.
28340 * stdio-common/itoa-udigits.c: Likewise.
28341 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28342 (_itoa_lower_digits_internal): Remove declaration.
28343 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28344 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28345 (_sys_sigabbrev_internal): Remove aliases.
28346 (_sys_siglist): Define hidden alias.
28347
507352f1
MT
283482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28349
28350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28351 bits/sysctl.h.
28352
42bbb1c3
L
283532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28354
28355 [BZ #14117]
6bd784b6
L
28356 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28357 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28358
8bca20f0
L
28359 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28361 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28362 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28364 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28365
f9e890a9
L
28366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28368 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28369
471101a1
L
28370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28371 with __addr.
28372 (insw): Likewise.
28373 (insl): Likewise.
28374 (outsb): Likewise.
28375 (outsw): Likewise.
28376 (outsl): Likewise.
28377
6451c862
L
28378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28381
a254b8c9
L
28382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28385 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28386 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28388
b8dfdd92
L
28389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28390 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28391
578cd270
L
28392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28393 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28394
de662f5f
L
28395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28398
25653439
L
28399 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28400 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28401 to ...
28402 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28403
6bad24a0
L
28404 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28406 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28407
42bbb1c3
L
28408 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28409 for x86-64.
28410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28411
2d10d547
JM
284122012-05-31 Joseph Myers <joseph@codesourcery.com>
28413
28414 * math/math.h (M_El): Use two more decimal places.
28415 (M_LOG2El): Likewise.
28416 (M_LOG10El): Likewise.
28417 (M_LN2l): Likewise.
28418 (M_LN10l): Likewise.
28419 (M_PIl): Likewise.
28420 (M_PI_2l): Likewise.
28421 (M_PI_4l): Likewise.
28422 (M_1_PIl): Likewise.
28423 (M_2_PIl): Likewise.
28424 (M_2_SQRTPIl): Likewise.
28425 (M_SQRT2l): Likewise.
28426 (M_SQRT1_2l): Likewise.
28427
f230c29b
DM
284282012-05-31 David S. Miller <davem@davemloft.net>
28429
28430 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28431 values between float registers.
28432 * sysdeps/sparc/sparc64/memset.S: Likewise.
28433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28434
fed806c3
MF
284352012-05-31 Mike Frysinger <vapier@gentoo.org>
28436
28437 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28438 -D_FORTIFY_SOURCE=1.
28439 (CPPFLAGS-tst-longjmp_chk.c): Define.
28440 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28441 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28442 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28443 CFLAGS-tst-wchar-h.c.
28444
30917259
MP
284452012-05-31 Marek Polacek <polacek@redhat.com>
28446
28447 [BZ #14132]
28448 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28449 __endmntent_internal): Remove declaration.
28450 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28451 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28452 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28453
1c58d5dc
DM
284542012-05-30 David S. Miller <davem@davemloft.net>
28455
28456 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28457 (___Q_simulate_exceptions): Use real FP ops rather than writing
28458 into the %fsr.
28459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28460 Likewise.
28461
7dc00e0d
L
284622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28463
28464 [BZ #14117]
0bd53985
L
28465 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28466 * sysdeps/x86/bits/xtitypes.h: This.
28467
3a257e66
L
28468 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28469 * sysdeps/x86/bits/wordsize.h: This.
28470
62f62904
L
28471 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28472 * sysdeps/x86/bits/huge_vall.h: This.
28473
404fe9d9
L
28474 * sysdeps/i386/bits/select.h: Removed.
28475 * sysdeps/x86_64/bits/select.h: Renamed to ...
28476 * sysdeps/x86/bits/select.h: This.
28477
d48d0446
L
28478 * sysdeps/i386/bits/setjmp.h: Removed.
28479 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28480 * sysdeps/x86/bits/setjmp.h: This.
28481
7dc00e0d
L
28482 * sysdeps/i386/bits/mathdef.h: Removed.
28483 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28484 * sysdeps/x86/bits/mathdef.h: This.
28485
03277f8f
AS
284862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28487
28488 [BZ #14132]
28489 * include/sys/socket.h (__connect_internal)
28490 (__libc_sa_len_internal): Remove declaration.
28491 (__connect, __libc_sa_len): Declare hidden_proto.
28492 (SA_LEN): Remove use of INTUSE.
28493 * socket/connect.c: Add libc_hidden_def.
28494 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28495 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28496 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28497 alias.
28498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28500 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28501 of adding _internal alias.
28502
13764867
L
285032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28504
28505 [BZ #14117]
6bd97696
L
28506 * sysdeps/i386/bits/link.h: Removed.
28507 * sysdeps/i386/bits/linkmap.h: Likewise.
28508 * sysdeps/x86_64/bits/link.h: Renamed to ...
28509 * sysdeps/x86/bits/link.h: This.
28510 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28511 * sysdeps/x86/bits/linkmap.h: This.
28512
f726f0bb
L
28513 * sysdeps/i386/bits/endian.h: Removed.
28514 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28515 * sysdeps/x86/bits/endian.h: This.
28516
13764867
L
28517 * sysdeps/i386/bits/byteswap.h: Removed.
28518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28519 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28520 * sysdeps/x86/bits/byteswap.h: This.
28521 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28522 * sysdeps/x86/bits/byteswap-16.h: This.
28523 * sysdeps/i386/Implies: Add x86.
28524 * sysdeps/x86_64/Implies: Likewise.
28525
ae251b0b
DM
285262012-05-30 David S. Miller <davem@davemloft.net>
28527
28528 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28529 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28531 (FP_TRAPPING_EXCEPTIONS): Define.
28532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28533 (FP_TRAPPING_EXCEPTIONS): Define.
28534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28535 subnormals only when inexact has been signalled or underflow
28536 exceptions are enabled.
28537 (_FP_PACK_CANONICAL): Likewise.
28538
d5c90867
L
285392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28540
28541 [BZ #14183]
28542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28543 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28544
63f1549e
RH
285452012-05-30 Richard Henderson <rth@twiddle.net>
28546
8d8f2279
RH
28547 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28548 with #ifndef NOT_IN_libc.
28549
63f1549e
RH
28550 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28551 marked to avoid plt entry.
28552
0ab0291b
L
285532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28554
28555 [BZ #14112]
28556 * Makeconfig (default-abi): New macro.
28557 (abi-includes): Likewise.
28558 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28559 $(abi-$(default-abi)-lib-soname) for soname if defined.
28560 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28561 abi-variants.
28562 * Makefile (installed-stubs): Likewise.
28563 * include/stubs-biarch.h: Removed.
28564 * scripts/lib-names.awk: Only handle one library at a time.
28565 * scripts/soversions.awk: Remove WORDSIZE support.
28566 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28567 entries.
28568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28569 Removed.
28570 (syscall-list-default-condition): Likewise.
28571 (syscall-list-default-condition): Likewise.
28572 (syscall-list-includes): Likewise.
28573 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28574 syscall-list-* with abi-*. Handle undefined abi-variants.
28575 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28576 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28577 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28578 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28580 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28581 Removed.
28582 (syscall-list-32-options): Likewise.
28583 (syscall-list-32-condition): Likewise.
28584 (syscall-list-64-options): Likewise.
28585 (syscall-list-64-condition): Likewise.
28586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28587 macro.
28588 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28589 Renamed to ...
28590 (abi-*): This.
28591 (abi-64-ld-soname): New macro.
28592 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28593 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28594 Renamed to ...
28595 (abi-*): This.
28596 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28597 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28598
4da0431d
JM
285992012-05-30 Joseph Myers <joseph@codesourcery.com>
28600
3a85279c
JM
28601 * sysdeps/unix/sysv/linux/kernel-features.h
28602 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28603 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28604 include <kernel-features.h>.
28605 [!__NR_ftruncate64]: Remove conditional code.
28606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28607 [__NR_ftruncate64]: Make code unconditional.
28608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28609 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28610 include <kernel-features.h>.
28611 [!__NR_ftruncate64]: Remove conditional code.
28612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28613 [__NR_ftruncate64]: Make code unconditional.
28614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28616 include <kernel-features.h>.
28617 [!__NR_ftruncate64]: Remove conditional code.
28618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28619 [__NR_ftruncate64]: Make code unconditional.
28620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28622 include <kernel-features.h>.
28623 [!__NR_ftruncate64]: Remove conditional code.
28624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28625 [__NR_ftruncate64]: Make code unconditional.
28626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28627
4da0431d
JM
28628 * configure.in (libc_cv_fpie): Weaken to a compile test using
28629 LIBC_TRY_CC_OPTION.
28630 * configure: Regenerated.
28631
11ef492c
AK
286322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28633
28634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28638 Refreshed.
28639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28645 Refreshed.
28646
d66ef399
DM
286472012-05-27 David S. Miller <davem@davemloft.net>
28648
28649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28650 (___Q_zero): New.
28651 (__Q_simulate_exceptions): Return void. Change to simulate
28652 exceptions by writing into the %fsr.
28653 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28654 (__Qp_handle_exceptions): Likewise.
28655 (numbers): Delete.
28656 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28657 __Qp_handle_exceptions.
28658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28659 __Qp_handle_exceptions.
28660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28661 as unused and give dummy FP_RND_NEAREST initializer.
28662 (FP_INHIBIT_RESULTS): Define.
28663 (___Q_simulate_exceptions): Update declaration.
28664 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28665 formatting.
28666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28667 as unused and give dummy FP_RND_NEAREST initializer.
28668 (__Qp_handle_exceptions): Update declaration.
28669 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28670 formatting.
28671
04fb54b5
TS
286722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28673
28674 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28675 the temporary FPU control word.
28676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28677 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28678 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28682 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28685 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28687
3f99608f
KK
286882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28689
28690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28691 fields.
28692
65a4de4e
CLT
286932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28694
28695 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28696 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28697 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28698 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28699 Likewise.
28700 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28701 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28702 Likewise.
28703
15749d40
UD
287042012-05-27 Ulrich Drepper <drepper@gmail.com>
28705
28706 * po/h.po: Update from translation team.
28707
25dbcb27
AS
287082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28709
3d3f8e55
AS
28710 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28711
25dbcb27
AS
28712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28713 handling of denormals.
28714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28721 Likewise.
28722
7ad47a80 287232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28724
28725 [BZ #14152]
28726 * math/libm-test.inc (fma_test): Don't always expect underflow
28727 exception.
28728
9c6ea9fa
SP
287292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28730
28731 [BZ #12416]
28732 * elf/tst-execstack.c: Include stackinfo.h.
28733 (do_test): Adjust test case to ensure that pthread_getattr_np
28734 behaviour remains the same after marking stack executable.
28735
a8239222
JM
287362012-05-25 Joseph Myers <joseph@codesourcery.com>
28737
28738 * sysdeps/unix/sysv/linux/kernel-features.h
28739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28741 kernel-features.h.
28742 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28743 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28744 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28745 kernel-features.h.
28746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28748
918b5606
L
287492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28750
28751 * configure.in: Define the default includes to being none.
28752 * configure: Regenerated.
28753
3a097cc7
RM
287542012-05-25 Roland McGrath <roland@hack.frob.com>
28755
8422c9a5
RM
28756 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28757 * sysdeps/x86_64/setjmp.S: Likewise.
28758 * sysdeps/i386/bsd-setjmp.S: Likewise.
28759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28760 * sysdeps/i386/setjmp.S: Likewise.
28761 * sysdeps/i386/__longjmp.S: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28764
3a097cc7
RM
28765 * include/stap-probe.h: New file.
28766 * configure.in: Handle --enable-systemtap.
28767 * configure: Regenerated.
28768 * config.h.in (USE_STAP_PROBE): New #undef.
28769 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28770 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28771 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28772
21708942
JM
287732012-05-25 Joseph Myers <joseph@codesourcery.com>
28774
28775 [BZ #13717]
28776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28777 to 2.4.0 where earlier.
28778 * sysdeps/unix/sysv/linux/configure: Regenerated.
28779 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28780 <kernel-features.h>.
28781 [__ASSUME_32BITUIDS]: Make code unconditional.
28782 [!__ASSUME_32BITUIDS]: Remove conditional code.
28783 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28784 <kernel-features.h>.
28785 [__ASSUME_32BITUIDS]: Make code unconditional.
28786 [!__ASSUME_32BITUIDS]: Remove conditional code.
28787 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28788 [__ASSUME_32BITUIDS]: Make code unconditional.
28789 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28790 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28791 <kernel-features.h>.
28792 [__ASSUME_32BITUIDS]: Make code unconditional.
28793 [!__ASSUME_32BITUIDS]: Remove conditional code.
28794 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28795 <kernel-features.h>.
28796 [__ASSUME_32BITUIDS]: Make code unconditional.
28797 [!__ASSUME_32BITUIDS]: Remove conditional code.
28798 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28799 <kernel-features.h>.
28800 [__ASSUME_32BITUIDS]: Make code unconditional.
28801 [!__ASSUME_32BITUIDS]: Remove conditional code.
28802 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28803 <kernel-features.h>.
28804 [__ASSUME_32BITUIDS]: Make code unconditional.
28805 [!__ASSUME_32BITUIDS]: Remove conditional code.
28806 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28807 <kernel-features.h>.
28808 [__ASSUME_32BITUIDS]: Make code unconditional.
28809 [!__ASSUME_32BITUIDS]: Remove conditional code.
28810 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28811 <kernel-features.h>.
28812 [__ASSUME_32BITUIDS]: Make code unconditional.
28813 [!__ASSUME_32BITUIDS]: Remove conditional code.
28814 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28815 <kernel-features.h>.
28816 [__ASSUME_32BITUIDS]: Make code unconditional.
28817 [!__ASSUME_32BITUIDS]: Remove conditional code.
28818 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28819 <kernel-features.h>.
28820 [__ASSUME_32BITUIDS]: Make code unconditional.
28821 [!__ASSUME_32BITUIDS]: Remove conditional code.
28822 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28823 <kernel-features.h>.
28824 [__ASSUME_32BITUIDS]: Make code unconditional.
28825 [!__ASSUME_32BITUIDS]: Remove conditional code.
28826 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28827 <kernel-features.h>.
28828 [__ASSUME_32BITUIDS]: Make code unconditional.
28829 [!__ASSUME_32BITUIDS]: Remove conditional code.
28830 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28831 <kernel-features.h>.
28832 [__NR_setresgid] (__setresgid): Do not declare.
28833 [__ASSUME_32BITUIDS]: Make code unconditional.
28834 [!__ASSUME_32BITUIDS]: Remove conditional code.
28835 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28836 <kernel-features.h>.
28837 [__NR_setresuid] (__setresuid): Do not declare.
28838 [__ASSUME_32BITUIDS]: Make code unconditional.
28839 [!__ASSUME_32BITUIDS]: Remove conditional code.
28840 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28841 <kernel-features.h>.
28842 [__ASSUME_32BITUIDS]: Make code unconditional.
28843 [!__ASSUME_32BITUIDS]: Remove conditional code.
28844 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28845 <kernel-features.h>.
28846 [__ASSUME_32BITUIDS]: Make code unconditional.
28847 [!__ASSUME_32BITUIDS]: Remove conditional code.
28848 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28849 <kernel-features.h>.
28850 [__ASSUME_32BITUIDS]: Make code unconditional.
28851 [!__ASSUME_32BITUIDS]: Remove conditional code.
28852 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28853 <kernel-features.h>.
28854 [__ASSUME_32BITUIDS]: Make code unconditional.
28855 [!__ASSUME_32BITUIDS]: Remove conditional code.
28856 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28857 <kernel-features.h>.
28858 [__ASSUME_32BITUIDS]: Make code unconditional.
28859 [!__ASSUME_32BITUIDS]: Remove conditional code.
28860 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
28881 (__ASSUME_SETRESUID_SYSCALL): Remove.
28882 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28883 (__ASSUME_32BITUIDS): Likewise.
28884 (__ASSUME_LDT_WORKS): Likewise.
28885 (__ASSUME_O_DIRECTORY): Likewise.
28886 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28887 architecture but not kernel version.
28888 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28889 (__ASSUME_MMAP2_SYSCALL): Likewise.
28890 (__ASSUME_STAT64_SYSCALL): Likewise.
28891 (__ASSUME_IPC64): Likewise.
28892 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28893 <kernel-features.h>.
28894 [__ASSUME_32BITUIDS]: Make code unconditional.
28895 [!__ASSUME_32BITUIDS]: Remove conditional code.
28896 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28897 <kernel-features.h>.
28898 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28899 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28900 132096]: Remove conditional code.
28901 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28903 <kernel-features.h>.
28904 [__ASSUME_32BITUIDS]: Make code unconditional.
28905 [!__ASSUME_32BITUIDS]: Remove conditional code.
28906 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28907 <kernel-features.h>.
28908 [__ASSUME_32BITUIDS]: Make code unconditional.
28909 [!__ASSUME_32BITUIDS]: Remove conditional code.
28910 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28911 <kernel-features.h>.
28912 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28913 unconditional.
28914 (__setresgid): Do not declare.
28915 [__ASSUME_32BITUIDS]: Make code unconditional.
28916 [!__ASSUME_32BITUIDS]: Remove conditional code.
28917 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28918 <kernel-features.h>.
28919 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28920 unconditional.
28921 (__setresuid): Do not declare.
28922 [__ASSUME_32BITUIDS]: Make code unconditional.
28923 [!__ASSUME_32BITUIDS]: Remove conditional code.
28924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28925 <kernel-features.h>.
28926 [__ASSUME_32BITUIDS]: Make code unconditional.
28927 [!__ASSUME_32BITUIDS]: Remove conditional code.
28928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28929 <kernel-features.h>.
28930 [__ASSUME_32BITUIDS]: Make code unconditional.
28931 [!__ASSUME_32BITUIDS]: Remove conditional code.
28932
a386f1cc
RH
289332012-05-25 Richard Henderson <rth@twiddle.net>
28934
28935 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28936 dl_hwcap to ifunc resolver.
28937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28938 elf_ifunc_invoke.
28939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28940 dl_hwcap to ifunc resolver.
28941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28942
b6550497
JM
289432012-05-24 Joseph Myers <joseph@codesourcery.com>
28944
28945 [BZ #14153]
28946 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28947 for |x| <= 2**-26, not 2**-57.
28948 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28949 exception.
28950
b0bc23a1
JL
289512012-05-24 Jeff Law <law@redhat.com>
28952
28953 * stdio-common/Makefile (tests): Add bug25.
28954 * stdio-common/bug25.c: New test.
28955
347c92e9
L
289562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28957
28958 [BZ #13576]
28959 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28960 multiple of MALLOC_ALIGNMENT in size.
28961 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28962
6bcc8b3f
JM
289632012-05-24 Joseph Myers <joseph@codesourcery.com>
28964
28965 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28966 Require >= 256.
28967 (FILENAME_MAX): Use macro-int-constant.
28968 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28969 (_IOFBF): Use macro-int-constant.
28970 (_IOLBF): Likewise.
28971 (_IONBF): Likewise.
28972 (SEEK_CUR): Likewise.
28973 (SEEK_END): Likewise.
28974 (SEEK_SET): Likewise.
28975 (TMP_MAX): Likewise.
28976 (EOF): Use macro-int-constant. Require < 0.
28977 (NULL): Use macro-constant. Require == 0.
28978 (stdin): Require type to be FILE *.
28979 (stdout): Likewise.
28980 (stderr): Likewise.
28981 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28982 macro-int-constant.
28983 (EXIT_SUCCESS): Likewise.
28984 (NULL): Use macro-constant. Require == 0.
28985 (RAND_MAX): Use macro-int-constant.
28986 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28987 [C99-based standards] (strtof): Require function.
28988 [C99-based standards] (strtold): Likewise.
28989 [C99-based standards] (strtoll): Likewise.
28990 [C99-based standards] (strtoull): Likewise.
28991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28992 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28993 [ISO || ISO99 || ISO11] (math.h): Likewise.
28994 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28997
d18ea0c5
AS
289982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28999
29000 [BZ #14132]
56d25bb8
AS
29001 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29002 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29003 * intl/dgettext.c (DCGETTEXT): Likewise.
29004 * intl/gettext.c (DCGETTEXT): Likewise.
29005 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29006 * posix/regex_internal.h (gettext): Likewise.
29007 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29008 Remove declaration.
29009 * include/argz.h (__argz_count_internal)
29010 (__argz_stringify_internal): Remove declaration.
29011 (__argz_count, __argz_stringify): Declare hidden proto.
29012 * intl/dcgettext.c: Remove use of INTDEF.
29013 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29014 * string/argz-stringify.c: Likewise.
29015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29017 Declare hidden proto.
d18ea0c5
AS
29018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29020 Declare hidden proto.
29021 * include/stdio.h (__asprintf_internal): Don't declare.
29022 (__asprintf): Don't define as macro. Declare hidden proto.
29023 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29024 (__fsetlocking): Declare hidden proto.
29025 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29026 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29027 hidden proto.
29028 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29029 (_IO_setlinebuf): Remove use of INTUSE.
29030 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29031 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29032 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29033 Remove declaration.
29034 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29035 (_IO_do_flush): Remove use of INTUSE.
29036 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29037 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29038 (_IO_adjust_column, _IO_least_wmarker)
29039 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29040 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29041 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29042 (_IO_default_doallocate, _IO_wdefault_doallocate)
29043 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29044 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29045 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29046 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29047 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29048 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29049 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29050 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29051 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29052 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29053 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29054 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29055 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29056 proto.
29057 (_IO_flush_all_internal, _IO_adjust_column_internal)
29058 (_IO_default_uflow_internal, _IO_default_finish_internal)
29059 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29060 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29061 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29062 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29063 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29064 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29065 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29066 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29067 (_IO_file_close_internal, _IO_file_close_it_internal)
29068 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29069 (_IO_file_init_internal, _IO_file_attach_internal)
29070 (_IO_file_fopen_internal, _IO_file_read_internal)
29071 (_IO_file_sync_internal, _IO_file_seek_internal)
29072 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29073 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29074 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29075 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29076 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29077 (_IO_list_all_internal, _IO_link_in_internal)
29078 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29079 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29080 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29081 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29082 (_IO_do_write_internal, _IO_padn_internal)
29083 (_IO_getline_info_internal, _IO_getline_internal)
29084 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29085 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29086 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29087 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29088 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29089 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29090 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29091 with libc_hidden_ver, remove use of INTUSE.
29092 * libio/genops.c: Likewise.
29093 * libio/freopen.c: Likewise.
29094 * libio/freopen64.c: Likewise.
29095 * libio/iofclose.c: Likewise.
29096 * libio/iofdopen.c: Likewise.
29097 * libio/iofflush.c: Likewise.
29098 * libio/iofflush_u.c: Likewise.
29099 * libio/iofgets.c: Likewise.
29100 * libio/iofgets_u.c: Likewise.
29101 * libio/iofopen.c: Likewise.
29102 * libio/iofopncook.c: Likewise.
29103 * libio/iofread.c: Likewise.
29104 * libio/iofread_u.c: Likewise.
29105 * libio/ioftell.c: Likewise.
29106 * libio/iofwrite.c: Likewise.
29107 * libio/iogetline.c: Likewise.
29108 * libio/iogets.c: Likewise.
29109 * libio/iogetwline.c: Likewise.
29110 * libio/iopadn.c: Likewise.
29111 * libio/iopopen.c: Likewise.
29112 * libio/ioseekoff.c: Likewise.
29113 * libio/ioseekpos.c: Likewise.
29114 * libio/iosetbuffer.c: Likewise.
29115 * libio/iosetvbuf.c: Likewise.
29116 * libio/ioungetc.c: Likewise.
29117 * libio/ioungetwc.c: Likewise.
29118 * libio/iovdprintf.c: Likewise.
29119 * libio/iovsprintf.c: Likewise.
29120 * libio/iovsscanf.c: Likewise.
29121 * libio/memstream.c: Likewise.
29122 * libio/obprintf.c: Likewise.
29123 * libio/oldfileops.c: Likewise.
29124 * libio/oldiofclose.c: Likewise.
29125 * libio/oldiofdopen.c: Likewise.
29126 * libio/oldiofopen.c: Likewise.
29127 * libio/oldiopopen.c: Likewise.
29128 * libio/oldstdfiles.c: Likewise.
29129 * libio/putc.c: Likewise.
29130 * libio/setbuf.c: Likewise.
29131 * libio/setlinebuf.c: Likewise.
29132 * libio/stdfiles.c: Likewise.
29133 * libio/strops.c: Likewise.
29134 * libio/vasprintf.c: Likewise.
29135 * libio/vscanf.c: Likewise.
29136 * libio/vsnprintf.c: Likewise.
29137 * libio/vswprintf.c: Likewise.
29138 * libio/wfiledoalloc.c: Likewise.
29139 * libio/wfileops.c: Likewise.
29140 * libio/wgenops.c: Likewise.
29141 * libio/wmemstream.c: Likewise.
29142 * libio/wstrops.c: Likewise.
29143 * libio/__fpurge.c: Likewise.
29144 * libio/__fsetlocking.c: Likewise.
29145 * assert/assert.c: Likewise.
29146 * debug/fgets_chk.c: Likewise.
29147 * debug/fgets_u_chk.c: Likewise.
29148 * debug/fread_chk.c: Likewise.
29149 * debug/fread_u_chk.c: Likewise.
29150 * debug/gets_chk.c: Likewise.
29151 * debug/obprintf_chk.c: Likewise.
29152 * debug/vasprintf_chk.c: Likewise.
29153 * debug/vdprintf_chk.c: Likewise.
29154 * debug/vsnprintf_chk.c: Likewise.
29155 * debug/vsprintf_chk.c: Likewise.
29156 * malloc/mtrace.c: Likewise.
29157 * misc/error.c: Likewise.
29158 * misc/syslog.c: Likewise.
29159 * stdio-common/asprintf.c: Likewise.
29160 * stdio-common/fxprintf.c: Likewise.
29161 * stdio-common/getw.c: Likewise.
29162 * stdio-common/isoc99_fscanf.c: Likewise.
29163 * stdio-common/isoc99_scanf.c: Likewise.
29164 * stdio-common/isoc99_vfscanf.c: Likewise.
29165 * stdio-common/isoc99_vscanf.c: Likewise.
29166 * stdio-common/isoc99_vsscanf.c: Likewise.
29167 * stdio-common/printf-prs.c: Likewise.
29168 * stdio-common/printf_fp.c: Likewise.
29169 * stdio-common/printf_fphex.c: Likewise.
29170 * stdio-common/printf_size.c: Likewise.
29171 * stdio-common/putw.c: Likewise.
29172 * stdio-common/scanf.c: Likewise.
29173 * stdio-common/sprintf.c: Likewise.
29174 * stdio-common/tmpfile.c: Likewise.
29175 * stdio-common/vfprintf.c: Likewise.
29176 * stdio-common/vfscanf.c: Likewise.
29177 * stdlib/strfmon_l.c: Likewise.
29178 * sunrpc/openchild.c: Likewise.
29179 * sunrpc/xdr_stdio.c: Likewise.
29180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29181 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29182
d6c33fda
RM
291832012-05-24 Roland McGrath <roland@hack.frob.com>
29184
c1487492
RM
29185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29186
29187 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29188 in the third column, to generate for the shared library an IFUNC
29189 that uses _dl_vdso_vsym.
29190 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29191 * Makeconfig (object-suffixes-noshared): New variable.
29192
29193 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29194 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29195 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29196 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29197
d6c33fda
RM
29198 [BZ #14132]
29199 * include/sys/time.h (__gettimeofday): Remove macro.
29200 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29201 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29202 Remove INTDEF.
29203 (__gettimeofday): Add libc_hidden_def.
29204 (gettimeofday): Add libc_hidden_weak.
29205 * sysdeps/mach/gettimeofday.c: Likewise.
29206 * sysdeps/posix/gettimeofday.c: Likewise.
29207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29210 (__gettimeofday_internal): Remove strong_alias.
29211 (__gettimeofday): Add libc_hidden_def.
29212 (gettimeofday): Add libc_hidden_weak.
29213 * sysdeps/unix/syscalls.list (gettimeofday):
29214 Remove __gettimeofday_internal alias.
29215
b5a2bbe6
L
292162012-05-24 Daniel Jacobowitz <drow@false.org>
29217 H.J. Lu <hongjiu.lu@intel.com>
29218
29219 [BZ #12495]
29220 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29221 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29222 (largebin_index_32_big): New.
29223 (largebin_index): Use it for 16-byte alignment.
29224 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29225 correction with front_misalign.
29226
cfba4fda
L
292272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29228
7f907421
L
29229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29231 Likewise.
29232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29233 Likewise.
29234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29235 Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29237 Likewise.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29239 Likewise.
29240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29241 Likewise.
29242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29243 Likewise.
29244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29245 Likewise.
29246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29247 Likewise.
29248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29249 Likewise.
29250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29251 Likewise.
29252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29253 Likewise.
29254
cfba4fda
L
29255 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29256 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29257
80bad0cc
JM
292582012-05-24 Joseph Myers <joseph@codesourcery.com>
29259
7a25eb06
JM
29260 [BZ #10846]
29261 [BZ #14036]
29262 * math/libm-test.inc (exp_test): Add test from bug 14036.
29263 (pow_test): Add test from bug 10846.
29264
795405f9
JM
29265 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29266 and other flags.
29267 (special_function): Do not include flags in test name.
29268 (parse_args): Likewise.
29269 * sysdeps/i386/fpu/libm-test-ulps: Update.
29270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274
80bad0cc
JM
29275 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29276 exceptions.
29277 * math/libm-test.inc ("Philosophy"): Update comment about
29278 exception testing.
29279 (UNDERFLOW_EXCEPTION): New macro.
29280 (UNDERFLOW_EXCEPTION_OK): Likewise.
29281 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29282 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29283 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29284 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29285 (INVALID_EXCEPTION_OK): Update value.
29286 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29287 (OVERFLOW_EXCEPTION_OK): Likewise.
29288 (IGNORE_ZERO_INF_SIGN): Likewise.
29289 (test_exceptions): Handle underflow exceptions.
29290 (acos_test): Update for underflow exception expectations.
29291 (cexp_test): Likewise.
29292 (clog_test): Likewise.
29293 (clog10_test): Likewise.
29294 (csqrt_test): Likewise.
29295 (ctan_test): Likewise.
29296 (ctanh_test): Likewise.
29297 (exp_test): Likewise.
29298 (exp10_test): Likewise.
29299 (exp2_test): Likewise.
29300 (expm1_test): Likewise.
29301 (fma_test): Likewise.
29302 (j0_test): Likewise.
29303 (jn_test): Likewise.
29304 (nexttoward_test): Likewise.
29305 (pow_test): Likewise.
29306 (scalbn_test): Likewise.
29307 (scalbln_test): Likewise.
29308 (tan_test): Likewise.
29309 (y1_test): Likewise.
29310 * sysdeps/i386/fpu/libm-test-ulps: Update.
29311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29312
9e0e3d0b
DM
293132012-05-23 David S. Miller <davem@davemloft.net>
29314
29315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29316 (__libc_sigaction): Remove unused local variables.
29317
ccd0a08f
L
293182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29319
29320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29321
62bdf9a6
PE
293222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29323
f8591f80
PE
29324 mktime: avoid signed integer overflow
29325 * time/mktime.c (__mktime_internal): Do not mishandle the case
29326 where diff == INT_MIN.
29327
94c7d826
PE
29328 mktime: simplify computation of average
29329 * time/mktime.c (ranged_convert): Use new time_t_avg function
29330 instead of rolling our own (probably-slower) code.
29331
ce73d683
PE
29332 mktime: do not assume signed right shift propagates sign bit
29333 * time/mktime.c (isdst_differ): New static function.
29334 (__mktime_internal): No need to normalize tm_isdst now.
29335 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29336 tm_isdst values.
29337
72a22e59
PE
29338 mktime: merge another wrapv change from gnulib
29339 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29340 from some compilers.
29341
68605433
PE
29342 mktime: remove incorrect attempt at unusual arithmetics
29343 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29344 The code didn't really work on such machines anyway.
29345 (TYPE_MINIMUM): Assume two's complement.
29346 (twos_complement_arithmetic): Verify that long_int and time_t
29347 are two's complement (or unsigned, in the latter case).
29348
03cf7fe3
PE
29349 mktime: check signed shifts on long_int and time_t, too
29350 * time/mktime.c (SHR): Check that shifts work as desired
29351 on the types long_int and time_t too, as SHR is used on
29352 such types.
29353
f04dfbc2
PE
29354 mktime: do not assume 'long' is wide enough
29355 * time/mktime.c (verify): Move decl up.
29356 (long_int): New type.
29357 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29358 to remove assumption in the code that 'long' is wide enough to
29359 store year values. This assumption is not true on x32 and on
29360 some non-glibc platforms.
29361
62bdf9a6
PE
29362 mktime: merge wrapv change from gnulib
29363 * time/mktime.c (WRAPV): New macro.
29364 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29365 (guess_time_tm, __mktime_internal): Do not assume that signed
29366 integer overflow wraps around; modern compilers generate code
29367 where this assumption is no longer valid.
29368
5e292e4f
L
293692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29370
29371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29372 Replace "jmp L(pseudo_end)" with "ret".
29373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29374 Likewise.
29375
8caf8c87
AJ
293762012-05-23 Andreas Jaeger <aj@suse.de>
29377
29378 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29379 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29380
1a09dc56
AJ
293812012-05-23 Andreas Jaeger <aj@suse.de>
29382 Maximilian Attems <max@stro.at>
29383
29384 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29385 New macros.
29386
1c87aba0
L
293872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29390 code so that pseudo_end is just ret and the stack pointer is
29391 correct also for static library in error case.
29392
40e45bd5
JM
293932012-05-23 Joseph Myers <joseph@codesourcery.com>
29394
c2670533
JM
29395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29396 move to syscalls.list.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29401
40e45bd5
JM
29402 * manual/install.texi (Running make install): Do not mention Linux
29403 kernel version for which pt_chown is not needed.
29404 (Linux): Do not mention problems with nscd with 2.0 kernels.
29405 * INSTALL: Regenerated.
29406
be08eda5
AJ
294072012-05-23 Andreas Jaeger <aj@suse.de>
29408
29409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29410 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29411 macro.
29412 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29414 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29416 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29422 * sysdeps/unix/sysv/linux/bits/in.h
29423 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29424
a6a056bb
RM
294252012-05-22 Roland McGrath <roland@hack.frob.com>
29426
29427 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29428 (PREPARE_VERSION): Just use assert instead, it will be elided
29429 under [NDEBUG] anyway.
29430
c9009328
L
294312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29432
29433 * sysdeps/unix/sysv/linux/Makefile: Include
29434 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29435 (sysdep_routines): Remove sysctl.
c9009328
L
29436 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29437 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29438 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29439 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29440 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29441
73338355
AJ
294422012-05-22 Andreas Jaeger <aj@suse.de>
29443
29444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29445 that pseudo_end is just ret and the stack pointer is correct also
29446 for static library in error case.
29447
d44638b0
PP
294482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29449
29450 [BZ #14122]
29451 * nss/nsswitch.c (defconfig_entries): New variable.
29452 (__nss_database_lookup): Don't leak defconfig entries.
29453 (nss_parse_service_list): Don't leak on error paths.
29454 (free_database_entries): New function.
29455 (free_defconfig): New function.
29456 (free_mem): Move common code to free_database_entries.
29457
31a39bd8
L
294582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29459
da0331a8
L
29460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29461 Add arch_prctl.
29462 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29463
31a39bd8
L
29464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29465 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29467 New macro.
29468 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29469 (INTERNAL_SYSCALL_TYPES): Likewise.
29470 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29471 (LOAD_REGS_TYPES_[1-6]): Likewise.
29472 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29473 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29474
45470df3
AZ
294752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29476
29477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29478 copysignl for GLIBC_2_0.
29479 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29480 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29482 logbl for GLIBC_2_0.
29483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29484 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29485
98a61bcb
L
294862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29487
a4f6e481
L
29488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29490
f63d5db6
L
29491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29492 Use "neg %eax".
29493
98a61bcb
L
29494 * time/mktime.c: Update copyright years.
29495
95770f14
PE
294962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29497
6226efbd
PE
29498 mktime: merge comment-quoting-style change from gnulib
29499 * time/mktime.c: Quote 'like this' in comments.
29500 The GNU coding standards suggest that we no longer quote `like this',
29501 as "`" and "'" are typically rendered asymmetrically nowadays.
29502 The typical gnulib style is to quote 'like this' when quoting
29503 code, and "like this" when quoting English.
29504
b99e4f78
PE
29505 * time/mktime.c (compile-command): Add "-I.".
29506
643e01e6
PE
29507 mktime: merge mktime-internal.h change from gnulib
29508 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29509
2554247d
PE
29510 mktime: merge time_r change from gnulib
29511 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29512
826dd0ab
PE
29513 mktime: merge DEBUG change from gnulib
29514 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29515 case system <time.h> has a #define.
29516
bd83aabe
PE
29517 mktime: merge <sys/types.h> change from gnulib
29518 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29519 since <time.t> is now guaranteed to define time_t.
29520
95770f14
PE
29521 mktime: merge HAVE_CONFIG_H change from gnulib
29522 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29523
5e1a27a9
L
295242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29525
0e44a77e
L
29526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29527 Use "neg %eax".
29528
5e1a27a9
L
29529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29530 __rlim_t cast.
29531 (struct rusage): Use anonymous union to pad each field to
29532 __syscall_slong_t.
29533
46259bec
DM
295342012-05-21 David S. Miller <davem@davemloft.net>
29535
29536 * Makefules (o-iterator): Remove .s cases.
29537 (compile-command.s): Delete.
29538 (COMPILE.s): Delete.
29539 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29540
59f0c22e
JM
295412012-05-21 Joseph Myers <joseph@codesourcery.com>
29542
29543 * configure.in (libc_cv_predef_stack_protector): Only consider
29544 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29545 * configure: Regenerated.
29546
20c07380
L
295472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29548
bbb3154b
L
29549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29550 New macro. Use R*LP on int and pointer.
29551 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29552 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29553 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29554 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29555
20c07380
L
29556 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29557 [__WORDSIZE_TIME64_COMPAT32] instead of
29558 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29559 (struct utmp): Likewise.
29560 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29561 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29562 Renamed to ...
29563 (__WORDSIZE_TIME64_COMPAT32): This.
29564 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29565 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29566 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29567 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29569 (__WORDSIZE_TIME64_COMPAT32): New macro.
29570
d8d1017e
AJ
295712012-05-21 Andreas Jaeger <aj@suse.de>
29572
29573 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29574 only if [SHARED]. Add prototype for __wcschr_ia32.
29575
6c7fb145
RM
295762012-05-21 Roland McGrath <roland@hack.frob.com>
29577
29578 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29579 of %rbp unmolested in the jmp_buf while mangling the low bits.
29580 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29581 unmolested high bits of %rbp while demangling the low bits.
29582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29583
66274218
AJ
295842012-05-21 Andreas Jaeger <aj@suse.de>
29585
07c58f8f
AJ
29586 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29587 * sunrpc/svc_simple.c: Use it for registerrpc.
29588 * sunrpc/xcrypt.c: Use it for passwd2des.
29589
66274218
AJ
29590 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29591
61f65140
L
295922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29593
29594 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29595 Don't define if [__SYSCALL_WORDSIZE != 32].
29596 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29597 New macro.
29598
5fefb436
AJ
295992012-05-21 Bruno Haible <bruno@clisp.org>
29600 Andreas Jaeger <aj@suse.de>
29601
29602 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29603 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29604 inptr and inend for must_buffer_ch.
29605 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29606 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29607 * stdio-common/Makefile (tests): Remove bug15.
29608 (bug15-ENV): Remove macro.
29609 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29610 anymore.
29611
d8e272ab
AJ
296122012-05-19 Andreas Jaeger <aj@suse.de>
29613 Roland McGrath <roland@hack.frob.com>
29614
29615 * manual/contrib.texi: Completely rewritten. It contains now an
29616 alphabetical list of contributors and their contributions.
29617
4a56a162
RH
296182012-05-21 Richard Henderson <rth@twiddle.net>
29619
29620 * misc/getauxval.c (__getauxval): Use unsigned long int.
29621 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29622 (getauxval): Use unsigned long int.
29623
d024d23c
L
296242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29627
cbc00a03
RM
296282012-05-21 Roland McGrath <roland@hack.frob.com>
29629
29630 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29631 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29632 __alignof__ (long double).
29633
478143fa
AZ
296342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29635
29636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29637
c7683a6d
RH
296382012-05-20 Richard Henderson <rth@twiddle.net>
29639
29640 * misc/getauxval.c: New file.
29641 * misc/sys/auxv.h: New file.
29642 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29643 (routines): Add getauxval.
29644 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29646 * elf/dl-sysdep.c (_dl_auxv): Remove.
29647 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29648 * elf/dl-support.c (_dl_auxv): New variable.
29649 (_dl_aux_init): Initialize it.
29650 * manual/startup.texi (Auxiliary Vector): New node.
29651 * sysdeps/generic/bits/hwcap.h: New file.
29652 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29653 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29654 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29655 * sysdeps/sparc/sysdep.h: ... here. Include it.
29656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29659 Update.
c7683a6d
RH
29660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29668
a6f1845d
AZ
296692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29670
29671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29672
cbcbe830
DM
296732012-05-19 David S. Miller <davem@davemloft.net>
29674
29675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29676
e0b16cc2
JM
296772012-05-19 Joseph Myers <joseph@codesourcery.com>
29678
29679 [BZ #14123]
29680 * math/s_ccosh.c: Include <float.h>
29681 (__ccosh): Avoid internal overflow calculating sinh and cosh
29682 values before multiplying by sin and cos values.
29683 * math/s_ccoshf.c: Likewise.
29684 * math/s_ccoshl.c: Likewise.
29685 * math/s_csin.c: Likewise.
29686 * math/s_csinf.c: Likewise.
29687 * math/s_csinl.c: Likewise.
29688 * math/s_csinh.c: Likewise.
29689 * math/s_csinhf.c: Likewise.
29690 * math/s_csinhl.c: Likewise.
29691 * math/libm-test.inc (ccos_test): Add more tests.
29692 (ccosh_test): Likewise.
29693 (csin_test): Likewise.
29694 (csinh_test): Likewise.
29695 * sysdeps/i386/fpu/libm-test-ulps: Update.
29696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697
6ad13e08
L
296982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29699
f66f0ce8
L
29700 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29701 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29702
6ad13e08
L
29703 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29704
b1d072a7
JM
297052012-05-19 Joseph Myers <joseph@codesourcery.com>
29706
29707 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29708 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29709 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29710 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29711 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29712 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29713 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29714 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29715 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29716 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29717 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29718 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29719 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29720 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29721 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29722 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29723 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29724 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29725 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29726 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29727 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29728 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29729 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29730 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29731 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29732 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29733 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29734 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29735 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29736 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29737 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29738
9eae47cb
AJ
297392012-05-18 Andreas Jaeger <aj@suse.de>
29740
29741 * csu/.gitignore: Delete.
29742
bb07f69f
L
297432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29744
29745 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29746 (timex): Use __syscall_slong_t.
29747
e6bdb741
AJ
297482012-05-18 Andreas Jaeger <aj@suse.de>
29749 Carlos O'Donell <carlos_odonell@mentor.com>
29750
29751 * manual/install.texi (Configuring and compiling): Update
29752 description about files modified in the source directory.
d6c33fda 29753 * INSTALL: Regenerated.
e6bdb741 29754
1b74487e
L
297552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29756
29757 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29758 value. Use "or" to set return value to -1.
29759 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29760 negate return value.
29761
a88b64b9
TMQMF
297622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29763
57f41c40
AS
29764 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29765 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29766 failure if the compiler has Graphite support disabled.
29767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29768 Likewise.
57f41c40
AS
29769 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29770 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29772 Likewise.
29773
3707636e
L
297742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29775
610b8622
L
29776 * sysdeps/x86_64/x32/_itoa.h: New file.
29777
7cd195df
L
29778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29779 getdents system call only if kernel and user dirents have the
29780 same d_ino and d_off.
29781
94b07d20
L
29782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29783 LLONG_MAX != LONG_MAX.
29784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29785 (_fitoa_word): Likewise.
29786
18298070
L
29787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29788 years.
29789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29792
553c7ea4
L
29793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29794 include <bits/wordsize.h>. Check __x86_64__ instead of
29795 __WORDSIZE.
29796 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29797 if __x86_64__ is defined. Use anonymous union on fpstate.
29798
3707636e
L
29799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29800 anonymous union.
29801
b53ef01a
AS
298022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29803
37fb1dc0
AS
29804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29805 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29807 Refer to _rtld_local_ro instead of _rtld_global_ro.
29808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29809 Likewise.
29810 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29811 Likewise.
29812 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29813 Likewise.
29814 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29815 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29816 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29817
b53ef01a
AS
29818 * sysdeps/powerpc/powerpc32/dl-machine.c
29819 (__elf_machine_runtime_setup) [PROF]: Don't reference
29820 _dl_prof_resolve.
29821
7a185db2
AJ
298222012-05-18 Andreas Jaeger <aj@suse.de>
29823
29824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29825 function only available for GCCs before 3.4 since GCC 3.4
29826 introduced a builtin.
29827 (lrint): Likewise.
29828 (llrintf): Likewise.
29829 (llrint): Likewise.
29830 (fmaxf): Likewise.
29831 (fmax): Likewise.
29832 (fminf): Likewise.
29833 (fmin): Likewise.
29834 (rint): Likewise.
29835 (rintf): Likewise.
29836 (nearbyint): Likewise.
29837 (nearbyintf): Likewise.
29838 (ceil): Likewise.
29839 (ceilf): Likewise.
29840 (floor): Likewise.
29841 (floorf): Likewise.
29842
3e5aef87
L
298432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29844
428bd707
L
29845 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29846 on both fields and cast pointer to __syscall_ulong_t.
29847
3e5aef87
L
29848 * bits/types.h (__fsword_t): New type.
29849 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29850 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29852 (__FSWORD_T_TYPE): Likewise.
29853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29854 (__FSWORD_T_TYPE): Likewise.
29855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29856 (__FSWORD_T_TYPE): Likewise.
29857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29858 (__FSWORD_T_TYPE): Likewise.
29859 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29860 __SWORD_TYPE with __fsword_t.
29861 (statfs64): Likewise.
29862
1ba7c3dc
DM
298632012-05-17 David S. Miller <davem@davemloft.net>
29864
29865 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29866
59910343
AJ
298672012-05-17 Andreas Jaeger <aj@suse.de>
29868
29869 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29870 warning.
29871
2e4c1e9e
L
298722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29873
29874 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29875
de7f5ce7
AJ
298762012-05-17 Andreas Jaeger <aj@suse.de>
29877
29878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29879 when it is used.
29880
286abc3d
CM
298812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29882
29883 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29884
477cc68e
L
298852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29886
29887 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29888 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29889
1a0994f5
CD
298902012-05-17 Andreas Jaeger <aj@suse.de>
29891 Carlos O'Donell <carlos_odonell@mentor.com>
29892
29893 [BZ #14059]
29894 * sysdeps/x86_64/multiarch/init-arch.h
29895 (bit_YMM_Usable): Rename to...
29896 (bit_AVX_Usable): ... this.
29897 (bit_FMA4_Usable): New macro.
29898 (bit_XMM_state): New macro.
29899 (bit_YMM_state): New macro.
29900 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29901 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29902 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29903 (CPUID_OSXSAVE): New macro.
29904 (CPUID_AVX): New macro.
29905 (CPUID_FMA4): New macro.
29906 (index_YMM_Usable): Rename to...
29907 (index_AVX_Usable): ... this.
29908 (HAS_AVX): Use HAS_ARCH_FEATURE.
29909 (HAS_FMA4): Likewise.
29910 (HAS_YMM_USABLE): Remove.
29911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29912 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29913 are present.
29914 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29915 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29916 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29917 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29918 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29919
0af797de
CM
299202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29921
29922 * math/libm-test.c: Support platforms without multiple rounding modes.
29923 * math/bug-nextafter.c: Support platforms without FP exceptions.
29924 * math/bug-nexttoward.c: Likewise.
29925 * math/test-fenv.c: Likewise.
29926 * math/test-misc.c: Likewise.
29927 * stdlib/bug-getcontext.c: Likewise.
29928
e39745ff
AJ
299292012-05-17 Andreas Jaeger <aj@suse.de>
29930
29931 * manual/examples/search.c (critter_cmp): Change signature to
29932 avoid warnings.
29933 * manual/string.texi (Collation Functions): Likewise.
29934
48970aba
L
299352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29936
29937 * bits/types.h: Fold copyright years.
29938 * bits/typesizes.h: Likewise.
29939 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29943 * time/time.h: Likewise.
29944
bedee953
PP
299452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29946
29947 [BZ #208]
29948 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29949 in instead of returning them. Return void.
29950 (__libc_mallinfo): Accumulate over all arenas.
29951 (__malloc_stats): Adjust for change in int_mallinfo interface.
29952
61653dfb
RM
299532012-05-16 Roland McGrath <roland@hack.frob.com>
29954
30b99d79
RM
29955 [BZ #10375]
29956 * configure.in (NM): Add AC_CHECK_TOOL for it.
29957 (libc_extra_cflags): New substituted variable.
29958 Check for -fstack-protector being used implicitly.
29959 * configure: Regenerated.
29960 * config.make.in (config-extra-cflags): New variable,
29961 gets @libc_extra_cflags@.
29962 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29963
61653dfb
RM
29964 [BZ #10375]
29965 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29966 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29967 * configure: Regenerated.
29968 * config.make.in (CPPUNDEFS): New substituted variable.
29969 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29970 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29971 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29972
661768bb
L
299732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29974
29975 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29976 (mq_attr): Use __syscall_slong_t.
29977
d4261567
L
299782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29979
29980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29981 Check __x86_64__ instead of __WORDSIZE.
29982 (_STAT_VER_LINUX): Likewise.
29983 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29984 __syscall_ulong_t and __syscall_slong_t.
29985 (stat64): Likewise.
29986
cf3ff365
L
299872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29988
29989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29990
76cf3e4d
L
299912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29992
29993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29994
a637753a
L
299952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29996
29997 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29998 __syscall_ulong_t.
29999
d5e05119
L
30000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30001 include <bits/wordsize.h>. Check __x86_64__ instead of
30002 __WORDSIZE.
30003 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30004 defined.
30005 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30006
f62ee380
L
30007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30008 include <bits/wordsize.h>. Check __x86_64__ instead of
30009 __WORDSIZE.
30010 (user_regs_struct): Use "__extension__ unsigned long long"
30011 instead of "unsigned long" if __x86_64__ is defined.
30012 (user): Likewise. Pad after pointer field if __ILP32__ is
30013 defined.
30014
4e124ced
JM
300152012-05-16 Joseph Myers <joseph@codesourcery.com>
30016
6a3951a0
JM
30017 * configure.in (makeinfo): Require version 4.5 or later. Allow
30018 versions 5 to 9.
30019 * configure: Regenerated.
30020 * manual/install.texi (texinfo): Increase version requirement to
30021 4.5 or later.
30022 * INSTALL: Regenerated.
30023
4e124ced
JM
30024 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30025
953ca31a
L
300262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30027
30028 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30029
617aca05
L
30030 * sysdeps/x86_64/x32/ffs.c: New file.
30031
5762f7ae
L
30032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30033 __syscall_ulong_t.
30034 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30035 defined. Use __syscall_ulong_t.
30036 (shminfo): Use __syscall_ulong_t.
30037 (shm_info): Likewise.
30038
a26b6856
L
30039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30040 __syscall_ulong_t.
30041
cb2b9ef7
L
30042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30043 <bits/wordsize.h>.
30044 (msgqnum_t): Use __syscall_ulong_t.
30045 (msglen_t): Likewise.
30046 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30047 __syscall_ulong_t.
30048
34683bb0
L
30049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30051
84a68786
L
30052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30053
48baa5f1
L
30054 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30055 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30056
180be88b
L
30057 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30058 __syscall_slong_t.
30059
5e90c8ad
L
30060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30061 include <bits/wordsize.h>. Check __x86_64__ instead of
30062 __WORDSIZE.
30063
23dfb58b
L
30064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30065 "unsigned long long int" if __x86_64__ is defined.
30066 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30067
ce5d54b0
L
30068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30070 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30071
13dc9eac
L
30072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30073 <stdint.h>.
30074 (GET_PC): Cast to uintptr_t first.
30075 (GET_FRAME): Likewise.
30076 (GET_STACK): Likewise.
30077
a7895d15
L
30078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30107
656416c9
AS
301082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30109
5bd66283
AS
30110 * Makerules (+depfiles): Also collect depfiles from .oS in
30111 $(extra-objs).
30112 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30113 .oS, $(libnldbl-routines)).
30114
656416c9
AS
30115 * Makerules (native-compile-mkdep-flags): Define.
30116 * sunrpc/Makefile (extra-objs): Add $(addprefix
30117 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30118 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30119 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30120 calling $(make-target-directory).
30121
a46f2169
L
301222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30123
30124 * bits/types.h (__snseconds_t): Removed.
30125 * time/time.h (struct timespec): Replace __snseconds_t with
30126 __syscall_slong_t.
30127 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30128 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30129 Likewise.
30130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30131 (__SNSECONDS_T_TYPE): Likewise.
30132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30133 (__SNSECONDS_T_TYPE): Likewise.
30134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30135 (__SNSECONDS_T_TYPE): Likewise.
30136
6af6528b
L
301372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30138
30139 * sysdeps/mach/hurd/bits/typesizes.h
30140 (__SYSCALL_SLONG_TYPE): New macro.
30141 (__SYSCALL_ULONG_TYPE): Likewise.
30142
de986b56
L
301432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30144
30145 * bits/types.h (__syscall_slong_t): New type.
30146 (__syscall_ulong_t): Likewise.
30147
30148 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30149 (__SYSCALL_ULONG_TYPE): Likewise.
30150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30151 (__SYSCALL_SLONG_TYPE): Likewise.
30152 (__SYSCALL_ULONG_TYPE): Likewise.
30153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30154 (__SYSCALL_SLONG_TYPE): Likewise.
30155 (__SYSCALL_ULONG_TYPE): Likewise.
30156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30157 (__SYSCALL_SLONG_TYPE): Likewise.
30158 (__SYSCALL_ULONG_TYPE): Likewise.
30159
85736dc7
L
301602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30161
30162 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30163 Add sigaltstack-offsets.sym.
30164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30165 <sigaltstack-offsets.h>.
30166 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30167 longjmp_msg pointer.
30168 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30169 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30170 signal stack.
30171 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30172
cc03b296
JM
301732012-05-15 Joseph Myers <joseph@codesourcery.com>
30174
a9538892
JM
30175 * elf/stackguard-macros.h: Remove file.
30176 * sysdeps/generic/stackguard-macros.h: New file.
30177 * sysdeps/i386/stackguard-macros.h: Likewise.
30178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30184 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30185 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30186 <elf/stackguard-macros.h>.
30187
cc03b296
JM
30188 [BZ #14109]
30189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30190 __aligned__ in attribute.
30191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30192 (gregset_t): Likewise.
30193
93171016
L
301942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30195
30196 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30197 * sysdeps/x86_64/64/Implies-after: Here. New file.
30198 * sysdeps/x86_64/x32/Implies-after: New file.
30199
d86813a0
L
302002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30203 and access return value for _dl_profile_fixup. Use R10_LP to
30204 load frame size.
30205
2953ec75
L
302062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30207
30208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30209
3b550e9e
L
302102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30211
30212 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30213 * sysdeps/x86_64/x32/sysdep.h: New file.
30214
eda41706
L
302152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30216
30217 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30218 * sysdeps/x86_64/setjmp.S: Likewise.
30219
9ea01d93
AZ
302202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30221
30222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30224 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30226 remove unused global constant.
30227
02a91938
CM
302282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30229
30230 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30231 include of <not-cancel.h>.
30232
6540185f
RM
302332012-05-15 Roland McGrath <roland@hack.frob.com>
30234
30235 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30236
509072a0
AJ
302372012-05-15 Jeff Law <law@redhat.com>
30238 Andreas Jaeger <aj@suse.de>
30239
30240 [BZ #13594]
30241 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30242 out from...
30243 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30244 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30246 code changing __hst_map_handle.map.
30247
ba75122d
RM
302482012-05-15 Roland McGrath <roland@hack.frob.com>
30249
30250 * configure.in (sysnames): Look for Implies-before and Implies-after
30251 files.
30252 * configure: Regenerated.
30253
890d8bd8
L
302542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30257 8-byte data alignment with LP_SIZE alignment.
30258
f6ee6623
L
302592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30260
30261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30262 into R10_LP.
30263
ea2626f6
L
302642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30267
085f715e
L
302682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30271 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30273 Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30275
be8498fc
L
302762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30277
30278 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30279 (stackinfo_sub_sp): Likewise.
30280
70bc83b9
L
302812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30282
30283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30284 RAX_LP.
30285
9bc0b730
L
302862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30287
30288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30289 into R*_LP.
30290
6d2850e7
L
302912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30292
30293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30294 sizes into R*_LP.
30295
3cb84561
L
302962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30297
30298 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30299
54e2ed81
L
303002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30301
30302 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30303 into R11_LP and load __x86_64_shared_cache_size_half into
30304 R8_LP.
30305
8a17f349
L
303062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30307
30308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30309 R8_LP.
30310
777b1eea
AZ
303112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30312
30313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30314 logb for POWER7.
30315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30316 logbf for POWER7.
30317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30318 logbl for POWER7.
30319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30320 powerpc32/power7/fpu/s_logb.c via #include.
30321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30322 powerpc32/power7/fpu/s_logbf.c via #include.
30323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30324 powerpc32/power7/fpu/s_logbl.c via #include.
30325
d20d4ac2
JM
303262012-05-15 Joseph Myers <joseph@codesourcery.com>
30327
30328 * README.libm: Remove file.
30329
6cdef1ab
L
303302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30333 count for x32. Use R*_LP and omit operand-size suffix.
30334
0b254d8f
L
303352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30336
30337 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30338 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30339 * sysdeps/x86_64/x32/shlib-versions: New file.
30340
ceb809dc
RM
303412012-05-14 Roland McGrath <roland@hack.frob.com>
30342
30343 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30344 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30345 Use _dl_fatal_printf instead.
30346
37f1abd4
JM
303472012-05-14 Joseph Myers <joseph@codesourcery.com>
30348
30349 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30350 set if not set by the user. Do not allow for being unset.
30351 * sysdeps/unix/sysv/linux/configure: Regenerated.
30352
11de3a33
L
303532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30354
30355 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30356 the `q' suffix from lea and replace .quad with ASM_ADDR.
30357
e02f153a
L
303582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30359
30360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30361 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30362 instead of $17.
30363 (PTR_DEMANGLE): Likewise.
30364
520ae0fd
L
303652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30366
30367 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30368 (LP_OP): Likewise.
30369 (ASM_ADDR): Likewise.
30370 (RAX_LP): Likewise.
30371 (RBP_LP): Likewise.
30372 (RBX_LP): Likewise.
30373 (RCX_LP): Likewise.
30374 (RDI_LP): Likewise.
30375 (RSI_LP): Likewise.
30376 (RSP_LP): Likewise.
30377 (R8_LP): Likewise.
30378 (R9_LP): Likewise.
30379 (R10_LP): Likewise.
30380 (R10_LP): Likewise.
30381 (R11_LP): Likewise.
30382 (R12_LP): Likewise.
30383 (R13_LP): Likewise.
30384 (R14_LP): Likewise.
30385 (R15_LP): Likewise.
30386
b985be81
L
303872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 * sysdeps/x86_64/x32/dl-machine.h: New file.
30390
6a4888ff
AJ
303912012-05-14 Andreas Jaeger <aj@suse.de>
30392
30393 * manual/Makefile (subdir): Remove export of subdir.
30394 (all): Remove target.
30395 (.PHONY): Remove all from list.
30396 (mkinstalldirs): Remove.
30397 (.PHONY): Remove installdirs from list.
30398 ($(inst_infodir)/libc.info): Use make-target-directory.
30399 (installdirs): Remove.
30400 (subdir_%): Remove.
30401 (glibc-targets): Remove.
30402 (lib): Remove.
30403 (stubs): Remove.
30404 ($(objpfx)stubs ../po/manual.pot): Remove.
30405 ($(objpfx)stamp%): Remove.
30406 (make-target-directory): Remove.
30407 (subdir_install): Remove.
30408 (routines): Remove.
30409 (aux): Remove.
30410 (sources): Remove.
30411 (objects): Remove.
30412 (headers): Remove.
30413
30414 [BZ #13750]
30415 * manual/.gitignore: Remove, it's not needed anymore.
30416 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30417 all files in it.
30418 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30419 directory.
30420 (texis): Renamed to $(objpfx)texis.
30421 (texis-path): New, contains path to generated files.
30422 (chapters.%): Use texis-path for complete path, add extra argument
30423 libc-texinfo.sh.
30424 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30425 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30426 (summary,texi, stamp-summary): Use complete path of
30427 files. Generate files in build dir.
30428 (dir-add.texi): Build in build dir.
30429 (libm-err.texi,stamp-libm-err): Likewise.
30430 (version.texi, stamp-version): Likewise.
30431 (.%c.texi): Likewise.
30432 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30433 (mostlyclean): Remove target.
30434 (realclean): Remove target.
30435 (generated): Add new variable with contents from mostlyclean and
30436 realclean, remove entries duplicated in common-mostlyclean, add
30437 stamp-libm-err and stamp-version.
30438 (generated-dirs): Add libc directory.
30439 ($(inst_infodir)/libc.info): Install files from build dir.
30440
30441 * manual/install.texi (Configuring and compiling): Adjust since
30442 the info files are not part of the tar ball anymore.
30443
7ac77294
AJ
304442012-05-14 Andreas Jaeger <aj@suse.de>
30445
30446 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30447 variable.
30448
ffb7875d
JM
304492012-05-14 Joseph Myers <joseph@codesourcery.com>
30450
30451 [BZ #13717]
30452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30453 to 2.2.0 where earlier.
30454 * sysdeps/unix/sysv/linux/configure: Regenerated.
30455 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30456 Remove conditional code.
30457 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30458 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30459 Remove conditional code.
30460 [!__NR_lchown]: Likewise.
30461 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30462 [__NR_lchown]: Likewise.
30463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30464 comment referencing __ASSUME_LCHOWN_SYSCALL.
30465 * sysdeps/unix/sysv/linux/i386/sigaction.c
30466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30468 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30469 Remove conditional code.
30470 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30471 (__protocol_available): Remove #if 0 code.
30472 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30473 conditional code.
30474 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30475 * sysdeps/unix/sysv/linux/kernel-features.h
30476 (__ASSUME_GETCWD_SYSCALL): Don't define.
30477 (__ASSUME_REALTIME_SIGNALS): Likewise.
30478 (__ASSUME_PREAD_SYSCALL): Likewise.
30479 (__ASSUME_PWRITE_SYSCALL): Likewise.
30480 (__ASSUME_POLL_SYSCALL): Likewise.
30481 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30482 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30483 non-SPARC.
30484 (__ASSUME_SIOCGIFNAME): Don't define.
30485 (__ASSUME_MSG_NOSIGNAL): Likewise.
30486 (__ASSUME_SENDFILE): Define unconditionally.
30487 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30488 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30489 conditional code.
30490 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30491 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30493 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30496 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30521 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30522 Remove conditional code.
30523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30524 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30525 Remove conditional code.
30526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30528 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30530 Remove conditional code.
30531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30532 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30533 Remove conditional code.
30534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30535 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30536 Remove conditional code.
30537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30538 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30539 Remove conditional code.
30540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30541 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30542 Remove conditional code.
30543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30544 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30547 * sysdeps/unix/sysv/linux/sigaction.c
30548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30550 * sysdeps/unix/sysv/linux/sigpending.c
30551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30553 * sysdeps/unix/sysv/linux/sigprocmask.c
30554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30556 * sysdeps/unix/sysv/linux/sigsuspend.c
30557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30560 (__libc_missing_rt_sigs): Remove.
30561 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30562 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30563 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30564 Remove conditional code.
30565 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30566 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30567 return 1.
30568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30571 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30572
1bfb7291
AJ
305732012-05-14 Andreas Jaeger <aj@suse.de>
30574
caae5a81
AJ
30575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30576 it's not used in glibc.
30577 (__coshm1): Likewise.
30578 (__acosh1p): Likewise.
30579 (__sgn): Likewise.
30580
1bfb7291
AJ
30581 * manual/string.texi (Copying and Concatenation): Add missing
30582 variable in concat example.
30583 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30584
c044d724
L
305852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30586
144c5467 30587 [BZ #14103]
c044d724
L
30588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30589 __builtin_clzl with __builtin_clzll.
30590
2523c62b
L
305912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30592
30593 [BZ #14104]
30594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30595 libc_freeres_ptr.
30596
d7bb4c42
LD
305972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30598
30599 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30600 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30601 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30603
9dc4e1fb
MF
306042012-05-14 Mike Frysinger <vapier@gentoo.org>
30605
30606 * NEWS: Update ia64 info.
30607
c7df0112
AS
306082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30609
30610 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30611 used as bcopy.
30612
dc70356c
TS
306132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30614
30615 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30616 * sysdeps/unix/syscalls.list (dup3): Likewise.
30617 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30618 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30619
9fb1a21f
L
306202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30621
30622 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30623 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30624
4822a2a5
L
306252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30626
30627 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30628 thread pointer.
30629 (TLS_IE): Use mov/add instead of movq/addq to load thread
30630 pointer.
30631 (TLS_GD_PREFIX): New.
30632 (TLS_GD): Use it.
30633
842b81d6
DM
306342012-05-11 David S. Miller <davem@davemloft.net>
30635
30636 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30637 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30638 (_FPU_SETCW): Likewise.
30639
1cf463cd
L
306402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30641
30642 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30643 is 32-byte aligned.
30644
60cc4a18
AS
306452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30646
30647 [BZ #11837]
30648 * iconvdata/gb18030.c: Update tables.
30649 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30650 characters specially.
30651 (BODY for TO_LOOP): Add encoding of missing ranges.
30652
febb44a4
TS
306532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30654
30655 [BZ #13673]
30656 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30657 * sysdeps/mach/hurd/dup3.c: Likewise.
30658 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30659 * sysdeps/powerpc/memmove.c:: Likewise.
30660
0a10fb9e
L
306612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30662
30663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30664 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30665
df8a552f
L
306662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30667
30668 * elf/elf.h (R_X86_64_RELATIVE64): New.
30669 (R_X86_64_NUM): Updated.
30670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30671 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30672 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30673 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30674 tst-quad1pie tst-quad2pie
30675 (modules-names): Add tst-quadmod1 tst-quadmod2.
30676 ($(objpfx)tst-quad1): New dependency.
30677 ($(objpfx)tst-quad2): Likewise.
30678 ($(objpfx)tst-quad1pie): Likewise.
30679 ($(objpfx)tst-quad2pie): Likewise.
30680 * sysdeps/x86_64/tst-quad1.c: New file.
30681 * sysdeps/x86_64/tst-quad1pie.c: New file.
30682 * sysdeps/x86_64/tst-quad2.c: Likewise.
30683 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30684 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30685 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30686 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30687 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30688
f34d6f84
ST
306892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30690
f42d41d1
ST
30691 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30692 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30693 * streams/stropts.h (t_scalar_t): Define type.
30694
3c3571fc
ST
30695 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30696 (_PATH_PRESERVE): Set to "/var/lib".
30697 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30698
61f06bd3
ST
30699 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30700 instead of int.
30701
918d4d71
ST
30702 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30703 if __dir_mkfile succeeded.
30704
f34d6f84
ST
30705 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30706 checking for _hurd_dtablesize. Unlock it right after having
30707 finished _hurd_dtable allocation.
30708
10589b4a
TS
307092012-05-10 Thomas Schwinge <thomas@schwinge.name>
30710
674cdbc7
TS
30711 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30712 * sysdeps/mach/hurd/configure: Regenerated.
30713 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30714 special-casing to...
30715 * sysdeps/gnu/configure.in: ... this new file.
30716 * sysdeps/unix/sysv/linux/configure: Regenerated.
30717 * sysdeps/gnu/configure: New generated file.
30718
8e41b99f
TS
30719 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30720 for Linux: use nsec instead of usec, as well as:
30721 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30722 members of type struct timespec.
30723 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30724 New macros.
30725 (struct stat64): Likewise.
30726 (_STATBUF_ST_NSEC): New macro.
30727 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30728
10589b4a
TS
30729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30730 __strtoul_internal rather than strtoul.
30731
63643c85
PT
307322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30733
30734 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30735 and reject them.
30736
3faebe6a
ST
307372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738
30739 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30740 which preserves existing values.
30741 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30742
c6474b07
PT
307432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30744
30745 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30746 TIMEOUT values. Return EINVAL for NFDS values either negative or
30747 greater than FD_SETSIZE.
30748
1043890b
ST
307492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30750
30751 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30752 allocated, call __vm_protect to finish enabling the existing space, and
30753 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30754 allocate the remainder.
30755
37ed8b9b
PT
307562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30757
30758 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30759 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30760
db653660
ST
307612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30762
37ed8b9b
PT
30763 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30764 sysdeps/mach/hurd/readlink.c.
b29d4053 30765
db653660
ST
30766 * posix/tst-sysconf.c (posix_options): Only use
30767 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30768 _POSIX_SYNCHRONIZED_IO when they are defined
30769 * sysdeps/mach/hurd/bits/posix_opt.h:
30770 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30771 (_XOPEN_REALTIME): Undefine macro.
30772 (_XOPEN_REALTIME_THREADS): Undefine macro.
30773 (_XOPEN_SHM): Undefine macro.
30774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30775 macro to -1.
30776 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30777 macro to -1.
30778 (_POSIX_ASYNC_IO): Undefine macro.
30779 (_POSIX_PRIORITIZED_IO): Undefine macro.
30780 (_POSIX_SPIN_LOCKS): Define macro to -1.
30781
ee16e894
ST
30782 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30783 SA_NODEFER, SA_RESETHAND.
30784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30785 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30786 F_DUPFD_CLOEXEC.
30787
6103ae3b
TS
307882012-05-10 Thomas Schwinge <thomas@schwinge.name>
30789
30790 * elf/Makefile (pldd-modules): Define unconditionally.
30791
80b4e5f3
TS
307922012-05-10 Thomas Schwinge <thomas@schwinge.name>
30793
30794 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30795
edadcbd6
ST
307962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30797
30798 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30799 Return ENOENT when name is empty.
30800 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30801
80694780
TS
308022012-05-10 Thomas Schwinge <thomas@schwinge.name>
30803
1792c087
TS
30804 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30805
80694780
TS
30806 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30807
6b645f0d
ST
308082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30809
80694780
TS
30810 Fix mlock in all cases except non-readable pages.
30811 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30812 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30813
6b645f0d
ST
30814 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30815 (__mkdir): When path is `/', just fail with EEXIST.
30816 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30817
e468f8a3
TS
308182012-05-10 Thomas Schwinge <thomas@schwinge.name>
30819
30820 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30821 <sys/uio.h> (for writev).
30822 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30823 and <sys/param.h> (for MIN).
30824
a4186cff
PT
308252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30826
30827 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30828 REQUESTED_TIME. Properly set the remaining time and return EINTR
30829 if interrupted.
30830
510bbf14
TS
308312012-05-10 Thomas Schwinge <thomas@schwinge.name>
30832
30833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30834 Depend on against $(link-rpcuserlibs).
30835
5d5722e8
ST
308362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30837
a4186cff
PT
30838 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30839 (__libc_stack_end): Do not use attribute_relro.
30840 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30841 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30842 to libthread-provided value.
a4186cff
PT
30843 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30844 attribute_relro.
5d5722e8 30845
37233df9
TS
308462012-05-10 Thomas Schwinge <thomas@schwinge.name>
30847
be971a2b
TS
30848 [BZ #3748]
30849 * bits/libc-lock.h (__libc_once_get): New macro.
30850 * sysdeps/mach/bits/libc-lock.h: Likewise.
30851 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30853 instead of using implementation details.
30854
37233df9
TS
30855 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30856 * libio/freopen.c: Likewise.
30857 * libio/freopen64.c: Likewise.
30858 * misc/syslog.c: Likewise.
30859 * nscd/connections.c: Likewise.
30860 * nscd/netgroupcache.c: Likewise.
30861 * sysdeps/posix/getcwd.c: Likewise.
30862
38de94a5
RM
308632012-05-10 Roland McGrath <roland@hack.frob.com>
30864
30865 * math/w_ilogbf.c: Add #include <limits.h>.
30866
67530489
ST
308672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30868
a4186cff 30869 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30870 path instead of returning without unlocking.
30871
67530489
ST
30872 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30873 immediate-write ioctls.
30874 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30875
5aa3a74a
TS
308762012-05-10 Thomas Schwinge <thomas@schwinge.name>
30877
18bad2ae
TS
30878 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30879 __builtin_frame_address instead of making assumptions about the
30880 location of the return address relative to DATA. Force early load of
30881 the return address.
30882 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30883 __builtin_frame_address.
30884
5aa3a74a
TS
30885 dup3 for GNU Hurd.
30886 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30887 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30888 implement dup3 and do some further code clean-ups.
30889 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30891
ecd0de9a
ST
308922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30893
cd9fa985
ST
30894 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30895
a4186cff
PT
30896 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30897 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30898 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30899 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30900 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30901 d->port.lock.
802ca5a5 30902
a4186cff
PT
30903 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30904 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30905 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30906
bcf55240
TS
309072012-05-10 Thomas Schwinge <thomas@schwinge.name>
30908
6960eb42
TS
30909 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30910 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30911 definitions.
30912
eb43375f
TS
30913 accept4 for GNU Hurd.
30914 * include/sys/socket.h (__libc_accept4): New prototype.
30915 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30916 to implement __libc_accept4.
30917 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30918 __libc_accept4.
30919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30920
bcf55240
TS
30921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30922 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30923 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30924 signal-defines.sym.
30925
6178c55b
ST
309262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30927
a4186cff 30928 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30929
6f080c2f
TS
309302012-05-10 Thomas Schwinge <thomas@schwinge.name>
30931
30932 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30933 assertion on O_CLOEXEC flag.
30934 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30935 * hurd/intern-fd.c: Likewise.
30936 * hurd/port2fd.c: Likewise.
30937
bcfe3a54
ST
309382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30939
30940 [BZ #3906]
30941 * bits/in.h (IPV6_PKTINFO): Define new macro.
30942 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30943
89c9aa49
AZ
309442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30945
30946 [BZ #13954]
30947 [BZ #13955]
30948 [BZ #13956]
30949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30951 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30955 * math/libm-test.inc (logb_test) : Additional logb tests.
30956
021db4be
AJ
309572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30958 Andreas Jaeger <aj@suse.de>
30959
30960 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30961 * configure: Regenerated.
30962 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30963 * config.make.in (link-obsolete-rpc): New substituted variable.
30964 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30965 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30966 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30967 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30968 so that libc.a contains the symbols.
30969 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30970 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30971 * sunrpc/auth_none.c: Likewise.
30972 * sunrpc/auth_unix.c: Likewise.
30973 * sunrpc/authdes_prot.c: Likewise.
30974 * sunrpc/authuxprot.c: Likewise.
30975 * sunrpc/clnt_gen.c: Likewise.
30976 * sunrpc/clnt_perr.c: Likewise.
30977 * sunrpc/clnt_raw.c: Likewise.
30978 * sunrpc/clnt_simp.c: Likewise.
30979 * sunrpc/clnt_tcp.c: Likewise.
30980 * sunrpc/clnt_udp.c: Likewise.
30981 * sunrpc/clnt_unix.c: Likewise.
30982 * sunrpc/des_crypt.c: Likewise.
30983 * sunrpc/des_soft.c: Likewise.
30984 * sunrpc/get_myaddr.c: Likewise.
30985 * sunrpc/key_call.c: Likewise.
30986 * sunrpc/key_prot.c: Likewise.
30987 * sunrpc/netname.c: Likewise.
30988 * sunrpc/pm_getmaps.c: Likewise.
30989 * sunrpc/pm_getport.c: Likewise.
30990 * sunrpc/pmap_clnt.c: Likewise.
30991 * sunrpc/pmap_prot.c: Likewise.
30992 * sunrpc/pmap_prot2.c: Likewise.
30993 * sunrpc/pmap_rmt.c: Likewise.
30994 * sunrpc/publickey.c: Likewise.
30995 * sunrpc/rpc_cmsg.c: Likewise.
30996 * sunrpc/rpc_common.c: Likewise.
30997 * sunrpc/rpc_dtable.c: Likewise.
30998 * sunrpc/rpc_prot.c: Likewise.
30999 * sunrpc/rpc_thread.c: Likewise.
31000 * sunrpc/rtime.c: Likewise.
31001 * sunrpc/svc.c: Likewise.
31002 * sunrpc/svc_auth.c: Likewise.
31003 * sunrpc/svc_raw.c: Likewise.
31004 * sunrpc/svc_run.c: Likewise.
31005 * sunrpc/svc_tcp.c: Likewise.
31006 * sunrpc/svc_udp.c: Likewise.
31007 * sunrpc/svc_unix.c: Likewise.
31008 * sunrpc/svcauth_des.c: Likewise.
31009 * sunrpc/xcrypt.c: Likewise.
31010 * sunrpc/xdr.c: Likewise.
31011 * sunrpc/xdr_array.c: Likewise.
31012 * sunrpc/xdr_float.c: Likewise.
31013 * sunrpc/xdr_intXX_t.c: Likewise.
31014 * sunrpc/xdr_mem.c: Likewise.
31015 * sunrpc/xdr_rec.c: Likewise.
31016 * sunrpc/xdr_ref.c: Likewise.
31017 * sunrpc/xdr_sizeof.c: Likewise.
31018 * sunrpc/xdr_stdio.c: Likewise.
31019
b5c086a2
RM
310202012-05-10 Roland McGrath <roland@hack.frob.com>
31021
31022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31023 change. Update copyright years.
31024
6d74dd09
JM
310252012-05-10 Joseph Myers <joseph@codesourcery.com>
31026
31027 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31028
28e72501
MK
310292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31030 Joseph Myers <joseph@codesourcery.com>
31031 Paul Pluzhnikov <ppluzhnikov@google.com>
31032
31033 [BZ #14012]
31034 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31035 requiring rpcgen.
31036 [cross-compiling] (extra-libs): Likewise.
31037 [cross-compiling] (extra-libs-others): Likewise.
31038 [cross-compiling] (librpcsvc-routines): Likewise.
31039 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31040 [cross-compiling] (omit-deps): Likewise.
31041 (sunrpc-CPPFLAGS): New variable.
31042 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31043 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31044 (cross-rpcgen-objs): New variable.
31045 (extra-objs): Append $(cross-rpcgen-objs).
31046 ($(cross-rpcgen-objs)): New rule.
31047 ($(objpfx)cross-rpcgen): Likewise.
31048 (rpcgen-cmd): Define to use $(built-program-file). Expand
31049 comment.
31050 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31051 ($(objpfx)x%.stmp): Likewise.
31052 * sunrpc/proto.h [IS_IN_build] (_): Define.
31053 [IS_IN_build] (_libc_intl_domainname): Likewise.
31054
c8c59454
L
310552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31056
31057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31058 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31059 and R_X86_64_TPOFF64.
31060
6f27cd16
JM
310612012-05-10 Joseph Myers <joseph@codesourcery.com>
31062
31063 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31064 sysdeps/unix/sysv/syscalls.list.
31065 (stime): Likewise.
31066 (utime): Likewise.
31067 * sysdeps/unix/sysv/syscalls.list: Remove file.
31068
02467e1c
PE
310692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31070
31071 [BZ #3440]
31072 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31073 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31074 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31075 (__LC_IDENTIFICATION): Make these macros useful in #if
31076 expressions, as required by C99.
31077
da392631
AS
310782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31079
31080 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31081 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31082 after this.
31083
8115f29b
L
310842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31085
31086 * stdlib/longlong.h: Updated from GCC.
31087
bdd74070
AJ
310882012-05-09 Andreas Jaeger <aj@suse.de>
31089
edfe0dbe
AJ
31090 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31091 default is first entry.
31092 (run_mode): Set type.
31093 (main): Remove informal message about syslog.
31094 (options): Fix typo.
31095
bcfe3a54
ST
31096 [BZ #14053]
31097 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31098 to asm.
bcfe3a54
ST
31099 (lrint): Likewise.
31100 (llrintf): Likewise.
31101 (llrint): Likewise.
31102 (rint): Likewise.
31103 (rintf): Likewise.
31104 (nearbyint): Likewise.
31105 (nearbyintf): Likewise.
bdd74070 31106
91d8d69e
AJ
311072012-05-09 Andreas Jaeger <aj@suse.de>
31108 Pedro Alves <palves@redhat.com>
31109
31110 * nscd/nscd.c (run_mode): Use enum.
31111 (main): Cleanup coding style issue.
31112
bb90b80b
AJ
311132012-05-09 Alexandre Oliva <aoliva@redhat.com>
31114 Andreas Jaeger <aj@suse.de>
31115
bcfe3a54
ST
31116 * nscd/nscd.c (go_background): Replaced with...
31117 (run_mode): ... this.
bb90b80b 31118 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31119 (options): Add -F --foreground.
31120 (main): Implement it.
31121 (parse_opt): Parse it.
bb90b80b 31122
1a4b75a1
AJ
311232012-05-09 Andreas Jaeger <aj@suse.de>
31124
31125 [BZ #14083]
31126 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31127 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31128 -Wconversion warning.
31129 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31130 Likewise.
31131
b1cc2472
JM
311322012-05-09 Joseph Myers <joseph@codesourcery.com>
31133
31134 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31135 == 0.
31136 (LC_ALL): Use macro-int-constant.
31137 (LC_COLLATE): Likewise.
31138 (LC_CTYPE): Likewise.
31139 (LC_MESSAGES): Likewise.
31140 (LC_MONETARY): Likewise.
31141 (LC_NUMERIC): Likewise.
31142 (LC_TIME): Likewise.
31143 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31144 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31146 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31147 Specify type.
31148 [C99-based standards] (float_t): Expect type.
31149 [C99-based standards] (double_t): Expect type.
31150 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31151 type.
31152 [C99-based standards] (HUGE_VALL): Likewise.
31153 [C99-based standards] (INFINITY): Likewise.
31154 [C99-based standards] (NAN): Likewise.
31155 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31156 [C99-based standards] (FP_NAN): Likewise.
31157 [C99-based standards] (FP_NORMAL): Likewise.
31158 [C99-based standards] (FP_SUBNORMAL): Likewise.
31159 [C99-based standards] (FP_ZERO): Likewise.
31160 [C99-based standards] (FP_FAST_FMA): Use
31161 optional-macro-int-constant. Specify type. Require == 1.
31162 [C99-based standards] (FP_FAST_FMAF): Likewise.
31163 [C99-based standards] (FP_FAST_FMAL): Likewise.
31164 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31165 [C99-based standards] (FP_ILOGBNAN): Likewise.
31166 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31167 Specify type.
31168 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31169 [C99-based standards] (math_errhandling): Specify type.
31170 [ISO99 || ISO11] (signgam): Do not allow.
31171 [non-C99-based standards] (copysignf): Do not allow.
31172 [non-C99-based standards] (exp2f): Likewise.
31173 [non-C99-based standards] (log2f): Likewise.
31174 [non-C99-based standards] (modff): Allow.
31175 [non-C99-based standards] (erff): Do not allow.
31176 [non-C99-based standards] (erfcf): Likewise.
31177 [non-C99-based standards] (gammaf): Likewise.
31178 [non-C99-based standards] (hypotf): Likewise.
31179 [non-C99-based standards] (j0f): Likewise.
31180 [non-C99-based standards] (j1f): Likewise.
31181 [non-C99-based standards] (jnf): Likewise.
31182 [non-C99-based standards] (lgammaf): Likewise.
31183 [non-C99-based standards] (tgammaf): Likewise.
31184 [non-C99-based standards] (y0f): Likewise.
31185 [non-C99-based standards] (y1f): Likewise.
31186 [non-C99-based standards] (ynf): Likewise.
31187 [non-C99-based standards] (isnanf): Likewise.
31188 [non-C99-based standards] (acoshf): Likewise.
31189 [non-C99-based standards] (asinhf): Likewise.
31190 [non-C99-based standards] (atanhf): Likewise.
31191 [non-C99-based standards] (cbrtf): Likewise.
31192 [non-C99-based standards] (expm1f): Likewise.
31193 [non-C99-based standards] (ilogbf): Likewise.
31194 [non-C99-based standards] (log1pf): Likewise.
31195 [non-C99-based standards] (logbf): Likewise.
31196 [non-C99-based standards] (nextafterf): Likewise.
31197 [non-C99-based standards] (remainderf): Likewise.
31198 [non-C99-based standards] (rintf): Likewise.
31199 [non-C99-based standards] (scalbf): Likewise.
31200 [non-C99-based standards] (copysignl): Likewise.
31201 [non-C99-based standards] (exp2l): Likewise.
31202 [non-C99-based standards] (log2l): Likewise.
31203 [non-C99-based standards] (modfl): Allow.
31204 [non-C99-based standards] (erfl): Do not allow.
31205 [non-C99-based standards] (erfcl): Likewise.
31206 [non-C99-based standards] (gammal): Likewise.
31207 [non-C99-based standards] (hypotl): Likewise.
31208 [non-C99-based standards] (j0l): Likewise.
31209 [non-C99-based standards] (j1l): Likewise.
31210 [non-C99-based standards] (jnl): Likewise.
31211 [non-C99-based standards] (lgammal): Likewise.
31212 [non-C99-based standards] (tgammal): Likewise.
31213 [non-C99-based standards] (y0l): Likewise.
31214 [non-C99-based standards] (y1l): Likewise.
31215 [non-C99-based standards] (ynl): Likewise.
31216 [non-C99-based standards] (isnanl): Likewise.
31217 [non-C99-based standards] (acoshl): Likewise.
31218 [non-C99-based standards] (asinhl): Likewise.
31219 [non-C99-based standards] (atanhl): Likewise.
31220 [non-C99-based standards] (cbrtl): Likewise.
31221 [non-C99-based standards] (expm1l): Likewise.
31222 [non-C99-based standards] (ilogbl): Likewise.
31223 [non-C99-based standards] (log1pl): Likewise.
31224 [non-C99-based standards] (logbl): Likewise.
31225 [non-C99-based standards] (nextafterl): Likewise.
31226 [non-C99-based standards] (remainderl): Likewise.
31227 [non-C99-based standards] (rintl): Likewise.
31228 [non-C99-based standards] (scalbl): Likewise.
31229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31230 [non-C99-based standards] (FP_*): Do not allow.
31231 [C99-based standards] (FP_*): Change to
31232 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31233 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31234 allow.
31235 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31236 (SIG_ERR): Likewise.
31237 [X/Open-based standards] (SIG_HOLD): Likewise.
31238 (SIG_IGN): Likewise.
31239 (SIGABRT): Use macro-int-constant. Specify type. Require
31240 positive value.
31241 (SIGFPE): Likewise.
31242 (SIGILL): Likewise.
31243 (SIGINT): Likewise.
31244 (SIGSEGV): Likewise.
31245 (SIGTER): Likewise.
31246 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31247 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31248 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31249 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31250 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31251 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31252 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31253 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31254 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31255 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31256 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31257 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31258 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31259 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31260 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31261 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31262 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31263 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31264 [X/Open-based standards] (SIGTRAP): Likewise.
31265 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31266 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31267 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31268 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31269 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31270 allow.
31271
b9f1922d
IW
312722012-05-08 Ian Wienand <ianw@vmware.com>
31273
31274 [BZ #14080]
31275 * time/tzset.c (__tzset_parse_tz): Update default rules for
31276 daylight time changes in the Energy Policy Act of 2005.
31277
1db86e88
AJ
312782012-05-09 Andreas Jaeger <aj@suse.de>
31279
31280 [BZ #13983]
31281 * elf/ldconfig.c (parse_conf): Change string to make clear that
31282 ldconfig only issued a warning if ld.so.conf does not exist.
31283
dee4a4e3
DM
312842012-05-08 David S. Miller <davem@davemloft.net>
31285
ee0db190
DM
31286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31287 movxtod instead of popping the value on the stack.
31288
dee4a4e3
DM
31289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31290
6a43ec98
CD
312912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31292
31293 * config.h.in: Add HAVE_ARM_PCS_VFP.
31294
05c2c961
RMG
312952012-05-08 Roland Mc Grath <roland@hack.frob.com>
31296
bcfe3a54
ST
31297 [BZ #13979]
31298 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31299 checking but the checks are disabled for any reason.
05c2c961 31300
4b30f61a
L
313012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31304 and ELF64_R_TYPE with ELFW(R_TYPE).
31305
eee2bc67
JM
313062012-05-08 Joseph Myers <joseph@codesourcery.com>
31307
7ea5391a
JM
31308 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31309 (ulimit): Likewise.
31310
eee2bc67
JM
31311 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31312 (settimeofday): Likewise.
31313
abb66a67
MF
313142012-05-08 Mike Frysinger <vapier@gentoo.org>
31315
31316 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31317 a struct th_u2 inside the union, and move tu_block/tu_code into
31318 a new th_u3 union of tu_block/tu_code inside of that. Move
31319 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31320 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31321 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31322 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31323 (th_stuff): Change to th_u1.tu_stuff.
31324 (th_data): Define.
31325 (th_msg): Change to th_u1.th_u2.tu_data.
31326
7f18b530
DM
313272012-05-07 David S. Miller <davem@davemloft.net>
31328
05760585
DM
31329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31330
7f18b530
DM
31331 [BZ #14074]
31332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31333 (SETUP_PIC_REG): Use it.
31334 (SETUP_PIC_REG_LEAF): Use it.
31335
495fd99f
JM
313362012-05-07 Joseph Myers <joseph@codesourcery.com>
31337
31338 [BZ #13885]
31339 [BZ #13923]
31340 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31341 USE_AS_EXPM1L.
31342 (EXPL_FINITE): Likewise.
31343 (FLDLOG): Likewise.
31344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31345 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31346 e_expl.S.
31347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31348 USE_AS_EXPM1L.
31349 (EXPL_FINITE): Likewise.
31350 (FLDLOG): Likewise.
31351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31352 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31353 e_expl.S.
31354 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31355 test of -max_value argument for long double.
31356 * sysdeps/i386/fpu/libm-test-ulps: Update.
31357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31358
6693d694
DM
313592012-05-06 David S. Miller <davem@davemloft.net>
31360
31361 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31362 quad soft-float symbols whose references which are compiler
31363 generated.
31364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31365
6c23e11c
JM
313662012-05-06 Joseph Myers <joseph@codesourcery.com>
31367
d8b82cad
JM
31368 [BZ #13884]
31369 [BZ #13914]
31370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31371 USE_AS_EXP10L.
31372 (EXPL_FINITE): Likewise.
31373 (FLDLOG): Likewise.
31374 (c0): Likewise.
31375 (c1): Likewise.
31376 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31377 Adjust comments for base varying.
31378 (__expl_finite): Change alias to EXPL_FINITE.
31379 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31380 e_expl.S.
31381 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31382 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31384 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31386 USE_AS_EXP10L.
31387 (EXPL_FINITE): Likewise.
31388 (FLDLOG): Likewise.
31389 (c0): Likewise.
31390 (c1): Likewise.
31391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31392 Adjust comments for base varying.
31393 (__expl_finite): Change alias to EXPL_FINITE.
31394 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31395 tests for bugs.
31396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31397
6c23e11c
JM
31398 [BZ #14064]
31399 * math/libm-test.inc (check_float_internal): Correct ulp
31400 calculation for subnormal expected results.
31401
29ba805c
AJ
314022012-05-06 Andreas Jaeger <aj@suse.de>
31403
31404 * Makeconfig (+math-flags): New, set to -frounding-math.
31405 (+cflags): Add +math-flags so that all of glibc gets compiled with
31406 it.
31407
31408 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31409
7b17aeda
JM
314102012-05-05 Joseph Myers <joseph@codesourcery.com>
31411
5779f134
JM
31412 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31413 Disable one test.
31414
41498f4d
JM
31415 [BZ #13787]
31416 [BZ #13922]
31417 [BZ #14036]
31418 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31419 (__ieee754_expl): Allow for and saturate large arguments.
31420 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31421 (u_threshold): Likewise.
31422 (__exp): Call __ieee754_exp before checking for overflow and
31423 underflow.
31424 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31425 (u_threshold): Likewise.
31426 (__expf): Call __ieee754_expf before checking for overflow and
31427 underflow.
31428 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31429 (u_threshold): Likewise.
31430 (__expl): Call __ieee754_expl before checking for overflow and
31431 underflow.
31432 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31433 (__ieee754_expl): Allow for and saturate large arguments.
31434 * math/libm-test.inc (exp_test): Add another test. Do not allow
31435 missing overflow exception on overflow.
31436 (expm1_test): Do not allow missing overflow exception on overflow.
31437
6698b8bf
JM
31438 * sysdeps/i386/fpu/e_expl.c: Move to ...
31439 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31440 rather than using inline asm.
31441 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31442 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31443 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31444
7b17aeda
JM
31445 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31446 (nice): Likewise.
31447 (poll): Likewise.
31448 (signal): Likewise.
31449 (time): Likewise.
31450 (times): Likewise.
31451
f7c85819
JM
314522012-05-04 Joseph Myers <joseph@codesourcery.com>
31453
31454 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31455 sysdeps/unix/common/syscalls.list.
31456 (fchmod): Likewise.
31457 (fchown): Likewise.
31458 (ftruncate): Likewise.
31459 (getrusage): Likewise.
31460 (gettimeofday): Likewise.
31461 (setpgid): Likewise.
31462 (setregid): Likewise.
31463 (setreuid): Likewise.
31464 (sigaction): Likewise.
31465 (truncate): Likewise.
31466 (vhangup): Likewise.
31467 * sysdeps/unix/common/syscalls.list: Remove file.
31468 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31469 * sysdeps/unix/sysv/linux/Implies: Likewise.
31470
336270d0
L
314712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31472
31473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31476 Moved to ...
31477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31478 Here.
31479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31480 to ...
31481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31483 to ...
31484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31486 to ...
31487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31489 to ...
31490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31492 to ...
31493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31495 to ...
31496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31498 to ...
31499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31500 Here.
31501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31502 to ...
31503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31504 Here.
31505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31506 to ...
31507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31509 Moved to ...
31510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31511 Here.
31512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31513 to ...
31514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31515
d128e450
JM
315162012-05-04 Joseph Myers <joseph@codesourcery.com>
31517
fa8ee516
JM
31518 * sysdeps/unix/common/bits/dirent.h: Remove file.
31519 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31520
d128e450
JM
31521 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31522 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31523 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31524 * sysdeps/unix/bsd/isatty.c: Likewise.
31525 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31526 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31527 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31528
ff8faaf0 315292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31530
62881be4 31531 [BZ #13563]
31dc8730
AZ
31532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31533 long double comparison inaccuracies.
31534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31536
6fef930c
AS
315372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31538
31539 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31541
8f203e6c
JM
315422012-05-04 Joseph Myers <joseph@codesourcery.com>
31543
31544 [BZ #14049]
31545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31546 nonzero digits before rounding a hex value.
31547 * stdlib/tst-strtod.c (tests): Add another test.
31548
5197d9c2
AK
315492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31550
31551 * sysdeps/s390/fpu/libm-test-ulps: Update.
31552
f0c1dedf
AJ
315532012-05-03 Andreas Jaeger <aj@suse.de>
31554
31555 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31556 does not get optimized out.
31557 (malloc_opt_barrier): New.
31558
a65ef2ae 315592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31560 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31561
2b942cb7 31562 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31563 intermediate file deletion.
2b942cb7 31564 (generated): Add .symlist files.
a65ef2ae 31565
54b71e02
JM
315662012-05-03 Joseph Myers <joseph@codesourcery.com>
31567
31568 [BZ #13775]
31569 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31570 Redirect under this condition.
31571 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31572 [__USE_GNU] (__dprintf_chk): Not under this condition.
31573 [__USE_GNU] (__vdprintf_chk): Likewise.
31574 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31575 under this condition.
31576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31577 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31578 [__USE_XOPEN2K8] (vdprintf): Likewise.
31579 [__USE_GNU] (__dprintf_chk): Not under this condition.
31580 [__USE_GNU] (__vdprintf_chk): Likewise.
31581 [__USE_GNU] (dprintf): Likewise.
31582 [__USE_GNU] (vdprintf): Likewise.
31583
d3dfcc41
RM
315842012-05-03 Roland McGrath <roland@hack.frob.com>
31585
31586 * elf/Makefile (common-generated): Set this instead of generated for
31587 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31588 $(all-built-dso)-derived lists.
31589
7ac30cc5
AJ
315902012-05-03 Andreas Jaeger <aj@suse.de>
31591
0c51e550
AJ
31592 * sysdeps/i386/fpu/libm-test-ulps: Update.
31593
7ac30cc5
AJ
31594 * FAQ: Removed.
31595 * FAQ.in: Likewise.
31596 * scripts/gen-FAQ.pl: Likewise.
31597 * manual/install.texi (Installation): Point to online location of
31598 FAQ.
31599 * Makefile (files-for-dist): Remove FAQ.
31600 (FAQ): Remove.
31601
d4c2917f
AM
316022012-05-02 Allan McRae <allan@archlinux.org>
31603
31604 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31605 (LDFLAGS-reldepmod5.so): Likewise.
31606 (LDFLAGS-reldep6mod1.so): Likewise.
31607 (LDFLAGS-reldep6mod4.so): Likewise.
31608 (LDFLAGS-reldep8mod3.so): Likewise.
31609 (LDFLAGS-unload4mod1.so): Likewise.
31610 (LDFLAGS-unload4mod2.so): Likewise.
31611 (LDFLAGS-tst-initorder): Likewise.
31612 (LDFLAGS-tst-initordera2.so): Likewise.
31613 (LDFLAGS-tst-initordera3.so): Likewise.
31614 (LDFLAGS-tst-initordera4.so): Likewise.
31615 (LDFLAGS-tst-initorderb2.so): Likewise.
31616 (LDFLAGS-noload): Likewise.
31617 (LDFLAGS-next): Likewise.
31618 (LDFLAGS-order2mod1.so): Likewise.
31619 (LDFLAGS-order2mod2.so): Likewise.
31620 (LDFLAGS-tst-initorder2): Likewise.
31621 (LDFLAGS-tst-initorder2a.so): Likewise.
31622 (LDFLAGS-tst-initorder2b.so): Likewise.
31623 (LDFLAGS-tst-initorder2c.so): Likewise.
31624 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31625
d77f993f
DM
316262012-05-02 David S. Miller <davem@davemloft.net>
31627
31628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31629
171a70b4
PP
316302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31631
31632 [BZ #14055]
31633 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31634
0be196ad
AJ
316352012-05-02 Andreas Jaeger <aj@suse.de>
31636
31637 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31638 since we manipulate rounding mode.
31639 (CPPFLAGS-test-idouble.c): Likewise.
31640 (CPPFLAGS-test-ifloat.c): Likewise.
31641 (CFLAGS-test-ldouble.c): Likewise.
31642 (CFLAGS-test-double.c): Likewise.
31643 (CFLAGS-test-float.c): Likewise.
31644 (CFLAGS-test-misc.c): Likewise.
31645 (CFLAGS-test-test-fenv.c): Likewise.
31646
4f9d04aa
AZ
316472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31648
2b942cb7
RM
31649 [BZ #2550]
31650 [BZ #2570]
31651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31652 comparisons to determine direction to adjust input.
4f9d04aa 31653
82a79e7d
RM
316542012-05-01 Roland McGrath <roland@hack.frob.com>
31655
f5a01ca9
RM
31656 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31657 output to the target.
31658
90fe4186
RM
31659 * scripts/localplt.awk: New file.
31660 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31661 (check-localplt-CFLAGS): Variable removed.
31662 ($(all-built-dso:=.jmprel)): New static pattern rule.
31663 (generated): Add those targets.
31664 (localplt-built-dso): New variable.
31665 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31666
31667 * elf/check-localplt.c: File removed.
31668
82397ed6
RM
31669 * scripts/check-execstack.awk: New file.
31670 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31671 (check-execstack-CFLAGS): Variable removed.
31672 ($(objpfx)check-execstack.h): Target removed.
31673 ($(objpfx)execstack-default): New target.
31674 (generated): Add that instead of check-execstack.h.
31675 ($(all-built-dso:=.phdr)): New static pattern rule.
31676 (generated): Add those targets.
31677 * elf/check-execstack.c: File removed.
31678
82a79e7d
RM
31679 * scripts/check-textrel.awk: New file.
31680 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31681 (check-textrel-CFLAGS): Variable removed.
31682 (all-built-dso): Use := to define.o
31683 ($(all-built-dso:=.dyn)): New static pattern rule.
31684 (generated): Add those targets.
31685 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31686 * config.make.in (READELF): New substituted variable.
31687 * elf/check-textrel.c: File removed.
31688
62fde54f 316892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31690
615605c9
JM
31691 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31692 allow.
31693 * conform/data/ctype.h-data [C99-based standards] (isblank):
31694 Expect function.
31695 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31696 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31698 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31699 Specify type. Require positive value.
31700 (EILSEQ): Likewise.
31701 (ERANGE): Likewise.
31702 [ISO || POSIX] (EILSEQ): Do not expect.
31703 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31704 Specify type. Require positive value.
31705 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31706 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31707 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31708 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31709 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31719 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31720 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31721 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31722 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31724 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31725 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31726 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31727 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31728 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31729 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31730 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31731 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31732 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31733 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31734 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31735 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31736 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31737 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31738 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31739 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31740 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31741 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31742 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31743 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31744 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31746 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31747 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31748 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31749 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31750 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31751 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31752 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31753 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31754 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31755 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31756 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31757 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31758 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31762 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31763 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31764 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31765 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31766 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31767 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31768 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31769 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31770 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31771 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31772 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31779 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31780 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31781 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31782 Require >= 2.
31783 (FLT_ROUNDS): Expect as macro, not constant.
31784 (FLT_MANT_DIG): Use macro-int-constant.
31785 (DBL_MANT_DIG): Likewise.
31786 (LDBL_MANT_DIG): Likewise.
31787 (FLT_DIG): Likewise.
31788 (DBL_DIG): Likewise.
31789 (LDBL_DIG): Likewise.
31790 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31791 (DBL_MIN_EXP): Likewise.
31792 (LDBL_MIN_EXP): Likewise.
31793 (FLT_MAX_EXP): Use macro-int-constant.
31794 (DBL_MAX_EXP): Likewise.
31795 (LDBL_MAX_EXP): Likewise.
31796 (FLT_MAX_10_EXP): Likewise.
31797 (DBL_MAX_10_EXP): Likewise.
31798 (LDBL_MAX_10_EXP): Likewise.
31799 (FLT_MAX): Use macro-constant.
31800 (DBL_MAX): Likewise.
31801 (LDBL_MAX): Likewise.
31802 (FLT_EPSILON): Use macro-constant. Give upper bound.
31803 (DBL_EPSILON): Likewise.
31804 (LDBL_EPSILON): Likewise.
31805 (FLT_MIN): Likewise.
31806 (DBL_MIN): Likewise.
31807 (LDBL_MIN): Likewise.
31808 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31809 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31810 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31811 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31812 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31813 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31814 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31815 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31816 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31817 [ISO11] (FLT_TRUE_MIN): Likewise.
31818 [ISO11] (LDBL_TRUE_MIN): Likewise.
31819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31820 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31821 (SCHAR_MIN): Use macro-int-constant. Specify type.
31822 (SCHAR_MAX): Likewise.
31823 (UCHAR_MAX): Likewise.
31824 (CHAR_MIN): Likewise.
31825 (CHAR_MAX): Likewise.
31826 (MB_LEN_MAX): Use macro-int-constant.
31827 (SHRT_MIN): Use macro-int-constant. Specify type.
31828 (SHRT_MAX): Likewise.
31829 (USHRT_MAX): Likewise.
31830 (INT_MAX): Likewise.
31831 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31832 bound negative.
31833 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31834 bound with "U".
31835 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31836 bound with "L".
31837 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31838 bound negative. Suffix upper bound with "L".
31839 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31840 bound with "UL".
31841 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31842 Specify type.
31843 [C99-based standards] (LLONG_MAX): Likewise.
31844 [C99-based standards] (ULLONG_MAX): Likewise.
31845 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31846 == 0.
31847 [ISO11] (max_align_t): Require type.
31848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31849
c9140a62
JM
31850 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31851 from $CFLAGS, without defining away __attribute__ calls.
31852 (checknamespace): Use $CFLAGS_namespace.
31853
9af0bf29
JM
31854 * conform/conformtest.pl (@keywords): Only include C99 keywords
31855 for standards based on C99 or C11.
31856
343222a2
JM
31857 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31858 Disable tests.
31859 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31860 UNIX98]: Likewise.
31861
661f8cf0
JM
31862 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31863 usability of symbols in #if.
31864
ee74b9cb
JM
31865 * conform/conformtest.pl: If macro or constant types start
31866 "promoted:", expect the symbol to be of the following type
31867 promoted by the integer promotions.
62fde54f 31868
aafc49b3
JM
31869 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31870 in one place. Also handle "macro-constant".
31871
fefdf574
JM
31872 * conform/conformtest.pl: Only accept expected macro values with
31873 "==". Parse all "macro" lines in one place.
31874 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31875
f2d922fe
JM
31876 * conform/conformtest.pl: Handle braced types on "constant" lines
31877 instead of handling "typed-constant".
31878 * conform/data/signal.h-data: Use "constant" instead of
31879 "typed-constant".
31880
d22956c9
JM
31881 * conform/conformtest.pl: Handle "optional-" at start of lines in
31882 one place rather than duplicating several cases. Handle each
31883 format of "macro" line with initial "optional-".
31884
028e2e38
JM
31885 * conform/conformtest.pl: Only accept expected constant or
31886 optional-constant values with "==". Parse all "constant" lines in
31887 one place. Parse all "optional-constant" lines in one place.
31888 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31889 * conform/data/fmtmsg.h-data: Likewise.
31890 * conform/data/netinet/in.h-data: Likewise.
31891 * conform/data/tar.h-data: Likewise.
31892 * conform/data/limits.h-data: Use "==" form on "constant" and
31893 "optional-constant" lines.
31894
1b8f2850
JM
31895 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31896 Use -std=c99 for XOPEN2K.
31897 (@knownproblems): Remove.
31898 (newtoken): Don't check %isknown.
31899
a05a144b
JM
31900 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31901 Do not expect macro.
31902 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31903 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31904 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31905 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31906 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31907 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31908 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31909 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31910 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31911 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31912 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31913 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31914 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31915 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31916 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31917 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31918 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31919 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31920 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31921 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31922 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31926 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31927 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31928 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31929 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31930 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31931 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31932 [XPG3] (acosh): Likewise.
31933 [XPG3] (asinh): Likewise.
31934 [XPG3] (atanh): Likewise.
31935 [XPG3] (cbrt): Likewise.
31936 [XPG3] (expm1): Likewise.
31937 [XPG3] (ilogb): Likewise.
31938 [XPG3] (log1p): Likewise.
31939 [XPG3] (logb): Likewise.
31940 [XPG3] (nextafter): Likewise.
31941 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31942 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31943 [XPG3] (remainder): Likewise.
31944 [XPG3] (rint): Likewise.
31945 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31946 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31947 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31948 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31949 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31950 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31951 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31952 [UNIX98 || XOPEN2K] (scalb): Expect.
31953 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31954 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31955 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31956 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31957 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31958 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31959 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31960 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31961 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31962 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31963 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31964 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31965 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31966 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31967 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31968 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31969 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31985 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31991 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32007 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32090
73c5ebe3
JM
32091 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32092 _XOPEN_SOURCE_EXTENDED for XPG4.
32093
39c33b6c
JM
32094 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32095
62fde54f
JM
32096 * Makeconfig (localtime): Remove variable.
32097 (inst_localtime-file): Likewise.
32098
0741d64c
AS
320992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32100
32101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32102 Update.
32103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32104 Update.
32105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32106 Update.
32107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32108 Update.
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32110 Update.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32112 Update.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32114 Update.
32115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32116 Update.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32118 Update.
32119
7cb029ee
JM
321202012-05-01 Joseph Myers <joseph@codesourcery.com>
32121
32122 [BZ #2550]
32123 [BZ #2570]
32124 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32125 comparisons to determine direction to adjust input.
32126 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32127 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32129 Likewise.
32130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32131 Likewise.
32132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32133 Likewise.
32134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32136 Likewise.
32137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32138 Likewise.
32139 * math/libm-test.inc (nexttoward_test): Add more tests.
32140
412bd966
AS
321412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32142
32143 [BZ #14040]
32144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32145 in version GLIBC_2.1, not GLIBC_2.0.
32146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32147 Likewise.
32148
9568c0c2
JM
321492012-04-30 Joseph Myers <joseph@codesourcery.com>
32150
adfbc8ac
JM
32151 [BZ #13942]
32152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32153 (1 - x) * (1 + x).
32154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32155 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32156 * math/libm-test.inc (acos_test): Add more tests.
32157 (asin_test): Likewise.
32158 * sysdeps/i386/fpu/libm-test-ulps: Update.
32159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32160
5ba3cc69
JM
32161 [BZ #14034]
32162 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32163 of square root.
32164 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32166 * math/libm-test.inc (acos_test_tonearest): New function.
32167 (acos_test_towardzero): Likewise.
32168 (acos_test_downward): Likewise.
32169 (acos_test_upward): Likewise.
32170 (asin_test_tonearest): Likewise.
32171 (asin_test_towardzero): Likewise.
32172 (asin_test_downward): Likewise.
32173 (asin_test_upward): Likewise.
32174 (main): Call the new functions.
32175 * sysdeps/i386/fpu/libm-test-ulps: Update.
32176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32177
9568c0c2
JM
32178 [BZ #13884]
32179 [BZ #13924]
32180 * math/e_exp10.c: Include <float.h>.
32181 (__ieee754_exp10): Handle underflow here rather than multiplying
32182 large negative argument by M_LN10.
32183 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32184 of __ieee754_expf.
32185 * math/e_exp10l.c: Include <float.h>.
32186 (__ieee754_exp10l): Handle underflow here rather than multiplying
32187 large negative argument by M_LN10l.
32188 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32189 spurious overflow exception on underflow.
32190
5ac3ea17
MP
321912012-04-29 Marek Polacek <polacek@redhat.com>
32192
32193 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32194 (__fortify_function): New macro.
32195 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32196 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32197 __extern_always_inline.
32198 * libio/bits/stdio2.h: Likewise.
32199 * libio/bits/stdio.h: Likewise.
32200 * string/string.h: Likewise.
32201 * string/bits/string3.h: Likewise.
32202 * include/stdio.h: Likewise.
32203 * stdlib/bits/stdlib.h: Likewise.
32204 * stdlib/stdlib.h: Likewise.
32205 * rt/bits/mqueue2.h: Likewise.
32206 * rt/mqueue.h: Likewise.
32207 * posix/bits/unistd.h: Likewise.
32208 * posix/unistd.h: Likewise.
32209 * io/bits/poll2.h: Likewise.
32210 * io/bits/fcntl2.h: Likewise.
32211 * io/fcntl.h: Likewise.
32212 * io/sys/poll.h: Likewise.
32213 * misc/bits/syslog.h: Likewise.
32214 * misc/bits/syslog-ldbl.h: Likewise.
32215 * misc/sys/syslog.h: Likewise.
32216 * socket/bits/socket2.h: Likewise.
32217 * socket/sys/socket.h: Likewise.
32218 * debug/tst-chk1.c: Likewise.
32219 * wcsmbs/bits/wchar2.h: Likewise.
32220 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32221 * wcsmbs/wchar.h: Likewise.
32222
ecf0ebfb
AJ
322232012-04-29 Andreas Jaeger <aj@suse.de>
32224
32225 * Makerules (tests): Remove enable-check-abi protection.
32226 (check-abi-warn): Remove.
32227 (check-abi-%): Remove check-abi-warn usage.
32228
32229 * configure.in: Remove check-abi configure option.
32230 * configure: Regenerated.
32231 * config.make.in (enable-check-abi): Remove.
32232
6d5c57fa
AS
322332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32234
24c5d07e 32235 [BZ #14033]
ded5180a
AS
32236 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32237 double functions to double *_finite functions.
32238
7e0d315d
AS
32239 [BZ #13941]
32240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32241 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32242 LDBL_MIN_EXP.
32243 * stdio-common/Makefile (tests): Add tst-sprintf3.
32244 * stdio-common/tst-sprintf3.c: New file.
32245
6d5c57fa
AS
32246 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32247 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32248
0749ff8b
JM
322492012-04-28 Joseph Myers <joseph@codesourcery.com>
32250
32251 * conform/conformtest.pl: Remove duplicate typed-constant
32252 handling.
32253
8dbd5d7b
DM
322542012-04-28 David S. Miller <davem@davemloft.net>
32255
32256 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32257 (check-abi-%): Remove AWK script prerequisite and explicit
32258 abilist directory.
32259 (check-abi): Rewrite to just diff the symlist with the abilist.
32260 (config-tls, config-abi-config): Delete, no longer used.
32261 (update-abi-%): Remove AWK script and explicit abilist directory.
32262 (update-abi): Rewrite to simply compare and conditionally copy the
32263 symlist and the sysdep abilist file. Remove update-abi-config
32264 checks.
32265 * abilist/ld.abilist: Remove.
32266 * abilist/libBrokenLocale.abilist: Remove.
32267 * abilist/libanl.abilist: Remove.
32268 * abilist/libcrypt.abilist: Remove.
32269 * abilist/libdl.abilist: Remove.
32270 * abilist/librt.abilist: Remove.
32271 * abilist/libthread_db.abilist: Remove.
32272 * abilist/libutil.abilist: Remove.
32273 * scripts/extract-abilist.awk: Remove.
32274 * scripts/merge-abilist.awk: Remove.
32275 * sysdeps/generic/libcidn.abilist: New file.
32276 * sysdeps/generic/libnss_compat.abilist: New file.
32277 * sysdeps/generic/libnss_db.abilist: New file.
32278 * sysdeps/generic/libnss_dns.abilist: New file.
32279 * sysdeps/generic/libnss_files.abilist: New file.
32280 * sysdeps/generic/libnss_hesiod.abilist: New file.
32281 * sysdeps/generic/libnss_nis.abilist: New file.
32282 * sysdeps/generic/libnss_nisplus.abilist: New file.
32283 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32284 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32285 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32286 file.
32287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32288 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32289 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32290 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32292 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32295 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32296 file.
32297 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32301 file.
32302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32308 file.
32309 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32312 file.
32313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32315 New file.
32316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32317 New file.
32318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32319 New file.
32320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32321 New file.
32322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32323 New file.
32324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32325 New file.
32326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32327 New file.
32328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32329 New file.
32330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32331 New file.
32332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32333 New file.
32334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32335 New file.
32336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32337 New file.
32338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32339 New file.
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32341 file.
32342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32343 New file.
32344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32345 New file.
32346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32347 file.
32348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32349 New file.
32350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32351 New file.
32352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32353 file.
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32355 New file.
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32357 New file.
32358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32359 New file.
32360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32361 New file.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32363 New file.
32364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32365 New file.
32366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32368 file.
32369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32370 New file.
32371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32372 file.
32373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32374 file.
32375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32376 file.
32377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32378 file.
32379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32380 file.
32381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32382 New file.
32383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32384 file.
32385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32386 file.
32387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32388 New file.
32389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32390 file.
32391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32393 file.
32394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32395 New file.
32396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32397 file.
32398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32399 file.
32400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32401 file.
32402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32403 file.
32404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32405 file.
32406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32407 New file.
32408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32409 file.
32410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32411 file.
32412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32413 New file.
32414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32415 file.
32416 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32417 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32418 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32419 file.
32420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32421 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32425 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32426 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32427 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32428 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32429 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32432 file.
32433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32434 New file.
32435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32436 file.
32437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32438 file.
32439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32440 file.
32441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32442 file.
32443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32444 file.
32445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32446 New file.
32447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32448 New file.
32449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32450 file.
32451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32452 New file.
32453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32454 file.
32455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32457 file.
32458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32459 New file.
32460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32461 file.
32462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32463 file.
32464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32465 file.
32466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32467 file.
32468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32469 file.
32470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32471 New file.
32472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32473 New file.
32474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32475 file.
32476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32477 New file.
32478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32479 file.
32480
41d73a1b
JM
324812012-04-28 Joseph Myers <joseph@codesourcery.com>
32482
32483 * conform/conformtest.pl: Fix typo in handling typed-constant from
32484 allow-header.
32485
28aeeda4
JM
324862012-04-27 Joseph Myers <joseph@codesourcery.com>
32487
adae8f5e
JM
32488 * README: Cut down references to pre-2.6 Linux kernels and
32489 Linuxthreads. Update lists of configurations in libc and ports
32490 and sort alphabetically. Say "or newer" with Linux kernel version
32491 requirements.
32492
28aeeda4
JM
32493 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32494
a462cb63
RA
324952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32496
32497 [BZ #887]
32498 * math/libm-test.inc (logb_test_downward): New test to expose
32499 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32500 rounding mode.
32501
6ad3493e
JM
325022012-04-27 Joseph Myers <joseph@codesourcery.com>
32503
32504 [BZ #14027]
32505 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32506 to be done.
32507 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32508 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32509
2ce4f015
JM
325102012-04-26 Joseph Myers <joseph@codesourcery.com>
32511
5aeb141a
JM
32512 * sysdeps/unix/i386/brk.S: Remove file.
32513 * sysdeps/unix/i386/dl-brk.S: Likewise.
32514 * sysdeps/unix/i386/pipe.S: Likewise.
32515 * sysdeps/unix/i386/sigreturn.S: Likewise.
32516 * sysdeps/unix/i386/syscall.S: Likewise.
32517 * sysdeps/unix/i386/vfork.S: Likewise.
32518 * sysdeps/unix/i386/wait.S: Likewise.
32519
7143acae
JM
32520 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32521 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32522
2ce4f015
JM
32523 * configure.in (arm*-none*): Do not allow without
32524 --enable-hacker-mode.
32525 (netbsd*): Remove case setting base_os.
32526 (386bsd*): Likewise.
32527 (freebsd*): Likewise.
32528 (bsdi*): Likewise.
32529 (osf*): Likewise.
32530 (sunos*): Likewise.
32531 (ultrix*): Likewise.
32532 (newsos*): Likewise.
32533 (dynix*): Likewise.
32534 (*bsd*): Likewise.
32535 (sysv*): Likewise.
32536 (isc*): Likewise.
32537 (esix*): Likewise.
32538 (sco*): Likewise.
32539 (minix*): Likewise.
32540 (irix4*): Likewise.
32541 (irix6*): Likewise.
32542 (solaris[2-9]*): Likewise.
32543 (none): Likewise.
32544 * configure: Regenerated.
32545
0ac229c8
AZ
325462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32547
32548 [BZ #11521]
32549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32550 overflow or cancellation in calculating denominator.
32551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32553 down expression to avoid unexpected rounding in newer GCCs.
32554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32555
33f244f4
DM
325562012-04-26 David S. Miller <davem@davemloft.net>
32557
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32559 long-double compat symbols.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32573
cfa1f3e8
DM
325742012-04-25 David S. Miller <davem@davemloft.net>
32575
32576 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32577 HWCAP_* values only after the memory barriers have been defined.
32578 (atomic_full_barrier): Define.
32579 (atomic_read_barrier): Define.
32580 (atomic_write_barrier): Define.
32581
6e236b92
SP
325822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32583
32584 * shlib-versions: Add libgcc_s version information.
32585 * sysdeps/generic/libgcc_s.h: Remove.
32586 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32587 libgcc_s.h.
32588 * sysdeps/gnu/unwind-resume.c: Likewise.
32589 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32590
aab39a09
DM
325912012-04-25 David S. Miller <davem@davemloft.net>
32592
32593 * sysdeps/unix/sparc/brk.S: Delete.
32594 * sysdeps/unix/sparc/dl-brk.S: Delete.
32595 * sysdeps/unix/sparc/pipe.S: Delete.
32596 * sysdeps/unix/sparc/sysdep.S: Delete.
32597 * sysdeps/unix/sparc/sysdep.h: Delete.
32598 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32599 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32600 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32602 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32603 (JUMPTARGET): Remove.
32604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32605 sysdeps/unix/sparc/sysdep.h
32606 (ENTRY, END): Remove.
32607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32608
a3cc4f48
JM
326092012-04-25 Joseph Myers <joseph@codesourcery.com>
32610
2ed8cda2
JM
32611 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32612 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32613 -DIS_IN_build.
32614
35d76d59
JM
32615 * timezone/README: Update upstream location and email address for
32616 tzcode and tzdata.
32617 * timezone/zdump.c: Update from tzcode 2012b.
32618 * timezone/zic.c: Likewise.
32619
a3cc4f48
JM
32620 * configure.in (libc_cv_as_needed): Remove test.
32621 * configure: Regenerated.
32622 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32623 conditional definition.
32624 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32625 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32626 * config.make.in (have-as-needed): Remove variable.
32627
ceab42c3
SP
326282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32629 Paul Pluzhnikov <ppluzhnikov@google.com>
32630
32631 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32632 strings correctly.
32633
3ce2865f
CLT
326342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32635
32636 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32637 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32638 * sysdeps/sh/strlen.S: Likewise.
32639
f37e0d68
JM
326402012-04-24 Joseph Myers <joseph@codesourcery.com>
32641
ae186e9a
JM
32642 * sysdeps/unix/fork.S: Remove file.
32643 * sysdeps/unix/i386/fork.S: Likewise.
32644 * sysdeps/unix/sparc/fork.S: Likewise.
32645
b96914af
JM
32646 * sysdeps/unix/system.c: Remove file.
32647 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32648
f37e0d68
JM
32649 * sysdeps/unix/getegid.S: Remove file.
32650 * sysdeps/unix/geteuid.S: Likewise.
32651
87ef29ca
RM
326522012-04-24 Roland McGrath <roland@hack.frob.com>
32653
83bcd236
RM
32654 * scripts/check-localplt.awk: New file.
32655 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32656 of diff.
32657 * scripts/data/localplt-generic.data: Add a comment.
32658
87ef29ca
RM
32659 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32660 NODE when __dir_mkfile failed.
32661 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32662 Reported by Ludovic Courtès <ludo@gnu.org>.
32663
e5a6e567
AJ
326642012-04-24 Andreas Jaeger <aj@suse.de>
32665
32666 * Makerules (common-clean): Also remove gen-as-const-headers
32667 files.
32668
c1820385
JM
326692012-04-24 Joseph Myers <joseph@codesourcery.com>
32670
32671 * Makerules (native-compile): Do not change working directory for
32672 build. Use $(OUTPUT_OPTION) in command.
32673 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32674
94e02fc4
AZ
326752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32676
32677 [BZ #13886]
32678 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32679 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32680 * math/libm-test.inc (floor_test): Add more tests.
32681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32682
3a533ca3
JM
326832012-04-24 Joseph Myers <joseph@codesourcery.com>
32684
940ab4b3
JM
32685 * sysdeps/unix/getdents.c: Remove file.
32686 * sysdeps/unix/sysv/getdents.c: Likewise.
32687 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32688
90e037bd
JM
32689 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32690 sysdeps/unix/mman/syscalls.list.
32691 (mmap): Likewise.
32692 (mprotect): Likewise.
32693 (msync): Likewise.
32694 (munmap): Likewise.
32695 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32696 * sysdeps/unix/mman/syscalls.list: Remove.
32697 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32698
3a533ca3
JM
32699 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32700 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32701 * configure: Regenerated.
32702 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32703 $(libgcc_s_suffix).
32704 * config.make.in (libgcc_s_suffix): Remove variable.
32705
1ad743de
JM
327062012-04-23 Joseph Myers <joseph@codesourcery.com>
32707
4ad451e2
JM
32708 * sysdeps/unix/sysv/gethostname.c: Move to ...
32709 * sysdeps/posix/gethostname.c: ... here.
32710
5e37ce39
JM
32711 * sysdeps/unix/execve.S: Remove file.
32712
1ad743de
JM
32713 * sysdeps/unix/_exit.S: Remove file.
32714
4e681b5b
AJ
327152012-04-23 Andreas Jaeger <aj@suse.de>
32716
32717 [BZ #13739]
32718 * manual/Makefile: Remove make dist support, there's no
32719 need for a stand-alone documentation tar ball.
32720 (TEXI2DVI): Define always, it's not in Makeconfig.
32721 (dist): Removed.
32722 (tar-it): Removed.
32723 (edition): Removed.
32724 (glibc-doc-$(edition).tar): Removed
32725 (%.Z): Removed.
32726 (%.gz): Removed.
32727 (%.uu): Removed.
32728 (ETAGS): Remove, it's in Makeconfig.
32729 (move-if-change): Remove, it's in Makeconfig.
32730
38686a03 327312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32732
32733 [BZ #13970]
32734 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32735 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32736 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32737 (strtod_l, strtof_l, strtold_l): Remove __wur.
32738 It is not necessarily an error to ignore strtol's return value.
32739 One can reliably look at the stored endptr to decide whether
32740 the number had valid syntax.
32741
7c0616fa
AJ
327422012-04-21 Andreas Jaeger <aj@suse.de>
32743
803cb6b7 32744 [BZ #13739]
7c0616fa
AJ
32745 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32746
b0fe253f
JM
327472012-04-21 Joseph Myers <joseph@codesourcery.com>
32748
32749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32750 * sysdeps/unix/sysv/Versions: Remove file.
32751
8280f22d
MT
327522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32753
32754 [BZ #13927]
32755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32756
75ce411f 327572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32758
32759 [BZ #7064]
32760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32761 version from __vm86.
32762
097d59fa
JM
327632012-04-20 Joseph Myers <joseph@codesourcery.com>
32764
a90f3bcb
JM
32765 * sysdeps/unix/common/lxstat.c: Remove file.
32766 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32767
edc7ea78
JM
32768 * sysdeps/unix/sysv/Makefile: Remove file.
32769
cb78c221
JM
32770 * sysdeps/unix/sysv/direct.h: Remove file.
32771
efa6a45f
JM
32772 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32773 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32774 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32775 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32776 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32777 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32778 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32779
9c9f2d0c
JM
32780 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32781
4541c83b
JM
32782 * sysdeps/unix/xmknod.c: Remove file.
32783 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32784
f5d153a0
JM
32785 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32786
aa746595
JM
32787 * sysdeps/unix/sysv/i386/time.S: Remove file.
32788
cce5905e
JM
32789 * sysdeps/unix/fxstat.c: Remove file.
32790 * sysdeps/unix/xstat.c: Likewise.
32791 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32792
37fa3841
JM
32793 * sysdeps/unix/sysv/sigaction.c: Remove file.
32794
ff1962a3
JM
32795 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32796 (sysdep_headers): Remove variable.
32797 [termio.h not in sysdep_headers] (generated): Likewise.
32798 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32799 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32800 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32801 * sysdeps/unix/sysv/tcflow.c: Likewise.
32802 * sysdeps/unix/sysv/tcflush.c: Likewise.
32803 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32804 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32805 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32806 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32807 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32808
e7740d31
JM
32809 * sysdeps/unix/siglist.c: Remove file.
32810
ee06f18b
JM
32811 * sysdeps/unix/getppid.S: Remove file.
32812
097d59fa
JM
32813 * sysdeps/unix/mkdir.c: Remove file.
32814 * sysdeps/unix/rmdir.c: Likewise.
32815
ff3d51ec
AS
328162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32817
32818 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32819 ERR_MAX value.
32820 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32821 errlist-compat value.
32822
50f81fd7
DM
328232012-04-18 David S. Miller <davem@davemloft.net>
32824
32825 * sysdeps/generic/memcopy.h (reg_char): Delete.
32826 * debug/strcat_chk.c: Use char, not reg_char.
32827 * debug/strcpy_chk.c: Likewise.
32828 * debug/strncat_chk.c: Likewise.
32829 * debug/strncpy_chk.c: Likewise.
32830 * string/memchr.c: Likewise.
32831 * string/memrchr.c: Likewise.
32832 * string/rawmemchr.c: Likewise.
32833 * string/strcat.c: Likewise.
32834 * string/strchr.c: Likewise.
32835 * string/strchrnul.c: Likewise.
32836 * string/strcmp.c: Likewise.
32837 * string/strcpy.c: Likewise.
32838 * string/strncat.c: Likewise.
32839 * string/strncmp.c: Likewise.
32840 * string/strncpy.c: Likewise.
32841
8ff41c46
WS
328422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32843
32844 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32845 __builtin_memcopy is called when src and dest ranges are known to not
32846 overlap.
32847
6b652f46
WS
328482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32849
32850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32851 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32852 fwd_align_merge macro call.
32853 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32854 bwd_align_merge macro call.
32855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32856
b282631e
WS
328572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32858
32859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32860 bwd_align_merge macros.
32861 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32862 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32864
95aa737c
DM
328652012-04-18 David S. Miller <davem@davemloft.net>
32866
32867 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32868
7a99a614
AJ
328692012-04-18 Andreas Jaeger <aj@suse.de>
32870
32871 [BZ# 6794]
32872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32873 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32874 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32875
32876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32877 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32879
32880 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32882 Adjust for changed ldbl-128 files.
32883
32884 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32885 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32887
e5270c23
DM
328882012-04-17 David S. Miller <davem@davemloft.net>
32889
32890 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32891
fb5e92c9
AS
328922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32893
32894 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32895 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32896 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32897 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32899 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32900
76da7265
AZ
329012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32902
32903 [BZ #6794]
32904 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32905 * math/libm-test.inc: Add ilogb errno and exception tests.
32906 * math/w_ilogb.c: New file: ilogb wrapper.
32907 * math/w_ilogbf.c: New file: ilogbf wrapper.
32908 * math/w_ilogbl.c: New file: ilogbl wrapper.
32909 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32910 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32911 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32912 exception being thrown with 0.0 as argument.
32913 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32914 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32915 exception being thrown with 0.0 as argument.
32916 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32917 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32918 exception being thrown with 0.0 as argument.
32919 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32920 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32921 exception being thrown with 0.0 as argument.
32922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32923 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32925 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32927 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32928 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32931
0396e69d
PB
329322012-04-17 Petr Baudis <pasky@ucw.cz>
32933
32934 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32935 with altivec.
32936
750b5926
MP
329372012-04-16 Marek Polacek <polacek@redhat.com>
32938
32939 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32940
751728a1
MP
329412012-04-16 Marek Polacek <polacek@redhat.com>
32942
32943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32944 operands of fdivp instruction.
32945
34a27407
L
329462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32949 * elf/tst-auditmod3b.c: Likewise.
32950 * elf/tst-auditmod4b.c: Likewise.
32951 * elf/tst-auditmod5b.c: Likewise.
32952 * elf/tst-auditmod6b.c: Likewise.
32953 * elf/tst-auditmod6c.c: Likewise.
32954 * elf/tst-auditmod7b.c: Likewise.
32955 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32956 * sysdeps/x86_64/preconfigure.in: Likewise.
32957 * sysdeps/x86_64/preconfigure: Regenerated.
32958
7e73e17d
L
329592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32960
32961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32962 __ILP32__.
32963
c7a6ab72
AB
329642012-04-13 Antoine Balestrat <merkil33@gmail.com>
32965
32966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32967 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32968
a9e8e0e0
CL
329692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32970
32971 [BZ #13973]
32972 * locale/iso-639.def: Fix gl language name. Spotted by
32973 Yaron Shahrabani.
32974
ec98af7d
RM
329752012-04-12 Roland McGrath <roland@hack.frob.com>
32976
32977 [BZ #2074]
32978 * libio/libio.h (__io_write_fn): Update comment.
32979
247c3ede
PB
329802012-04-12 Petr Baudis <pasky@ucw.cz>
32981
32982 [BZ #2074]
32983 * stdio.texi (Hook Functions): The user provided writer function
32984 is not allowed to return -1.
32985
55939d6d
DM
329862012-04-11 David S. Miller <davem@davemloft.net>
32987
32988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32989
90020f5a
MF
329902012-04-11 Mike Frysinger <vapier@gentoo.org>
32991
32992 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32993 Add a leading slash to rtkaio.
32994
288f9098
JM
329952012-04-11 Jim Meyering <meyering@redhat.com>
32996
90020f5a
MF
32997 [BZ #11959]
32998 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32999 It is not necessarily an error to ignore fwrite's return
33000 value. One can reliably use ferror to test for errors after
33001 the fact.
288f9098 33002
4be2b570
L
330032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33004
33005 * bits/types.h (__snseconds_t): New type.
33006 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33007
33008 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33010 (__SNSECONDS_T_TYPE): Likewise.
33011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33012 (__SNSECONDS_T_TYPE): Likewise.
33013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33014 (__SNSECONDS_T_TYPE): Likewise.
33015
288f9098 330162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33017
33018 [BZ #2636]
33019 * manual/time.texi (Processor Time): Return type of times is
33020 elapsed real time since an arbitrary point in the past.
33021 (CPU Time): Move CLK_TCK from here...
33022 (Processor Time): ...to here. Correct description.
33023 * manual/conf.texi (Constants for Sysconf): Correct description of
33024 _SC_CLK_TCK.
33025
d7dd4413
DM
330262012-04-10 David S. Miller <davem@davemloft.net>
33027
33028 [BZ #13967]
33029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33030 where the is a gap between DT_REL(A) and DT_JMPREL.
33031
b46068fc
L
330322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33033
33034 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33037
73d65cc3
SP
330382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33039
33040 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33041 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33042 (dl_main): Handle --inhibit-cache.
33043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33044 _dl_inhibit_cache.
33045 * elf/dl-load.c (_dl_map_object): Use it.
33046 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33047
bcc8d661
JM
330482012-04-09 Joseph Myers <joseph@codesourcery.com>
33049
8f9a2fae
JM
33050 [BZ #13872]
33051 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33052 (__ieee754_powl): Saturate large exponents rather than testing for
33053 overflow of y*log2(x).
33054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33055 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33056 exceptions.
33057
bcc8d661
JM
33058 [BZ #11521]
33059 * math/s_ctan.c: Include <float.h>.
33060 (__ctan): Avoid internal overflow or cancellation in calculating
33061 denominator.
33062 * math/s_ctanf.c: Likewise.
33063 * math/s_ctanl.c: Likewise.
33064 * math/s_ctanh.c: Likewise.
33065 * math/s_ctanhf.c: Likewise.
33066 * math/s_ctanhl.c: Likewise.
33067 * math/libm-test.inc (ctan_test): Add more tests.
33068 (ctanh_test): Likewise.
33069 * sysdeps/i386/fpu/libm-test-ulps: Update.
33070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33071
823fbbb4
AJ
330722012-04-09 Andreas Jaeger <aj@suse.de>
33073
03879793
AJ
33074 [BZ #6894]
33075 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33076 is an optional BSD extension.
33077
823fbbb4
AJ
33078 [BZ #10254]
33079 * manual/stdio.texi (Opening Streams): Document additional fopen
33080 parameters.
33081
8de131cb
RM
330822012-04-09 Roland McGrath <roland@hack.frob.com>
33083
33084 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33085 %eax without telling the compiler.
33086
c0ed9d7d
CD
330872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33088
33089 [BZ # 13963]
33090 * manual/install.texi: Use sourceware.org.
33091
c483f6b4
JM
330922012-04-09 Joseph Myers <joseph@codesourcery.com>
33093
d7dd9453
JM
33094 [BZ #13873]
33095 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33096 (__ieee754_pow): Generate overflow and underflow using huge*huge
33097 and tiny*tiny rather than just returning constant infinity or zero
33098 for large exponents.
33099 * math/libm-test.inc (pow_test): Require overflow exceptions for
33100 applicable cases of large exponents.
33101
c483f6b4
JM
33102 [BZ #706]
33103 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33104 (__ieee754_pow): Use iterative multiplication algorithm only for
33105 integer exponents with absolute value below 1024. Check for odd
33106 integer exponents when using algorithm for real exponents.
33107 * math/libm-test.inc (pow_test): Add more tests.
33108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33109
d2de7579
JM
331102012-04-08 Joseph Myers <joseph@codesourcery.com>
33111
33112 [BZ #13705]
33113 * math/libm-test.inc (exp_test): Do not allow overflow exception
33114 on underflow test.
33115
f77f1232
AJ
331162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33117
33118 [BZ #13705]
33119 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33120 instead of __kernel_standard_f.
33121
3884932b
MF
331222012-04-08 Mike Frysinger <vapier@gentoo.org>
33123
33124 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33125 * sysdeps/x86_64/memset_chk.S: Likewise.
33126
54472e9c
AJ
331272012-04-08 Andreas Jaeger <aj@suse.de>
33128
6ab0fbfc
AJ
33129 [BZ #10153]
33130 * manual/startup.texi (Environment Access): Describe return value
33131 for putenv and setenv.
33132
61efba8c
AJ
33133 [BZ #6895]
33134 * manual/filesys.texi (Directory Entries): Add description for
33135 DT_LNK.
33136
95c3f29a
AJ
33137 [BZ #6890]
33138 * manual/filesys.texi (Directory Entries): Clarify that it's file
33139 system not operating system in the description of DT_UNKNOWN.
33140
54472e9c
AJ
33141 [BZ #6578]
33142 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33143
624254b1
SC
331442012-04-08 Stephen Compall <s11@member.fsf.org>
33145
33146 [BZ #6649]
33147 * manual/llio.texi (Opening and Closing Files): Add cross
33148 reference to explain mode argument.
33149
1e4920e0
MF
331502012-04-07 Mike Frysinger <vapier@gentoo.org>
33151
33152 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33153 * sysdeps/x86_64/memset_chk.S: Likewise.
33154
5ed848f3
DM
331552012-04-07 David S. Miller <davem@davemloft.net>
33156
33157 * elf/elf.h (R_SPARC_WDISP10): Define.
33158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33159 R_SPARC_SIZE32.
33160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33161 R_SPARC_SIZE64 and R_SPARC_H34.
33162
96154cd8
CD
331632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33164
33165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33166 conditions and remove no longer applicable assertion.
33167
9904dc47
L
331682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33169
33170 * bits/byteswap.h: Include <features.h>.
33171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33173
f8887d0a
L
331742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33175
33176 * bits/byteswap.h (__bswap_16): Removed.
33177 Include <bits/byteswap-16.h> to get __bswap_16.
33178 * sysdeps/i386/bits/byteswap.h: Likewise.
33179 * sysdeps/s390/bits/byteswap.h: Likewise.
33180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33181 * bits/byteswap-16.h: New file.
33182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33183 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33184 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33185 * string/Makefile (headers): Add bits/byteswap-16.h.
33186
62470f60
PP
331872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33188
33189 [BZ #13895]
33190 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33191 extra indirection.
33192 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33193 * nss/tst-nss-static.c: New.
33194
4dad7bab
RM
331952012-04-06 Robert Millan <rmh@gnu.org>
33196
33197 [BZ #6486]
33198 * manual/llio.texi (File Position Primitive): lseek
33199 refers to WHENCE when it really means OFFSET.
33200
e9142a17
AJ
332012012-04-06 Andreas Jaeger <aj@suse.de>
33202
2c040eff
AJ
33203 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33204 strncmp declarations.
33205
e9142a17
AJ
33206 * abilist/libc.abilist: Add __poll and __ppoll.
33207
ff9f1c5f
DM
332082012-04-05 David S. Miller <davem@davemloft.net>
33209
dcd2ae90
DM
33210 * scripts/check-local-headers.sh: Accept a host triplet in the
33211 path matched by the exclude regexp.
33212
993eb054
DM
33213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33214 definition.
33215 * sysdeps/powerpc/powerpc32/dl-machine.h
33216 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33217 * sysdeps/s390/s390-32/dl-machine.h
33218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33219 * sysdeps/sparc/sparc32/dl-machine.h
33220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33221 * sysdeps/sparc/sparc64/dl-machine.h
33222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33223
ff9f1c5f
DM
33224 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33225 lazy binding.
48e2e132 33226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33227 undefined symbol errors.
33228
48e2e132 33229 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33230 DT_NEEDED entries.
33231
e80d6f94
MM
332322012-04-05 Michael Matz <matz@suse.de>
33233
33234 [BZ #13592]
33235 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33236
349fa79f
AJ
332372012-04-05 Andreas Jaeger <aj@suse.de>
33238
33239 [BZ #13908]
33240 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33241 comment.
33242
f402708f
KK
332432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33244
33245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33246 which ROUND is no valid rounding mode.
33247
2ecccfc9
KK
332482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33249
33250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33251 read again.
33252 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33253
8a53f50f
KK
332542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33255
33256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33257 an exception using FPU order intentionally.
33258
332592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33260
33261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33262 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33263 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33264 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33265
d653abb7
SJ
332662012-04-05 Simon Josefsson <simon@josefsson.org>
33267
33268 [BZ #12340]
33269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33270 EINVAL when BUFLEN is too smal.
33271
c3b1bf7d
TS
332722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33273
33274 [BZ #13553]
33275 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33276 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33277
b1aa60f3
AJ
332782012-04-03 Andreas Jaeger <aj@suse.de>
33279
c3b1bf7d 33280 [BZ #13938]
67f60a26
AJ
33281 * manual/setjmp.texi (System V contexts): Fix sentence.
33282
b1aa60f3
AJ
33283 [BZ #13926]
33284 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33285 New macro for this case.
33286 [!__GNUC__] (__bswap_64): New inline function for this case.
33287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33288 * bits/byteswap.h: Likewise.
33289 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33290 ull, guard with __GLIBC_HAVE_LONG_LONG.
33291
33292 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33293 __GLIBC_HAVE_LONG_LONG.
33294
33295 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33296 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33297
39c59c35
TMQMF
332982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33299
33300 [BZ #13691]
33301 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33302 inptr and inend, rather than using last_ch.
33303
135ffda8
DM
333042012-04-02 David S. Miller <davem@davemloft.net>
33305
33306 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33307 * stdio-common/printf-parse.h (read_int): Change return type to
33308 'int', return -1 on INT_MAX overflow.
33309 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33310 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33311 overflows INT_MAX. Check for overflow of in-format-string precision
33312 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33313 SIZE_MAX not INT_MAX for integer overflow test.
33314 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33315 skip the construct in the format string but do not record anything.
33316 * stdio-common/bug22.c: Adjust to test both width/prevision
33317 INT_MAX overflow as well as total length INT_MAX overflow. Check
33318 explicitly for proper errno values.
33319
228c019e
TS
333202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33321
302cadd3
TS
33322 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33323 CHAR_MAX.
33324 * string/test-strcmp.c [! WIDE]: Likewise.
33325 * time/tst-mktime2.c: Likewise for INT_MAX.
33326 * string/test-string.h: #include <sys/param.h> for MIN.
33327
228c019e
TS
33328 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33329 * sysdeps/i386/init-first.c (init): Likewise.
33330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33331 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33332 * sysdeps/sh/init-first.c (init): Likewise.
33333
cfa633f5
UD
333342012-04-01 Ulrich Drepper <drepper@gmail.com>
33335
33336 * po/ru.po: Update from translation team.
d1635ef8 33337 * po/vi.po: Likewise.
cfa633f5 33338
6cd0a5ea
SP
333392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33340
33341 * resolv/nss_dns/dns-host.c: Merge copyright years.
33342
4b43400f
LD
333432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33344
33345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33346 Optimize memcpy with prefetch if
33347 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33348 src, dst pointers have unequal 16 byte alignments.
33349
48c41d04
SP
333502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33351
33352 [BZ #13928]
33353 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33354 from a CNAME entry and return the minimum ttl for the query.
33355 (gaih_getanswer_slice): Likewise.
33356
b8dc394d
JL
333572012-03-30 Jeff Law <law@redhat.com>
33358
33359 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33360 due to long keys.
33361 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33362 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33363
2f5a5ed0
JL
33364 * resolv/nss_dns/dns-host.c: Update copyright year.
33365
1d39e359
UD
333662012-03-30 Ulrich Drepper <drepper@gmail.com>
33367
c030f70c 33368 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33369 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33370
1d39e359
UD
33371 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33372 comments for sendmmsg.
33373
333742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33375
33376 [BZ #13691]
33377 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33378 with only 1 character between 0x0041 and 0x01b0.
33379 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33380 * wcsmbs/tst-mbsnrtowcs.c: New file.
33381
20fde227
DM
333822012-03-29 David S. Miller <davem@davemloft.net>
33383
33384 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33385 small copies by hand.
33386
984a4237
JL
333872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33388
33389 [BZ #13761]
57f41c40
AS
33390 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33391 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33392 group memberships.
984a4237 33393
18c9d62b
DM
333942012-03-28 David S. Miller <davem@davemloft.net>
33395
88d85d4f
DM
33396 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33397 that branches into memcpy.
33398 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33403 bits.
33404 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33405 implementation too.
33406 * sysdeps/sparc/mempcpy.S: New file.
33407
e5aa83e1
DM
33408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33409 the IFUNC routine in the libc case.
33410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33411
88570753
DM
33412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33414 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33415 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33416 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33417 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33418 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33419 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33420
249d7567
DM
33421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33422 loop to 256 bytes instead of 64 bytes and fix test signedness.
33423
18c9d62b
DM
33424 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33425 * sysdeps/sparc/sparc32/Makefile: rather than here...
33426 * sysdeps/sparc/sparc64/Makefile: and here.
33427
05f3d1f6
UD
334282012-03-28 Ulrich Drepper <drepper@gmail.com>
33429
33430 * malloc/mallocbug.c: Avoid warnings about unused variables.
33431
86ae07a8
JL
334322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33433
33434 [BZ #13760]
33435 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33436 in the right place. Discard and retry query if response is
33437 larger than input buffer size.
33438
41bf21a1
JM
334392012-03-28 Joseph Myers <joseph@codesourcery.com>
33440
d6270972
JM
33441 [BZ #369]
33442 [BZ #2678]
33443 [BZ #3866]
33444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33445 x for large integer exponent.
33446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33448 sign of result as needed afterwards.
33449 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33451 result for underflowing pow the same as for overflow.
33452 (__kernel_standard_l): Handle powl overflow and underflow here
33453 rather than calling __kernel_standard.
33454 * math/libm-test.inc (pow_test): Add more tests.
33455
414fca03 33456 [BZ #3868]
41bf21a1
JM
33457 [BZ #13879]
33458 [BZ #13910]
33459 [BZ #13911]
33460 [BZ #13912]
33461 [BZ #13913]
33462 [BZ #13915]
33463 [BZ #13916]
33464 [BZ #13917]
33465 [BZ #13918]
33466 [BZ #13919]
33467 [BZ #13920]
33468 [BZ #13921]
33469 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33470 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33471 (__kernel_standard_l): New function.
33472 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33473 __kernel_standard.
33474 * math/w_acosl.c (__acosl): Likewise.
33475 * math/w_asinl.c (__asinl): Likewise.
33476 * math/w_atan2l.c (__atan2l): Likewise.
33477 * math/w_atanhl.c (__atanhl): Likewise.
33478 * math/w_coshl.c (__coshl): Likewise.
33479 * math/w_exp10l.c (__exp10l): Likewise.
33480 * math/w_exp2l.c (__exp2l): Likewise.
33481 * math/w_fmodl.c (__fmodl): Likewise.
33482 * math/w_hypotl.c (__hypotl): Likewise.
33483 * math/w_j0l.c (__j0l, __y0l): Likewise.
33484 * math/w_j1l.c (__j1l, __y1l): Likewise.
33485 * math/w_jnl.c (__jnl, __ynl): Likewise.
33486 * math/w_lgammal.c (__lgammal): Likewise.
33487 * math/w_log10l.c (__log10l): Likewise.
33488 * math/w_log2l.c (__log2l): Likewise.
33489 * math/w_logl.c (__logl): Likewise.
33490 * math/w_powl.c (__powl): Likewise.
33491 * math/w_remainderl.c (__remainderl): Likewise.
33492 * math/w_scalbl.c (sysv_scalbl): Likewise.
33493 * math/w_sinhl.c (__sinhl): Likewise.
33494 * math/w_sqrtl.c (__sqrtl): Likewise.
33495 * math/w_tgammal.c (__tgammal): Likewise.
33496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33497 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33498 * math/libm-test.inc (acos_test): Add more tests.
33499 (acosh_test): Likewise.
33500 (asin_test): Likewise.
33501 (atanh_test): Likewise.
33502 (exp_test): Likewise.
33503 (exp10_test): Likewise.
33504 (exp2_test): Likewise.
33505 (expm1_test): Likewise.
33506 (lgamma_test): Likewise.
33507 (log_test): Likewise.
33508 (log10_test): Likewise.
33509 (log1p_test): Likewise.
33510 (log2_test): Likewise.
33511 (pow_test): Do not allow some spurious overflow exceptions.
33512 (sqrt_test): Add more tests.
33513 (tgamma_test): Likewise.
33514 (y0_test): Likewise.
33515 (y1_test): Likewise.
33516 (yn_test): Likewise.
33517
dd62fda6
AB
335182012-03-27 Anton Blanchard <anton@samba.org>
33519
33520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33521 MAP_HUGETLB.
33522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33525
1e3cdfda
AJ
335262012-03-27 David S. Miller <davem@davemloft.net>
33527
b855ab85
DM
33528 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33529
1e3cdfda
AJ
33530 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33531 have-as-vis3 check.
33532
335332012-03-27 Andreas Jaeger <aj@suse.de>
33534
33535 * sysdeps/x86_64/elf/configure.in: Moved to ...
33536 * sysdeps/x86_64/configure.in: ... here.
33537 * sysdeps/x86_64/elf/start.S: Moved to ...
33538 * sysdeps/x86_64/start.S: ... here.
33539 * sysdeps/x86_64/elf/configure: Delete.
33540
33541 * sysdeps/x86_64/configure.in: Merge contents from
33542 sysdeps/i386/configure.in (without i686 check).
33543
33544 * sysdeps/i386/elf/Versions: Merge into ...
33545 * sysdeps/i386/Versions: ... this.
33546 * sysdeps/i386/elf/Versions: Delete file.
33547 * sysdeps/i386/elf/start.S: Moved to ...
33548 * sysdeps/i386/start.S: ...here.
33549 * sysdeps/i386/elf/configure.in: Merge into...
33550 * sysdeps/i386/configure.in: ...here.
33551 * sysdeps/i386/elf/configure.in: Delete file.
33552 * sysdeps/i386/elf/configure: Delete file.
33553
33554 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33555 * debug/backtracesyms.c: ... here.
33556 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33557 * debug/backtracesymsfd.c: ... here.
33558 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33559 * sysdeps/generic/ifunc-sel.h: ... here.
33560
33561 * sysdeps/unix/i386/start.c: Delete file.
33562 * sysdeps/unix/sparc/start.c: Delete file.
33563 * sysdeps/unix/start.c: Delete file.
33564
33565 * sysdeps/sh/elf/configure.in: Moved to ...
33566 * sysdeps/sh/configure.in: ... here.
33567 * sysdeps/sh/elf/start.S: Moved to ...
33568 * sysdeps/sh/start.S: ... here.
33569 * sysdeps/sh/elf/configure: Delete file.
33570
33571 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33572 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33573 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33574 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33575 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33576 * sysdeps/powerpc/powerpc64/start.S: here.
33577 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33578 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33579 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33580 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33581 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33582
33583 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33584 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33585 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33586 * sysdeps/powerpc/powerpc32/start.S: ... here.
33587 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33588 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33589 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33590
33591 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33592 * sysdeps/powerpc/ifunc-sel.h: ... here.
33593 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33594 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33595
33596 * sysdeps/sparc/elf/configure.in: Moved to ...
33597 * sysdeps/sparc/configure.in: ... here.
33598 * sysdeps/sparc/elf/configure: Delete file.
33599 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33600 * sysdeps/sparc/sparc32/start.S: ... here.
33601 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33602 * sysdeps/sparc/sparc64/start.S: ... here.
33603 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33604 * sysdeps/sparc/sparc32/Makefile: ... this.
33605 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33606 * sysdeps/sparc/sparc64/Makefile: ... this.
33607
33608 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33609 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33610 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33611 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33612 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33613 * sysdeps/s390/s390-32/setjmp.S: ... here.
33614 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33615 * sysdeps/s390/s390-32/configure.in: ... here.
33616 * sysdeps/s390/s390-32/elf/configure: Delete file.
33617 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33618 * sysdeps/s390/s390-32/start.S: ... here.
33619
33620 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33621 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33622 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33623 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33624 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33625 * sysdeps/s390/s390-64/setjmp.S: ... here.
33626 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33627 * sysdeps/s390/s390-64/configure.in: ... here
33628 * sysdeps/s390/s390-64/elf/configure: Delete file.
33629 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33630 * sysdeps/s390/s390-64/start.S: ... here.
33631 * sysdeps/s390/s390-64/elf/configure: Delete.
33632
33633 * configure.in: Remove support for elf directories in sysdeps.
33634
33635 * configure: Regenerated.
33636 * sysdeps/i386/configure: Regenerated.
33637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33639 * sysdeps/s390/s390-32/configure: Regenerated.
33640 * sysdeps/s390/s390-64/configure: Regenerated.
33641 * sysdeps/sh/configure: Regenerated.
33642 * sysdeps/sparc/configure: Regenerated.
33643 * sysdeps/x86_64/configure: Regenerated.
33644
a3f61311
AS
336452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33646
c876e002
AS
33647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33648
a3f61311
AS
33649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33650 denormal result into account.
33651
ac4c54f0
RM
336522012-03-25 Roland McGrath <roland@hack.frob.com>
33653
33654 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33655 Reported by Allan McRae <allan@archlinux.org>.
33656
6a9b9c02
JL
336572012-03-23 Jeff Law <law@redhat.com>
33658
33659 * nss/getnssent.c (__nss_getent): Fix typo.
33660
4c42a0c1
DM
336612012-03-23 David S. Miller <davem@davemloft.net>
33662
33663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33664
1532c7ac
L
336652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33666
33667 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33668 to pad to uint64_t for each field.
33669 (dl_tls_index): Replace unsigned long with uint64_t.
33670
3ff42526
PP
336712012-03-23 Daniel Jacobowitz <dmj@google.com>
33672 Paul Pluzhnikov <ppluzhnikov@google.com>
33673
33674 [BZ #6528]
33675 * grp/Makefile (otherlibs): Don't set it.
33676 * inet/Makefile (otherlibs): Likewise.
33677 * login/Makefile (otherlibs): Likewise.
33678 * nscd/Makefile (otherlibs): Likewise.
33679 * posix/Makefile (otherlibs): Likewise.
33680 * pwd/Makefile (otherlibs): Likewise.
33681 * rt/Makefile (otherlibs): Likewise.
33682 * sunrpc/Makefile (otherlibs): Likewise.
33683 * nss/Makefile (otherlibs): Likewise.
33684 Add libnss_files to routines and static-only-routines.
33685 ($(objpfx)getent): Remove rule.
33686 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33687 static-only-routines.
33688
7c69cd14
JM
336892012-03-22 Joseph Myers <joseph@codesourcery.com>
33690
33691 [BZ #13892]
33692 * math/s_cexp.c: Include <float.h>.
33693 (__cexp): Handle exp result overflowing not necessarily
33694 overflowing both real and imaginary parts of result.
33695 * math/s_cexpf.c: Likewise.
33696 * math/s_cexpl.c: Likewise.
33697 * math/libm-test.inc (cexp_test): Add more tests.
33698 * sysdeps/i386/fpu/libm-test-ulps: Update.
33699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33700
81b035fe
L
337012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33702
33703 * include/link.h (ELFW): New macro.
33704 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33705 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33706
1da7940c
L
337072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33708
33709 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33710 with uint64_t.
33711
b749dbb9
L
337122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33713
33714 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33715 declaration.
33716 (struct La_x32_retval): Likewise.
33717
2ff87f3f
L
337182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33719
33720 * sysdeps/x86_64/preconfigure.in: New file.
33721 * sysdeps/x86_64/preconfigure: New generated file.
33722
c0df8e69
JM
337232012-03-22 Joseph Myers <joseph@codesourcery.com>
33724
48e44791
JM
33725 [BZ #13824]
33726 * math/e_exp2l.c: Include <float.h>.
33727 (__ieee754_exp2l): Handle overflow and underflow cases
33728 separately. Only pass fractional part of argument to
33729 __ieee754_expl.
33730 * math/libm-test.inc (exp2_test): Add more tests.
33731
c0df8e69
JM
33732 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33733 negating x to take absolute value.
33734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33735 Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33738 Likewise.
33739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33740 computing low part if x was negated.
33741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33742
c8e43ba7
L
337432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33744
33745 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33746 la_x32_gnu_pltexit.
33747 (pltexit): Cast int_retval to ptrdiff_t.
33748 * elf/tst-auditmod3b.c: Likewise.
33749 * elf/tst-auditmod4b.c: Likewise.
33750 * elf/tst-auditmod5b.c: Likewise.
33751 * elf/tst-auditmod6b.c: Likewise.
33752 * elf/tst-auditmod6c.c: Likewise.
33753 * elf/tst-auditmod7b.c: Likewise.
33754
33755 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33756 and x32_gnu_pltexit.
33757
33758 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33759 __ELF_NATIVE_CLASS.
33760 (La_x32_regs): New macro.
33761 (La_x32_retval): Likewise.
33762 (la_x32_gnu_pltenter): New function prototype.
33763 (la_x32_gnu_pltexit): Likewise.
33764
7998fa78
AS
337652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33766
dcb33988
AS
33767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33768 exponent.
33769
233fc563
AS
33770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33771
7998fa78
AS
33772 * configure.in (libc_cv_cc_nofma): Check for option to disable
33773 generation of FMA instructions.
33774 * configure: Regenerate.
33775 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33776 * sysdeps/ieee754/dbl-64/Makefile: New file.
33777 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33778 Remove brandred-fma4.
33779 (CFLAGS-brandred-fma4.c): Remove.
33780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33781 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33782 define.
33783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33784 define.
33785
8e95c99a
L
337862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33787
33788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33789 LLONG_MAX != LONG_MAX.
33790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33791 (_fitoa_word): Likewise.
33792 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33793 LLONG_MAX != LONG_MAX.
33794 * stdio-common/_itowa.h: Include <_itoa.h>.
33795 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33796 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33797 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33798 only if not defined.
33799 (_ITOA_WORD_TYPE): Likewise.
33800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33801 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33802
6f4db457
DM
338032012-03-21 David S. Miller <davem@davemloft.net>
33804
33805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33806
7785fe5a
L
338072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33808
33809 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33810 of x86_64 when setting libc_cv_slibdir, libdir and
33811 libc_cv_localedir.
33812 * sysdeps/unix/sysv/linux/configure: Regenerated.
33813
4535cd55
JM
338142012-03-21 Joseph Myers <joseph@codesourcery.com>
33815
33816 * manual/lang.texi (Old Varargs): Remove section.
33817 (How Variadic): Update menu.
33818 (va_start): Do not mention varargs.h.
33819
17228132
TS
338202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33821 Joseph Myers <joseph@codesourcery.com>
33822
33823 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33824 link test.
33825 * configure: Regenerated.
33826
8149f976
TS
338272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33828
05f3d1f6
UD
33829 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33830 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33831 conformtest.pl
8149f976 33832
1a4ac776
JM
338332012-03-21 Joseph Myers <joseph@codesourcery.com>
33834
be22ce65
JM
33835 * NOTES: Remove.
33836 * Makefile (files-for-dist): Remove NOTES.
33837 (NOTES): Remove rule.
33838 * README: Don't refer to NOTES.
33839 * manual/creature.texi: Don't include macros.texi.
33840 * manual/intro.texi (creature.texi): Remove comment referring to
33841 NOTES.
33842
40b601fb
JM
33843 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33844 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33845 * configure: Regenerated.
33846 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33847 LIBC_TRY_CC_OPTION.
33848 (libc_cv_as_i686): Likewise.
33849 (libc_cv_cc_avx): Likewise.
33850 (libc_cv_cc_sse2avx): Likewise.
33851 (libc_cv_cc_fma4): Likewise.
33852 (libc_cv_cc_novzeroupper): Likewise.
33853 * sysdeps/i386/configure: Regenerated.
33854
1a4ac776
JM
33855 [BZ #13883]
33856 * sysdeps/i386/fpu/s_cexp.S: Remove.
33857 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33859 * math/libm-test.inc (cexp_test): Add more tests.
33860 * sysdeps/i386/fpu/libm-test-ulps: Update.
33861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33862
a458e7fe
AM
338632012-03-21 Allan McRae <allan@archlinux.org>
33864
33865 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33866
0cb7efc5
JM
338672012-03-21 Joseph Myers <joseph@codesourcery.com>
33868
33869 [BZ #13871]
33870 * math/w_exp2.c: Do not include <float.h>.
33871 (o_threshold, u_threshold): Remove.
33872 (__exp2): Calculate result before checking finiteness and calling
33873 __kernel_standard.
33874 * math/w_exp2f.c: Likewise.
33875 * math/w_exp2l.c: Likewise.
33876 * math/libm-test.inc (exp2_test): Require overflow exception for
33877 1e6 input.
2460d3aa
JM
33878
33879 [BZ #3866]
33880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33881 range of signed 64-bit integers before using fistpll. Remove
33882 checks for whether integers fit in mantissa bits.
33883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33884 the range of signed 32-bit integers before using fistpl. Remove
33885 checks for whether integers fit in mantissa bits.
33886 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33887 (__ieee754_powl): Test for y outside the range of signed 64-bit
33888 integers before using fistpll. Reduce 64-bit values to 63-bit
33889 ones as needed.
33890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33891 divide-by-zero is raised for zero to large negative powers.
33892 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33893 (__ieee754_powl): Test for y outside the range of signed 64-bit
33894 integers before using fistpll. Reduce 64-bit values to 63-bit
33895 ones as needed.
33896 * math/libm-test.inc (pow_test): Add more tests.
33897
eb96ffb0
L
338982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33899
33900 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33901 <stdio-common/_itoa.h>.
33902 * debug/segfault.c: Likewise.
33903 * elf/dl-cache.c: Likewise.
33904 * elf/dl-minimal.c: Likewise.
33905 * elf/dl-misc.c: Likewise.
33906 * elf/dl-sysdep.c: Likewise.
33907 * elf/dl-version.c: Likewise.
33908 * elf/rtld.c: Likewise.
33909 * hurd/hurdsock.c: Likewise.
33910 * hurd/lookup-retry.c: Likewise.
33911 * malloc/malloc.c: Likewise.
33912 * malloc/mtrace.c: Likewise.
33913 * nscd/nscd_getgr_r.c: Likewise.
33914 * nscd/nscd_getpw_r.c: Likewise.
33915 * nscd/nscd_getserv_r.c: Likewise.
33916 * posix/getopt_init.c: Likewise.
33917 * posix/wordexp.c: Likewise.
33918 * stdio-common/_itoa.c: Likewise.
33919 * stdio-common/printf_fphex.c: Likewise.
33920 * stdio-common/vfprintf.c: Likewise.
33921 * string/_strerror.c: Likewise.
33922 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33923 * sysdeps/i386/i686/hp-timing.h: Likewise.
33924 * sysdeps/mach/_strerror.c: Likewise.
33925 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33926 * sysdeps/mach/hurd/sethostid.c: Likewise.
33927 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33928 * sysdeps/mach/xpg-strerror.c: Likewise.
33929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33931 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33932 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33934 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33936 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33937 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33938 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33939 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33941 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33942 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33945 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33947 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33948 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33949 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33950
33951 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33952
33953 * stdio-common/_itoa.h: Moved to ...
33954 * sysdeps/generic/_itoa.h: Here.
33955
33956 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33957
33958 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33959 instead of "_itoa.h" and "_itowa.h".
33960 * stdio-common/vfprintf.: Likewise.
33961
d1af992d
L
339622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33963
33964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33965 <bits/wordsize.h>.
33966 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33967 (__signbit): Likwise.
33968 (llrintf): Likwise.
33969 (llrint): Likwise.
33970
114883e0
L
339712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33972
33973 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33974 __WORDSIZE != 64.
33975
c135cc1b
JM
339762012-03-20 Joseph Myers <joseph@codesourcery.com>
33977
33978 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33979 OVERFLOW_EXCEPTION_OK.
33980 * math/libm-test.inc ("Philosophy"): Update comment about
33981 exception testing.
33982 (OVERFLOW_EXCEPTION): Define.
33983 (OVERFLOW_EXCEPTION_OK): Likewise.
33984 (INVALID_EXCEPTION_OK): Renumber.
33985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33986 (IGNORE_ZERO_INF_SIGN): Likewise.
33987 (test_exceptions): Handle FE_OVERFLOW.
33988 (exp10_test): Expect overflow exceptions.
33989 (exp2_test): Likewise.
33990 (expm1_test): Likewise.
33991 (nextafter_test): Likewise.
33992 (pow_test): Likewise.
33993 (scalbn_test): Likewise.
33994 (scalbln_test): Likewise.
33995
95443d88
L
339962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33997
33998 * sysdeps/x86_64/bits/atomic.h
33999 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34000 64bit integer.
34001 (atomic_exchange_acq): Likewise.
34002 (__arch_exchange_and_add_body): Likewise.
34003 (__arch_add_body): Likewise.
34004 (atomic_add_negative): Likewise.
34005 (atomic_add_zero): Likewise.
34006
490df6c4
L
340072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34008
c2722551 34009 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34010 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34011
5e52b189
L
340122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34013
34014 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34015 Check __x86_64__ instead of __WORDSIZE.
34016
a9879d4c
L
340172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34018
34019 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34020
5df98260
DM
340212012-03-19 David S. Miller <davem@davemloft.net>
34022
e1497744
DM
34023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34024
5df98260
DM
34025 * sysdeps/sparc/fpu/fenv_private.h: New file.
34026 * sysdeps/sparc/fpu/math_private.h: Use it.
34027 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34028 Remove.
57f41c40 34029 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34030 (libc_feholdexcept_setroundl): Remove.
34031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34032 Remove.
34033 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34034 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34035
b4c35121
L
340362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34037
34038 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34039 int64_t instead of long int.
34040 (INSERT_WORDS64): Likwise.
34041
56965fd7
L
340422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34043
34044 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34045 _Unwind_GetCFA return to _Unwind_Ptr first.
34046
83d1aec8
JM
340472012-03-19 Joseph Myers <joseph@codesourcery.com>
34048
1897ad44
JM
34049 [BZ #13629]
34050 * math/s_clog.c: Include <float.h>.
34051 (__clog): Scale large or subnormal inputs.
34052 * math/s_clogf.c: Likewise.
34053 * math/s_clogl.c: Likewise.
34054 * math/s_clog10.c: Include <float.h>.
34055 (M_LOG10_2): Define.
34056 (__clog10): Scale large or subnormal inputs.
34057 * math/s_clog10f.c: Likewise.
34058 * math/s_clog10l.c: Likewise.
34059 * math/libm-test.inc (clog_test): Add more tests.
34060 (clog10_test): Likewise.
34061 * sysdeps/i386/fpu/libm-test-ulps: Update.
34062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34063
7726d6a9
JM
34064 [BZ #11451]
34065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34066 x and y.
34067 * math/libm-test.inc (atan2_test): Add another test.
34068
83d1aec8
JM
34069 * Makerules (common-objdir-compile): Remove.
34070 * sysdeps/unix/Makefile (config-generated): Do not add
34071 $(unix-generated) to variable.
34072 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34073 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34074 Remove rule.
34075 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34076 Likewise.
34077 [generic bits/local_lim.h] (before-compile): Do not append to
34078 variable.
34079 [generic bits/local_lim.h] (common-generated): Likewise.
34080 [generic sys/param.h] (before-compile): Do not append to variable.
34081 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34082 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34085 include.
34086 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34087 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34088 [generic sys/param.h] ($(addprefix
34089 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34090 [generic sys/param.h] (common-generated): Do not append to
34091 variable.
34092 [generic sys/param.h] (sysdep_headers): Likewise.
34093 [generic bits/errno.h] (before-compile): Do not append to
34094 variable.
34095 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34096 rule.
34097 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34098 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34099 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34100 [generic bits/errno.h] (common-generated): Do not append to
34101 variable.
34102 [generic bits/ioctls.h] (before-compile): Do not append to
34103 variable.
34104 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34105 rule.
34106 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34107 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34109 rule.
34110 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34111 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34112 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34113 [generic bits/ioctls.h] (common-generated): Do not append to
34114 variable.
34115 [generic sys/syscall.h] (syscall.h): Remove variable.
34116 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34117 rule.
34118 [generic sys/syscall.h] (before-compile): Do not append to
34119 variable.
34120 [generic sys/syscall.h] (common-generated): Likewise.
34121 * sysdeps/unix/errnos-tmpl.c: Remove file.
34122 * sysdeps/unix/errnos.awk: Likewise.
34123 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34124 * sysdeps/unix/ioctls.awk: Likewise.
34125 * sysdeps/unix/mk-local_lim.c: Likewise.
34126 * sysdeps/unix/snarf-ioctls: Likewise.
34127
4851a949
RH
341282012-03-19 Richard Henderson <rth@twiddle.net>
34129
bd37f2ee
RH
34130 * sysdeps/i386/fpu/fenv_private.h: New file.
34131 * sysdeps/i386/fpu/math_private.h: Use it.
34132 (math_opt_barrier, math_force_eval): Remove.
34133 (libc_feholdexcept_setround_53bit): Remove.
34134 (libc_feupdateenv_53bit): Remove.
34135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34136 (math_opt_barrier, math_force_eval): Remove.
34137 (libc_feholdexcept): Remove.
34138 (libc_feholdexcept_setround): Remove.
34139 (libc_fetestexcept, libc_fesetenv): Remove.
34140 (libc_feupdateenv_test): Remove.
34141 (libc_feupdateenv, libc_feholdsetround): Remove.
34142 (libc_feresetround): Remove.
34143
d0adc922
RH
34144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34145 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34146
0fe0f1f8
RH
34147 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34148 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34149 (libc_feupdateenv_testl): New.
34150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34151 (libc_feupdateenv_testf): New.
34152 (libc_feupdateenv): Use libc_feupdateenv_test.
34153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34155
eb92c487
RH
34156 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34157 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34158 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34159 (libc_feresetround_noex): New.
34160 (libc_feresetround_noexf): New.
34161 (libc_feresetround_noexl): New.
34162 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34163 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34164 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34166 SET_RESTORE_ROUND.
34167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34169 (__cos): Likewise.
34170 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34172 SET_RESTORE_ROUND_NOEX.
34173 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34174 SET_RESTORE_ROUND_NOEXF.
34175 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34176 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34177 (libc_feholdsetroundf): New.
34178 (libc_feresetround, libc_feresetroundf): New.
34179
7d2e8012
RH
34180 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34181 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34182 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34183
b4dabbb4
RH
34184 * sysdeps/generic/math_private.h: Include <fenv.h>.
34185 (default_libc_feholdexcept): New.
34186 (default_libc_feholdexcept_setround): New.
34187 (default_libc_fesetenv, default_libc_feupdateenv): New.
34188 (libc_feholdexcept): Only define if undefined.
34189 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34191 (libc_feholdexcept_setroundl): Likewise.
34192 (libc_feholdexcept_setround_53bit): Likewise.
34193 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34196 (libc_feupdateenv_53bit): Likewise.
34197 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34198 (libc_feholdexcept): Convert from macro to inline function.
34199 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34200 (libc_fesetenv, libc_feupdateenv): Likewise.
34201
4851a949
RH
34202 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34203 not previously defined.
34204 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34205 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34206 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34208 * sysdeps/ieee754/flt-32/math_private.h: New file.
34209 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34210 math_private.h below SET_FLOAT_WORD.
34211 (__isnan, __isinf_ns, __finite): Remove.
34212 (__isnanf, __isinf_nsf, __finitef): Remove.
34213
e79d442e
AS
342142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34215
34216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34217
90b80344
DM
342182012-03-17 David S. Miller <davem@davemloft.net>
34219
34220 [BZ #6471]
34221 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34222 for 2.16.
34223
edc21804
DM
342242012-03-16 David S. Miller <davem@davemloft.net>
34225
77e927af
DM
34226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34227 warnings.
34228
374976dd
DM
34229 [BZ #6471]
34230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34231 properly.
34232 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34233 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34234 sysdep_routines when subdir is sysvipc.
34235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34236 __getshmlba helper.
34237
edc21804
DM
34238 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34239
473c3ef3
L
342402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34243 [__LP64__].
34244
eb0f39b6
L
342452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34246
34247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34248 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34249 (__lround): Renamed to ...
34250 (__llround): This. Replace long int with long long int.
34251 Define lround functions as aliases of llround functions.
34252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34253
6b6cd74b
L
342542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34255
34256 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34257 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34258 adresses to uintptr_t. Replace "long int" and "unsigned long
34259 int" with "greg_t" on va_arg.
34260
f1a77b01
L
342612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34262
34263 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34264 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34265
34266 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34267 Move e_machine check before EI_CLASS check. Handle x32
34268 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34269 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34270 SKIP_EM_IA_64 and include
34271 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34272
34273 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34274 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34275 (add_system_dir): New macro.
34276
34277 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34279
11b90b9f
JM
342802012-03-16 Joseph Myers <joseph@codesourcery.com>
34281
c36e1d23
JM
34282 [BZ #2551]
34283 [BZ #2552]
34284 [BZ #2553]
34285 [BZ #2554]
34286 [BZ #2562]
34287 [BZ #2563]
34288 [BZ #2565]
34289 [BZ #2566]
34290 [BZ #2576]
34291 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34292 (y0): Likewise.
34293 * math/w_j0f.c (j0f): Likewise.
34294 (y0f): Likewise.
34295 * math/w_j0l.c (__j0l): Likewise.
34296 (__y0l): Likewise.
34297 * math/w_j1.c (j1): Likewise.
34298 (y1): Likewise.
34299 * math/w_j1f.c (j1f): Likewise.
34300 (y1f): Likewise.
34301 * math/w_j1l.c (__j1l): Likewise.
34302 (__y1l): Likewise.
34303 * math/w_jn.c (jn): Likewise.
34304 (yn): Likewise.
34305 * math/w_jnf.c (jnf): Likewise.
34306 (ynf): Likewise.
34307 * math/w_jnl.c (__jnl): Likewise.
34308 (__ynl): Likewise.
34309 * math/libm-test.inc (j0_test): Add more tests.
34310 (j1_test): Likewise.
34311 (jn_test): Likewise. Add trailing semicolon to existing test.
34312 (y0_test): Likewise.
34313 (y1_test): Likewise.
34314 * sysdeps/i386/fpu/libm-test-ulps: Update.
34315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34316
11b90b9f
JM
34317 [BZ #13851]
34318 [BZ #13854]
34319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34320 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34321 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34323 (__tanl): Set errno for infinite argument.
34324 * sysdeps/i386/fpu/mptan.c: Remove.
34325 * sysdeps/i386/fpu/s_tan.S: Likewise.
34326 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34327 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34328 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34329 * math/libm-test.inc (tan_test): Add more tests and enable more
34330 tests for double and long double.
34331 * sysdeps/i386/fpu/libm-test-ulps: Update.
34332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34333
6a1bd2a1
JK
343342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34335
34336 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34337 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34338
10a803e0
RM
343392012-03-16 Roland McGrath <roland@hack.frob.com>
34340
34341 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34342 * configure.in: Use it for both main tree and add-ons.
34343 * configure: Regenerated.
34344
f196c7f7
L
343452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34346
34347 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34348
8848d99d
JM
343492012-03-16 Joseph Myers <joseph@codesourcery.com>
34350
96cbe7f4
JM
34351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34352 in comment.
34353
8848d99d
JM
34354 [BZ #13851]
34355 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34356 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34357 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34359 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34360 infinite argument.
34361 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34363 != 0 for prec == 2.
34364 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34365 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34366 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34367 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34368 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34369 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34370 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34371 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34372 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34373 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34374 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34375 * math/libm-test.inc (cos_test): Add more tests and enable more
34376 tests for long double.
34377 (sin_test): Likewise.
34378 (sincos_test): Likewise.
34379 * sysdeps/i386/fpu/libm-test-ulps: Update.
34380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34381
dd7f4703
DM
343822012-03-16 David S. Miller <davem@davemloft.net>
34383
34384 * sysdeps/sparc/fpu/math_private.h: New file.
34385
006f1daa
DM
343862012-03-15 David S. Miller <davem@davemloft.net>
34387
c0c83bc8
DM
34388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34389 file.
e6a62e18 34390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34392 file.
e6a62e18
DM
34393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34399 sysdep routines.
34400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34401
88cb87d9
DM
34402 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34403 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34404
006f1daa 34405 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34407 sparc-ifunc.h
006f1daa 34408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34410 Likewise.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34412 Likewise.
006f1daa
DM
34413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34417 Likewise.
006f1daa
DM
34418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34423 Likewise.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34425 Likewise.
006f1daa
DM
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34450
11e0098e
AS
344512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34452
34453 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34454 scaling.
34455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34456
e85b09d0
AJ
344572012-03-15 Andreas Jaeger <aj@suse.de>
34458
34459 [BZ #13852]
34460 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34461 ieee754/flt-32 implementation for sin, cos and sincos.
34462 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34463 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34464 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34465 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34466 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34467 ieee754/flt-32 implementation for tan.
34468
34469 * math/libm-test.inc (cos_test): Enable some large input tests for
34470 float as well
34471 (sin_test): Likewise.
34472 (sincos_test): Likewise.
34473 (tan_test): Add tests for large input.
34474
34475 * sysdeps/i386/fpu/libm-test-ulps: Update.
34476
81c64153
AJ
344772012-03-15 Andreas Jaeger <aj@suse.de>
34478
34479 [BZ #13658]
34480 * math/libm-test.inc (cos_test): Add more test cases.
34481 (sin_test): Likewise.
34482 (sincos_test): Likewise.
34483
7bbfa5c6
AJ
344842012-03-15 Andreas Jaeger <aj@suse.de>
34485
34486 [BZ #13837]
34487 * math/libm-test.inc (cos_test): Add a test case for large input
34488 value.
34489 (sin_test): Likewise.
34490 (sincos_test): Likewise.
34491
57f41c40
AS
344922012-03-15 Andreas Jaeger <aj@suse.de>
34493 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34494
34495 [BZ #13658]
0671f479 34496 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34497 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34498 * sysdeps/i386/fpu/branred.c: Likewise.
34499 * sysdeps/i386/fpu/dosincos.c: Likewise.
34500 * sysdeps/i386/fpu/mpa.c: Likewise.
34501 * sysdeps/i386/fpu/s_cos.S: Likewise.
34502 * sysdeps/i386/fpu/s_sin.S: Likewise.
34503 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34504 * sysdeps/i386/fpu/sincos32.c: Likewise.
34505
34506 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34507 Define.
34508 (libc_feupdateenv_53bit): Define.
34509 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34510 Define.
34511 (libc_feupdateenv_53bit): Define.
34512
34513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34514 53 bit (without extend i386 double precision).
34515
34516 * math/libm-test.inc (sincos_test): Add tests for large input.
34517 (sin): Likewise.
34518 (cos): Likewise.
34519
34520 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34521
9cad04ea
AS
345222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34523
34524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34525
f7062b9a
DM
345262012-03-15 David S. Miller <davem@davemloft.net>
34527
34528 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34529 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34544 file.
f7062b9a 34545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34547 file.
f7062b9a 34548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34550 file.
f7062b9a 34551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34553 file.
f7062b9a
DM
34554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34556 fmin/fmax sysdep routines.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34558
7bd951ff
DM
345592012-03-14 David S. Miller <davem@davemloft.net>
34560
559398ab
DM
34561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34590 routines.
34591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34592 file.
559398ab 34593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34595 file.
559398ab 34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34598 file.
559398ab 34599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34601 file.
559398ab 34602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34604 file.
559398ab 34605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34607 file.
34608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34609 file.
34610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34611 file.
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34613 file.
34614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34615 New file.
34616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34617 file.
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34619 file.
559398ab 34620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34622 file.
559398ab 34623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34625 file.
559398ab 34626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34628 file.
559398ab 34629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34631 VIS3 routines.
559398ab
DM
34632
34633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34634 New file.
34635
5a1c1e32
DM
34636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34637
eae47a36
DM
34638 * sysdeps/sparc/configure.in: New file.
34639 * sysdeps/sparc/configure: Generate.
34640 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34641 * configure: Regenerate.
34642 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34643 * config.make.in (have-as-vis3): New.
34644 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34645 available use -Av9d instead of -Av9a.
34646 * sysdeps/sparc/sparc64/Makefile: Likewise.
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34649 New file.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34651 file.
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34653 New file.
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34655 file.
eae47a36
DM
34656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34661
c0c83bc8
DM
34662 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34663 fzeros/fnegs to load 0x80000000 into a float register instead of
34664 using the stack.
7bd951ff
DM
34665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34666
bd951ccb
JM
346672012-03-14 Joseph Myers <joseph@codesourcery.com>
34668
34669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34670 bits/syscall.h.
34671 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34672 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34673 ($(inst_includedir)/bits/syscall.h): Remove rule.
34674 ($(objpfx)bits/syscall.d): Include instead of
34675 $(objpfx)syscall-list.d.
34676 (generated): Change syscall-list.h and syscall-list.d to
34677 bits/syscall.h and bits/syscall.d.
34678
bb4e6db2
RM
346792012-03-14 Roland McGrath <roland@hack.frob.com>
34680
34681 [BZ #13846]
34682 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34683
aa4a2ae1
JM
346842012-03-14 Joseph Myers <joseph@codesourcery.com>
34685
e456826d
JM
34686 [BZ #13841]
34687 * math/s_csqrt.c: Include <float.h>.
34688 (__csqrt): Scale large or subnormal inputs.
34689 * math/s_csqrtf.c: Likewise.
34690 * math/s_csqrtl.c: Likewise.
34691 * math/libm-test.inc (csqrt_test): Add more tests.
34692 * sysdeps/i386/fpu/libm-test-ulps: Update.
34693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34694
aa4a2ae1
JM
34695 [BZ #13840]
34696 * math/libm-test.inc (hypot_test): Add more tests.
34697
7c10fd35
DM
346982012-03-13 David S. Miller <davem@davemloft.net>
34699
34700 [BZ #13840]
34701 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34702 double-precision for the calculation instead of scaling.
34703
f453b98b
JM
347042012-03-13 Joseph Myers <joseph@codesourcery.com>
34705
34706 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34707 manipulate bits before adding and subtracting TWO52[sx].
34708 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34710 Likewise.
34711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34712
09a3453f
DM
347132012-03-13 David S. Miller <davem@davemloft.net>
34714
8e59da90
DM
34715 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34716 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34718 rtld-global-offsets.h
34719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34720
2a8ab7f2
DM
34721 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34722 large parameters.
34723
10f62770
DM
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34725
5f0bdb18
DM
34726 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34727 'err' in the ifdef scope in which it is actually used.
34728
09a3453f
DM
34729 * nss/nss_db/db-init.c: Include string.h
34730
b4b2eb5e
DM
347312012-03-12 David S. Miller <davem@davemloft.net>
34732
98bb2f1c
DM
34733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34734 masking out of the most significant byte of random value used.
34735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34736 Fix coding style in previous change.
34737
b4b2eb5e
DM
34738 * sysdeps/unix/sysv/linux/kernel-features.h
34739 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34740 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34741 expression.
34742 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34743 later.
34744
6e226b09
DM
347452012-03-11 David S. Miller <davem@davemloft.net>
34746
a1bcbd40
DM
34747 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34748 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34750 for 'resultvar' otherwise things get truncated on 64-bit.
34751
cb9d6174
DM
34752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34753 Fix masking out of the most significant byte of random value used.
34754
6e226b09
DM
34755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34756
058c132d
AS
347572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34758
34759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34760
2d2cd515
DM
347612012-03-09 David S. Miller <davem@davemloft.net>
34762
34763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34764 variables with appropriate CPP guards.
57f41c40
AS
34765 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34766 from the frame pointer, not the stack pointer. Correct layout
34767 comments. Fix test on resulting framesize and the management of
34768 the outregs buffer for pltexit. Preserve floating point return
34769 values across _dl_call_pltexit call.
2d2cd515
DM
34770 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34771 framesize and the management of the outregs buffer for pltexit.
34772 Preserve floating point return values across _dl_call_pltexit
34773 call.
57f41c40
AS
34774 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34775 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34776 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34777 (print_exit): Fix format string for return register value.
34778
9a07f9d0
JM
347792012-03-10 Joseph Myers <joseph@codesourcery.com>
34780
34781 * sunrpc/Makefile (others): Add rpcgen.
34782 ($(objpfx)rpcgen): Remove special build rule and dependency on
34783 libc.
34784 * sunrpc/rpcgen.c: New file.
34785
547b5e30
PE
347862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34787
c524201a
PE
34788 [BZ #13673]
34789 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34790 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34791 * sysdeps/i386/crti.S: Likewise.
34792 * sysdeps/i386/crtn.S: Likewise.
34793 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34794 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34795 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34796 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34797 * sysdeps/sh/crti.S: Likewise.
34798 * sysdeps/sh/crtn.S: Likewise.
34799 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34800
7b6235f2
PE
34801 [BZ #13673]
34802 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34803 with URL.
34804 * locale/programs/locfile-kw.gperf: Likewise.
34805 * locale/programs/charmap-kw.h: Regenerated.
34806 * locale/programs/locfile-kw.h: Likewise.
34807
547b5e30
PE
34808 [BZ #13673]
34809 * intl/plural.y: Replace FSF snail mail address with URL.
34810 * intl/plural.c: Regenerated.
34811
5f0a5dae
RH
348122012-03-09 Richard Henderson <rth@twiddle.net>
34813
34814 * include/math_private.h: Remove file.
34815 * math/math_private.h: Move file ...
34816 * sysdeps/generic/math_private.h: ... here.
34817
b8c03620
RH
34818 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34819 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34820 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34821
4e234f5d 34822 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34823 and <math_private.h>.
34824 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34825 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34826 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34827 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34828 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34829 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34830 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34832 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34833 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34835 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34836 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34838 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34839 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34841 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34842 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34843 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34845 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34846 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34848 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34849 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34850 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34851 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34854 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34856 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34857 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34860 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34866 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34868 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34869 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34872 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34873 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34874 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34875 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34912 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34913 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34914 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34915 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34916 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34917 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34918 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34919 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34920 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34921 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34923 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34924 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34925 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34926 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34927 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34928 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34929 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34930 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34933 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34934 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34935 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34936 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34937 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34938 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34939 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34940 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34941 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34942 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34943 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34944 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34945 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34947 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34948 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34950 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34951 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34952 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34953 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34954 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34955 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34956 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34957 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34958 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34960 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34961 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34962 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34963 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34964 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34965 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34967 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34968 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34969 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34970 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34972 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34973 * sysdeps/ieee754/k_standard.c: Likewise.
34974 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34987 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34988 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34989 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34990 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34991 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34992 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34993 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34995 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34998 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34999 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35000 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35001 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35002 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35003 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35004 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35005 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35006 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35007 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35008 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35010 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35011 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35012 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35013 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35014 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35016 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35019 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35020 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35022 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35023 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35024 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35025 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35026 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35027 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35028 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35029 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35030 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35031 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35032 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35033 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35034 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35035 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35036 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35037 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35038 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35039 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35089 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35090 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35101 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35102 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35106 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35107 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35123 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35124 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35134 * sysdeps/ieee754/s_lib_version.c: Likewise.
35135 * sysdeps/ieee754/s_matherr.c: Likewise.
35136 * sysdeps/ieee754/s_signgam.c: Likewise.
35137 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35138 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35139 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35140 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35141 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35142 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35143 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35144 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35145 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35146 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35147 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35148 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35149 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35150 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35151 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35152 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35153 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35154 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35155 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35158
1991fa03
JM
351592012-03-09 Joseph Myers <joseph@codesourcery.com>
35160
35161 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35162 * sunrpc/rpc_main.c: Likewise.
35163 * sunrpc/rpc_svcout.c: Likewise.
35164
60d6f5a6
DM
351652012-03-09 David S. Miller <davem@davemloft.net>
35166
35167 * include/math_private.h: New file.
35168
4962050e
JM
351692012-03-09 Joseph Myers <joseph@codesourcery.com>
35170
02a6f887
JM
35171 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35172 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35173 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35174 from <bits/socket_type.h>.
35175 (enum __socket_type): Don't define here.
35176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35178 bits/socket_type.h.
35179
c6e013c1
JM
35180 [BZ #13566]
35181 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35182 checking __USE_GNU.
35183
4962050e
JM
35184 * Makerules ($(inst_includedir)/%.h): New rule.
35185 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35186 (install-others): Remove variable setting.
35187 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35188
38842f45
RH
351892012-03-08 Richard Henderson <rth@twiddle.net>
35190
67bb6da6
RH
35191 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35192 from macro to inline function; merge with the
35193 !__LIBC_INTERNAL_MATH_INLINES version.
35194 (__ieee754_sqrtf): Likewise.
35195
15194b4b
RH
35196 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35197 to inline function.
35198 (__rintf, __floor, __floorf): Likewise.
35199
64e21ede
RH
35200 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35201 macro to inline function.
35202 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35203
38842f45
RH
35204 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35205 not <math/math_private.h>.
35206
c64bf5fe
DM
352072012-03-08 David S. Miller <davem@davemloft.net>
35208
35209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35210 copyright year.
35211 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35212
82d86f28
TS
352132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35214
35215 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35216 normalization.
35217 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35218 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35219
aea5d727
UD
352202012-03-08 Ulrich Drepper <drepper@gmail.com>
35221
35222 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35223 be defined individually, they must be defined as a block. Define
35224 S for printing a string instead of hidint the different by using a
35225 macro for adding the 'l'.
35226 * stdio-common/tst-fphex-wide.c: Adjust.
35227
70bca0a3
MP
352282012-03-07 Marek Polacek <polacek@redhat.com>
35229
35230 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35231
65b81130
MP
352322012-03-08 Marek Polacek <polacek@redhat.com>
35233
35234 [BZ #13806]
35235 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35236 * stdio-common/tst-fphex.c: Define a few macros to make the
35237 test reusable. Use them.
35238 * stdio-common/tst-fphex-wide.c: New file.
35239
07037eeb
JM
352402012-03-08 Joseph Myers <joseph@codesourcery.com>
35241
a7a93d50
JM
35242 [BZ #6911]
35243 * manual/macros.texi (gnusystems): New macro.
35244 (nongnusystems): Likewise.
35245 (gnulinuxhurdsystems): Likewise.
35246 (gnuhurdsystems): Likewise..
35247 (gnulinuxsystems): Likewise.
35248 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35249 variants of the GNU system, not "GNU system".
35250 * manual/conf.texi: Likewise.
35251 * manual/errno.texi: Likewise. Update example of errno macro
35252 expansion.
35253 * manual/filesys.texi: Likewise.
35254 (getumask): Document as specific to GNU/Hurd.
35255 * manual/install.texi: Likewise. Reword some references to
35256 GNU/Linux.
35257 * manual/intro.texi: Likewise.
35258 * manual/io.texi: Likewise.
35259 (File Name Portability): Detail which constraints are inapplicable
35260 to all GNU systems and which are only inapplicable to GNU/Hurd.
35261 * manual/job.texi: Likewise.
35262 * manual/llio.texi: Likewise.
35263 (O_NOCTTY): Document as present on GNU/Linux.
35264 * manual/maint.texi: Likewise.
35265 * manual/memory.texi: Likewise.
35266 * manual/pattern.texi: Likewise.
35267 * manual/pipe.texi: Likewise.
35268 * manual/process.texi: Likewise.
35269 * manual/resource.texi: Likewise.
35270 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35271 child on GNU/Hurd.
35272 * manual/setjmp.texi: Likewise.
35273 * manual/signal.texi: Likewise.
35274 * manual/startup.texi: Likewise.
35275 * manual/stdio.texi: Likewise.
35276 * manual/terminal.texi: Likewise.
35277 (ONLCR): Document as POSIX.
35278 (OXTABS): Document availability on GNU/Linux as XTABS.
35279 (ONOEOT): Document availability separately from other bits.
35280 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35281 * manual/time.texi: Likewise.
35282 * manual/users.texi: Likewise.
35283 * INSTALL: Regenerated.
35284 * sysdeps/gnu/errlist.c: Regenerated.
35285
07037eeb
JM
35286 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35287 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35288 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35289 puts.
35290 * configure: Regenerated.
35291
d1d3431a
JM
352922012-03-07 Joseph Myers <joseph@codesourcery.com>
35293
af6a1e37
JM
35294 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35295 default includes instead of AC_HEADER_CHECK.
35296 * sysdeps/i386/configure: Regenerated.
35297
d1d3431a
JM
35298 [BZ #10716]
35299 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35300 * math/s_cacoshf.c (__cacoshf): Likewise.
35301 * math/s_cacoshl.c (__cacoshl): Likewise.
35302 * math/s_casinh.c (__casinh): Set signs of result from argument.
35303 * math/s_casinhf.c (__casinhf): Likewise.
35304 * math/s_casinhl.c (__casinhl): Likewise.
35305 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35306 (casinh_test): Add more tests.
35307 * sysdeps/i386/fpu/libm-test-ulps: Update.
35308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35309
482ff4da
UD
353102012-03-07 Ulrich Drepper <drepper@gmail.com>
35311
872fda05
UD
35312 * po/zh_TW.po: Update from translation team.
35313
a4300c7a
UD
35314 * login/Makefile (distribute): Remove variable.
35315 * catgets/Makefile: Likewise.
35316 * mach/Makefile: Likewise.
35317 * malloc/Makefile: Likewise.
35318 * misc/Makefile: Likewise.
35319 * iconv/Makefile: Likewise.
35320 * nscd/Makefile: Likewise.
35321 * hurd/Makefile: Likewise.
35322 * manual/Makefile: Likewise.
35323 * locale/Makefile: Likewise.
35324 * intl/Makefile: Likewise.
35325 * conform/Makefile: Likewise.
35326 * nss/Makefile: Likewise.
35327 * time/Makefile: Likewise.
35328 * soft-fp/Makefile: Likewise.
35329 * dirent/Makefile: Likewise.
35330 * gmon/Makefile: Likewise.
35331 * po/Makefile: Likewise.
35332 * rt/Makefile: Likewise.
35333 * socket/Makefile: Likewise.
35334 * math/Makefile: Likewise.
35335 * signal/Makefile: Likewise.
35336 * debug/Makefile: Likewise.
35337 * elf/Makefile: Likewise.
35338 * timezone/Makefile: Likewise.
35339 * stdlib/Makefile: Likewise.
35340 * iconvdata/Makefile: Likewise.
35341 * sunrpc/Makefile: Likewise.
35342 * io/Makefile: Likewise.
35343 * argp/Makefile: Likewise.
35344 * inet/Makefile: Likewise.
35345 * hesiod/Makefile: Likewise.
35346 * grp/Makefile: Likewise.
35347 * csu/Makefile: Likewise.
35348 * wctype/Makefile: Likewise.
35349 * crypt/Makefile: Likewise.
35350 * libio/Makefile: Likewise.
35351 * string/Makefile: Likewise.
35352 * nis/Makefile: Likewise.
35353 * resolv/Makefile: Likewise.
35354 * stdio-common/Makefile: Likewise.
35355 * wcsmbs/Makefile: Likewise.
35356 * dlfcn/Makefile: Likewise.
35357 * posix/Makefile: Likewise.
35358
3b7c4e74 35359 [BZ #6959]
482ff4da
UD
35360 * timezone/Makefile: Don't install timezone files, just the programs
35361 and scripts.
35362
f72ed77d
UD
353632012-03-06 Ulrich Drepper <drepper@gmail.com>
35364
a000466f
UD
35365 * nss/databases.def: Add missing gshadow entry.
35366
f72ed77d
UD
35367 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35368
a53b7a4e
MP
353692012-03-06 Marek Polacek <polacek@redhat.com>
35370
35371 [BZ #13726]
35372 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35373 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35374 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35375 * stdio-common/tst-long-dbl-fphex.c: New file.
35376
e9258400
DM
353772012-03-06 David S. Miller <davem@davemloft.net>
35378
35379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35380 (set_obp_int): New function.
35381 (get_obp_int): New function.
35382 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35383 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35384 Avoid unused variable warnings on 'val' and use builtin_expect.
35385 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35386 __builtin_expect.
e9258400
DM
35387 (INLINE_CLONE_SYSCALL): Likewise.
35388
3bd2c723
DM
353892012-03-05 David S. Miller <davem@davemloft.net>
35390
35391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35392
bbb78d03
AS
353932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35394
884c5db4
AS
35395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35396
bbb78d03
AS
35397 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35398 only for |x| >= 40.
35399 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35400
1c9f702a 354012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35402
35403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35404 Replace gettimeofday with __vdso_gettimeofday.
35405
7be16f82
RM
35406 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35407 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35408 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35409
35410 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35411 time with __vdso_time.
35412
ed58a00f
JM
354132012-03-05 Joseph Myers <joseph@codesourcery.com>
35414
35415 * manual/lang.texi (size_t): Note types to which size_t may be
35416 equivalent with the GNU C Library, but do not describe when
35417 differences between them are significant.
35418
30ee4ced
AJ
354192012-03-05 Andreas Jaeger <aj@suse.de>
35420
35421 * sysdeps/i386/fpu/libm-test-ulps: Update.
35422
b7cd39e8
JM
354232012-03-05 Joseph Myers <joseph@codesourcery.com>
35424
35425 [BZ #3976]
35426 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35427 (__ieee754_pow): Save and restore rounding mode and use
35428 round-to-nearest for main computations.
35429 * math/libm-test.inc (pow_test_tonearest): New function.
35430 (pow_test_towardzero): Likewise.
35431 (pow_test_downward): Likewise.
35432 (pow_test_upward): Likewise.
35433 (main): Call the new functions.
35434 * sysdeps/i386/fpu/libm-test-ulps: Update.
35435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35436
35437 [BZ #3976]
35438 * math/libm-test.inc (cosh_test_tonearest): New function.
35439 (cosh_test_towardzero): Likewise.
35440 (cosh_test_downward): Likewise.
35441 (cosh_test_upward): Likewise.
35442 (sinh_test_tonearest): Likewise.
35443 (sinh_test_towardzero): Likewise.
35444 (sinh_test_downward): Likewise.
35445 (sinh_test_upward): Likewise.
35446 (main): Call the new functions.
35447 * sysdeps/i386/fpu/libm-test-ulps: Update.
35448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35449
6c6a98c9
TV
354502012-03-05 Tom de Vries <tom@codesourcery.com>
35451
35452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35453 default stack guard is set in last bytes.
35454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35455
21bb2d2e 354562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35457
21bb2d2e 35458 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35459
21bb2d2e
AJ
35460 [BZ #13656]
35461 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35462 possibly allocate from heap instead of stack.
35463 * stdio-common/bug-vfprintf-nargs.c: New file.
35464 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35465
c6922934
AS
354662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35467
35468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35469
bc957d53
MP
354702012-03-03 Marek Polacek <polacek@redhat.com>
35471
35472 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35473 * math/math_private.h: Likewise.
35474 * stdlib/tst-strtod.c: Likewise.
35475 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35476 * sysdeps/x86_64/bits/atomic.h: Likewise.
35477
6358490d
DM
354782012-03-02 David S. Miller <davem@davemloft.net>
35479
35480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35484 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35485 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35486 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35487 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35488
01ae168d
RM
354892012-03-02 Roland McGrath <roland@hack.frob.com>
35490
d9a17c07
RM
35491 [BZ #13792]
35492 * manual/examples/README: New file, says the example source files
35493 can be used under GPL>=2.
35494 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35495 line containing just "*/".
35496 * manual/examples/add.c: Add copyright header (GPL>=2).
35497 * manual/examples/argp-ex1.c: Likewise.
35498 * manual/examples/argp-ex2.c: Likewise.
35499 * manual/examples/argp-ex3.c: Likewise.
35500 * manual/examples/argp-ex4.c: Likewise.
35501 * manual/examples/atexit.c: Likewise.
35502 * manual/examples/db.c: Likewise.
35503 * manual/examples/dir.c: Likewise.
35504 * manual/examples/dir2.c: Likewise.
35505 * manual/examples/execinfo.c: Likewise.
35506 * manual/examples/filecli.c: Likewise.
35507 * manual/examples/filesrv.c: Likewise.
35508 * manual/examples/fmtmsgexpl.c: Likewise.
35509 * manual/examples/genpass.c: Likewise.
35510 * manual/examples/inetcli.c: Likewise.
35511 * manual/examples/inetsrv.c: Likewise.
35512 * manual/examples/isockad.c: Likewise.
35513 * manual/examples/longopt.c: Likewise.
35514 * manual/examples/memopen.c: Likewise.
35515 * manual/examples/memstrm.c: Likewise.
35516 * manual/examples/mkfsock.c: Likewise.
35517 * manual/examples/mkisock.c: Likewise.
35518 * manual/examples/mygetpass.c: Likewise.
35519 * manual/examples/pipe.c: Likewise.
35520 * manual/examples/popen.c: Likewise.
35521 * manual/examples/rprintf.c: Likewise.
35522 * manual/examples/search.c: Likewise.
35523 * manual/examples/select.c: Likewise.
35524 * manual/examples/setjmp.c: Likewise.
35525 * manual/examples/sigh1.c: Likewise.
35526 * manual/examples/sigusr.c: Likewise.
35527 * manual/examples/stpcpy.c: Likewise.
35528 * manual/examples/strdupa.c: Likewise.
35529 * manual/examples/strftim.c: Likewise.
35530 * manual/examples/strncat.c: Likewise.
35531 * manual/examples/subopt.c: Likewise.
35532 * manual/examples/swapcontext.c: Likewise.
35533 * manual/examples/termios.c: Likewise.
35534 * manual/examples/testopt.c: Likewise.
35535 * manual/examples/testpass.c: Likewise.
35536 * manual/examples/timeval_subtract.c: Likewise.
35537
01ae168d
RM
35538 [BZ #13792]
35539 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35540 function to ...
35541 * manual/timeval_subtract.c.texi: ... here, new file.
35542
49efa33d
DM
355432012-03-02 David S. Miller <davem@davemloft.net>
35544
35545 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35546
28afd92d
JM
355472012-03-02 Joseph Myers <joseph@codesourcery.com>
35548
804360ed
JM
35549 [BZ #3976]
35550 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35551 (__sin): Save and restore rounding mode and use round-to-nearest
35552 for all computations.
35553 (__cos): Save and restore rounding mode and use round-to-nearest
35554 for all computations.
35555 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35556 <fenv.h>.
35557 (tan): Save and restore rounding mode and use round-to-nearest for
35558 all computations.
35559 * math/libm-test.inc (cos_test_tonearest): New function.
35560 (cos_test_towardzero): Likewise.
35561 (cos_test_downward): Likewise.
35562 (cos_test_upward): Likewise.
35563 (sin_test_tonearest): Likewise.
35564 (sin_test_towardzero): Likewise.
35565 (sin_test_downward): Likewise.
35566 (sin_test_upward): Likewise.
35567 (tan_test_tonearest): Likewise.
35568 (tan_test_towardzero): Likewise.
35569 (tan_test_downward): Likewise.
35570 (tan_test_upward): Likewise.
35571 (main): Call the new functions.
35572 * sysdeps/i386/fpu/libm-test-ulps: Update.
35573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35574
a6d06d7b
JM
35575 [BZ #10135]
35576 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35577 small n, then large n, before computing and testing k+n.
35578 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35580 Likewise.
35581 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35582 Likewise.
35583 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35584 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35585 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35586 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35587 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35589 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35591 * math/libm-test.inc (scalbn_test): Add more tests.
35592 (scalbln_test): Likewise.
35593
07e12bb3
JM
35594 * manual/filesys.texi (mode_t): Describe constraints on size and
35595 signedness, not exact equivalence to a particular type.
35596 (ino_t): Likewise.
35597 (ino64_t): Likewise.
35598 (dev_t): Likewise.
35599 (nlink_t): Likewise.
35600 (blkcnt_t): Likewise.
35601 (blkcnt64_t): Likewise.
35602 * manual/llio.texi (off_t): Likewise.
35603
28afd92d
JM
35604 [BZ #3976]
35605 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35606 (__ieee754_exp): Save and restore rounding mode and use
35607 round-to-nearest for all computations.
35608 * math/libm-test.inc (exp_test_tonearest): New function.
35609 (exp_test_towardzero): Likewise.
35610 (exp_test_downward): Likewise.
35611 (exp_test_upward): Likewise.
35612 (main): Call the new functions.
35613 * sysdeps/i386/fpu/libm-test-ulps: Update.
35614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35615
b1eeb65d
CD
356162012-03-01 Chris Demetriou <cgd@google.com>
35617
35618 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35619 have predictable order.
35620
53362a4b
DM
356212012-03-01 David S. Miller <davem@davemloft.net>
35622
3c969083
DM
35623 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35624
759707de
DM
35625 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35626 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35627 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35628 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35629
dfdb8ff2
DM
35630 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35631 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35632 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35634 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35635 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35636 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35637 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35638 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35639
ead89f96
DM
35640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35641
7f66bd07
DM
35642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35643 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35644 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35645
53362a4b
DM
35646 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35647 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35648 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35649 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35650 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35653 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35654 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35655 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35656 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35657 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35659 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35660 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35662 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35663 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35664 * sysdeps/sparc/elf/configure: Regenerated.
35665
7b1902cb
JM
356662012-03-01 Joseph Myers <joseph@codesourcery.com>
35667
bec039bc
JM
35668 * configure.in (AS, LD): Require binutils 2.20 or later.
35669 * configure: Regenerated.
35670 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35671 as required minimum version.
35672 * INSTALL: Regenerated.
35673
7b1902cb
JM
35674 [BZ #2541]
35675 [BZ #4108]
35676 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35677 before squaring exponent.
35678 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35679 bottom long double and 27 bits of top long double before squaring
35680 exponent.
35681 * math/libm-test.inc (erfc_test): Add more tests.
35682 * sysdeps/i386/fpu/libm-test-ulps: Update.
35683 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685
f775c276
KT
356862012-03-01 Kai Tietz <ktietz@redhat.com>
35687
35688 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35689 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35690 containing bit-fields.
35691 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35692 * soft-fp/single.h (_FP_UNION_S): Likewise.
35693 * soft-fp/double.h (_FP_UNION_D): Likewise.
35694
5b8a4d4a
JM
356952012-02-29 Joseph Myers <joseph@codesourcery.com>
35696
0bab47b6
JM
35697 [BZ #13786]
35698 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35699 not include ../strcmp.S.
35700 [USE_AS_STRNCASECMP_L]: Likewise.
35701 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35702 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35703 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35704 (__strncasecmp_l_ia32): Define as alias to
35705 __strncasecmp_l_nonascii.
35706
0fcad3e2
JM
35707 [BZ #5794]
35708 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35709 * sysdeps/i386/fpu/libm-test-ulps: Update.
35710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35711
5b8a4d4a
JM
35712 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35714
8fdceb2e
JL
357152012-02-29 Jeff Law <law@redhat.com>
35716
35717 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35718 out of bounds read.
35719
1f393a11
MP
357202012-02-29 Marek Polacek <polacek@redhat.com>
35721
35722 [BZ #13706]
35723 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35724 * elf/Makefile: Add rules to run tst-unused-dep.out.
35725
8847f037
DM
357262012-02-28 David S. Miller <davem@davemloft.net>
35727
35728 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35729 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35730 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35732 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35733 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35734
169d7f11
JM
357352012-02-29 Joseph Myers <joseph@codesourcery.com>
35736
35737 * math/libm-test.inc (llround_test): Move one test from
35738 lround_test. Use TEST_f_L in moved test.
35739 (lround_test): Move misplaced test to llround_test. Add testcase
35740 from bug 2561.
35741
39adf059
UD
357422012-02-28 Ulrich Drepper <drepper@gmail.com>
35743
35744 * sysdeps/x86_64/fpu/e_expf.S: New file.
35745 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35746
71b5d1c5
SB
357472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35748
35749 [BZ #13637]
35750 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35751 of remain_len that may cause incomplete multi-byte character and
35752 false match.
35753 * posix/bug-regex33.c: New file.
35754 * posix/Makefile (tests): Add bug-regex33.
35755
1f77f049
JM
357562012-02-28 Joseph Myers <joseph@codesourcery.com>
35757
35758 * manual/macros.texi: New file.
35759 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35760 * manual/libc.texinfo: Include macros.texi.
35761 * manual/creatute.texi: Likewise.
35762 * manual/install.texi: Likewise.
35763 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35764 @glibcadj{} in references to the GNU C Library.
35765 * manual/charset.texi: Likewise.
35766 * manual/conf.texi: Likewise.
35767 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35768 when not using those macros.
35769 * manual/creature.texi: Likewise.
35770 * manual/crypt.texi: Likewise.
35771 * manual/errno.texi: Likewise.
35772 * manual/filesys.texi: Likewise.
35773 * manual/header.texi: Likewise.
35774 * manual/install.texi: Likewise.
35775 * manual/intro.texi: Likewise.
35776 * manual/io.texi: Likewise.
35777 * manual/job.texi: Likewise.
35778 * manual/lang.texi: Likewise.
35779 * manual/libc.texiinfo: Likewise.
35780 * manual/llio.texi: Likewise.
35781 * manual/locale.texi: Likewise.
35782 * manual/maint.texi: Likewise.
35783 * manual/math.texi: Likewise.
35784 * manual/memory.texi: Likewise.
35785 * manual/message.texi: Likewise.
35786 * manual/nss.texi: Likewise.
35787 * manual/pattern.texi: Likewise.
35788 * manual/process.texi: Likewise.
35789 * manual/resource.texi: Likewise.
35790 * manual/search.texi: Likewise.
35791 * manual/setjmp.texi: Likewise.
35792 * manual/signal.texi: Likewise.
35793 * manual/socket.texi: Likewise.
35794 * manual/startup.texi: Likewise.
35795 * manual/stdio.texi: Likewise.
35796 * manual/string.texi: Likewise.
35797 * manual/sysinfo.texi: Likewise.
35798 * manual/syslog.texi: Likewise.
35799 * manual/terminal.texi: Likewise.
35800 * manual/time.texi: Likewise.
35801 * manual/users.texi: Likewise.
35802 * INSTALL: Regenerated.
35803 * NOTES: Regenerated.
d40c5d54 35804 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35805
450bf206
AS
358062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35807
35808 * include/dirent.h: Include <dirstream.h> before
35809 <dirent/dirent.h>.
35810
741a235b
DM
358112012-02-28 David S. Miller <davem@davemloft.net>
35812
35813 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35814 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35815 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35816 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35817
d6b5aa58
DM
358182012-02-27 David S. Miller <davem@davemloft.net>
35819
1aff59a3
DM
35820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35822 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35824
d6b5aa58
DM
35825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35826 frame pointer instead of stack pointer relative arg slot.
35827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35828 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35829 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35830
433f48bf
CD
358312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35832
35833 [BZ #3992]
35834 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35835
d674b76d
DM
358362012-02-27 David S. Miller <davem@davemloft.net>
35837
35838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35842 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35843 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35844 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35845 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35846
0e7727f7
JM
358472012-02-27 Joseph Myers <joseph@codesourcery.com>
35848
35849 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35850 later. Allow versions 5-9.
43be4ca2 35851 * configure: Regenerated.
0e7727f7
JM
35852 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35853 required minimum version and 4.6 as recommended version. Do not
35854 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35855 * INSTALL: Regenerated.
0e7727f7 35856
a78bc654
DM
358572012-02-27 David S. Miller <davem@davemloft.net>
35858
428d5830
DM
35859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35863 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35864 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35865 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35866 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35867
a78bc654
DM
35868 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35869 manipulate bits before adding and subtracting TWO112[sx].
35870 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35871
4579f81c
RM
358722012-02-27 Roland McGrath <roland@hack.frob.com>
35873
36c8acb4
RM
35874 [BZ #13775]
35875 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35876 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35877 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35878 being in POSIX, because they are in 1003.1-2008.
35879
84ad622b
RM
35880 * rt/tst-aio.c: Include <fcntl.h>.
35881 * rt/tst-aio7.c: Likewise.
35882 * rt/tst-aio64.c: Likewise.
35883
4579f81c
RM
35884 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35885
abd923db
JM
358862012-02-27 Joseph Myers <joseph@codesourcery.com>
35887
35888 * manual/install.texi (--with-headers): Describe headers as
35889 interface headers, not private headers.
35890 (Specific advice for GNU/Linux systems): Describe use of headers
35891 from "make headers_install", not private headers from older
35892 kernels.
43be4ca2 35893 * INSTALL: Regenerated.
abd923db
JM
35894 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35895 Change to 2.6.19.
35896 * sysdeps/unix/sysv/linux/configure: Regenerated.
35897
6664049b
JM
35898 * manual/llio.texi (fclean): Remove documentation.
35899
bb8b6697
JM
35900 * manual/Makefile (libc-texi-generated): New variable. Include
35901 version.texi.
35902 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35903 $(libc-texi-generated), not duplicated list of files.
35904 (version.texi, stamp-version): New rules.
35905 (realclean): Remove $(libc-texi-generated), not individual files
35906 from that list. Do not remove dir-add.texinfo.
35907 * manual/libc.texinfo: Comment out uses of edition numbers and
35908 references to printed manual. Remove last-updated dates.
35909 (EDITION): Comment out.
35910 (ISBN): Likewise.
35911 (VERSION, UPDATED): Remove.
35912 (version.texi): Include.
35913
12e5c3b9
AS
359142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35915
35916 * sysdeps/posix/spawni.c: Include <signal.h>.
35917 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35918 * sysdeps/pthread/aio_fsync.c: Likewise.
35919
4efeffc1 359202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35921
ba63ba08
UD
35922 * conform/Makefile (tests): Run only when not cross-compiling and
35923 when fast-check is not defined.
35924
d94a4670
UD
35925 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35926 * conform/data/limits.h-data: Fixes for POSIX2008.
35927 * conform/run-conformtest.sh: Run all tests.
35928 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35929 headers.
35930 * include/bits/dlfcn.h: Likewise.
35931 * include/langinfo.h: Likewise.
35932 * include/monetary.h: Likewise.
35933 * include/sys/poll.h: Likewise.
35934
35935 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35936 for __USE_GNU.
35937 * posix/spawn.h: Define __need_sigset_t.
35938 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35939 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35940 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35941 to get sigevent_t only.
35942 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35943 only for __USE_GNU.
35944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35945 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35946 process_vm_writev only for __USE_GNU.
35947 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35948
35949 * conform/Makefile: For now ignore errors from run-conformtest.
35950 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35951 POSIX to avoid namespace pollution. Don't prepend headers.
35952 * conform/data/aio.h-data: Fixes for POSIX testing.
35953 * conform/data/fcntl.h-data: Likewise.
35954 * conform/data/glob.h-data: Likewise.
35955 * conform/data/grp.h-data: Likewise.
35956 * conform/data/pthread.h-data: Likewise.
35957 * conform/data/pwd.h-data: Likewise.
35958 * conform/data/signal.h-data: Likewise.
35959 * conform/data/spawn.h-data: Likewise.
35960 * conform/data/stdio.h-data: Likewise.
35961 * conform/data/stdlib.h-data: Likewise.
35962 * conform/data/stropts.h-data: Likewise.
35963 * conform/data/sys/mman.h-data: Likewise.
35964 * conform/data/sys/stat.h-data: Likewise.
35965 * conform/data/sys/types.h-data: Likewise.
35966 * conform/data/sys/wait.h-data: Likewise.
35967 * conform/data/time.h-data: Likewise.
35968 * conform/data/unistd.h-data: Likewise.
35969 * conform/data/utime.h-data: Likewise.
35970
35971 * io/sys/stat.h: fchmod was always in POSIX.
35972 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35973 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35974 * rt/aio.h: Define __need_timespec before including <time.h>.
35975 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35976 struct. Add forward declaration of pthread_attr_t and use it in
35977 sigevent.
35978 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35980 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35981 always remove CLK_TCK definition.
35982
c20105c3
AS
359832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35984
35985 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35986
7a270350
UD
359872012-02-25 Ulrich Drepper <drepper@gmail.com>
35988
31341567
UD
35989 * conform/run-conformtest.sh: New file.
35990 * conform/Makefile: Run run-conformtest for tests.
35991 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35992 support.
35993
35994 * conform/data/uchar.h-data: New file.
35995 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35996 * conform/data/arpa/inet.h-data: Likewise.
35997 * conform/data/assert.h-data: Likewise.
35998 * conform/data/complex.h-data: Likewise.
35999 * conform/data/cpio.h-data: Likewise.
36000 * conform/data/ctype.h-data: Likewise.
36001 * conform/data/dirent.h-data: Likewise.
36002 * conform/data/dlfcn.h-data: Likewise.
36003 * conform/data/errno.h-data: Likewise.
36004 * conform/data/fcntl.h-data: Likewise.
36005 * conform/data/float.h-data: Likewise.
36006 * conform/data/fmtmsg.h-data: Likewise.
36007 * conform/data/fnmatch.h-data: Likewise.
36008 * conform/data/ftw.h-data: Likewise.
36009 * conform/data/glob.h-data: Likewise.
36010 * conform/data/grp.h-data: Likewise.
36011 * conform/data/iconv.h-data: Likewise.
36012 * conform/data/inttypes.h-data: Likewise.
36013 * conform/data/langinfo.h-data: Likewise.
36014 * conform/data/libgen.h-data: Likewise.
36015 * conform/data/limits.h-data: Likewise.
36016 * conform/data/locale.h-data: Likewise.
36017 * conform/data/math.h-data: Likewise.
36018 * conform/data/monetary.h-data: Likewise.
36019 * conform/data/mqueue.h-data: Likewise.
36020 * conform/data/ndbm.h-data: Likewise.
36021 * conform/data/net/if.h-data: Likewise.
36022 * conform/data/netdb.h-data: Likewise.
36023 * conform/data/netinet/in.h-data: Likewise.
36024 * conform/data/nl_types.h-data: Likewise.
36025 * conform/data/poll.h-data: Likewise.
36026 * conform/data/pthread.h-data: Likewise.
36027 * conform/data/pwd.h-data: Likewise.
36028 * conform/data/regex.h-data: Likewise.
36029 * conform/data/sched.h-data: Likewise.
36030 * conform/data/search.h-data: Likewise.
36031 * conform/data/semaphore.h-data: Likewise.
36032 * conform/data/setjmp.h-data: Likewise.
36033 * conform/data/signal.h-data: Likewise.
36034 * conform/data/spawn.h-data: Likewise.
36035 * conform/data/stdarg.h-data: Likewise.
36036 * conform/data/stdio.h-data: Likewise.
36037 * conform/data/stdlib.h-data: Likewise.
36038 * conform/data/string.h-data: Likewise.
36039 * conform/data/strings.h-data: Likewise.
36040 * conform/data/stropts.h-data: Likewise.
36041 * conform/data/sys/ipc.h-data: Likewise.
36042 * conform/data/sys/mman.h-data: Likewise.
36043 * conform/data/sys/msg.h-data: Likewise.
36044 * conform/data/sys/resource.h-data: Likewise.
36045 * conform/data/sys/select.h-data: Likewise.
36046 * conform/data/sys/sem.h-data: Likewise.
36047 * conform/data/sys/shm.h-data: Likewise.
36048 * conform/data/sys/socket.h-data: Likewise.
36049 * conform/data/sys/stat.h-data: Likewise.
36050 * conform/data/sys/statvfs.h-data: Likewise.
36051 * conform/data/sys/time.h-data: Likewise.
36052 * conform/data/sys/timeb.h-data: Likewise.
36053 * conform/data/sys/times.h-data: Likewise.
36054 * conform/data/sys/types.h-data: Likewise.
36055 * conform/data/sys/uio.h-data: Likewise.
36056 * conform/data/sys/un.h-data: Likewise.
36057 * conform/data/sys/utsname.h-data: Likewise.
36058 * conform/data/sys/wait.h-data: Likewise.
36059 * conform/data/syslog.h-data: Likewise.
36060 * conform/data/tar.h-data: Likewise.
36061 * conform/data/termios.h-data: Likewise.
36062 * conform/data/utime.h-data: Likewise.
36063 * conform/data/utmpx.h-data: Likewise.
36064 * conform/data/varargs.h-data: Likewise.
36065 * conform/data/wchar.h-data: Likewise.
36066 * conform/data/wctype.h-data: Likewise.
36067 * conform/data/wordexp.h-data: Likewise.
36068
36069 * include/stropts.h: New file.
36070 * include/uchar.h: New file.
36071 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36072 * include/assert.h: Likewise.
36073 * include/ctype.h: Likewise.
36074 * include/dirent.h: Likewise.
36075 * include/dlfcn.h: Likewise.
36076 * include/fcntl.h: Likewise.
36077 * include/fnmatch.h: Likewise.
36078 * include/glob.h: Likewise.
36079 * include/grp.h: Likewise.
36080 * include/libio.h: Likewise.
36081 * include/locale.h: Likewise.
36082 * include/math.h: Likewise.
36083 * include/net/if.h: Likewise.
36084 * include/netdb.h: Likewise.
36085 * include/netinet/in.h: Likewise.
36086 * include/pthread.h: Likewise.
36087 * include/pwd.h: Likewise.
36088 * include/regex.h: Likewise.
36089 * include/sched.h: Likewise.
36090 * include/search.h: Likewise.
36091 * include/setjmp.h: Likewise.
36092 * include/signal.h: Likewise.
36093 * include/stdio.h: Likewise.
36094 * include/stdlib.h: Likewise.
36095 * include/string.h: Likewise.
36096 * include/sys/cdefs.h: Likewise.
36097 * include/sys/mman.h: Likewise.
36098 * include/sys/msg.h: Likewise.
36099 * include/sys/resource.h: Likewise.
36100 * include/sys/select.h: Likewise.
36101 * include/sys/socket.h: Likewise.
36102 * include/sys/stat.h: Likewise.
36103 * include/sys/statvfs.h: Likewise.
36104 * include/sys/time.h: Likewise.
36105 * include/sys/times.h: Likewise.
36106 * include/sys/uio.h: Likewise.
36107 * include/sys/utsname.h: Likewise.
36108 * include/sys/wait.h: Likewise.
36109 * include/termios.h: Likewise.
36110 * include/time.h: Likewise.
36111 * include/ulimit.h: Likewise.
36112 * include/unistd.h: Likewise.
36113 * include/utime.h: Likewise.
36114 * include/wchar.h: Likewise.
36115 * include/wctype.h: Likewise.
36116 * include/wordexp.h: Likewise.
36117
36118 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36119
7a270350
UD
36120 * time/time.h: TIME_UTC must be a macro.
36121 Make timespec_get available for ISO C11 only as well.
36122
7724defc
UD
361232012-02-24 Ulrich Drepper <drepper@gmail.com>
36124
36125 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36126 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36127
6b1d1d46
JM
361282012-02-24 Joseph Myers <joseph@codesourcery.com>
36129
36130 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36131
0f8bbd69
JM
361322012-02-24 Joseph Myers <joseph@codesourcery.com>
36133
36134 * manual/texinfo.tex: Update to version 2012-01-19.16.
36135
66ab80bc
JM
361362012-02-24 Joseph Myers <joseph@codesourcery.com>
36137
36138 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36139
74981cc5
RM
361402012-02-24 Roland McGrath <roland@hack.frob.com>
36141
ee968201
RM
36142 [BZ #13738]
36143 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36144 * manual/fdl-1.3.texi: New file.
36145 * manual/fdl-1.1.texi: File removed.
36146
74981cc5
RM
36147 [BZ #13738]
36148 * manual/libc.texinfo (FDL_VERSION): New @set.
36149 Use it for mention of FDL in cover text.
36150 (Documentation License): Use it in @include file name.
36151
7bb764bc
JM
361522012-02-22 Joseph Myers <joseph@codesourcery.com>
36153 Roland McGrath <roland@hack.frob.com>
36154
36155 [BZ #5461]
57f41c40
AS
36156 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36157 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36158 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36159 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36160 name.
36161 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36162
6cbeae47
JM
361632012-02-22 Joseph Myers <joseph@codesourcery.com>
36164
36165 [BZ #2547]
36166 [BZ #11365]
36167 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36168 manipulate bits before adding and subtracting TWO23[sx].
36169 * math/libm-test.inc (nearbyint_test): Add more tests.
36170
fe45ce09
JM
361712012-02-22 Joseph Myers <joseph@codesourcery.com>
36172
36173 [BZ #2548]
36174 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36175 bits before adding and subtracting TWO23[sx].
36176 * math/libm-test.inc (rint_test): Add more tests.
36177 (rint_test_tonearest): Likewise.
36178 (rint_test_towardzero): Likewise.
36179 (rint_test_downward): Likewise.
36180 (rint_test_upward: Likewise.
36181
ff3b3d82
JM
361822012-02-22 Joseph Myers <joseph@codesourcery.com>
36183
36184 [BZ #10110]
36185 * include/stdc-predef.h: New file. Extracted from features.h.
36186 * include/features.h: Include stdc-predef.h.
36187 * Makefile (headers): Add stdc-predef.h.
36188 * CONFORMANCE (Compiler limitations): Update.
36189
ef0aab35
JM
361902012-02-22 Joseph Myers <joseph@codesourcery.com>
36191
36192 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36193
58639409
DM
361942012-02-21 David S. Miller <davem@davemloft.net>
36195
36196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36197 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36198
c0e70b25
DM
361992012-02-20 David S. Miller <davem@davemloft.net>
36200
36201 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36202 using a normal save/restore sequence, rather than allocating a
36203 dummy stack frame just to store a frame pointer and restore.
36204 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36205
fb06851d
JM
362062012-02-21 Joseph Myers <joseph@codesourcery.com>
36207
36208 * manual/install.texi: Fix stray word in line-wrapped comment.
36209
7a8b71c3
DM
362102012-02-20 David S. Miller <davem@davemloft.net>
36211
d510c123
DM
36212 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36213 both binutils and gcc support GOTDATA.
36214
0722d7c2
DM
36215 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36216 "rd %pc" in the PIC register setup sequences.
36217
3d2b3019
DM
36218 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36219 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36220 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36221 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36222 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36223 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36225 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36226 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36227 (SYSCALL_ERROR_HANDLER): Likewise.
36228 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36229 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36231 (SYSCALL_ERROR_HANDLER): Likewise.
36232
c80098a9
DM
36233 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36234 (HAVE_GCC_GOTDATA): New.
36235 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36236 relocation support in both binutils and gcc.
36237 * sysdeps/sparc/elf/configure: Regenerate.
36238
3a2545a0
DM
36239 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36240 * sysdeps/sparc/sparc32/elf/configure: Delete.
36241 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36242 * sysdeps/sparc/sparc64/elf/configure: Delete.
36243 * sysdeps/sparc/elf/configure.in: New file.
36244 * sysdeps/sparc/elf/configure: Generate.
36245
7a8b71c3
DM
36246 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36247 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36248 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36249 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36250 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36251
f1e86fca
JM
362522012-02-21 Joseph Myers <joseph@codesourcery.com>
36253
36254 * manual/install.texi: Do not mention specific glibc version
36255 numbers.
36256 * manual/libc.texinfo (VERSION, UPDATED): Update.
36257 (@copying): Use @copyright{} and range of years.
36258
0e7dfaef
JM
362592012-02-21 Joseph Myers <joseph@codesourcery.com>
36260
36261 [BZ #13695]
36262 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36263 [crti.S not in sysdirs] (generated): Do not append.
36264 [crti.S not in sysdirs] (omit-deps): Likewise.
36265 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36266 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36267 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36268 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36269 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36270 Likewise.
36271 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36272 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36273 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36274 * csu/defs.awk: Remove file.
36275 * sysdeps/generic/initfini.c: Likewise.
36276 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36277 variable.
36278 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36279 Likewise.
36280
599af3ca
JM
362812012-02-20 Joseph Myers <joseph@codesourcery.com>
36282
36283 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36284 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36285 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36287 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36288 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36289 <bits/epoll.h>.
36290 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36291 (__EPOLL_PACKED): Define to empty if not defined by
36292 <bits/epoll.h>.
36293 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36295 bits/epoll.h.
36296
0e499750
JM
362972012-02-20 Joseph Myers <joseph@codesourcery.com>
36298
36299 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36300 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36301 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36302 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36303 <bits/timerfd.h>.
36304 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36306 bits/timerfd.h.
36307
5ad91f6e
JM
363082012-02-20 Joseph Myers <joseph@codesourcery.com>
36309
36310 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36311 in C locale.
36312 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36313 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36316
06b99b02
AJ
363172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36318
36319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36321
7638c0fd
AS
363222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36323
36324 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36325 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36326 defined.
36327 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36328 Likewise.
36329 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36330 entry for 2.16.
36331
92221550
AJ
363322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36333
36334 * math/w_acos.c: Use non-signaling floating-point comparisons.
36335 * math/w_acosf.c: Likewise.
36336 * math/w_acosh.c: Likewise.
36337 * math/w_acoshf.c: Likewise.
36338 * math/w_acoshl.c: Likewise.
36339 * math/w_acosl.c: Likewise.
36340 * math/w_asin.c: Likewise.
36341 * math/w_asinf.c: Likewise.
36342 * math/w_asinl.c: Likewise.
36343 * math/w_atanh.c: Likewise.
36344 * math/w_atanhf.c: Likewise.
36345 * math/w_atanhl.c: Likewise.
36346 * math/w_exp2.c: Likewise.
36347 * math/w_exp2f.c: Likewise.
36348 * math/w_exp2l.c: Likewise.
36349 * math/w_j0.c: Likewise.
36350 * math/w_j0f.c: Likewise.
36351 * math/w_j0l.c: Likewise.
36352 * math/w_j1.c: Likewise.
36353 * math/w_j1f.c: Likewise.
36354 * math/w_j1l.c: Likewise.
36355 * math/w_jn.c: Likewise.
36356 * math/w_jnf.c: Likewise.
36357 * math/w_log.c: Likewise.
36358 * math/w_log10.c: Likewise.
36359 * math/w_log10f.c: Likewise.
36360 * math/w_log10l.c: Likewise.
36361 * math/w_log2.c: Likewise.
36362 * math/w_log2f.c: Likewise.
36363 * math/w_log2l.c: Likewise.
36364 * math/w_logf.c: Likewise.
36365 * math/w_logl.c: Likewise.
36366 * math/w_sqrt.c: Likewise.
36367 * math/w_sqrtf.c: Likewise.
36368 * math/w_sqrtl.c: Likewise.
36369 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36370 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36372 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36373 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36374
ebaf36eb
JM
363752012-02-19 Joseph Myers <joseph@codesourcery.com>
36376
36377 [BZ #9739]
36378 * manual/string.texi (strnlen): Use correct parameter name in
36379 equivalent expression.
36380
71c254a6
JM
363812012-02-19 Joseph Myers <joseph@codesourcery.com>
36382
36383 [BZ #11174]
36384 * manual/users.texi (seteuid): Consistently use neweuid for
36385 argument name.
36386
16d2c631
JM
363872012-02-19 Joseph Myers <joseph@codesourcery.com>
36388
36389 [BZ #13704]
36390 * manual/nss.texi (Services in the NSS configuration): Correct
36391 list of services in example configuration file.
36392
cd837b09
NB
363932012-02-19 Nick Bowler <nbowler@draconx.ca>
36394
36395 [BZ #11322]
36396 * manual/arith.texi: Remove statements about negative zero
36397 behaving identically to zero.
36398
02c4bbad
JM
363992012-02-18 Joseph Myers <joseph@codesourcery.com>
36400
36401 [BZ #5993]
36402 * manual/install.texi: Do not document upgrading from libc5.
36403
366842e7
JM
364042012-02-18 Joseph Myers <joseph@codesourcery.com>
36405
36406 [BZ #4596]
36407 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36408
dd54084d
DM
364092012-02-18 David S. Miller <davem@davemloft.net>
36410
36411 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36412 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36413 %o7 across the call.
36414 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36415 instead.
36416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36417 SETUP_PIC_REG_LEAF.
36418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36419 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36420 * sysdeps/sparc/crtn.S: Likewise.
36421
2bcc53a3
UD
364222012-02-17 Ulrich Drepper <drepper@gmail.com>
36423
36424 * aout/Makefile: Remove.
36425
09c093b5
RK
364262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36427
36428 [BZ #13058]
36429 * manual/examples/argp-ex1.c (main): Format definition in GNU
36430 style.
36431 * manual/examples/argp-ex2.c (main): Likewise.
36432 * manual/examples/argp-ex3.c (main): Likewise.
36433 * manual/examples/argp-ex4.c (main): Likewise.
36434 * manual/examples/longopt.c (main): Use new-style prototype
36435 definition.
36436 * manual/examples/strncat.c (main): Specify return type and use
36437 (void) for arguments.
36438 * manual/examples/subopt.c (main): Use char **argv argument.
36439
2ee633a2
JM
364402012-02-17 Joseph Myers <joseph@codesourcery.com>
36441
36442 [BZ #5077]
36443 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36444 rounding modes.
36445
0520adde
FB
364462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36447
36448 [BZ #6907]
36449 * manual/string.texi (strchr): Change when strchrnul is
36450 recommended.
36451
3f4081cd
DGM
364522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36453
36454 [BZ #174]
36455 * manual/locale.texi (setlocale): Document LOCPATH.
36456
d1b10e78
JM
364572012-02-17 Joseph Myers <joseph@codesourcery.com>
36458
36459 [BZ #10210]
36460 * manual/process.texi (execle): Move @dots{} before last argument.
36461
79c6869c
PB
364622012-02-17 Paul Bolle <pebolle@tiscali.nl>
36463
36464 [BZ #12047]
36465 * manual/charset.texi (Generic Charset Conversion): Fix typo
36466 (LC_TYPE -> LC_CTYPE).
36467
cc6e48bc
NB
364682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36469
36470 [BZ #5805]
36471 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36472 (scalbnf): Likewise.
36473 (scalbnl): Likewise.
36474 (scalbln): Likewise.
36475 (scalblnf): Likewise.
36476 (scalblnl): Likewise.
36477 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36478 (vwarnx): Likewise.
36479 (verr): Likewise.
36480 (verrx): Likewise.
36481 * manual/filesys.texi (telldir): Use braces around return type.
36482 * manual/llio.texi (mmap): Add space after comma.
36483 (mmap64): Likewise.
36484 * manual/math.texi (jn): Use @var{} on parameter names.
36485 (jnf): Likewise.
36486 (jnl): Likewise.
36487 (yn): Likewise.
36488 (ynf): Likewise.
36489 (ynl): Likewise.
36490 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36491 line.
36492 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36493 "...".
36494 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36495 (sched_get_priority_max): Likewise.
36496 * manual/signal.texi (sigvec): Add space after comma.
36497 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36498 names.
36499 (if_indextoname): Likewise.
36500 (if_freenameindex): Likewise.
36501 (sendto): Use ',' instead of '.' in prototype.
36502 * manual/startup.texi (syscall): Use @dots{} instead of literal
36503 "...".
36504 * manual/stdio.texi (__fpending): Separate initial words of
36505 paragraph from @deftypefun line.
36506 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36507 "...".
36508 (vsyslog): Use @var{} on parameter names.
36509 * manual/terminal.texi (stty): Use @var{} on parameter names.
36510 * manual/users.texi (getutmp): Use @var{} on parameter names.
36511 (getutmpx): Likewise.
36512
5b23062f
JM
365132012-02-17 Joseph Myers <joseph@codesourcery.com>
36514
36515 [BZ #6884]
36516 * manual/stdio.texi (fopen): Fix typos in description of
36517 ",ccs=STRING".
36518
8dee4833
AJ
365192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36520
36521 [BZ #4026]
36522 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36523 get clock_id definition.
36524
9078ce93
TS
365252012-02-17 Thomas Schwinge <thomas@schwinge.name>
36526
36527 [BZ #4822]
36528 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36529 (madvise): Cast every argument to void on its own.
36530
3835c55f
JM
365312012-02-17 Joseph Myers <joseph@codesourcery.com>
36532
36533 [BZ #9902]
36534 * manual/startup.texi (Exit Status): Fix typo.
36535
35c47e37
JM
365362012-02-17 Joseph Myers <joseph@codesourcery.com>
36537
36538 [BZ #10140]
36539 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36540 * manual/examples/argp-ex2.c: Likewise.
36541 * manual/examples/argp-ex3.c: Likewise.
36542
e3b69ca7
RH
365432012-02-16 Richard Henderson <rth@redhat.com>
36544
36545 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36546 * sysdeps/s390/s390-32/initfini.c: Remove.
36547 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36548 * sysdeps/s390/s390-64/initfini.c: Remove.
36549
df83af67
KK
365502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36551
36552 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36553 compiler output for sysdeps/generic/initfini.c.
36554 * sysdeps/sh/elf/initfini.c: Remove file.
36555
f63f3380
DM
365562012-02-16 David S. Miller <davem@davemloft.net>
36557
fb59b3a4
DM
36558 [BZ #11494]
36559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36560
f63f3380
DM
36561 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36562 * sysdeps/sparc/crti.S: New file.
36563 * sysdeps/sparc/crtn.S: New file.
36564 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36565 * sysdeps/sparc/sparc64/Makefile: Likewise.
36566
df6a4a4a
MF
365672012-02-15 Mike Frysinger <vapier@gentoo.org>
36568
6dd8f3dc 36569 [BZ #3335]
df6a4a4a
MF
36570 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36571
1cac7236
RM
365722012-02-15 Roland McGrath <roland@hack.frob.com>
36573
d2c736f8
RM
36574 [BZ #4822]
36575 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36576
1cac7236
RM
36577 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36578 (write, read, close): Likewise.
36579 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36580
8e475601
JM
365812012-02-15 Joseph Myers <joseph@codesourcery.com>
36582
36583 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36584 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36585 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36586 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36587 <bits/signalfd.h>.
36588 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36590 bits/signalfd.h.
36591
ed656b40
MP
365922012-02-14 Marek Polacek <polacek@redhat.com>
36593
36594 * sysdeps/x86_64/crti.S: New file.
36595 * sysdeps/x86_64/crtn.S: New file.
36596 * sysdeps/x86_64/elf/initfini.c: Remove file.
36597
2a979d3a
JM
365982012-02-13 Joseph Myers <joseph@codesourcery.com>
36599
36600 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36601 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36602 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36603 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36604 <bits/inotify.h>.
36605 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36607 bits/inotify.h.
36608
2a418ac3
JM
366092012-02-13 Joseph Myers <joseph@codesourcery.com>
36610
36611 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36612 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36613 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36614 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36615 <bits/eventfd.h>.
36616 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36618 bits/eventfd.h.
36619
fb779be7
TS
366202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36621
e19e83c5
RM
36622 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36623 __feraiseexcept instead of feraiseexcept.
7c35ffed 36624
fb779be7
TS
36625 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36626 nanosleep invocations.
36627 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36628 strings, and add error checking for a nanosleep invocations.
36629
59ba27a6
PE
366302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36631
36632 Replace FSF snail mail address with URLs, as per GNU coding standards.
36633 Most of the snail mail addresses were wrong anyway, and omitting
36634 them makes the source code easier to maintain. Almost all of the
36635 changes are to license notices and to locale LC_IDENTIFICATION
36636 addresses, except for this one:
36637 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36638 not its snail mail address.
36639
57b957eb
RH
366402012-02-09 Richard Henderson <rth@twiddle.net>
36641
af850b1c
RH
36642 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36643 of kernel-features.h.
36644
57b957eb
RH
36645 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36646
6b73181a
MP
366472012-02-08 Marek Polacek <polacek@redhat.com>
36648
36649 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36650 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36651 * sysdeps/gnu/_G_config.h: Likewise.
36652 * sysdeps/generic/_G_config.h: Likewise.
36653
26ecc33a
AS
366542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36655
6c6dbc63
AS
36656 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36657 tests.
36658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36659
e216c012
AS
36660 * sysdeps/powerpc/powerpc32/crti.S: New file.
36661 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36662 * sysdeps/powerpc/powerpc64/crti.S: New file.
36663 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36664
26ecc33a
AS
36665 * Makeconfig (have-initfini): Don't set.
36666 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36667 * configure.in (nopic_initfini): Don't substitute.
36668 * config.h.in (HAVE_INITFINI): Don't #undef.
36669 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36670 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36671
3add8e13
JM
366722012-02-08 Joseph Myers <joseph@codesourcery.com>
36673
36674 Support crti.S and crtn.S provided directly by architectures.
36675 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36676 [crti.S in sysdirs] (omit-deps): Likewise.
36677 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36678 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36679 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36680 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36681 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36682 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36683 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36684 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36685 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36686 compiler output for sysdeps/generic/initfini.c.
36687 * sysdeps/i386/elf/Makefile: Remove file.
36688 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36689
a22f12b4
MP
366902012-02-07 Marek Polacek <polacek@redhat.com>
36691
36692 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36693 * sysdeps/gnu/_G_config.h: Likewise.
36694 * sysdeps/mach/hurd/_G_config.h: Likewise.
36695
148cf100
MP
366962012-02-07 Marek Polacek <polacek@redhat.com>
36697
36698 * math/Makefile (tests): Add tst-CMPLX2.
36699 * math/tst-CMPLX2.c: New file.
36700
cfdc0dd7
AS
367012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36702
84ba42c4
AS
36703 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36704
cfdc0dd7
AS
36705 * math/libm-test.inc (jn_test): Add missing L suffix.
36706
622c86f4
MP
367072012-02-06 Marek Polacek <polacek@redhat.com>
36708
36709 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36710 * sysdeps/i386/fpu/e_powf.S: Likewise.
36711 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36712 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36713 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36714 * sysdeps/i386/fpu/e_pow.S: Likewise.
36715 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36716 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36717 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36718 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36719 * sysdeps/i386/fpu/e_log2.S: Likewise.
36720 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36721 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36722 * sysdeps/i386/fpu/e_powl.S: Likewise.
36723 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36725 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36726 * sysdeps/i386/fpu/e_logl.S: Likewise.
36727 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36728 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36729 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36730 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36731 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36732 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36733 * sysdeps/i386/fpu/e_log.S: Likewise.
36734 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36735 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36736 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36737 * sysdeps/i386/fpu/e_logf.S: Likewise.
36738 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36739 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36740 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36741 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36742 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36743 * sysdeps/i386/fpu/e_log10.S: Likewise.
36744 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36745 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36746 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36747 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36748 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36749 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36750 * sysdeps/i386/asm-syntax.h: Likewise.
36751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36753 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36754 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36755 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36756 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36757 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36758 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36759 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36760 * sysdeps/powerpc/sysdep.h: Likewise.
36761 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36762 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36763
d4a54ac6
JM
367642012-02-06 Joseph Myers <joseph@codesourcery.com>
36765
36766 [BZ #411]
36767 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36768
314054ea
JM
367692012-02-06 Joseph Myers <joseph@codesourcery.com>
36770
36771 * sysdeps/i386/sysdep.h: Include <features.h>.
36772 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36773 version.
36774
d8e0ca50
JM
367752012-02-05 Joseph Myers <joseph@codesourcery.com>
36776
36777 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36778 Define.
36779 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36780 LOAD_PIC_REG_STR.
36781
b1da7dd9
JM
367822012-02-03 Joseph Myers <joseph@codesourcery.com>
36783
36784 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36785 (SETUP_PIC_REG): Use GET_PC_THUNK.
36786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36787 macro.
36788
9a1d9254
JM
367892012-02-03 Joseph Myers <joseph@codesourcery.com>
36790
36791 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36792 for non-PIC compilation.
36793 (SETUP_PIC_REG): Add .p2align directive.
36794 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36795 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36796 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36797 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36798 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36799 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36800 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36802 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36803 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36804 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36805 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36806 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36807 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36808 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36809 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36810 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36811 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36812 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36813 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36814 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36815 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36816 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36817 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36818 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36820 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36821 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36822 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36823 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36824 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36826 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36827 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36828 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36829 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36830 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36831 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36832 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36833 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36834 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36835
65dc3b75
JM
368362012-02-03 Joseph Myers <joseph@codesourcery.com>
36837
36838 * math/tst-CMPLX.c: Include <stdio.h>.
36839
d55bf177
JM
368402012-01-31 Joseph Myers <joseph@codesourcery.com>
36841
36842 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36843 float.
36844 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36845 * sysdeps/sparc/bits/mathdef.h: Likewise.
36846
69db4f8f
MP
368472012-01-31 Marek Polacek <polacek@redhat.com>
36848
36849 * libio/libio.h: Don't define _PARAMS.
36850 * locale/programs/config.h: Don't define PARAMS.
36851 * stdlib/strtol_l.c: Likewise.
36852 (__strtol_l): Remove PARAMS from the prototype.
36853
41b81892
UD
368542012-01-31 Ulrich Drepper <drepper@gmail.com>
36855
3b49edc0
UD
36856 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36857 names. Just use the correct names. Remove unnecessary wrapper
36858 functions.
36859 * malloc/arena.c: Likewise.
36860 * malloc/hooks.c: Likewise.
36861
41b81892
UD
36862 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36863 ARENA_TEST says not to. Simplify test for creation of a new arena.
36864 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36865
27a25b6e
UD
368662012-01-30 Ulrich Drepper <drepper@gmail.com>
36867
36868 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36869 into tail calls.
36870 (update_get_addr): New function.
36871 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36872 GET_ADDR_MODULE parameter.
36873
c8a89e7d
JM
368742012-01-30 Joseph Myers <joseph@codesourcery.com>
36875
36876 * crypt/cert.c: Remove __STDC__ conditionals.
36877 * crypt/crypt-entry.c: Likewise.
36878 * crypt/crypt_util.c: Likewise.
36879 * libio/filedoalloc.c: Likewise.
36880 * libio/fileops.c: Likewise.
36881 * libio/genops.c: Likewise.
36882 * libio/iofclose.c: Likewise.
36883 * libio/iofdopen.c: Likewise.
36884 * libio/iofopen.c: Likewise.
36885 * libio/iofopen64.c: Likewise.
36886 * libio/iogetdelim.c: Likewise.
36887 * libio/iopopen.c: Likewise.
36888 * libio/obprintf.c: Likewise.
36889 * libio/oldfileops.c: Likewise.
36890 * libio/oldiofclose.c: Likewise.
36891 * libio/oldiofdopen.c: Likewise.
36892 * libio/oldiofopen.c: Likewise.
36893 * libio/oldiopopen.c: Likewise.
36894 * libio/wfiledoalloc.c: Likewise.
36895 * libio/wgenops.c: Likewise.
36896 * locale/programs/xmalloc.c: Likewise.
36897 * misc/syslog.c: Likewise.
36898 * stdio-common/xbug.c: Likewise.
36899 * string/memchr.c: Likewise.
36900 * string/memcmp.c: Likewise.
36901 * string/memrchr.c: Likewise.
36902 * string/rawmemchr.c: Likewise.
36903 * sysdeps/posix/getcwd.c: Likewise.
36904 * time/strftime_l.c: Likewise.
36905
3b100462
JM
369062012-01-30 Joseph Myers <joseph@codesourcery.com>
36907
36908 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36909 * config.make.in (config-cflags-sse2avx): Define.
36910 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36911 Fix typo.
36912
607998af
CM
369132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36914
36915 * scripts/config.guess: Update from upstream config git repository.
36916 * scripts/config.sub: Likewise.
36917
3601428f
CM
369182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36919
3ac8b282
CM
36920 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36921 (EM_NUM): Update.
36922 (R_TILEPRO_*, R_TILEGX_*): New macros.
36923
e034841e
CM
36924 * scripts/firstversions.awk: Fix bug in version range handling.
36925
540d7568
CM
36926 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36927
3601428f
CM
36928 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36929
463de862
CM
36930 * include/sys/epoll.h: New file.
36931 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36932 libc_hidden_def.
36933
73139a76
UD
369342012-01-28 Ulrich Drepper <drepper@gmail.com>
36935
96bc5b45
UD
36936 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36937 Avoid unnecessary __WORDSIZE == 64 test.
36938 (fmaxf): Use VEX format if possible.
36939 (fmax): Likewise.
36940 (fminf): Likewise.
36941 (fmin): Likewise.
36942
56f6f6a2
UD
36943 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36944 * math/math_private.h: Remove libc_fegetround* and
36945 libc_fesetround*.
36946 * sysdeps/i386/configure.in: Check for -msse2avx.
36947 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36948 also if SSE2AVX is defined.
36949 Remove libc_fegetround* and libc_fesetround*.
36950 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36951 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36953 of HAS_YMM_USABLE.
36954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36959
73139a76
UD
36960 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36961
d73f93a4
AZ
369622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36963
36964 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36965 size is not set.
36966 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36967
6ee65ed6
UD
369682012-01-27 Ulrich Drepper <drepper@gmail.com>
36969
36970 [BZ #13618]
36971 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36972 relocation.
36973 * Makeconfig (libm): Define.
36974 * elf/Makefile: Add rules to build and run tst-relsort1.
36975 * elf/tst-relsort1.c: New file.
36976 * elf/tst-relsort1mod1.c: New file.
36977 * elf/tst-relsort1mod2.c: New file.
36978
8db21882
JM
369792012-01-27 Joseph Myers <joseph@codesourcery.com>
36980
36981 * math/s_ldexp.c: Remove __STDC__ conditionals.
36982 * math/s_ldexpf.c: Likewise.
36983 * math/s_ldexpl.c: Likewise.
36984 * math/s_nextafter.c: Likewise.
36985 * math/s_nexttowardf.c: Likewise.
36986 * math/s_significand.c: Likewise.
36987 * math/s_significandf.c: Likewise.
36988 * math/s_significandl.c: Likewise.
36989 * math/w_jnl.c: Likewise.
36990 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36991 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36992 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36993 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36994 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36996 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37002 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37003 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37004 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37009 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37010 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37011 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37012 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37014 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37015 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37018 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37019 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37020 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37021 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37022 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37023 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37024 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37025 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37026 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37027 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37030 * sysdeps/ieee754/k_standard.c: Likewise.
37031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37033 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37034 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37035 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37036 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37037 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37038 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37039 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37042 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37043 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37044 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37045 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37047 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37048 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37049 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37050 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37051 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37052 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37053 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37054 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37055 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37056 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37057 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37060 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37062 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37063 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37064 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37065 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37077 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37092 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37093 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37096 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37097 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37105 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37106 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37110 * sysdeps/ieee754/s_matherr.c: Likewise.
37111 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37112 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37113 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37115
965a54a4
JM
371162012-01-26 Joseph Myers <joseph@codesourcery.com>
37117
37118 * crypt/md5.h: Remove __STDC__ conditionals.
37119 * libio/libioP.h: Likewise.
37120 * locale/programs/config.h: Likewise.
37121 * sysdeps/generic/sysdep.h: Likewise.
37122 * sysdeps/i386/asm-syntax.h: Likewise.
37123 * sysdeps/s390/asm-syntax.h: Likewise.
37124 * sysdeps/unix/sysdep.h: Likewise.
37125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37127
7071ad79
JM
371282012-01-26 Joseph Myers <joseph@codesourcery.com>
37129
37130 * libio/libio.h: Remove __STDC__ conditionals.
37131 * malloc/obstack.h: Likewise.
37132 * math/complex.h: Likewise.
37133 * math/math.h: Likewise.
37134 * sysdeps/generic/_G_config.h: Likewise.
37135 * sysdeps/gnu/_G_config.h: Likewise.
37136 * sysdeps/mach/hurd/_G_config.h: Likewise.
37137 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37138 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37139 * sysdeps/sparc/bits/mathdef.h: Likewise.
37140
afc5ed09
UD
371412012-01-26 Ulrich Drepper <drepper@gmail.com>
37142
37143 [BZ #13583]
37144 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37145 Clean up HAS_* macros.
afc5ed09 37146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37147 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37148 possible.
37149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37150 HAS_AVX.
37151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37156
bdb6de1d
JM
371572012-01-25 Joseph Myers <joseph@codesourcery.com>
37158
37159 * elf/tst-unique3.cc (gets): Remove declaration.
37160 * elf/tst-unique3lib.cc (gets): Likewise.
37161 * elf/tst-unique3lib2.cc (gets): Likewise.
37162 * elf/tst-unique4.cc (gets): Likewise.
37163
b15549e6
UD
371642012-01-24 Ulrich Drepper <drepper@gmail.com>
37165
37166 * include/stdio.h: Add C++ protection. Add gets declarations and
37167 definitions.
37168 * debug/tst-chk1.c: Don't declare gets here.
37169 * stdio-common/tst-gets.c: Likewise.
37170
a037381f
JM
371712012-01-24 Joseph Myers <joseph@codesourcery.com>
37172
37173 * posix/glob: Remove directory.
37174
f1d4aa75
JM
371752012-01-24 Joseph Myers <joseph@codesourcery.com>
37176
37177 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37178
81c0c964
PT
371792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37180
37181 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37182 of the non-standard EPFNOSUPPORT.
37183
0ea698ae
ST
371842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37185
37186 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37187 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37188 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37189
d220b117
UD
371902012-01-21 Ulrich Drepper <drepper@gmail.com>
37191
37192 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37193
3e1aa84e
UD
371942012-01-20 Ulrich Drepper <drepper@gmail.com>
37195
37196 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37197 transient errors.
37198 * nscd/grpcache.c (cache_addgr): Likewise.
37199 * nscd/hstcache.c (cache_addhst): Likewise.
37200 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37201 * nscd/pwdcache.c (cache_addpw): Likewise.
37202 * nscd/servicescache.c (cache_addserv): Likewise.
37203
400aa020
UD
372042012-01-16 Ulrich Drepper <drepper@gmail.com>
37205
d77e7869
UD
37206 * malloc/malloc.c: Various cleanups.
37207 * malloc/hooks.c: Likewise.
37208
400aa020
UD
37209 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37210 * stdlib/bug-fmtmsg1.c: New file.
37211
37212 * stdlib/fmtmsg.c (init): Add missing unlock.
37213 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37214
e0a309cf
MP
372152012-01-12 Marek Polacek <polacek@redhat.com>
37216
37217 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37218 and _GNU_SOURCE.
37219
929d11c7
WS
372202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37221
37222 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37223 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37224 macro to ensure uniqueness of label name.
37225 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37226 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37227
41d0e869
UD
372282012-01-11 Ulrich Drepper <drepper@gmail.com>
37229
0cc5ed3b
UD
37230 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37231
41d0e869
UD
37232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37233 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37234 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37236
a47a831a
UD
372372012-01-10 Ulrich Drepper <drepper@gmail.com>
37238
daa891c0
UD
37239 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37240
37241 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37242 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37243 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37244
e58ef0f2
UD
37245 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37246
a47a831a 37247 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37248 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37249 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37251
37252 * math/bits/math-finite.h: Add ldexp support.
37253
a0bfc9c7
MP
372542012-01-10 Marek Polacek <polacek@redhat.com>
37255
37256 * locale/programs/localedef.h (show_archive_content): Add noreturn
37257 attribute.
37258
d6e97a1d
UD
372592012-01-09 Ulrich Drepper <drepper@gmail.com>
37260
37261 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37262
d5835c26
UD
372632012-01-08 Ulrich Drepper <drepper@gmail.com>
37264
e5f484c6
UD
37265 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37266
d5835c26
UD
37267 * io/Makefile (headers): Add bits/poll2.h.
37268
d1f741e9
WS
372692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37270
37271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37272 typo #include statement.
37273
ec09c1c4
UD
372742012-01-08 Ulrich Drepper <drepper@gmail.com>
37275
37276 * include/sys/cdefs.h: Define __attribute_alloc_size.
37277 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37278 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37279 * elf/pldd.c: Likewise.
37280 * iconv/iconv_charmap.c: Likewise.
37281 * iconv/iconvconfig.c: Likewise.
37282 * iconv/strtab.c: Likewise.
37283 * locale/programs/locale.c: Likewise.
37284 * locale/programs/localedef.h: Likewise.
37285 * locale/programs/simple-hash.c: Likewise.
37286 * nscd/nscd.h: Likewise.
37287 * nss/makedb.c: Likewise.
37288 * sysdeps/generic/ldconfig.h: Likewise.
37289 * locale/programs/localedef.c: Remove xmalloc prototype.
37290 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37291
20b38e03
PP
372922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37293
37294 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37295 appropriate.
37296
a0da5fe1
UD
372972012-01-08 Ulrich Drepper <drepper@gmail.com>
37298
1d5a644a 37299 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37300 * math/tst-CMPLX.c: New file.
1d5a644a 37301
8784a6db
UD
37302 * math/complex.h (CMPLXL): Fix typo.
37303
d9a216c0
UD
37304 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37305 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37306 GLIBC_2.16.
37307 * debug/tst-chk1.c: Add poll and ppoll tests.
37308 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37309 * include/sys/poll.h: Add hidden proto for ppoll.
37310 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37311 * sysdeps/mach/hurd/ppoll.c: Likewise.
37312 * io/ppoll.c: Likewise.
37313 * debug/poll_chk.c: New file.
37314 * debug/ppoll_chk.c: New file.
37315 * include/bits/poll2.h: New file.
37316 * io/bits/poll2.h: New file.
37317
ac097f5c
UD
37318 [BZ #1350]
37319 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37320
2119dcfa
UD
37321 * configure.in: static is always set to yes. Remove.
37322 * config.make.in: Don't set build-static.
37323 * Makeconfig: Remove use of build-static.
37324 * dlfcn/Makefile: Likewise.
37325 * elf/Makefile: Likewise.
37326 * math/Makefile: Likewise.
37327 * misc/Makefile: Likewise.
37328 * nptl/Makefile: Likewise.
37329 * sysdeps/mach/hurd/Makefile: Likewise.
37330
121766a9
UD
37331 * configure.in: PWD_P is not used anymore.
37332 * config.make.in: Remove PWD_P entry.
37333
51a1d39c 37334 * configure.in: Remove last remnants of RANLIB.
8720d066 37335 No need to check for signed size_t anymore.
215f4bdc
UD
37336 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37337 and IA-64.
3857022a 37338 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37339 * aclocal.m4: Likewise.
37340
d3ed7225
UD
37341 * wcsmbs/mbrtoc16.c: Implement using towc function.
37342 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37343 * wcsmbs/wcsmbsload.c: Likewise.
37344 * iconv/gconv_simple.c: Likewise.
37345 * iconv/gconv_int.h: Likewise.
37346 * iconv/gconv_builtin.h: Likewise.
37347 * iconv/iconv_prog.c: Remove CHAR16 handling.
37348
37349 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37350
37351 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37352
a0da5fe1
UD
37353 * configure.in: Remove --with-elf and --enable-bounded options.
37354 Dont set base_machine for ia64. More non-ELF conditions removed.
37355 Remove testing and setting of leading underscore information.
37356 * config.make.in (build-bounded): Set to no.
37357 * config.h.in: Remove NO_UNDERSCORES entry.
37358 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37359 them.
37360 * csu/start.c: Remove !NO_UNDERSCORE code.
37361 * locale/localeinfo.h: Likewise.
37362 * sysdeps/generic/machine-gmon.h: Likewise.
37363 * sysdeps/generic/sysdep.h: Likewise.
37364 * sysdeps/i386/sysdep.h: Likewise.
37365 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37366 * sysdeps/mach/sysdep.h: Likewise.
37367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37369 * sysdeps/sh/sysdep.h: Likewise.
37370 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37371 * sysdeps/unix/i386/sysdep.S: Likewise.
37372 * sysdeps/unix/sparc/start.c: Likewise.
37373 * sysdeps/unix/sparc/sysdep.S: Likewise.
37374 * sysdeps/unix/sparc/sysdep.h: Likewise.
37375 * sysdeps/unix/start.c: Likewise.
37376 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37377 * sysdeps/x86_64/sysdep.h: Likewise.
37378
df78418a
UD
373792012-01-07 Ulrich Drepper <drepper@gmail.com>
37380
a784e502
UD
37381 [BZ #13553]
37382 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37383 for non-gcc.
37384 * argp/argp-fmtstream.h: Use const instead __const.
37385 * argp/argp.h: Likewise.
37386 * assert/assert.h: Likewise.
37387 * bits/fenv.h: Likewise.
37388 * bits/sched.h: Likewise.
37389 * bits/sigset.h: Likewise.
37390 * bits/sigthread.h: Likewise.
37391 * catgets/nl_types.h: Likewise.
37392 * conform/data/pthread.h-data: Likewise.
37393 * crypt/crypt-private.h: Likewise.
37394 * crypt/crypt.h: Likewise.
37395 * crypt/crypt_util.c: Likewise.
37396 * ctype/ctype.h: Likewise.
37397 * debug/execinfo.h: Likewise.
37398 * debug/mbsnrtowcs_chk.c: Likewise.
37399 * debug/mbsrtowcs_chk.c: Likewise.
37400 * debug/wcsnrtombs_chk.c: Likewise.
37401 * debug/wcsrtombs_chk.c: Likewise.
37402 * debug/wcstombs_chk.c: Likewise.
37403 * dirent/dirent.h: Likewise.
37404 * dlfcn/dlfcn.h: Likewise.
37405 * elf/neededtest4.c: Likewise.
37406 * grp/grp.h: Likewise.
37407 * gshadow/gshadow.h: Likewise.
37408 * iconv/gconv.h: Likewise.
37409 * iconv/gconv_int.h: Likewise.
37410 * iconv/gconv_simple.c: Likewise.
37411 * iconv/iconv.h: Likewise.
37412 * iconv/loop.c: Likewise.
37413 * iconv/skeleton.c: Likewise.
37414 * include/aio.h: Likewise.
37415 * include/aliases.h: Likewise.
37416 * include/argz.h: Likewise.
37417 * include/arpa/inet.h: Likewise.
37418 * include/assert.h: Likewise.
37419 * include/dirent.h: Likewise.
37420 * include/dlfcn.h: Likewise.
37421 * include/execinfo.h: Likewise.
37422 * include/fcntl.h: Likewise.
37423 * include/fenv.h: Likewise.
37424 * include/glob.h: Likewise.
37425 * include/grp.h: Likewise.
37426 * include/libintl.h: Likewise.
37427 * include/mntent.h: Likewise.
37428 * include/netdb.h: Likewise.
37429 * include/pwd.h: Likewise.
37430 * include/rpc/netdb.h: Likewise.
37431 * include/sched.h: Likewise.
37432 * include/search.h: Likewise.
37433 * include/shadow.h: Likewise.
37434 * include/signal.h: Likewise.
37435 * include/stdio.h: Likewise.
37436 * include/stdlib.h: Likewise.
37437 * include/string.h: Likewise.
37438 * include/sys/socket.h: Likewise.
37439 * include/sys/stat.h: Likewise.
37440 * include/sys/statfs.h: Likewise.
37441 * include/sys/statvfs.h: Likewise.
37442 * include/sys/syslog.h: Likewise.
37443 * include/sys/time.h: Likewise.
37444 * include/sys/uio.h: Likewise.
37445 * include/time.h: Likewise.
37446 * include/unistd.h: Likewise.
37447 * include/utmp.h: Likewise.
37448 * include/wchar.h: Likewise.
37449 * include/wctype.h: Likewise.
37450 * inet/aliases.h: Likewise.
37451 * inet/arpa/inet.h: Likewise.
37452 * inet/netinet/ether.h: Likewise.
37453 * inet/netinet/in.h: Likewise.
37454 * intl/libintl.h: Likewise.
37455 * io/bits/fcntl2.h: Likewise.
37456 * io/fcntl.h: Likewise.
37457 * io/ftw.h: Likewise.
37458 * io/sys/poll.h: Likewise.
37459 * io/sys/stat.h: Likewise.
37460 * io/sys/statfs.h: Likewise.
37461 * io/sys/statvfs.h: Likewise.
37462 * io/utime.h: Likewise.
37463 * libio/bits/stdio.h: Likewise.
37464 * libio/bits/stdio2.h: Likewise.
37465 * libio/libio.h: Likewise.
37466 * libio/libioP.h: Likewise.
37467 * libio/stdio.h: Likewise.
37468 * locale/lc-ctype.c: Likewise.
37469 * locale/locale.h: Likewise.
37470 * login/utmp.h: Likewise.
37471 * malloc/arena.c: Likewise.
37472 * malloc/malloc.c: Likewise.
37473 * malloc/malloc.h: Likewise.
37474 * malloc/mcheck.c: Likewise.
37475 * malloc/mtrace.c: Likewise.
37476 * math/bits/mathcalls.h: Likewise.
37477 * math/fenv.h: Likewise.
37478 * math/math_private.h: Likewise.
37479 * misc/bits/error.h: Likewise.
37480 * misc/bits/syslog.h: Likewise.
37481 * misc/err.h: Likewise.
37482 * misc/error.h: Likewise.
37483 * misc/fstab.h: Likewise.
37484 * misc/mntent.h: Likewise.
37485 * misc/regexp.h: Likewise.
37486 * misc/search.h: Likewise.
37487 * misc/sgtty.h: Likewise.
37488 * misc/sys/mman.h: Likewise.
37489 * misc/sys/syslog.h: Likewise.
37490 * misc/sys/uio.h: Likewise.
37491 * misc/sys/xattr.h: Likewise.
37492 * misc/ttyent.h: Likewise.
37493 * nis/rpcsvc/ypclnt.h: Likewise.
37494 * nss/nss.h: Likewise.
37495 * posix/bits/unistd.h: Likewise.
37496 * posix/fnmatch.h: Likewise.
37497 * posix/glob.h: Likewise.
37498 * posix/sched.h: Likewise.
37499 * posix/spawn.h: Likewise.
37500 * posix/sys/wait.h: Likewise.
37501 * posix/unistd.h: Likewise.
37502 * posix/wordexp.h: Likewise.
37503 * pwd/pwd.h: Likewise.
37504 * resolv/netdb.h: Likewise.
37505 * resource/sys/resource.h: Likewise.
37506 * rt/aio.h: Likewise.
37507 * rt/bits/mqueue2.h: Likewise.
37508 * rt/mqueue.h: Likewise.
37509 * shadow/shadow.h: Likewise.
37510 * signal/signal.h: Likewise.
37511 * socket/send.c: Likewise.
37512 * socket/sendto.c: Likewise.
37513 * socket/sys/socket.h: Likewise.
37514 * stdio-common/printf.h: Likewise.
37515 * stdlib/bits/stdlib.h: Likewise.
37516 * stdlib/fmtmsg.h: Likewise.
37517 * stdlib/monetary.h: Likewise.
37518 * stdlib/stdlib.h: Likewise.
37519 * stdlib/ucontext.h: Likewise.
37520 * streams/stropts.h: Likewise.
37521 * string/argz.h: Likewise.
37522 * string/bits/string2.h: Likewise.
37523 * string/string.h: Likewise.
37524 * string/strings.h: Likewise.
37525 * sunrpc/rpc/auth.h: Likewise.
37526 * sunrpc/rpc/auth_des.h: Likewise.
37527 * sunrpc/rpc/clnt.h: Likewise.
37528 * sunrpc/rpc/netdb.h: Likewise.
37529 * sunrpc/rpc/pmap_clnt.h: Likewise.
37530 * sunrpc/rpc/xdr.h: Likewise.
37531 * sysdeps/generic/inttypes.h: Likewise.
37532 * sysdeps/generic/net/if.h: Likewise.
37533 * sysdeps/generic/sys/swap.h: Likewise.
37534 * sysdeps/gnu/net/if.h: Likewise.
37535 * sysdeps/gnu/utmpx.h: Likewise.
37536 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37537 * sysdeps/i386/i486/bits/string.h: Likewise.
37538 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37539 * sysdeps/s390/bits/string.h: Likewise.
37540 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37541 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37542 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37543 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37544 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37545 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37546 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37547 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37548 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37549 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37550 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37551 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37552 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37553 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37554 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37555 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37556 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37558 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37562 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37563 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37564 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37565 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37566 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37568 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37569 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37570 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37571 * sysvipc/sys/ipc.h: Likewise.
37572 * sysvipc/sys/msg.h: Likewise.
37573 * sysvipc/sys/sem.h: Likewise.
37574 * sysvipc/sys/shm.h: Likewise.
37575 * termios/termios.h: Likewise.
37576 * time/sys/time.h: Likewise.
37577 * time/time.h: Likewise.
37578 * wcsmbs/bits/wchar2.h: Likewise.
37579 * wcsmbs/uchar.h: Likewise.
37580 * wcsmbs/wchar.h: Likewise.
37581 * wctype/wctype.h: Likewise.
37582
0269750c
UD
37583 [BZ #13551]
37584 * Makeconfig: Remove all but ELF support including AIX support.
37585 * Makerules: Likewise.
37586 * config.h.in: Likewise.
37587 * config.make.in: Likewise.
37588 * configure: Likewise.
37589 * configure.in: Likewise.
37590 * csu/Makefile: Likewise.
37591 * csu/version.c: Likewise.
37592 * debug/Makefile: Likewise.
37593 * dlfcn/Makefile: Likewise.
37594 * elf/Makefile: Likewise.
37595 * extra-lib.mk: Likewise.
37596 * iconv/Makefile: Likewise.
37597 * include/libc-symbols.h: Likewise.
37598 * include/shlib-compat.h: Likewise.
37599 * resolv/Makefile: Likewise.
37600 * resolv/res_libc.c: Likewise.
37601 * rt/Makefile: Likewise.
37602 * sysdeps/i386/asm-syntax.h: Likewise.
37603 * sysdeps/i386/sysdep.h: Likewise.
37604 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37605 * sysdeps/mach/sysdep.h: Likewise.
37606 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37607 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37608 * sysdeps/s390/asm-syntax.h: Likewise.
37609 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37611 * sysdeps/sh/sysdep.h: Likewise.
37612 * sysdeps/unix/sparc/sysdep.h: Likewise.
37613 * sysdeps/wordsize-32/divdi3.c: Likewise.
37614 * sysdeps/x86_64/sysdep.h: Likewise.
37615
00bbd29b
UD
37616 * argp/Versions: Remove _argp_unlock_xxx.
37617
37618 [BZ #13559]
37619 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37620 * abilist/libBrokenLocale.abilist: Likewise.
37621 * abilist/libanl.abilist: Likewise.
37622 * abilist/libc.abilist: Likewise.
37623 * abilist/libcrypt.abilist: Likewise.
37624 * abilist/libdl.abilist: Likewise.
37625 * abilist/libm.abilist: Likewise.
37626 * abilist/libnsl.abilist: Likewise.
37627 * abilist/libpthread.abilist: Likewise.
37628 * abilist/libresolv.abilist: Likewise.
37629 * abilist/librt.abilist: Likewise.
37630 * abilist/libthread_db.abilist: Likewise.
37631 * abilist/libutil.abilist: Likewise.
37632 * abilist/libnss_db.abilist: New file.
37633
37634 * scripts/abilist.awk: Add support for indirect functions.
37635
a2693a0e
UD
37636 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37637
3f05895f
UD
37638 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37639
ecb6fb48
UD
37640 * shlib-versions: Remove entries for ports architectures.
37641
664f8cb9
UD
37642 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37643 files in ports.
37644 * elf/stackguard-macros.h: Remove support for IA-64.
37645 * elf/tst-auditmod1.c: Likewise.
37646 * sysdeps/generic/ldsodefs.h: Likewise.
37647
7ae81d88
UD
37648 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37649 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37650 configure files.
37651
bdeba135
UD
37652 [BZ #13552]
37653 * configure.in: Remove --enable-omitfp support.
37654 * FAQ.in: Adjust.
37655 * config.make.in: Likewise.
37656 * Makeconfig: Likewise.
37657 * manual/install.texi: Likewise.
37658
d75a0a62
UD
37659 In case anyone cares, the IA-64 architecture could move to ports.
37660 * sysdeps/ia64/*: Removed.
37661 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37662 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37663
dcc9756b
UD
37664 [BZ #13555]
37665 * configure.in: Remove entries for unsupported architectures.
37666
d3761ebc 37667 [BZ #13533]
9954432e
UD
37668 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37669 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37670 routines.
37671 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37672 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37673 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37674 fall back to using wcrtomb.
37675 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37676 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37677 renaming.
37678 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37679 * wcsmbs/tst-c16c32-1.c: New file.
37680
37681 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37682 local variable.
37683
c3a87236
UD
37684 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37685
28926a1b
UD
37686 * elf/tst-unique3.cc: Add explicit declaration of gets.
37687 * elf/tst-unique3lib.cc: Likewise.
37688 * elf/tst-unique3lib2.cc: Likewise.
37689 * elf/tst-unique4.cc: Likewise.
37690
df78418a
UD
37691 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37692
8ecd6b2a
JM
376932012-01-06 Joseph Myers <joseph@codesourcery.com>
37694
37695 [BZ #13566]
37696 * assert/assert.h (static_assert): Don't define for C++.
37697 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37698 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37699
9f115170
UD
377002012-01-03 Ulrich Drepper <drepper@gmail.com>
37701
5e0d0300
UD
37702 * iconv/loop.c (single loop): Fix assertion in storing of
37703 remaining bytes.
37704
9f115170
UD
37705 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37706
81fb02b0
UD
377072012-01-01 Ulrich Drepper <drepper@gmail.com>
37708
37709 * posix/getconf.c: Update copyright year.
37710 * nss/getent.c: Likewise.
a316c1f6 37711 * nss/makedb.c: Likewise.
81fb02b0
UD
37712 * iconv/iconvconfig.c: Likewise.
37713 * iconv/iconv_prog.c: Likewise.
37714 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37715 * elf/pldd.c: Likewise.
37716 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37717 * catgets/gencat.c: Likewise.
37718 * csu/version.c: Likewise.
37719 * elf/ldd.bash.in: Likewise.
37720 * elf/sprof.c (print_version): Likewise.
37721 * locale/programs/locale.c: Likewise.
37722 * locale/programs/localedef.c: Likewise.
a316c1f6 37723 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37724 * nscd/nscd.c (print_version): Likewise.
37725 * debug/xtrace.sh: Likewise.
37726 * malloc/memusage.sh: Likewise.
37727 * malloc/mtrace.pl: Likewise.
37728 * debug/catchsegv.sh: Likewise.
37729
2ba92745
JJ
377302011-12-30 Jakub Jelinek <jakub@redhat.com>
37731
37732 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37733 pure attribute.
37734
dadebdae
UD
377352011-12-24 Ulrich Drepper <drepper@gmail.com>
37736
d3761ebc 37737 [BZ #13533]
db6af3eb
UD
37738 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37739 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37740 transformations.
37741 * iconv/gconv_int.h: Likewise.
37742 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37743 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37744 from libc for GLIBC_2.16.
37745 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37746 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37747 * wcsmbs/uchar.h: Really define mbstate_t.
37748 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37749 * wcsmbs/c16rtomb.c: New file.
37750 * wcsmbs/mbrtoc16.c: New file.
37751 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37752 for C/POSIX locale.
37753 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37754 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37755
dadebdae
UD
37756 * wcsmbs/wchar.h: Add missing __restrict.
37757
67371b56
UD
377582011-12-23 Ulrich Drepper <drepper@gmail.com>
37759
74033a25
UD
37760 [BZ #13532]
37761 * time/Makefile (routines): Add timespec_get.
37762 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37763 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37764 timespec for ISO C11.
37765 * time/timespec_get.c: New file.
37766 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37767 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37768
380d7e87
UD
37769 [BZ #13531]
37770 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37771 * stdlib/stdlib.h: Declare aligned_alloc.
37772 * Versions.def: Add GLIBC_2.16 for libc.
37773 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37774
4e9e7a35
UD
37775 [BZ 13527]
37776 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37777 ISO C11.
37778
380d7e87 37779 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37780 code.
37781
03a71829
UD
37782 [BZ #13528]
37783 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37784
839e283e
UD
37785 [BZ #13529]
37786 * assert/assert.h (static_assert): Define.
37787
ce5294e2 37788 * version.h: Update for 2.16 development version.
90fa7312 37789
8d44e150 37790 [BZ #13526]
d7809905
UD
37791 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37792 _ISOC11_SOURCE.
37793
c0da14cd
UD
37794 * version.h (RELEASE): Bump for 2.15 release.
37795 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37796
530a3249
MP
37797 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37798 Patch by Marek Polacek <mpolacek@redhat.com>.
37799
67371b56
UD
37800 * bits/byteswap.h: Protect long long constants with __extension__.
37801 * sysdeps/i386/bits/byteswap.h: Likewise.
37802 * sysdeps/ia64/bits/byteswap.h: Likewise.
37803 * sysdeps/s390/bits/byteswap.h: Likewise.
37804 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37805
15db4de1
LD
378062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37807
37808 [BZ #13540]
bbe315ea
LD
37809 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37810 destination buffer.
15db4de1
LD
37811 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37812
2b2596b1
MP
378132011-12-23 Marek Polacek <polacek@redhat.com>
37814
37815 * elf/dl-addr.c (determine_info): Add inline keyword.
37816 * elf/tst-auditmod4b.c (check_avx): Likewise.
37817 * elf/tst-auditmod6b.c (check_avx): Likewise.
37818 * elf/tst-auditmod6c.c (check_avx): Likewise.
37819 * elf/tst-auditmod7b.c (check_avx): Likewise.
37820
70c6c246
UD
378212011-12-23 Ulrich Drepper <drepper@gmail.com>
37822
37823 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37824 !__SSE_MATH__.
37825
c044cf14
LD
378262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37827
15db4de1 37828 [BZ #13540]
c044cf14
LD
37829 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37830 processing for last bytes.
37831
6b13d9d9
BH
378322011-08-06 Bruno Haible <bruno@clisp.org>
37833
d455f537
BH
37834 [BZ #13061]
37835 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37836 U+0385, not to U+1FEE.
37837
6b13d9d9
BH
37838 [BZ #13062]
37839 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37840 entry for U+00A5 U+0301.
37841
db910efd
UD
378422011-12-22 Ulrich Drepper <drepper@gmail.com>
37843
27deeafc
UD
37844 [BZ #13166]
37845 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37846 buffer for the output is too small.
37847
aed9d171
UD
37848 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37849 optimization.
37850
db910efd
UD
37851 [BZ #13185]
37852 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37853 SSE flags if possible.
37854
2bd779ae
LD
378552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37856
e7f9dac3 37857 [BZ #13540]
2bd779ae
LD
37858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37859 processing for last bytes.
37860
154bfc16
JM
378612011-12-22 Joseph Myers <joseph@codesourcery.com>
37862
37863 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37864 (syscall-list-default-options, syscall-list-default-condition)
37865 (syscall-list-includes): Define.
37866 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37867 list of ABIs and options and #if conditions for each ABI. Do not
37868 handle common syscalls between ABIs specially.
37869 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37870 Remove.
37871 (syscall-list-variants, syscall-list-32bit-options)
37872 (syscall-list-32bit-condition, syscall-list-64bit-options)
37873 (syscall-list-64bit-condition): Define.
37874 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37875 (syscall-list-variants, syscall-list-32bit-options)
37876 (syscall-list-32bit-condition, syscall-list-64bit-options)
37877 (syscall-list-64bit-condition): Define.
37878 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37879 Remove.
37880 (syscall-list-variants, syscall-list-32bit-options)
37881 (syscall-list-32bit-condition, syscall-list-64bit-options)
37882 (syscall-list-64bit-condition): Define.
37883 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37884 Remove.
37885 (syscall-list-variants, syscall-list-32bit-options)
37886 (syscall-list-32bit-condition, syscall-list-64bit-options)
37887 (syscall-list-64bit-condition): Define.
37888
21eaf3a5
UD
378892011-12-22 Ulrich Drepper <drepper@gmail.com>
37890
16c6f992
UD
37891 * locale/iso-639.def: Add brx entry.
37892
41043168
UD
37893 [BZ #13328]
37894 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37895 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37896
21eaf3a5
UD
37897 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37898 __feraiseexcept_renamed.
37899
e3a851a2
UD
379002011-12-21 Ulrich Drepper <drepper@gmail.com>
37901
4920765e
UD
37902 [BZ #13538]
37903 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37904 EPOLLET with unsigned values.
37905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37907
e3a851a2
UD
37908 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37909 to large cancellation.
37910 * math/s_cacoshf.c: Likewise.
37911 * math/s_cacoshl.c: Likewise.
37912
b27e24b8
RK
379132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37914
37915 [BZ #13305]
aebefeee 37916 [BZ #12786]
b27e24b8
RK
37917 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37918 * math/s_cacoshf.c: Likewise.
37919 * math/s_cacoshl.c: Likewise.
37920
ee190f67
UD
379212011-12-21 Ulrich Drepper <drepper@gmail.com>
37922
37923 [BZ #13439]
37924 * iconv/gconv.h: Define __GCONV_SWAP.
37925 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37926 * iconvdata/utf-16.c: Likewise.
37927 * iconvdata/utf-32.c: Likewise.
37928
707f25df
AS
379292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37930
37931 [BZ #13524]
37932 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37933 numerator after shifting it by one limb.
37934
d2daaa1e
RÁE
379352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37936
37937 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37938 under [__USE_EXTERN_INLINES].
37939
a4647e72
UD
379402011-12-17 Ulrich Drepper <drepper@gmail.com>
37941
37942 [BZ #13446]
37943 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37944
f0b264f1
AZ
379452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37946
37947 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37948 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37949 optimized code.
37950 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37951 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37952 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37953 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37954 for strncasecmp/strncasecmp_l compilation.
37955 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37956 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37957
8ef4f244
MP
379582011-12-08 Marek Polacek <mpolacek@redhat.com>
37959
37960 [BZ #13484]
37961 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37962 of __asm__.
37963
97ac2654
UD
379642011-12-17 Ulrich Drepper <drepper@gmail.com>
37965
37966 [BZ #13506]
37967 * time/tzfile.c (__tzfile_read): Check values from file header.
37968
91d2a845
WS
379692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37970
37971 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37972 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37973 * powerpc/powerpc32/dl-start.S: Likewise.
37974 * powerpc/powerpc32/elf/start.S: Likewise.
37975 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37976 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37977 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37978 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37979 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37980 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37981 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37982 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37983 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37984 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37985 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37986 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37987 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37988 * powerpc/powerpc32/memset.S: Likewise.
37989 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37990 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37991 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37992 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37993 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37994 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37995 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37996 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37997 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37998 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37999 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38000 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38001 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38002
a1267ba1
AZ
380032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38004
38005 * math/libm-test.inc: Added more nearbyint tests.
38006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38010
ad8ac1bd
RL
380112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38012
38013 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38014 FD_CLOEXEC.
38015
1d3e4b61
UD
380162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38017
38018 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38019 Add wcscpy-ssse3 wcscpy-c.
38020 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38021 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38022 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38023 * sysdeps/x86_64/wcschr.S: New file.
38024 * sysdeps/x86_64/wcsrchr.S: New file.
38025 * string/test-strcmp.c: Remove checking of wcscmp function for
38026 wrong alignments.
38027 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38028 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38029 wcsrchr-sse2 wcsrchr-c.
38030 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38031 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38032 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38033 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38034 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38035 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38036 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38037 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38038 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38039 * wcsmbc/wcschr.c (WCSCHR): New macro.
38040
5b330a2d
UD
380412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38042
38043 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38044 * wcsmbs/test-wcsrchr.c: New file.
38045 * string/test-strrchr.c: Add wcsrchr support.
38046 (WIDE): New macro.
38047 * wcsmbs/test-wcscpy.c: New file.
38048 * string/test-strcpy.c: Add wcscpy support.
38049 (WIDE): New macro.
26428b7c 38050
f039c043
UD
380512011-12-10 Ulrich Drepper <drepper@gmail.com>
38052
38053 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38054 the inner loop.
38055
850fb039
AS
380562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38057
38058 [BZ #13472]
38059 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38060
4efbd5cb
UD
380612011-12-04 Ulrich Drepper <drepper@gmail.com>
38062
52ff5dd0 38063 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38064 Minor optimizations.
52ff5dd0 38065
4efbd5cb
UD
38066 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38067 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38068 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38069
8a426e12
UD
380702011-12-03 Ulrich Drepper <drepper@gmail.com>
38071
aff2453d
UD
38072 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38073 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38074 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38075 for gcc to avoid warnings.
38076 * inet/Makefile (tests): Add tst-checks.
38077 * inet/tst-checks.c: New file.
38078
38079 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38080 warning.
38081
38082 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38083 __wmemcmp_sse2.
38084
38085 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38086 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38087
8a426e12
UD
38088 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38089
9bea3473
UD
380902011-12-02 Ulrich Drepper <drepper@gmail.com>
38091
3a965496
UD
38092 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38093 problem.
38094
9bea3473
UD
38095 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38096
f101631b
UD
380972011-11-29 Joseph Myers <joseph@codesourcery.com>
38098
38099 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38100 conditional on GCC version.
38101 (__arch_compare_and_exchange_val_8_acq)
38102 (__arch_compare_and_exchange_val_16_acq)
38103 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38104 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38105 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38106
a98275aa
UD
381072011-12-02 Joseph Myers <joseph@codesourcery.com>
38108
38109 * sysdeps/sh/backtrace.c: New file.
38110
d4cc29a2
AS
381112011-12-02 Andreas Schwab <schwab@redhat.com>
38112
38113 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38114 parenthesis.
38115
6257af2d
AS
381162011-12-01 Andreas Schwab <schwab@redhat.com>
38117
38118 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38119 falling back to utime.
38120
b5f44c1a
AS
381212011-11-30 Andreas Schwab <schwab@redhat.com>
38122
38123 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38124 expectations for float.
38125
f3a6cc0a
AS
381262011-11-29 Andreas Schwab <schwab@redhat.com>
38127
38128 * locale/weight.h (findidx): Add parameter len.
38129 * locale/weightwc.h (findidx): Likewise.
38130 * posix/fnmatch_loop.c (FCT): Adjust caller.
38131 * posix/regcomp.c (build_equiv_class): Likewise.
38132 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38133 * posix/regexec.c (check_node_accept_bytes): Likewise.
38134 * string/strcoll_l.c (STRCOLL): Likewise.
38135 * string/strxfrm_l.c (STRXFRM): Likewise.
38136
9d65ea3a
UD
381372011-11-17 Ulrich Drepper <drepper@gmail.com>
38138
38139 * Makefile.in: Remove CVSOPT handling.
38140 * configure.in: Remove use of AC_REVISION.
38141 * iconvdata/Makefile (distribute): No need to filter out CVS.
38142 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38143 handling.
38144
5583a086
AS
381452011-11-16 Andreas Schwab <schwab@redhat.com>
38146
38147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38148 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38149 [USE_AS_STRNCASECMP_L]: Likewise.
38150 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38151 NO_TLS_DIRECT_SEG_REFS.
38152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38153 Fix argument offsets for non-PIC.
38154 [USE_AS_STRNCASECMP_L]: Likewise.
38155 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38156 NO_TLS_DIRECT_SEG_REFS.
38157
d62a8200
UD
381582011-11-15 Ulrich Drepper <drepper@gmail.com>
38159
9d65ea3a 38160 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38161 O_CLOEXEC.
38162 * locale/loadlocale.c (_nl_load_locale): Likewise.
38163
09f93bd3
AS
381642011-11-15 Andreas Schwab <schwab@redhat.com>
38165
446514f9
AS
38166 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38167 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38168 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38169 (SYSCALL_GETTIME): Set errno on error.
38170
09f93bd3
AS
38171 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38172 count references to noai6ai_cached.
38173
312be3f9
UD
381742011-11-15 Ulrich Drepper <drepper@gmail.com>
38175
38176 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38177
38178 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38179 FD_CLOEXEC for /proc/self/maps.
38180
38181 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38182 FD_CLOEXEC for /proc/meminfo.
38183
38184 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38185 gai.conf.
38186
38187 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38188 FD_CLOEXEC for given file.
38189
38190 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38191
38192 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38193 FD_CLOEXEC for /etc/hosts.
38194 (_gethtent): Likewise.
38195
38196 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38197
38198 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38199 cancellation and set FD_CLOEXEC for /etc/netgroup.
38200
38201 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38202 reading /etc/publickey.
38203
38204 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38205 allow cancellation when reading /etc/group.
38206
38207 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38208 cancellation.
38209 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38210
38211 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38212 when using data file.
38213
38214 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38215
38216 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38217 (write_nis_obj): Use "c" and "e" in fopen.
38218
38219 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38220
38221 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38222
38223 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38224
38225 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38226
38227 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38228 locale.alias.
38229
38230 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38231
38232 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38233
38234 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38235
38236 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38237 file parsing and set FD_CLOEXEC.
38238
82af0fa8
UD
382392011-11-14 Ulrich Drepper <drepper@gmail.com>
38240
38241 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38242
a5fb313c
AS
382432011-11-14 Andreas Schwab <schwab@redhat.com>
38244
38245 * malloc/arena.c (arena_get2): Don't call reused_arena when
38246 _int_new_arena failed.
38247
6abf3465
UD
382482011-11-14 Ulrich Drepper <drepper@gmail.com>
38249
38250 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38251 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38252 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38254 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38256 to compile strcasecmp and strncasecmp.
38257 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38258 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38259
38260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38261
76e3966e
UD
382622011-11-13 Ulrich Drepper <drepper@gmail.com>
38263
38264 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38265 locale-defines.sym to gen-as-const-headers.
38266 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38267 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38269 to compile strcasecmp and strncasecmp.
38270 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38271 strcasecmp_l and strncasecmp_l.
38272 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38273 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38274 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38275 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38276 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38277 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38278 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38279 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38280 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38281 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38282 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38283
ab26144e
UD
382842011-11-12 Ulrich Drepper <drepper@gmail.com>
38285
7edb22ef
UD
38286 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38287 result of SYSDEP_GETTIME_CPU to retval.
38288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38289 parameter list to macro. Remove trailing semicolon. Adjust users.
38290
9694fc44
UD
38291 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38292 variable.
38293
8ad89ef8
UD
38294 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38295 mantissa words.
38296 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38297
0c822ef9
UD
38298 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38299 from unused variable.
38300
874e0564
UD
38301 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38302 DWARF definitions.
38303 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38304 for assembling.
38305
3a2edc79
UD
38306 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38307 over namespaces.
38308
f3c2577f
UD
38309 * sunrpc/rpc_prot.c (rejected): Fix case value.
38310
294ce126
UD
38311 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38312 unsigned long long int to avoid warnings in shift.
38313
5e2b63c6
UD
38314 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38315 of use of trans.
38316 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38317 variable tmp.
38318
e7f4b08e
UD
38319 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38320 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38321 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38322
ab26144e
UD
38323 * nis/nis_table.c (nis_list): Use variable of correct type for
38324 result of __follow_path call.
38325
8a6d5255
AZ
383262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38327
38328 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38329 of math functions ceil, trunc, floor, round, and sqrt, when
38330 avaliable on the platform.
38331 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38332 name clash.
38333 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38334 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38335 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38336
aaddc98c
MP
383372011-10-30 Marek Polacek <mpolacek@redhat.com>
38338
38339 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38340 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38341
95b7042b
RM
383422011-11-11 Roland McGrath <roland@hack.frob.com>
38343
38344 * include/unistd.h: Fix __readlink return type.
38345 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38346
57769839
UD
383472011-11-11 Ulrich Drepper <drepper@gmail.com>
38348
38349 * stdlib/ucontext.h: Undo last change for makecontext.
38350
edc5984d
AS
383512011-11-11 Andreas Schwab <schwab@redhat.com>
38352
98591e58
AS
38353 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38354
edc5984d
AS
38355 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38356 * setjmp/setjmp.h: Mark functions as non-leaf.
38357 * setjmp/bits/setjmp2.h: Likewise.
38358 * stdlib/ucontext.h: Likewise.
38359
77cdc054
AS
383602011-11-10 Andreas Schwab <schwab@redhat.com>
38361
38362 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38363 (reused_arena): Don't check arena limit.
38364 (arena_get2): Atomically check arena limit.
38365
fe72eebd
UD
383662011-11-08 Ulrich Drepper <drepper@gmail.com>
38367
5f078c32
UD
38368 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38369 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38370
fe72eebd
UD
38371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38372 instructions.
38373
ae1bc2fa
AS
383742011-11-07 Andreas Schwab <schwab@redhat.com>
38375
7583a88d
AS
38376 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38377 handler when locking.
38378
ae1bc2fa
AS
38379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38380 Fix size of allocated buffer.
38381
10fb0bfa
AS
383822011-11-04 Andreas Schwab <schwab@redhat.com>
38383
998832a4
AS
38384 [BZ #10103]
38385 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38386 declarations for long double functions.
38387 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38388
10fb0bfa
AS
38389 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38390
3d7ba52b
AS
383912011-11-03 Andreas Schwab <schwab@redhat.com>
38392
a9ae54a1
AS
38393 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38394 installed.
38395
3d7ba52b
AS
38396 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38397 is disabled.
38398
bc8db248
ST
383992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38400
38401 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38402
45b96dd6
AS
384032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38404
647776f6
AS
38405 * include/alloca.h (stackinfo_alloca_round): Define.
38406 (extend_alloca): Use it.
38407 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38408 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38409 here.
38410
d91a8b93
AS
38411 * scripts/check-local-headers.sh: Ignore libaudit.h.
38412
45b96dd6
AS
38413 * nscd/Makefile (extra-objs): Make recursively expanded.
38414
432d41ce
UD
384152011-11-01 Ulrich Drepper <drepper@gmail.com>
38416
34372fc6
UD
38417 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38418 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38419
fadb59f8
UD
38420 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38421 * posix/tst-rfc3484-2.c: Likewise.
38422 * posix/tst-rfc3484-3.c: Likewise.
38423
78239589
UD
38424 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38425 process_vm_writev.
38426 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38427 process_vm_writev.
38428 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38429 process_vm_writev from libc using GLIBC_2.15 version.
38430
432d41ce
UD
38431 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38432
02f9c6cf
PP
384332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38434
38435 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38436 stack usage.
38437
3a2c0242
UD
384382011-10-31 Ulrich Drepper <drepper@gmail.com>
38439
f4ec4833
UD
38440 [BZ #13367]
38441 * nss/getent.c (initgroups_keys): Show error message in case no group
38442 names are given.
38443
3a2c0242
UD
38444 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38445 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38446 __bump_nl_timestamp.
38447 * nscd/connections (nscd_init): When host database is served open
38448 netlink socket and request notification about configuration changes.
38449 (main_loop_poll): Track netlink file descriptor and bump timestamp
38450 in case data becomes available.
38451 (main_loop_epoll): Likewise.
38452 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38453 (database_pers_head): Add extra_data fileds.
38454 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38455 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38456 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38457 Adjust caller.
38458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38459 in6ai data, call __free_in6ai.
38460 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38461 Add -DHAVE_NETLINK.
38462 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38463 interface information. Reuse previous data if netlink timestamp
38464 is not changed.
38465 (__bump_nl_timestamp): New function.
38466 (__free_in6ai): New function.
38467
636064eb
UD
384682011-10-30 Ulrich Drepper <drepper@gmail.com>
38469
38470 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38471 close_not_cancel_no_status here.
38472 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38473
9beb2334
UD
384742011-10-29 Ulrich Drepper <drepper@gmail.com>
38475
6ef76f3b
UD
38476 [BZ #13276]
38477 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38478 return value.
38479
0ffc4f3e 38480 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38481 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38482 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38483
cb95113e
UD
384842011-07-03 Andreas Jaeger <aj@suse.de>
38485
38486 [BZ #10709]
38487 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38488 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38489 * math/libm-test.inc (sin_test): Add test case.
38490
a1b560ff
UD
384912011-10-29 Ulrich Drepper <drepper@gmail.com>
38492
c9aaface
UD
38493 [BZ #13337]
38494 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38495 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38496
d272e7f1
UD
38497 * elf/chroot_canon.c (chroot_canon): Cleanups.
38498
1bc33071
UD
38499 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38500
1760874d
TJ
38501 [BZ #13335]
38502 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38503 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38504
51d91b18
UD
38505 * string/test-strchr.c: Make usable for strchrnul testing.
38506 * string/test-strchrnul.c: New file.
38507 * string/Makefile (strop-tests): Add strchrnul.
38508
a1b560ff 38509 * po/it.po: Update from translation team.
b611fb81 38510 * po/es.po: Likewise.
a1b560ff 38511
a5b81e1f
UD
385122011-10-28 Ulrich Drepper <drepper@gmail.com>
38513
fd52bc6d
UD
38514 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38515 the three constants needed as parameters. Drop the others.
38516 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38517 __m128i_strloadu_tolower.
52e4b9eb
UD
38518 Create and initialize variable zero and use it in all the places
38519 where _mm_setzero_si128 was used.
fd52bc6d 38520
a5b81e1f
UD
38521 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38522 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38523 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38524 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38525 anymore.
38526 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38527 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38528 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38529 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38530 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38531 __mpranred, __mptan.
38532 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38533 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38534 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38535 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38536 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38537 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38538 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38539 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38540 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38541
b4343346
AS
385422011-10-28 Andreas Schwab <schwab@redhat.com>
38543
0c92d8a8
AS
38544 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38545 redefine if SHARED.
38546 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38547
b4343346
AS
38548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38549 wide char related routines to wcsmbs subdir.
38550
3871f58f
AS
385512011-10-27 Andreas Schwab <schwab@redhat.com>
38552
38553 [BZ #13344]
38554 * misc/sys/cdefs.h (__THROWNL): Define.
38555 * posix/unistd.h: Use __THREADNL instead of __THREAD
38556 for memory synchronization functions.
38557
94d44d9f
RM
385582011-10-26 Roland McGrath <roland@hack.frob.com>
38559
21b64b15 38560 [BZ #13349]
94d44d9f
RM
38561 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38562 doesn't exist.
38563 * manual/stdio.texi (Obstack Streams): Node removed.
38564
f6ce9294
AS
385652011-10-26 Andreas Schwab <schwab@redhat.com>
38566
80479147
AS
38567 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38569 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38570
f6ce9294
AS
38571 * math/math_private.h (math_force_eval): Allow non-addressable
38572 arguments.
38573 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38574
618280a1
UD
385752011-10-25 Ulrich Drepper <drepper@gmail.com>
38576
e0016b11
UD
38577 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38578 file is not needed.
38579
38580 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38581 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38582 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38583 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38584 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38585 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38586 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38587 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38588 Add AVX variants.
38589 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38590 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38591 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38592 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38593 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38594 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38595 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38596 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38597 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38598 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38599 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38600 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38601 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38602 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38603 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38604 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38605 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38606 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38607 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38608
38609 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38610 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38611
618280a1
UD
38612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38613 place. Use VEX encoding when compiling for AVX.
38614
37822576
AS
386152011-10-25 Andreas Schwab <schwab@redhat.com>
38616
1f1e1947
AS
38617 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38618 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38619
37822576
AS
38620 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38621
31ea014d
UD
386222011-10-25 Ulrich Drepper <drepper@gmail.com>
38623
d7826aa1 38624 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38625 useless if() expression.
d7826aa1
UD
38626 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38636 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38638 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38639 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38640 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38641 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38644 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38645
31ea014d
UD
38646 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38647
16437fec
AS
386482011-10-25 Andreas Schwab <schwab@redhat.com>
38649
38650 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38651 condition.
38652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38653
31d3cc00
UD
386542011-10-25 Ulrich Drepper <drepper@gmail.com>
38655
38656 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38657 .text section. Avoid duplicate constants.
38658 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38668 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38670 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38673 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38675 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38681 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38682 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38683 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38684 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38685 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38687 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38688 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38689 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38691 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38692 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38693 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38694 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38695 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38696 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38697 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38698 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38699 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38700 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38701 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38702 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38703
58985aa9
UD
387042011-10-24 Ulrich Drepper <drepper@gmail.com>
38705
202c9deb
UD
38706 * sysdeps/x86_64/dla.h: Move to ...
38707 * sysdeps/x86_64/fpu/dla.h: ...here.
38708 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38709 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38710
af968f62
UD
38711 * config.make.in: Add have-mfma4 entry.
38712 * configure.in: Substitute libc_cv_cc_fma4.
38713 * math/Makefile (dbl-only-routines): Add sincostab.
38714 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38715 Use __sincostab not sincos.
38716 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38717 name is a macro.
38718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38722 using __copysign.
38723 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38724 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38725 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38726 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38727 and __inv.
38728 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38729 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38730 __copysign.
38731 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38732 define aliases when function name is a macro.
38733 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38734 sysdeps/ieee754/dbl-64/sincos.tbl.
38735 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38736 fma4-enabled routines.
38737 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38738 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38739 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38740 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38741 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38742 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38744 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38745 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38746 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38747 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38748 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38749 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38750 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38752 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38753 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38754 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38755 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38756 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38757 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38760 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38762 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38763 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38764 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38765 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38766 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38767
58985aa9
UD
38768 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38769 rename.
38770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38778
a201fbcf
AS
387792011-10-24 Andreas Schwab <schwab@redhat.com>
38780
38781 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38782
fc2ee42a
LD
387832011-10-23 Ulrich Drepper <drepper@gmail.com>
38784
bb3129bd
UD
38785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38786
0275fff8
UD
38787 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38788 prediction.
38789 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38790
2fa2ae85
UD
38791 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38792 Remove unused variable magic_bits.
38793 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38794
fc2ee42a
LD
38795 * string/strnlen.c: Define and use STRNLEN macro.
38796 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38797 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38798 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38799 * wcsmbs/wcslen.c: Define and use WCSLEN.
38800 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38801 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38802 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38803 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38804 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38805 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38806 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38807
ce7dd29f
LD
388082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38809
38810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38811 strnlen-sse2-no-bsf.
38812 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38814 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38815 Add strnlen support.
38816 (USE_AS_STRNLEN): New macro.
38817 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38818 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38819 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38820 * sysdeps/x86_64/wcslen.S: New file.
38821
979c70a3
MZ
388222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38823
38824 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38825 XMM-moves are used for copying on small sizes.
38826
2d09f82f
LD
388272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38828
38829 * wcsmbs/Makefile (strop-tests): Add wcschr.
38830 * wcsmbs/test-wcschr.c: New file.
38831 * string/test-strchr.c: Update.
38832 Add wcschr support.
38833 (WIDE): New macro.
38834
619fccca
LD
388352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38836
2d09f82f 38837 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38838 * wcsmbs/test-wcslen.c: New file.
38839 * string/test-strlen.c: Update.
38840 Add wcslen support.
38841 (WIDE): New macro.
38842
09f699ea
UD
388432011-10-23 Ulrich Drepper <drepper@gmail.com>
38844
38845 * po/it.po: Update from translation team.
38846
95584d3b
LD
388472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38848
38849 * sysdeps/x86_64/wcscmp.S: Update.
38850 Fix wrong comparison semantics.
38851 wcscmp shall use signed comparison not unsigned.
38852 Don't use substraction to avoid overflow bug.
38853 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38854 * wcsmbc/wcscmp.c: Likewise.
38855 * string/test-strcmp.c: Likewise.
38856 Add new tests to check cases with negative values.
38857
c8b3296b
UD
388582011-10-23 Ulrich Drepper <drepper@gmail.com>
38859
38860 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38861 * sysdeps/x86_64/dla.h: ...here. New file.
38862 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38871
246ad57a
AS
388722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38873
38874 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38875 __ynl_finite aliases.
38876
a1a87169
UD
388772011-10-22 Ulrich Drepper <drepper@gmail.com>
38878
0d355eb7
UD
38879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38880
a1a87169
UD
38881 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38882 define DLA_FMA.
38883 [DLA_FMA] (EMULV): Use DLA_FMA.
38884 [DLA_FMA] (MUL12): Use EMULV.
38885 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38886 that are not needed.
38887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38894
ee2aafe0
AS
388952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38896
38897 * math/s_nan.c: Undef __nan.
38898 * math/s_nanf.c: Undef __nanf.
38899 * math/s_nanl.c: Undef __nanl.
38900 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38901 "math_private.h".
38902
bc62c2fb
UD
389032011-10-22 Ulrich Drepper <drepper@gmail.com>
38904
77425c63
UD
38905 * math/s_catan.c: Add branch predictions.
38906 * math/s_catanf.c: Likewise.
38907 * math/s_catanh.c: Likewise.
38908 * math/s_catanhf.c: Likewise.
38909 * math/s_catanhl.c: Likewise.
38910 * math/s_catanl.c: Likewise.
38911 * math/s_cexp.c: Likewise.
38912 * math/s_cexpf.c: Likewise.
38913 * math/s_cexpl.c: Likewise.
38914 * math/s_clog.c: Likewise.
38915 * math/s_clog10.c: Likewise.
38916 * math/s_clog10f.c: Likewise.
38917 * math/s_clog10l.c: Likewise.
38918 * math/s_clogf.c: Likewise.
38919 * math/s_clogl.c: Likewise.
38920 * math/s_csqrt.c: Likewise.
38921 * math/s_csqrtf.c: Likewise.
38922 * math/s_csqrtl.c: Likewise.
38923 * math/s_ctanf.c: Likewise.
38924 * math/s_ctanh.c: Likewise.
38925 * math/s_ctanhf.c: Likewise.
38926 * math/s_ctanhl.c: Likewise.
38927 * math/s_ctanl.c: Likewise.
38928
bc62c2fb
UD
38929 * math/math_private.h: Define __nan, __nanf, __nanl.
38930 * math/s_cacosh.c: Include <math_private.h>.
38931 * math/s_cacoshl.c: Likewise.
38932 * math/s_casinh.c: Likewise.
38933 * math/s_casinhf.c: Likewise.
38934 * math/s_casinhl.c: Likewise.
38935 * math/s_ccos.c: Rely entire on ccosh.
38936 * math/s_ccosf.c: Rely entire on ccoshf.
38937 * math/s_ccosl.c: Rely entirely on ccoshl.
38938 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38939 Remove tests for FE_INVALID.
38940 * math/s_ccoshf.c: Likewise.
38941 * math/s_ccoshl.c: Likewise.
38942 * math/s_csin.c: Likewise.
38943 * math/s_csinf.c: Likewise.
38944 * math/s_csinh.c Likewise.
38945 * math/s_csinhf.c: Likewise.
38946 * math/s_csinhl.c: Likewise.
38947 * math/s_csinl.c: Likewise.
38948 * math/s_ctan.c: Likewise.
38949 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38950 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38951 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38952
8ec250a4
UD
389532011-10-21 Ulrich Drepper <drepper@gmail.com>
38954
c196fed8
UD
38955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38956 compilation problems.
38957
8ec250a4
UD
38958 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38959 __builtin_expect.
38960
8d4f46c6
UD
389612011-10-20 Ulrich Drepper <drepper@gmail.com>
38962
ed72b654
UD
38963 * sysdeps/i386/configure.in: Test for -mfma4 option.
38964 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38965 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38966 COMMON_CPUID_INDEX_80000001.
38967 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38968 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38969 use it if FMA3 is not supported.
38970 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38971
8d4f46c6
UD
38972 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38973 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38974
d45c60c2
AS
389752011-10-20 Andreas Schwab <schwab@redhat.com>
38976
38977 [BZ #12892]
38978 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38979 it would create a cycle with a link time dependency.
38980
d9a4d2ab
UD
389812011-10-19 Ulrich Drepper <drepper@gmail.com>
38982
855d1560
UD
38983 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38984 instruction.
38985 * string/Makefile (strop-tests): Add rawmemchr.
38986 * string/test-rawmemchr.c: New file.
38987
d9a4d2ab
UD
38988 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38990 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38991 when compiling str{,n}casecmp and when AVX is available. Hook up
38992 new optimized code in initializers.
38993
8f3b1ffe
AS
389942011-10-19 Andreas Schwab <schwab@redhat.com>
38995
38996 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38997 __feraiseexcept instead of feraiseexcept.
38998
d38f1dba
UD
389992011-10-18 Ulrich Drepper <drepper@gmail.com>
39000
d9a8d0ab
UD
39001 * math/math_private.h: Define defaults for libc_fetestexcept and
39002 libc_feupdateenv.
39003 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39004 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39005 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39006 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39007 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39008 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39009 libc_fetestexcept and libc_feupdateenv.
39010
4855e3dd
UD
39011 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39012 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39013 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39014 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39015 libc_feholdexcept_setround.
39016
581d30e3
UD
39017 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39018 Add s_nearbyint-c and s_nearbyintf-c.
39019 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39020 nearbyintf inlines.
39021 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39022 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39023 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39024 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39025
d38f1dba
UD
39026 * math/math_private.h: Define defaults for libc_fegetround,
39027 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39028 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39029 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39030 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39031 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39032 standard functions.
39033 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39034 Remove comments and hacks for old compiler versions.
39035 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39036 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39037 libc_feholdexceptl.
39038
caa6c9d8
AS
390392011-10-18 Andreas Schwab <schwab@redhat.com>
39040
39041 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39042 (__feraiseexcept_renamed): Add __NTH.
39043 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39044 namespace violations.
39045
97c066e6
UD
390462011-10-17 Ulrich Drepper <drepper@gmail.com>
39047
99ce7b04
UD
39048 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39049
1004d182
UD
39050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39051
228a984d
UD
39052 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39053 recently added interfaces.
39054 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39055
c8553a6a
UD
39056 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39057 about macro parameter expansion.
39058
ed22dcf6
UD
39059 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39060 __NO_MATH_INLINES is defined. Cleanups.
39061
39062 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39063 and __floorf is target has SSE4.1.
39064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39065 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39066 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39067 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39068
b171c137
UD
39069 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39070 name.
39071 (floorf): Likewise.
39072
97c066e6
UD
39073 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39074
629f62ef
AS
390752011-10-17 Andreas Schwab <schwab@redhat.com>
39076
49a43d80
AS
39077 * misc/sys/cdefs.h: Fix last change.
39078
629f62ef
AS
39079 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39080 database lookup.
39081
e453f6cd
UD
390822011-10-16 Ulrich Drepper <drepper@gmail.com>
39083
aa78043a
UD
39084 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39085
ad0f5cad
UD
39086 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39087 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39088 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39090 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39092 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39095 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39096 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39097 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39098 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39099 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39100 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39101 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39102 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39103 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39104 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39105 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39106 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39107 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39108
39109 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39110 ceil, ceilf, floor, floorf.
39111
39112 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39113 Perform IRELATIVE relocations last.
39114
e453f6cd
UD
39115 * elf/do-rel.h: Add another parameter nrelative, replacing the
39116 local variable with the same name. Change name of the function
39117 to end in Rel or Rela (uppercase).
39118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39119 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39120 elf_dynamic_do_##reloc function.
39121
fd5bdc09
UD
391222011-10-15 Ulrich Drepper <drepper@gmail.com>
39123
79b195b5
UD
39124 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39125 is sufficient, at least on modern CPUs.
39126
d4a28569
UD
39127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39128
b61099b5
UD
39129 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39130 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39131
bcf01e6d
UD
39132 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39133 __expl_finite.
39134 * math/bits/math-finite.h: Add entries for exp.
39135 * math/e_expl.c: Add __*_finite alias.
39136 * sysdeps/i386/fpu/e_exp.S: Likewise.
39137 * sysdeps/i386/fpu/e_expf.S: Likewise.
39138 * sysdeps/i386/fpu/e_expl.c: Likewise.
39139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39140 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39143 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39144 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39145 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39146
ba1a0d59
UD
39147 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39148 is sufficient, at least on modern CPUs.
39149
fd5bdc09
UD
39150 * ctype/ctype-info.c (__ctype_init): Define.
39151 * include/ctype.h (__ctype_init): Declare.
39152 (__ctype_b_loc): The variable is always initialized.
39153 (__ctype_toupper_loc): Likewise.
39154 (__ctype_tolower_loc): Likewise.
39155 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39156 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39157
7872cfb0
AS
391582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39159
b468825a
AS
39160 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39161
7872cfb0
AS
39162 * configure.in: Also look in $cxxmachine/include for C++ system
39163 headers.
39164
be13f7bf
LD
391652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39166
39167 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39168 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39169 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39170 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39171 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39172 (USE_AS_WMEMCMP): New macro.
39173 Fixing indents.
39174 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39175 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39176 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39177 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39179 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39180 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39181 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39182 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39183 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39184 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39185 (USE_AS_WMEMCMP): New macro.
39186 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39187 * sysdeps/string/test-memcmp.c: Update.
39188 Fix simple_wmemcmp.
39189 Add new tests.
39190 * wcsmbs/wmemcmp.c: Update.
39191 (WMEMCMP): New macro.
39192 Fix overflow bug.
39193
556a2007
AJ
391942011-10-12 Andreas Jaeger <aj@suse.de>
39195
39196 [BZ #13268]
39197 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39198
538faaa7
UD
391992011-10-15 Ulrich Drepper <drepper@gmail.com>
39200
ab6737ff
UD
39201 * libio/iofwide.c (do_length): Avoid warning.
39202
538faaa7
UD
39203 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39204
396a21b1
UD
392052011-10-14 Ulrich Drepper <drepper@gmail.com>
39206
cdf2901f
UD
39207 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39208
38ad40ce
UD
39209 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39210 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39211 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39212 * sysdeps/i386/i686/fpu/e_log.S: New file.
39213 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39214 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39215
396a21b1
UD
39216 * ctype/ctype.h: Add support for inlined isXXX functions when
39217 compiling C++ code.
39218
6b1f68c9
AS
392192011-10-14 Andreas Schwab <schwab@redhat.com>
39220
349290c0
AS
39221 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39222
6b1f68c9
AS
39223 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39224
f2282d42
RM
392252011-10-13 Roland McGrath <roland@hack.frob.com>
39226
39227 [BZ #13291]
39228 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39229
5298ffa8
AS
392302011-10-13 Andreas Schwab <schwab@redhat.com>
39231
714fad23
AS
39232 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39233 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39234 feraiseexcept.
39235
81dcc7fb
AS
39236 * sysdeps/x86_64/memrchr.S: Check for zero size.
39237
5298ffa8
AS
39238 * string/stratcliff.c: Add memrchr tests.
39239
951fbcec
LD
392402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39241
39242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39243 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39244 rawmemchr-sse2 rawmemchr-sse2-bsf.
39245 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39246 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39247 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39248 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39249 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39250 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39251 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39252 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39253 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39254 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39255 * string/memrchr.c (MEMRCHR): New macro.
39256
0ac5ae23
UD
392572011-10-12 Ulrich Drepper <drepper@gmail.com>
39258
39259 Add integration with gcc's -ffinite-math-only and optimize wrapper
39260 functions in libm.
39261 * Versions.def: Define GLIBC_2.15 version for libm.
39262 * math/Makefile (headers): Add bits/math-finite.h.
39263 * math/bits/math-finite.h: New file.
39264 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39265 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39266 * math/e_acoshl.c: Add __*_finite alias.
39267 * math/e_acosl.c: Likewise.
39268 * math/e_asinl.c: Likewise.
39269 * math/e_atan2l.c: Likewise.
39270 * math/e_atanhl.c: Likewise.
39271 * math/e_coshl.c: Likewise.
39272 * math/e_exp10.c: Likewise.
39273 * math/e_exp10f.c: Likewise.
39274 * math/e_exp10l.c: Likewise.
39275 * math/e_exp2l.c: Likewise.
39276 * math/e_fmodl.c: Likewise.
39277 * math/e_gammal_r.c: Likewise.
39278 * math/e_hypotl.c: Likewise.
39279 * math/e_j0l.c: Likewise.
39280 * math/e_j1l.c: Likewise.
39281 * math/e_jnl.c: Likewise.
39282 * math/e_lgammal_r.c: Likewise.
39283 * math/e_log10l.c: Likewise.
39284 * math/e_log2l.c: Likewise.
39285 * math/e_logl.c: Likewise.
39286 * math/e_powl.c: Likewise.
39287 * math/e_sinhl.c: Likewise.
39288 * math/e_sqrtl.c: Likewise.
39289 * math/e_scalb.c: Completely rewritten and optimized.
39290 * math/e_scalbf.c: Likewise.
39291 * math/e_scalbl.c: Likewise.
39292 * math/w_acos.c: Likewise.
39293 * math/w_acosf.c: Likewise.
39294 * math/w_acosl.c: Likewise.
39295 * math/w_acosh.c: Likewise.
39296 * math/w_acoshf.c: Likewise.
39297 * math/w_acoshl.c: Likewise.
39298 * math/w_asin.c: Likewise.
39299 * math/w_asinf.c: Likewise.
39300 * math/w_asinl.c: Likewise.
39301 * math/w_atan2.c: Likewise.
39302 * math/w_atan2f.c: Likewise.
39303 * math/w_atan2l.c: Likewise.
39304 * math/w_atanh.c: Likewise.
39305 * math/w_atanhf.c: Likewise.
39306 * math/w_atanhl.c: Likewise.
39307 * math/w_exp10.c: Likewise.
39308 * math/w_exp10f.c: Likewise.
39309 * math/w_exp10l.c: Likewise.
39310 * math/w_fmod.c: Likewise.
39311 * math/w_fmodf.c: Likewise.
39312 * math/w_fmodl.c: Likewise.
39313 * math/w_j0.c: Likewise.
39314 * math/w_j0f.c: Likewise.
39315 * math/w_j0l.c: Likewise.
39316 * math/w_j1.c: Likewise.
39317 * math/w_j1f.c: Likewise.
39318 * math/w_j1l.c: Likewise.
39319 * math/w_jn.c: Likewise.
39320 * math/w_jnf.c: Likewise.
39321 * math/w_log.c: Likewise.
39322 * math/w_logf.c: Likewise.
39323 * math/w_logl.c: Likewise.
39324 * math/w_log10.c: Likewise.
39325 * math/w_log10f.c: Likewise.
39326 * math/w_log10l.c: Likewise.
39327 * math/w_log2.c: Likewise.
39328 * math/w_log2f.c: Likewise.
39329 * math/w_log2l.c: Likewise.
39330 * math/w_pow.c: Likewise.
39331 * math/w_powf.c: Likewise.
39332 * math/w_powl.c: Likewise.
39333 * math/w_remainder.c: Likewise.
39334 * math/w_remainderf.c: Likewise.
39335 * math/w_remainderl.c: Likewise.
39336 * math/w_scalb.c: Likewise.
39337 * math/w_scalbf.c: Likewise.
39338 * math/w_scalbl.c: Likewise.
39339 * math/w_sqrt.c: Likewise.
39340 * math/w_sqrtf.c: Likewise.
39341 * math/w_sqrtl.c: Likewise.
39342 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39343 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39344 used.
39345 * math/math_private.h: Declare __kernel_standard_f.
39346 * math/w_cosh.c: Remove cruft and optimize a bit.
39347 * math/w_coshf.c: Likewise.
39348 * math/w_coshl.c: Likewise.
39349 * math/w_exp2.c: Likewise.
39350 * math/w_exp2f.c: Likewise.
39351 * math/w_exp2l.c: Likewise.
39352 * math/w_hypot.c: Likewise.
39353 * math/w_hypotf.c: Likewise.
39354 * math/w_hypotl.c: Likewise.
39355 * math/w_lgamma.c: Likewise.
39356 * math/w_lgamma_r.c: Likewise.
39357 * math/w_lgammaf.c: Likewise.
39358 * math/w_lgammaf_r.c: Likewise.
39359 * math/w_lgammal.c: Likewise.
39360 * math/w_lgammal_r.c: Likewise.
39361 * math/w_sinh.c: Likewise.
39362 * math/w_sinhf.c: Likewise.
39363 * math/w_sinhl.c: Likewise.
39364 * math/w_tgamma.c: Likewise.
39365 * math/w_tgammaf.c: Likewise.
39366 * math/w_tgammal.c: Likewise.
39367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39369 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39370 Minor optimizations. Pretty printing. Remove cruft.
39371 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39372 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39375 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39376 * sysdeps/i386/fpu/e_asin.S: Likewise.
39377 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39378 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39379 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39380 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39381 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39382 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39383 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39384 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39385 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39386 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39387 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39388 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39389 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39390 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39391 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39392 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39393 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39394 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39395 * sysdeps/i386/fpu/e_log.S: Likewise.
39396 * sysdeps/i386/fpu/e_log10.S: Likewise.
39397 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39398 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39399 * sysdeps/i386/fpu/e_log2.S: Likewise.
39400 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39402 * sysdeps/i386/fpu/e_logf.S: Likewise.
39403 * sysdeps/i386/fpu/e_logl.S: Likewise.
39404 * sysdeps/i386/fpu/e_pow.S: Likewise.
39405 * sysdeps/i386/fpu/e_powf.S: Likewise.
39406 * sysdeps/i386/fpu/e_powl.S: Likewise.
39407 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39408 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39409 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39411 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39412 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39413 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39414 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39415 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39416 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39437 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39438 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39439 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39440 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39442 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39443 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39444 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39445 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39446 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39450 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39451 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39452 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39453 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39454 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39455 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39456 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39457 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39458 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39502 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39507 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39508 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39509 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39510 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39511 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39512 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39513 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39514 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39515 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39516 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39517 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39518 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39519 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39520 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39521 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39522 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39524 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39525 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39526 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39527 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39528 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39529 (__isnanf): Likewise.
39530 (__isinf_ns): Likewise.
39531 (__isinf_nsf): Likewise.
39532 (__finite): Likewise.
39533 (__finitef): Likewise.
39534 (__ieee754_sqrt): Define as macro.
39535 (__ieee754_sqrtf): Define as macro.
39536 (__ieee754_sqrtl): Define as macro.
39537 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39538 inlined copy.
39539 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39540 __FINITE_MATH_ONLY__ consistent.
39541 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39542
12cc2fcd
AS
395432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39544
a843a204
AS
39545 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39546 of rawmemchr.
39547
12cc2fcd
AS
39548 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39549
c853acd5
UD
395502011-10-09 Ulrich Drepper <drepper@gmail.com>
39551
39552 * po/ja.po: Update from translation team.
39553
c658d255
RM
395542011-10-08 Roland McGrath <roland@hack.frob.com>
39555
110946e4
RM
39556 * locale/programs/locarchive.c (prepare_address_space): New function.
39557 (create_archive, enlarge_archive, open_archive): Use it.
39558
50604220
RM
39559 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39560 inside [SHARED], where it is used.
39561
c658d255
RM
39562 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39563
39564 * nss/getent.c (netgroup_keys): Remove unused variable.
39565 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39566
6a621eb7
UD
395672011-10-08 Ulrich Drepper <drepper@gmail.com>
39568
7edb55ce
UD
39569 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39570 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39572 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39573 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39574 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39575 * math/Makefile (libm-calls): Add s_isinf_ns.
39576 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39577 * math/multc3.c: Likewise.
39578 * math/s_casin.c: Likewise.
39579 * math/s_casinf.c: Likewise.
39580 * math/s_casinl.c: Likewise.
39581 * math/s_ccos.c: Likewise.
39582 * math/s_ccosf.c: Likewise.
39583 * math/s_ccosl.c: Likewise.
39584 * math/s_ctan.c: Likewise.
39585 * math/s_ctanf.c: Likewise.
39586 * math/s_ctanh.c: Likewise.
39587 * math/s_ctanhf.c: Likewise.
39588 * math/s_ctanhl.c: Likewise.
39589 * math/s_ctanl.c: Likewise.
39590 * math/w_fmod.c: Likewise.
39591 * math/w_fmodf.c: Likewise.
39592 * math/w_fmodl.c: Likewise.
39593 * math/w_remainder.c: Likewise.
39594 * math/w_remainderf.c: Likewise.
39595 * math/w_remainderl.c: Likewise.
39596 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39597 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39600 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39601 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39602 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39603 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39604
187da0ae
UD
39605 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39606 of the number.
39607 * stdio-common/printf_fphex.c: Likewise.
39608 * stdio-common/printf_size.c: Likewise.
39609
9277c064
UD
39610 * math/e_exp10.c: Include math_private.h using <...> not "...".
39611 * math/e_exp10f.c: Likewise.
39612 * math/e_exp10l.c: Likewise.
39613 * math/e_exp2l.c: Likewise.
39614 * math/e_j0l.c: Likewise.
39615 * math/e_j1l.c: Likewise.
39616 * math/e_jnl.c: Likewise.
39617 * math/e_lgammal_r.c: Likewise.
39618 * math/e_rem_pio2l.c: Likewise.
39619 * math/e_scalb.c: Likewise.
39620 * math/e_scalbf.c: Likewise.
39621 * math/e_scalbl.c: Likewise.
39622 * math/k_cosl.c: Likewise.
39623 * math/k_sinl.c: Likewise.
39624 * math/k_tanl.c: Likewise.
39625 * math/s_cacoshf.c: Likewise.
39626 * math/s_catan.c: Likewise.
39627 * math/s_catanf.c: Likewise.
39628 * math/s_catanh.c: Likewise.
39629 * math/s_catanhf.c: Likewise.
39630 * math/s_catanhl.c: Likewise.
39631 * math/s_catanl.c: Likewise.
39632 * math/s_ccosh.c: Likewise.
39633 * math/s_ccoshf.c: Likewise.
39634 * math/s_ccoshl.c: Likewise.
39635 * math/s_cexp.c: Likewise.
39636 * math/s_cexpf.c: Likewise.
39637 * math/s_cexpl.c: Likewise.
39638 * math/s_clog.c: Likewise.
39639 * math/s_clog10.c: Likewise.
39640 * math/s_clog10f.c: Likewise.
39641 * math/s_clog10l.c: Likewise.
39642 * math/s_clogf.c: Likewise.
39643 * math/s_clogl.c: Likewise.
39644 * math/s_csin.c: Likewise.
39645 * math/s_csinf.c: Likewise.
39646 * math/s_csinh.c: Likewise.
39647 * math/s_csinhf.c: Likewise.
39648 * math/s_csinhl.c: Likewise.
39649 * math/s_csinl.c: Likewise.
39650 * math/s_csqrt.c: Likewise.
39651 * math/s_csqrtf.c: Likewise.
39652 * math/s_csqrtl.c: Likewise.
39653 * math/s_ctan.c: Likewise.
39654 * math/s_ctanf.c: Likewise.
39655 * math/s_ctanh.c: Likewise.
39656 * math/s_ctanhf.c: Likewise.
39657 * math/s_ctanhl.c: Likewise.
39658 * math/s_ctanl.c: Likewise.
39659 * math/s_ldexp.c: Likewise.
39660 * math/s_ldexpf.c: Likewise.
39661 * math/s_ldexpl.c: Likewise.
39662 * math/s_significand.c: Likewise.
39663 * math/s_significandf.c: Likewise.
39664 * math/s_significandl.c: Likewise.
39665 * math/w_acos.c: Likewise.
39666 * math/w_acosf.c: Likewise.
39667 * math/w_acosh.c: Likewise.
39668 * math/w_acoshf.c: Likewise.
39669 * math/w_acoshl.c: Likewise.
39670 * math/w_acosl.c: Likewise.
39671 * math/w_asin.c: Likewise.
39672 * math/w_asinf.c: Likewise.
39673 * math/w_asinl.c: Likewise.
39674 * math/w_atan2.c: Likewise.
39675 * math/w_atan2f.c: Likewise.
39676 * math/w_atan2l.c: Likewise.
39677 * math/w_atanh.c: Likewise.
39678 * math/w_atanhf.c: Likewise.
39679 * math/w_atanhl.c: Likewise.
39680 * math/w_cosh.c: Likewise.
39681 * math/w_coshf.c: Likewise.
39682 * math/w_coshl.c: Likewise.
39683 * math/w_dremf.c: Likewise.
39684 * math/w_exp10.c: Likewise.
39685 * math/w_exp10f.c: Likewise.
39686 * math/w_exp10l.c: Likewise.
39687 * math/w_exp2.c: Likewise.
39688 * math/w_exp2f.c: Likewise.
39689 * math/w_fmod.c: Likewise.
39690 * math/w_fmodf.c: Likewise.
39691 * math/w_fmodl.c: Likewise.
39692 * math/w_hypot.c: Likewise.
39693 * math/w_hypotf.c: Likewise.
39694 * math/w_hypotl.c: Likewise.
39695 * math/w_j0.c: Likewise.
39696 * math/w_j0f.c: Likewise.
39697 * math/w_j0l.c: Likewise.
39698 * math/w_j1.c: Likewise.
39699 * math/w_j1f.c: Likewise.
39700 * math/w_j1l.c: Likewise.
39701 * math/w_jn.c: Likewise.
39702 * math/w_jnf.c: Likewise.
39703 * math/w_jnl.c: Likewise.
39704 * math/w_lgamma.c: Likewise.
39705 * math/w_lgamma_r.c: Likewise.
39706 * math/w_lgammaf.c: Likewise.
39707 * math/w_lgammaf_r.c: Likewise.
39708 * math/w_lgammal.c: Likewise.
39709 * math/w_lgammal_r.c: Likewise.
39710 * math/w_log.c: Likewise.
39711 * math/w_log10.c: Likewise.
39712 * math/w_log10f.c: Likewise.
39713 * math/w_log10l.c: Likewise.
39714 * math/w_log2.c: Likewise.
39715 * math/w_log2f.c: Likewise.
39716 * math/w_log2l.c: Likewise.
39717 * math/w_logf.c: Likewise.
39718 * math/w_logl.c: Likewise.
39719 * math/w_pow.c: Likewise.
39720 * math/w_powf.c: Likewise.
39721 * math/w_powl.c: Likewise.
39722 * math/w_remainder.c: Likewise.
39723 * math/w_remainderf.c: Likewise.
39724 * math/w_remainderl.c: Likewise.
39725 * math/w_scalb.c: Likewise.
39726 * math/w_scalbf.c: Likewise.
39727 * math/w_scalbl.c: Likewise.
39728 * math/w_sinh.c: Likewise.
39729 * math/w_sinhf.c: Likewise.
39730 * math/w_sinhl.c: Likewise.
39731 * math/w_sqrt.c: Likewise.
39732 * math/w_sqrtf.c: Likewise.
39733 * math/w_sqrtl.c: Likewise.
39734 * math/w_tgamma.c: Likewise.
39735 * math/w_tgammaf.c: Likewise.
39736 * math/w_tgammal.c: Likewise.
39737
6a621eb7
UD
39738 * po/ja.po: Update from translation team.
39739
bf582445
AJ
397402011-09-29 Andreas Jaeger <aj@suse.de>
39741
f9efbf3a
AJ
39742 [BZ #13179]
39743 * sunrpc/netname.c (netname2host): Fix logic.
39744
bf582445
AJ
39745 [BZ #6779]
39746 [BZ #6783]
39747 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39748 correctly.
39749 * math/w_remainder.c (__remainder): Likewise.
39750 * math/w_remainderf.c (__remainderf): Likewise.
39751 * math/libm-test.inc (remainder_test): Add test cases.
39752
48693bea
AK
397532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39754
39755 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39756 sdiv_qrnnd.
39757
42622229
LD
397582011-10-07 Ulrich Drepper <drepper@gmail.com>
39759
39760 * string/test-memcmp.c: Avoid unncessary #defines.
39761 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39762
093ecf92
LD
397632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39764
39765 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39766 Use new sse2 version for core i3 - i7 as it's faster
39767 than sse42 version.
39768 (bit_Prefer_PMINUB_for_stringop): New.
39769 * sysdeps/x86_64/rawmemchr.S: Update.
39770 Replace with faster SSE2 version.
39771 * sysdeps/x86_64/memrchr.S: New file.
39772 * sysdeps/x86_64/memchr.S: Update.
39773 Replace with faster SSE2 version.
39774
fde56e5c
MP
397752011-09-12 Marek Polacek <mpolacek@redhat.com>
39776
39777 * elf/dl-load.c (lose): Add cast to avoid warning.
39778
21fd49a9
UD
397792011-10-07 Ulrich Drepper <drepper@gmail.com>
39780
5a06e643
UD
39781 * po/ca.po: Update from translation team.
39782
684ae515
UD
39783 * inet/getnetgrent_r.c: Hook up nscd.
39784 * nscd/Makefile (routines): Add nscd_netgroup.
39785 (nscd-modules): Add netgroupcache.
39786 (CFLAGS-netgroupcache.c): Define.
39787 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39788 (cache_search): Add const to second parameter.
39789 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39790 INNETGR.
39791 (dbs): Add netgrdb entry.
39792 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39793 (verify_persistent_db): Handle netgrdb.
39794 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39795 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39796 GETFDNETGR.
39797 (netgroup_response_header): Define.
39798 (innetgroup_response_header): Define.
39799 (datahead): Add netgroup_response_header and innetgroup_response_header
39800 elements.
39801 * nscd/nscd.conf: Add entries for netgroup cache.
39802 * nscd/nscd.h (dbtype): Add netgrdb.
39803 (_PATH_NSCD_NETGROUP_DB): Define.
39804 (netgroup_iov_disabled): Declare.
39805 (xmalloc, xcalloc, xrealloc): Move declarations here.
39806 (cache_search): Adjust prototype.
39807 Add netgroup-related prototypes.
39808 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39809 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39810 (__nscd_innetgr): Declare.
39811 * nscd/selinux.c (perms): Use access_vector_t as element type and
39812 add netgroup-related initializers.
39813 * nscd/netgroupcache.c: New file.
39814 * nscd/nscd_netgroup.c: New file.
39815 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39816 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39817 For four parameters use innetgr.
39818 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39819 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39820 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39821 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39822
21fd49a9
UD
39823 * nscd/connections.c (register_traced_file): Don't register file
39824 for disabled databases.
39825
054c0457
UD
398262011-10-06 Ulrich Drepper <drepper@gmail.com>
39827
32b63198
UD
39828 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39829
054c0457
UD
39830 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39831 from tree and freeing node.
39832
64031225
JO
398332011-09-25 Jiri Olsa <jolsa@redhat.com>
39834
39835 * nss/nsswitch.c (__nss_database_lookup): Handle
39836 nss_parse_service_list out of memory case.
39837
0490345c
JO
398382011-09-15 Jiri Olsa <jolsa@redhat.com>
39839
39840 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39841 out of memory case.
39842
3a62d00d
AS
398432011-10-04 Andreas Schwab <schwab@redhat.com>
39844
39845 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39846 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39847 pass it down.
39848 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39849 elf_machine_rela, elf_machine_lazy_rel.
39850 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39851 (ELF_DYNAMIC_DO_REL): Likewise.
39852 (ELF_DYNAMIC_DO_RELA): Likewise.
39853 (ELF_DYNAMIC_RELOCATE): Likewise.
39854 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39855 to ELF_DYNAMIC_DO_REL.
39856 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39857 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39858 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39859 elf_machine_rela.
39860 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39861 skip_ifunc, don't call ifunc function if non-zero.
39862 (elf_machine_rela): Likewise.
39863 (elf_machine_lazy_rel): Likewise.
39864 (elf_machine_lazy_rela): Likewise.
39865 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39866 (elf_machine_lazy_rel): Likewise.
39867 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39868 Likewise.
39869 (elf_machine_lazy_rel): Likewise.
39870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39871 Likewise.
39872 (elf_machine_lazy_rel): Likewise.
39873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39874 (elf_machine_lazy_rel): Likewise.
39875 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39876 (elf_machine_lazy_rel): Likewise.
39877 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39878 (elf_machine_lazy_rel): Likewise.
39879 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39880 (elf_machine_lazy_rel): Likewise.
39881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39882 (elf_machine_lazy_rel): Likewise.
39883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39884 (elf_machine_lazy_rel): Likewise.
39885
68577918
UD
398862011-09-28 Ulrich Drepper <drepper@gmail.com>
39887
39888 * nss/nss_files/files-init.c (_nss_files_init): Use static
39889 initialization for all the *_traced_file variables.
39890
68822d74
AS
398912011-09-28 Andreas Schwab <schwab@redhat.com>
39892
39893 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39894
2056100b
RM
398952011-09-27 Roland McGrath <roland@hack.frob.com>
39896
39897 [BZ #13226]
39898 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39899
32c76b63
AS
399002011-09-27 Andreas Schwab <schwab@redhat.com>
39901
39902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39903 Reread the line before reparsing it.
39904
bf972c9d
AS
399052011-09-26 Andreas Schwab <schwab@redhat.com>
39906
39907 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39908
e057a1b5
JM
399092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39910 Maxim Kuvyrkov <maxim@codesourcery.com>
39911 Joseph Myers <joseph@codesourcery.com>
39912
39913 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39914 if needed for __stack_chk_guard.
39915
bc7e1c36
RM
399162011-09-19 Roland McGrath <roland@hack.frob.com>
39917
ecb1482f
RM
39918 * sysdeps/posix/spawni.c (script_execute): Always define it.
39919 It will be optimized away if unused.
39920 (maybe_script_execute): New function.
39921 (__spawni): Call it.
39922
bc7e1c36
RM
39923 * Makerules: Don't include tls.make.
39924 (config-tls): Always set to thread.
39925 * tls.make.c: File removed.
39926
1c3b002b
MF
399272011-09-19 Mike Frysinger <vapier@gentoo.org>
39928
39929 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39930 * config.make.in (CPPFLAGS-config): New substituted variable.
39931
2840865d
UD
399322011-09-15 Ulrich Drepper <drepper@gmail.com>
39933
88738eb6
UD
39934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39935
cbf645a6 39936 [BZ #13192]
2840865d
UD
39937 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39938 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39939
b402e91a
RM
399402011-09-15 Roland McGrath <roland@hack.frob.com>
39941
39942 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39943 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39944 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39945 (CALL_FAIL): Likewise.
39946 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39947 (CALL_FAIL): Macro removed.
39948 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39949
4c1a1f71
UD
399502011-09-15 Ulrich Drepper <drepper@gmail.com>
39951
39952 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39953 for __FINITE_MATH_ONLY__ == 1.
39954
edc121be
AS
399552011-09-15 Andreas Schwab <schwab@redhat.com>
39956
39957 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39958 __ieee754_sqrt instead of sqrt.
39959 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39960 __ieee754_sqrtf instead of sqrtf.
39961 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39962 __floorf instead of floorf.
39963 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39964 __floorf, __truncf instead of floorf, truncf.
39965
cd205654
UD
399662011-09-14 Ulrich Drepper <drepper@gmail.com>
39967
ee4d0315
UD
39968 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39969
cd205654
UD
39970 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39971 __extern_always_inline.
39972 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39973 32-bit.
39974
48b67d71
AS
399752011-09-14 Andreas Schwab <schwab@redhat.com>
39976
39977 * elf/rtld.c (dl_main): Also relocate in dependency order when
39978 doing symbol dependency testing.
39979
1ae12c75
AS
399802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39981
39982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39983 Always define `refsym'.
39984
995a80df
AS
399852011-09-13 Andreas Schwab <schwab@redhat.com>
39986
e529793b
AS
39987 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39988 (__FD_ELT): Renamed from __FDELT.
39989 * misc/bits/select2.h (__FD_ELT): Likewise.
39990 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39991 __FD_MASK instead of __FDELT, __FDMASK.
39992 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39993 Likewise.
39994 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39995 Likewise.
39996
52d4fef8
AS
39997 * elf/Makefile (gen-ldd): Fix pattern.
39998
995a80df
AS
39999 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40000 (init_tls): Likewise.
40001
8682f8b0
UD
400022011-09-12 Ulrich Drepper <drepper@gmail.com>
40003
40004 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40005
de82006d
AS
400062011-09-12 Andreas Schwab <schwab@redhat.com>
40007
a7c8e6a1
AS
40008 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40009 `struct cmsghdr *' instead of `void *'.
40010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40011 Likewise.
40012
0f31fe77
AS
400132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40014
40015 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40016 if non-absolute.
40017 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40018 ldd_rewrite_script.
0f31fe77 40019
32b4c839
UD
400202011-09-11 Ulrich Drepper <drepper@gmail.com>
40021
83cd1420
UD
40022 * configure.in: Remove --with-tls option.
40023 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40024 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40025 out in case it is missing.
40026 * sysdeps/ia64/elf/configure.in: Likewise.
40027 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40028 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40029 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40030 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40031 * sysdeps/sh/elf/configure.in: Likewise.
40032 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40033 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40034 * sysdeps/x86_64/elf/configure.in: Likewise.
40035 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40036 * sysdeps/mach/hurd/tls.h: Likewise.
40037
633f745d
UD
40038 [BZ #13067]
40039 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40040
f318beb8
UD
40041 [BZ #13090]
40042 * configure.in: Fix use of AC_INIT.
40043
32b4c839
UD
40044 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40045
3ce1f295
UD
400462011-09-10 Ulrich Drepper <drepper@gmail.com>
40047
bb016596
UD
40048 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40049 __set_errno.
8e58439c
UD
40050 * malloc/hooks.c: Likewise.
40051
aebae053 40052 [BZ #11929]
02d46fc4
UD
40053 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40054 variables statically.
40055 (narenas): Initialize.
40056 (list_lock): Initialize.
bb016596
UD
40057 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40058 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40059 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40060 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40061 Add initializers to main_arena and mp_.
40062 (malloc_state): Remove pagesize member. Change all users to use
40063 GLRO(dl_pagesize).
40064
40065 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40066 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40067 is always initialized.
40068
22a89187
UD
40069 * malloc/malloc.c: Removed unused configurations and dead code.
40070 * malloc/arena.c: Likewise.
40071 * malloc/hooks.c: Likewise.
02d46fc4 40072 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40073
d063d164
UD
40074 * include/tls.h: Removed. USE___THREAD must always be defined.
40075 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40076 * elf/dl-libc.c: Likewise.
40077 * elf/dl-tsd.c: Likewise.
40078 * include/errno.h: Likewise.
40079 * include/netdb.h: Likewise.
40080 * include/resolv.h: Likewise.
40081 * inet/herrno-loc.c: Likewise.
40082 * inet/herrno.c: Likewise.
40083 * malloc/arena.c: Likewise.
40084 * malloc/hooks.c: Likewise.
40085 * malloc/malloc.c: Likewise.
40086 * resolv/res-state.c: Likewise.
40087 * resolv/res_libc.c: Likewise.
40088 * sysdeps/i386/dl-machine.h: Likewise.
40089 * sysdeps/ia64/dl-machine.h: Likewise.
40090 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40091 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40092 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40093 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40094 * sysdeps/sh/dl-machine.h: Likewise.
40095 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40096 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40097 * sysdeps/unix/i386/sysdep.S: Likewise.
40098 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40099 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40108 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40109 * sysdeps/x86_64/dl-machine.h: Likewise.
40110 * tls.make.c: Likewise.
40111
3ce1f295
UD
40112 * configure.in: Remove --with-__thread option. Make tests for
40113 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40114 tls_model attribute fail if no support is available. Remove
40115 USE_IN_LIBIO.
40116 * Makeconfig: Adjust for dropped configure option. All features are
40117 now mandatory.
40118 * Makerules: Likewise.
40119 * Versions.def: Likewise.
40120 * argp/argp-fmtstream.c: Likewise.
40121 * argp/argp-fmtstream.h: Likewise.
40122 * argp/argp-help.c: Likewise.
40123 * assert/assert.c: Likewise.
40124 * config.h.in: Likewise.
40125 * config.make.in: Likewise.
40126 * configure: Likewise.
40127 * configure.in: Likewise.
40128 * csu/Versions: Likewise.
40129 * csu/init.c: Likewise.
40130 * elf/tst-audit2.c: Likewise.
40131 * elf/tst-tls10.c: Likewise.
40132 * elf/tst-tls10.h: Likewise.
40133 * elf/tst-tls11.c: Likewise.
40134 * elf/tst-tls12.c: Likewise.
40135 * elf/tst-tls14.c: Likewise.
40136 * elf/tst-tlsmod11.c: Likewise.
40137 * elf/tst-tlsmod12.c: Likewise.
40138 * elf/tst-tlsmod13.c: Likewise.
40139 * elf/tst-tlsmod13a.c: Likewise.
40140 * elf/tst-tlsmod14a.c: Likewise.
40141 * elf/tst-tlsmod15b.c: Likewise.
40142 * elf/tst-tlsmod16a.c: Likewise.
40143 * elf/tst-tlsmod16b.c: Likewise.
40144 * elf/tst-tlsmod7.c: Likewise.
40145 * elf/tst-tlsmod8.c: Likewise.
40146 * elf/tst-tlsmod9.c: Likewise.
40147 * gmon/gmon.c: Likewise.
40148 * grp/fgetgrent_r.c: Likewise.
40149 * grp/putgrent.c: Likewise.
40150 * hurd/fopenport.c: Likewise.
40151 * include/libc-symbols.h: Likewise.
40152 * include/tls.h: Likewise.
40153 * intl/gettextP.h: Likewise.
40154 * intl/loadinfo.h: Likewise.
40155 * locale/global-locale.c: Likewise.
40156 * locale/localeinfo.h: Likewise.
40157 * mach/devstream.c: Likewise.
40158 * malloc/arena.c: Likewise.
40159 * malloc/set-freeres.c: Likewise.
40160 * misc/err.c: Likewise.
40161 * misc/getttyent.c: Likewise.
40162 * misc/mntent_r.c: Likewise.
40163 * posix/getopt.c: Likewise.
40164 * posix/wordexp.c: Likewise.
40165 * pwd/fgetpwent_r.c: Likewise.
40166 * resolv/Versions: Likewise.
40167 * resolv/res_hconf.c: Likewise.
40168 * shadow/fgetspent_r.c: Likewise.
40169 * shadow/putspent.c: Likewise.
40170 * stdio-common/printf_fphex.c: Likewise.
40171 * stdio-common/tmpfile.c: Likewise.
40172 * stdlib/abort.c: Likewise.
40173 * stdlib/fmtmsg.c: Likewise.
40174 * sunrpc/auth_unix.c: Likewise.
40175 * sunrpc/clnt_perr.c: Likewise.
40176 * sunrpc/clnt_tcp.c: Likewise.
40177 * sunrpc/clnt_udp.c: Likewise.
40178 * sunrpc/clnt_unix.c: Likewise.
40179 * sunrpc/openchild.c: Likewise.
40180 * sunrpc/svc_simple.c: Likewise.
40181 * sunrpc/svc_tcp.c: Likewise.
40182 * sunrpc/svc_udp.c: Likewise.
40183 * sunrpc/svc_unix.c: Likewise.
40184 * sunrpc/xdr.c: Likewise.
40185 * sunrpc/xdr_array.c: Likewise.
40186 * sunrpc/xdr_rec.c: Likewise.
40187 * sunrpc/xdr_ref.c: Likewise.
40188 * sunrpc/xdr_stdio.c: Likewise.
40189
1248c1c4
PB
401902011-09-09 Ulrich Drepper <drepper@gmail.com>
40191
40192 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40193
401942011-07-03 Andreas Jaeger <aj@suse.de>
40195
40196 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40197 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40198 regenerate with gen-libm-tests.pl.
40199
402002010-05-12 Petr Baudis <pasky@suse.cz>
40201
40202 [BZ #11589]
40203 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40204 around j0() zero points by switching to j1().
40205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40209
f22e1074
UD
402102011-09-09 Ulrich Drepper <drepper@gmail.com>
40211
f19009c1
UD
40212 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40213 instead of 0.
40214 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40215 instead of 0.
f19009c1
UD
40216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40217 Patch in part by Pavel Roskin <proski@gnu.org>.
40218
3f8cc204
UD
40219 [BZ #13138]
40220 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40221 realloc.
40222 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40223 Free memory block if necessary.
40224
f22e1074
UD
40225 [BZ #12847]
40226 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40227 be NULL. Don't lock in this case.
40228
0a2349f9
RM
402292011-09-09 Roland McGrath <roland@hack.frob.com>
40230
40231 * elf/elf.h (ELFOSABI_GNU): New macro.
40232 (ELFOSABI_LINUX): Define to that.
40233
f3cdd467
DZ
402342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40235
40236 * string/strncat.c (strncat): Undef the symbol in case it has been
40237 defined in bits/string.h.
40238
74718d13
UD
402392011-09-09 Ulrich Drepper <drepper@gmail.com>
40240
633e9e0f
UD
40241 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40242
0a2349f9 40243 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40244 link map.
40245
f9924780
AJ
402462011-08-17 Andreas Jaeger <aj@suse.de>
40247
40248 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40249
7f5517aa
PP
402502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40251 Ian Lance Taylor <iant@google.com>
40252
40253 * math/libm-test.inc (lround_test): New testcase.
40254 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40255
762011fe
UD
402562011-09-08 Ulrich Drepper <drepper@gmail.com>
40257
92963737
UD
40258 * Makefile: Remove support for automatic cvs check-ins.
40259 * Makerules: Likewise.
40260 * config.make.in: Likewise.
40261 * configure.in: Likewise.
40262 * intl/Makefile: Likewise.
40263 * locale/Makefile: Likewise.
40264 * po/Makefile: Likewise.
40265 * posix/Makefile: Likewise.
40266 * sysdeps/gnu/Makefile: Likewise.
40267 * sysdeps/mach/hurd/Makefile: Likewise.
40268 * sysdeps/sparc/sparc32/Makefile: Likewise.
40269
b0727fd8
JS
40270 [BZ #13118]
40271 * posix/Makefile (bug-regex32-ENV): Define.
40272 Patch by John Stanley <jpsinthemix@verizon.net>.
40273
a0f33f99
UD
40274 * misc/Makefile (headers): Add bits/select2.h.
40275 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40276 * misc/bits/select2.h: New file.
40277 * include/bits/select2.h: New file.
40278 * debug/Makefile (routines): Add fdelt_chk.
40279 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40280 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40281 FD_ISSET.
40282 * debug/fdelt_chk.c: New file.
40283
762011fe
UD
40284 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40285 * wcsmbs/test-wmemcmp.c: Likewise.
40286 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40287 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40288
402892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40290
40291 * string/Makefile (strop-tests): Add memcmp.
40292 * string/test-wmemcmp.c: New file.
40293 * string/test-memcmp.c: Add wmemcmp support.
40294
7f513ec8
RM
402952011-09-08 Roland McGrath <roland@hack.frob.com>
40296
0442afb4
RM
40297 [BZ #13153]
40298 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40299 2011-07-19 change.
40300
7f513ec8
RM
40301 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40302 garbage value in a __mach_port_mod_refs call in the cases of the
40303 task-self and thread-self ports.
40304
a12b2239
ST
403052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40306
40307 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40308
610f9ab4
AS
403092011-09-08 Andreas Schwab <schwab@redhat.com>
40310
7f513ec8 40311 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40312
48882a1a
LD
403132011-09-07 Ulrich Drepper <drepper@gmail.com>
40314
b49865be
UD
40315 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40316
fdc86bc9
UD
40317 * elf/dl-libc.c (dlerror_run): Pass back error code from
40318 dl_catch_error.
40319
c966526a
UD
40320 [BZ #13123]
40321 * elf/dl-load.c (lose): Free l_origin if it is valid.
40322
48882a1a
LD
40323 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40324 names.
40325 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40326 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40327 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40328 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40329 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40330 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40331
77a2a8b4
AZ
403322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40333
40334 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40335 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40336 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40337 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40338 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40339 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40340 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40341 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40342 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40343 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40344
24f579d8
AM
403452011-08-15 Alan Modra <amodra@gmail.com>
40346
40347 [BZ #13092]
40348 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40349 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40350 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40351 ppc_mcount to static-only-routines.
40352 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40353 __mcount_internal.
40354 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40355 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40356
3d4837df
UD
403572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40358
40359 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40360 for finite and infinity parameters.
40361
22700377
WS
403622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40363
40364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40365 and add nop instructions for throughput optimization.
40366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40367
5025581e
WS
403682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40369
40370 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40371 aligned copy for power7 with vector-scalar instructions.
40372 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40373
08a300c9
L
403742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40375
40376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40377 AVX check.
40378
59178ef9
AS
403792011-09-07 Andreas Schwab <schwab@redhat.com>
40380
40381 [BZ #13144]
40382 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40383 last change.
40384
e38ba7ab
UD
403852011-09-07 Ulrich Drepper <drepper@gmail.com>
40386
40387 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40388 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40389 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40390 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40391 clock_gettime.
40392
d53a73ac
UD
403932011-09-06 Ulrich Drepper <drepper@gmail.com>
40394
fc8bffcc
UD
40395 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40396 Forgot to demangle the pointer.
40397
ceaa0c5d
UD
40398 * sysdeps/i386/sysdep.h: Define atom_text_section.
40399 * sysdeps/x86_64/sysdep.h: Likewise.
40400 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40401 section with atom_text_section.
40402 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40403 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40404 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40406 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40407
a77d3c17
UD
40408 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40409 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40410 already be defined. Change to take two parameters and don't assign
40411 result to variable. Adjust all users.
40412 Define INTERNAL_GETTIME if not already defined.
40413 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40414 call.
40415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40416 HAVE_CLOCK_GETTIME_VSYSCALL.
40417 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40418
d53a73ac
UD
40419 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40420 gettimeofday vsyscall, just use time.
40421
a8f84144
AS
404222011-09-06 Andreas Schwab <schwab@redhat.com>
40423
40424 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40425 <errno.h>.
40426
ef606249
UD
404272011-09-06 Ulrich Drepper <drepper@gmail.com>
40428
40429 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40430 syscall on x86-64.
40431 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40432 syscall.
40433 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40434 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40435 syscall if possible.
40436
6585cb60
UD
404372011-09-05 Ulrich Drepper <drepper@gmail.com>
40438
40439 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40440 e_ident. Don't pass to find_mapsXX.
40441 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40442
a5f524e4
LD
404432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40444
40445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40446 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40447 * sysdeps/x86_64/multiarch/strchr.S: Update.
40448 Check bit_slow_BSF bit.
40449 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40450 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40451 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40452
554881ef
UD
404532011-09-05 Ulrich Drepper <drepper@gmail.com>
40454
d96de963
UD
40455 [BZ #13134]
40456 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40457 before glibc 2.15.
40458 (tryshell): Define.
40459 (__spawni): Change last parameter to be flag. Test
40460 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40461 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40462 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40463 * posix/spawni.c: Likewise.
40464 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40465 * posix/spawnp.c: Likewise. Change normal version to use
40466 SPAWN_XFLAGS_USE_PATH.
40467 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40468 SPAWN_XFLAGS_TRY_SHELL.
40469
d48e5868
UD
40470 [BZ #13150]
40471 * posix/glob.h: Remove gcc 1.x support.
40472
554881ef
UD
40473 [BZ #13068]
40474 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40475
693fb948
LD
404762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40477
40478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40479 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40480 strrchr-sse2-bsf
40481 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40482 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40483 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40484 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40485 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40486 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40487
1b48c537
UD
404882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40489
49d42c37
UD
40490 * sysdeps/x86_64/wcscmp.S: New file.
40491
1b48c537
UD
40492 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40493 wcscmp-c wcscmp-sse2
40494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40495 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40496 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40497 * wcsmbs/wcscmp.c: Allow renaming.
40498
15c95c5d
DM
404992011-09-05 David S. Miller <davem@davemloft.net>
40500
40501 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40502 stack slot, rather than the struct return pointer slot.
40503 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40504 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40506 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40507
2f0ad8f3
UD
405082011-09-05 Ulrich Drepper <drepper@gmail.com>
40509
d88ae418
UD
40510 * po/ja.po: Update from translation team.
40511
2f0ad8f3
UD
40512 [BZ #13144]
40513 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40514 kernel in 64-bit binaries.
40515
5f4318d1
DM
405162011-09-01 David S. Miller <davem@davemloft.net>
40517
40518 * elf/elf.h (HWCAP_SPARC_*): Move to..
40519 * sysdeps/sparc/sysdep.h: this new file and add new values.
40520 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40521 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40522 _DL_HWCAP_COUNT to 24.
40523 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40524 entries.
40525 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40526 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40527 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40529 instead of magic constants.
40530 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40531
3ba57516
DM
405322011-08-31 David S. Miller <davem@davemloft.net>
40533
40534 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40535 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40536 Reimplement to do errno handling inline.
40537 (SYSCALL_ERROR_HANDLER): New macro.
40538 (__SYSCALL_STRING): Do not do errno handling in asm.
40539 (__CLONE_SYSCALL_STRING): Delete.
40540 (__INTERNAL_SYSCALL_STRING): Delete.
40541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40542 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40543 (PSEUDO): Reimplement to do errno handling inline.
40544 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40545 (SYSCALL_ERROR_HANDLER): New macro.
40546 (__SYSCALL_STRING): Do not do errno handling in asm.
40547 (__CLONE_SYSCALL_STRING): Delete.
40548 (__INTERNAL_SYSCALL_STRING): Delete.
40549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40550 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40551 i386.
40552 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40553 (inline_syscall*): Add 'err' argument.
40554 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40555 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40556 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40557 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40558
40559 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40560 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40561
2bc17433
AS
405622011-08-30 Andreas Schwab <schwab@redhat.com>
40563
40564 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40565
fbeb5f4d
JO
405662011-08-29 Jiri Olsa <jolsa@redhat.com>
40567
40568 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40569 directive.
40570
ad69cc26
DM
405712011-08-24 David S. Miller <davem@davemloft.net>
40572
40573 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40574
39dd69df
AS
405752011-08-24 Andreas Schwab <schwab@redhat.com>
40576
40577 * elf/Makefile: Add rules to build and run unload8 test.
40578 * elf/unload8.c: New file.
40579 * elf/unload8mod1.c: New file.
40580 * elf/unload8mod1x.c: New file.
40581 * elf/unload8mod2.c: New file.
40582 * elf/unload8mod3.c: New file.
40583
40584 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40585 it wasn't used.
40586
2c0b250a
DM
405872011-08-23 David S. Miller <davem@davemloft.net>
40588
40589 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40590 subtract stack bias.
40591 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40592 %sp not %fp in calculations.
40593 (_JMPBUF_UNWINDS_ADJ): Likewise.
40594
22044b48
DM
40595 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40596 (aio_suspend): Call it to force an exception region around the
40597 AIO_MISC_WAIT() invocation.
40598
2cae4995
AS
405992011-08-23 Andreas Schwab <schwab@redhat.com>
40600
40601 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40602 backslash.
40603
873a772e
AJ
406042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40605
40606 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40607 protection macro.
40608 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40609 and <dl-machine.h>.
40610 (Elf64_FuncDesc): Remove.
40611
25ad0df1
DM
406122011-08-22 David S. Miller <davem@davemloft.net>
40613
40614 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40615 sigaltstack check, add missing cfi directives.
40616 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40617 missing cfi directives, and sigaltstack handling.
40618
e888bcbe
AS
406192011-08-16 Andreas Schwab <schwab@redhat.com>
40620
40621 [BZ #11724]
40622 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40623 object is seen twice.
40624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40625
40626 * elf/Makefile (distribute): Add tst-initorder2.c.
40627 (tests): Add tst-initorder2.
40628 (modules-names): Add tst-initorder2a tst-initorder2b
40629 tst-initorder2c tst-initorder2d. Add rules to build them.
40630 ($(objpfx)tst-initorder2.out): New rule.
40631 * elf/tst-initorder2.c: New file.
40632 * elf/tst-initorder2.exp: New file.
40633
87162f46
AS
406342011-08-22 Andreas Schwab <schwab@redhat.com>
40635
70538b7f
AS
40636 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40637
f55ffe58
AS
40638 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40639 dependencies back to end of function.
40640
87162f46
AS
40641 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40642 $(elfobjdir)/ld.so.
40643
91b392a4
UD
406442011-08-21 Ulrich Drepper <drepper@gmail.com>
40645
40646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40647 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40648 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40649 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40650 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40651 of __vdso_gettimeofday.
40652 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40653 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40654 attribute_hidden.
40655 (_libc_vdso_platform_setup): Remove initialization of
40656 __vdso_gettimeofday and __vdso_time.
40657
5c43483f
UD
406582011-08-20 Ulrich Drepper <drepper@gmail.com>
40659
775a77e7
UD
40660 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40661 and fgetc_unlocked.
40662 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40663 getc_unlocked.
89f447ed 40664
49c74ba9
UD
40665 * elf/dl-open.c (add_to_global): Report additions to the global scope
40666 for LD_DEBUG=scopes.
40667 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40668 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40669
5c43483f
UD
40670 [BZ #13114]
40671 * stdio-common/Makefile (tests): Add bug24.
40672 * stdio-common/bug24.c: New file.
40673
a101b025
AJ
406742011-08-19 Andreas Jaeger <aj@suse.de>
40675
40676 [BZ #13114]
40677 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40678 non-existant file when using close-on-exec mode.
40679
c88f1766
UD
406802011-08-20 Ulrich Drepper <drepper@gmail.com>
40681
0276a718
UD
40682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40683 the very first instruction.
40684
c88f1766
UD
40685 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40686 the CFI state in the end.
40687 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40688 inclusion of dl-trampoline.h.
40689 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40690
51ccffa0
AS
406912011-08-19 Andreas Schwab <schwab@redhat.com>
40692
94d7165f
AS
40693 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40694 expectations for long double.
40695
51ccffa0
AS
40696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40697 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40698
fd708658 406992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40700
40701 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40702 artificual limit depends upon the system page size.
40703
44f0a71e
UD
407042011-08-17 Ulrich Drepper <drepper@gmail.com>
40705
40706 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40707 * resolv/Makefile: Define CFLAGS-libresolv.
40708
8de79a24
AS
407092011-08-17 Andreas Schwab <schwab@redhat.com>
40710
40711 * nss/makedb.c (compute_tables): Make variables used in nested
40712 function static.
40713
27724598
UD
407142011-08-17 Ulrich Drepper <drepper@gmail.com>
40715
c5305d88
UD
40716 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40717 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40718 if buffer was too small.
40719
27724598
UD
40720 * elf/pldd.c (main): Attach to all threads in the process.
40721 Rewrite /proc handling to use *at functions.
40722
076fe015
UD
407232011-08-16 Ulrich Drepper <drepper@gmail.com>
40724
174baab3
UD
40725 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40726 specifies first scope to show.
40727 (dl_open_worker): Update callers. Move printing scope of new
40728 object to before the relocation.
44f0a71e 40729 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40730 * sysdeps/generic/ldsodefs.h: Update declaration.
40731
076fe015
UD
40732 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40733 string for the scope number.
40734
a60df2c3
UD
407352011-08-14 Ulrich Drepper <drepper@gmail.com>
40736
40737 * nscd/servicescache.c (cache_addserv): Make sure written is always
40738 initialized.
40739
5e4287d1
RM
407402011-08-14 Roland McGrath <roland@hack.frob.com>
40741
85ae0589
RM
40742 * sysdeps/i386/i486/bits/atomic.h
40743 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40744 statement expression, so as to suppress "set but not used" warning.
40745 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40746
69f63097
RM
40747 * string/strncat.c (STRNCAT): Use prototype definition.
40748
675456ef
RM
40749 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40750 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40751 -Iprograms here.
40752 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40753 (localedef-modules): Add localedef.
40754 (locale-modules): Add locale.
40755
5e4287d1
RM
40756 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40757 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40758 to avoid a warning.
40759
9c96ff23
DM
407602011-08-14 David S. Miller <davem@davemloft.net>
40761
40762 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40763 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40764
f9ddf089
UD
407652011-08-13 Ulrich Drepper <drepper@gmail.com>
40766
44f0a71e 40767 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40768 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40769 * elf/rtld.c (dl_main): Set l_name of vDSO.
40770 Call _dl_show_scope when DL_DEBUG_SCOPES.
40771 (process_dl_debug): Recognize scopes flag and also set it for all.
40772 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40773 Declare _dl_show_scope.
40774
1dc27704
UD
40775 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40776 (do_dlopen): Pass caller_dlopen to dl_open.
40777 (__libc_dlopen_mode): Initialize caller_dlopen.
40778
f9ddf089
UD
40779 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40780 of libc. Make tolower call locale-independent. Optimize a bit by
40781 using isdigit instead of isalnum.
40782 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40783
9ac533d3
UD
407842011-08-12 Ulrich Drepper <drepper@gmail.com>
40785
40786 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40787 was a dependency or dynamically loaded.
40788
89edf2e9
UD
407892011-08-11 Ulrich Drepper <drepper@gmail.com>
40790
8e999d29
UD
40791 * intl/l10nflist.c: Allow architecture-specific pop function.
40792 * sysdeps/x86_64/l10nflist.c: New file.
40793
89edf2e9
UD
40794 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40795 classification.
40796
14d96785
AS
407972011-08-10 Andreas Schwab <schwab@redhat.com>
40798
40799 * include/dirent.h: Add libc_hidden_proto for scandirat and
40800 scandirat64. Don't declare __scandirat64.
40801 * dirent/scandirat.c: Add libc_hidden_def.
40802 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40803 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40804
6761ac04
DM
408052011-08-10 David S. Miller <davem@davemloft.net>
40806
40807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40808 enum.
40809 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40810 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40811 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40812
c55fbd1e
UD
408132011-08-09 Ulrich Drepper <drepper@gmail.com>
40814
40815 * Versions.def [libc]: Add GLIBC_2.15.
40816 * dirent/Makefile (routines): Add scandirat and scandirat64.
40817 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40818 GLIBC_2.15.
40819 * dirent/dirent.h: Declare scandirat and scandirat64.
40820 * dirent/scandirat.c: New file.
40821 * dirent/scandirat64.c: New file.
40822 * sysdeps/wordsize-64/scandirat.c: New file.
40823 * sysdeps/wordsize-64/scandirat64.c: New file.
40824 * dirent/opendir.c: Define opendirat.
40825 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40826 using scandirat.
40827 * dirent/scandir64.c: Adjust for scandir.c change.
40828 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40829 __scandirat64, and __scandir_cancel_handler.
40830 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40831 additional parameter and use openat instead of open (outside of ld.so).
40832 Add new __opendir as wrapper around __opendirat.
40833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40834 here without requiring old scandirat implementation.
40835
879165f2
UD
408362011-08-08 Ulrich Drepper <drepper@gmail.com>
40837
40838 * dirent/scandir.c (cancel_handler): Renamed to
40839 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40840 defined. Adjust users.
40841 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40842 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40843
cb7e923b
UD
408442011-08-04 Ulrich Drepper <drepper@gmail.com>
40845
16292edd
UD
40846 * string/test-string.h (IMPL): Use __STRING to expand name and then
40847 stringify it.
40848
cb7e923b
UD
40849 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40850 of cleanups.
40851
cff82933
LD
408522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40853
40854 * string/Makefile: Update.
40855 (strop-tests): Append strncat.
40856 * string/test-wcscmp.c: New file.
40857 New comprehensive test for wcscmp.
40858 * string/test-strcmp.c: Update.
40859 (WIDE): New define.
40860
9be9bfcc
AS
408612011-07-22 Andreas Schwab <schwab@redhat.com>
40862
40863 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40864 line.
40865
2e96f1c7
AS
408662011-07-26 Andreas Schwab <schwab@redhat.com>
40867
40868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40869 encoding to ACE if AI_IDN.
40870
85188888
JJ
408712011-08-01 Jakub Jelinek <jakub@redhat.com>
40872
40873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40874 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40875
5fa16e9b
LD
408762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40877
40878 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40879 Fix overflow bug in strncat.
40880 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40881
40882 * string/test-strncat.c: Update.
40883 Add new tests for checking overflow bugs.
40884
408852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40886
40887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40888 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40889 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40890 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40892 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40893 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40894 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40895 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40896
40897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40898 (USE_AS_STRCAT): Define.
40899 Add strcat and strncat support.
40900 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40901
8c1a459f
AS
409022011-07-25 Andreas Schwab <schwab@redhat.com>
40903
40904 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40905 __n bigger than INT_MAX+1.
40906 (__strncmp_g): Likewise.
40907
bba33c28
UD
409082011-07-23 Ulrich Drepper <drepper@gmail.com>
40909
798be72d
UD
40910 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40911 * libio/stido.h: Likewise.
40912
8accd4dc
UD
40913 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40914 (AF_NFC): Define.
40915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40916 (AF_NFC): Define.
40917
cbff0d96
UD
40918 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40920 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40921 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40923
9191c04a
UD
40924 [BZ #13021]
40925 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40926 installed.
40927
bba33c28
UD
40928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40929 typo.
40930 (_dl_x86_64_save_sse): Likewise.
40931
90f139dd
UD
409322011-07-22 Ulrich Drepper <drepper@gmail.com>
40933
1aae088a
UD
40934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40935 OSXSAVE.
40936 (_dl_x86_64_save_sse): Likewise.
40937
8e2045f5
UD
40938 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40939
90f139dd
UD
40940 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40941
1d002f25
AS
409422011-07-21 Andreas Schwab <schwab@redhat.com>
40943
40944 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40945 change.
40946 (_dl_x86_64_save_sse): Use correct AVX check.
40947
21137f89
UD
409482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40949
40950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40951 bug in strncpy/strncat.
40952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40953
a65c0b7a
UD
409542011-07-21 Ulrich Drepper <drepper@gmail.com>
40955
40956 * string/tester.c (test_strcat): Add tests for different alignments
40957 of source and destination.
40958 (test_strncat): Likewise.
40959
6986b98a
UD
409602011-07-20 Ulrich Drepper <drepper@gmail.com>
40961
90bb2039
UD
40962 [BZ #12852]
40963 * posix/glob.c (glob): Check passed in values before using them in
40964 expressions to avoid some overflows.
40965 (glob_in_dir): Likewise.
40966
5644ef54
UD
40967 [BZ #13007]
40968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40969 check for AVX enablement so that we don't crash with old kernels and
40970 new hardware.
40971 * elf/tst-audit4.c: Add same checks here.
40972 * elf/tst-audit6.c: Likewise.
40973
40974 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40975
bfc9dc9b
AS
409762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40977
40978 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40979
702e64bb
UD
409802011-07-20 Ulrich Drepper <drepper@gmail.com>
40981
40982 * po/cs.po: Update from translation team.
40983 * po/bg.po: Likewise.
40984
295e904f
MP
409852011-07-12 Marek Polacek <mpolacek@redhat.com>
40986
40987 * misc/sys/cdefs.h: Add support for const attribute.
40988 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40989 to gnu_dev_{major,minor,makedev} functions.
40990
3ff94596
MP
409912011-07-20 Marek Polacek <mpolacek@redhat.com>
40992
40993 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40994
28b59fca
AS
409952011-07-20 Andreas Schwab <schwab@redhat.com>
40996
40997 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40998 strlen results.
40999
19df733e
AK
410002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41001
41002 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41003 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41004 register in order to avoid conflicts with the soft frame pointer
41005 being held in r11 when necessary.
41006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41007 (INTERNAL_VSYSCALL_NCS): Likewise.
41008
c8835729
MP
410092011-07-14 Marek Polacek <mpolacek@redhat.com>
41010
41011 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41012 * elf/dl-fini.c (_dl_fini): Adjust caller.
41013 * elf/dl-close.c (_dl_close_worker): Likewise.
41014 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41015
b902330c
MP
410162011-07-15 Marek Polacek <mpolacek@redhat.com>
41017
8991e135
MP
41018 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41019 "aux_cache->nlibs < 0".
41020
b902330c
MP
41021 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41022 in the reload-count case.
41023
99710781
LD
410242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41025
41026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41027 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41028 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41029 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41030 * sysdeps/x86_64/multiarch/strcat.S: New file.
41031 * sysdeps/x86_64/multiarch/strncat.S: New file.
41032 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41033 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41034 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41035 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41036 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41037 (USE_AS_STRCAT): Define.
41038 Add strcat and strncat support.
41039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41040 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41041 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41042 * string/strncat.c: Update.
41043 (USE_AS_STRNCAT): Define.
41044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41045 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41046 and i7.
41047 * sysdeps/x86_64/multiarch/init-arch.h
41048 (bit_Prefer_PMINUB_for_stringop): New.
41049 (index_Prefer_PMINUB_for_stringop): Likewise.
41050 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41051 bit_Prefer_PMINUB_for_stringop.
41052
7dc6bd90
UD
410532011-07-19 Ulrich Drepper <drepper@gmail.com>
41054
41055 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41056 buffer64.
41057 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41058 of casting of buffer.
41059 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41060 buffer32 and buffer64.
41061 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41062 writes instead of casting of buffer.
41063 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41064 buffer32.
41065 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41066 casting of buffer.
41067
e0e72284
AS
410682011-07-19 Andreas Schwab <schwab@redhat.com>
41069
41070 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41071
feb1eb0b
UD
410722011-07-19 Ulrich Drepper <drepper@gmail.com>
41073
41074 * nscd/nscd.c (termination_handler): Don't do anything for a database
41075 if it has not yet been initialized.
41076
298711ff
UD
410772011-07-18 Ulrich Drepper <drepper@gmail.com>
41078
41079 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41080
410812011-07-15 Marek Polacek <mpolacek@redhat.com>
41082
41083 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41084
f9d68389
UD
410852011-07-18 Ulrich Drepper <drepper@gmail.com>
41086
41087 * po/nl.po: Update from translation team.
41088 * po/sv.po: Likewise.
41089
db290cf5
RM
410902011-07-16 Roland McGrath <roland@hack.frob.com>
41091
41092 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41093 now disallowed by GCC.
5c550700 41094
fd5e21c7
RM
41095 * configure.in (use-default-link): Default to yes if a test -shared
41096 link meets our qualifications.
41097 * configure: Regenerated.
41098
5c550700
RM
41099 * config.make.in (output-format): New variable.
41100 * configure.in: Check for ld --print-output-format support.
41101 * configure: Regenerated.
41102 * Makerules ($(common-objpfx)format.lds)
41103 [$(output-format) != unknown]: Just use $(output-format),
41104 instead of the linker-script munging.
41105
9fa2c032
RM
411062011-07-14 Roland McGrath <roland@hack.frob.com>
41107
a6928d51
RM
41108 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41109 of $(common-objpfx)shlib.lds.
41110 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41111
661607b3
RM
41112 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41113 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41114
9fa2c032
RM
41115 * configure.in (-z relro check): Adjust test code to add a large
41116 writable data section after it.
41117 * configure: Regenerated.
41118
defe9061
RM
411192011-07-11 Roland McGrath <roland@hack.frob.com>
41120
41121 * configure.in (-z relro check): Fix test code to make the variable
41122 truly const.
41123 * configure: Regenerated.
41124
319b9ad4
UD
411252011-07-11 Ulrich Drepper <drepper@gmail.com>
41126
41127 * nscd/nscd.h (struct traced_file): Define.
41128 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41129 elements. Add traced_files.
41130 (inotify_fd): Declare.
41131 (register_traced_file): Declare.
41132 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41133 (inotify_fd): Export.
41134 (resolv_conf_descr): Remove.
41135 (nscd_init): Move inotify descriptor creation to main.
41136 Don't register files for notification here.
41137 (register_traced_file): New function.
41138 (invalidate_cache): Don't use reset_res to determine whether to call
41139 res_init, go through the list of registered files.
41140 (main_loop_poll): The inotify descriptors are now stored in the
41141 structures for the traced files.
41142 (main_loop_epoll): Likewise
41143 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41144 to __nss_disable_nscd.
41145 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41146 for a database anymore. Check the records for all the registered
41147 files instead.
41148 * nss/Makefile (libnss_files-routines): Add files-init.
41149 (libnss_db-routines): Add db-init.
41150 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41151 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41152 * nss/nss_db/db-init.c: New file.
41153 * nss/nss_files/files-init.c: New file.
41154 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41155 __nss_lookup_function.
41156 (__nss_lookup_function): Call nss_load_library.
41157 (nss_load_all_libraries): New function.
41158 (__nss_disable_nscd): Take parameter with callback function for files
41159 to register. Set is_nscd. Load all the DSOs for the NSS modules
41160 used for the cached services.
41161 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41162 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41163 options for features to all the files in nscd.
41164
41165 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41166
23bee3e8
RM
411672011-07-10 Roland McGrath <roland@hack.frob.com>
41168
41169 * csu/elf-init.c (__libc_csu_init): Comment typo.
41170
46a5b7f0
UD
411712011-07-09 Ulrich Drepper <drepper@gmail.com>
41172
41173 * po/pl.po: Update from translation team.
41174 * po/ja.po: Likewise.
41175 * po/ru.po: Likewise.
41176 * po/ko.po: Likewise.
41177 * po/fr.po: Likewise.
41178
d30cf5bb
RM
411792011-07-09 Roland McGrath <roland@hack.frob.com>
41180
113ddea4
RM
41181 * configure.in (.ctors/.dtors header and trailer check):
41182 Use an empirical test on a built program.
41183 * configure: Regenerated.
41184
574920b4
RM
41185 * configure.in (-z relro check): Use an empirical test on a built DSO.
41186 Detect, but do not require, on ia64.
41187 * configure: Regenerated.
41188
d30cf5bb
RM
41189 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41190 Update tests that use readelf to use $READELF instead.
41191 * configure: Regenerated.
41192
8538fdb3
UD
411932011-07-08 Ulrich Drepper <drepper@gmail.com>
41194
41195 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41196 if the result is not used.
41197
04d08991
AJ
411982011-07-05 Andreas Jaeger <aj@suse.de>
41199
41200 [BZ#9696]
41201 * stdlib/tst-strtod.c: Add testcase.
41202
de283087
AD
412032011-07-07 Ulrich Drepper <drepper@gmail.com>
41204
4e5f31c8 41205 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41206 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41207 The latter has a higher limit. Take additional parameter to pass to
41208 the new function.
41209 (__pathconf): Pass file to __statfs_link_max.
41210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41211 __statfs_link_max.
41212 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41213 __statfs_link_max.
41214
de283087
AD
41215 [BZ #12868]
41216 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41217 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41218 Handle Lustre.
41219 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41220 (__statfs_filesize_max): Likewise.
41221 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41222
c75fa153
AJ
412232011-07-05 Andreas Jaeger <aj@suse.de>
41224
41225 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41226
1a544854
UD
412272011-07-06 Marek Polacek <mpolacek@redhat.com>
41228
41229 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41230 `status' variable.
41231 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41232 Likewise.
41233
6f0eec67
UD
412342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41235
41236 * Makefile (strop-tests): Add strncat.
41237 * string/test-strncat.c: New file.
41238
aae30307
UD
412392011-06-30 Marek Polacek <mpolacek@redhat.com>
41240
41241 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41242
c0cfb5eb
UD
412432011-06-21 Andreas Jaeger <aj@suse.de>
41244
41245 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41246 Copy rule from iconvdata/Makefile.
41247
01636b21
UD
412482011-07-06 Ulrich Drepper <drepper@gmail.com>
41249
41250 [BZ #12922]
41251 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41252 but no long options are defined, just return 'W'.
41253
9895c8bc
UD
412542011-06-22 Marek Polacek <mpolacek@redhat.com>
41255
41256 [BZ #9696]
41257 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41258
5d4cf042
UD
412592011-07-06 Ulrich Drepper <drepper@gmail.com>
41260
41261 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41262 netgroups to read.
960e5535 41263 (innetgr): Likewise.
5d4cf042 41264
751eb97e
RM
412652011-07-05 Roland McGrath <roland@hack.frob.com>
41266
41267 * config.make.in (install_root): Default to $(DESTDIR).
41268
f15f1e45
UD
412692011-07-05 Ulrich Drepper <drepper@gmail.com>
41270
41271 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41272
4e34ac6a
RM
412732011-07-02 Roland McGrath <roland@hack.frob.com>
41274
5e9b6af4
RM
41275 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41276
84f9ea0f
RM
41277 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41278 containing directory rather than embedding absolute directory names.
41279
ea5ee9f7
RM
41280 * scripts/check-local-headers.sh: Rewritten using awk.
41281 Match by word, not by line. Print error messages for matches.
41282 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41283
1b74661a
RM
41284 * Makerules [shlib-lds-flags empty]:
41285 ($(common-objpfx)libc_pic.opts): New target.
41286 ($(common-objpfx)libc_pic.os.clean): New target.
41287 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41288
41289 * config.make.in (OBJCOPY): New variable.
41290 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41291 * configure: Regenerated.
41292
f781ef40
RM
41293 * config.make.in (use-default-link): New variable.
41294 * configure.in (use_default_link): Grok --with-default-link to set it.
41295 * configure: Regenerated.
41296 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41297 (shlib-lds, shlib-lds-flags): Define to empty.
41298
2d4fa81e
RM
41299 * Makerules (shlib-lds): New variable.
41300 (shlib-lds-flags): New variable.
41301 (build-shlib, build-moduile, build-module-asneeded): Use it.
41302 ($(common-objpfx)libc.so): Use $(shlib-lds).
41303 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41304 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41305
31fffa6b
RM
41306 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41307 DT_FLAGS/DT_FLAGS_1 with zero flags.
41308
4e34ac6a
RM
41309 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41310 linker script munging.
41311
fcfc776b
UD
413122011-07-02 Ulrich Drepper <drepper@gmail.com>
41313
41314 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41315 as 128-bit value.
41316 * crypt/sha512.c (sha512_process_block): Perform total addition using
41317 128-bit if possible.
41318 (__sha512_finish_ctx): Likewise.
41319 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41320 as 64-bit value.
41321 * crypt/sha256.c (SWAP64): Define.
41322 (sha256_process_block): Perform total addition using 64-bit if
41323 possible.
41324 (__sha256_finish_ctx): Likewise.
41325
99231d9a
UD
413262011-07-01 Ulrich Drepper <drepper@gmail.com>
41327
41328 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41330 * nscd/hstcache.c (cache_addhst): Likewise.
41331 * nscd/grpcache.c (cache_addgr): Likewise.
41332 * nscd/aicache.c (addhstaiX): Likewise
41333 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41334
445b4a53
TK
413352011-07-01 Thorsten Kukuk <kukuk@suse.de>
41336
41337 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41339 * nscd/hstcache.c (cache_addhst): Likewise.
41340 * nscd/grpcache.c (cache_addgr): Likewise.
41341 * nscd/aicache.c (addhstaiX): Likewise
41342
6d4d8e8e
AS
413432011-07-01 Andreas Schwab <schwab@redhat.com>
41344
41345 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41346 domain only when needed.
41347
89f654c5
AS
413482011-06-30 Andreas Schwab <schwab@redhat.com>
41349
41350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41351 is always restored.
41352
cf3b23ff
UD
413532011-06-29 Ulrich Drepper <drepper@gmail.com>
41354
41355 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41356 are re-adding the entry.
41357 * nscd/servicescache.c (cache_addserv): Likewise.
41358
751626f9
AJ
413592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41360
41361 * sysdeps/generic/dl-irel.h: fix protection against multiple
41362 inclusions.
41363 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41364
9113ea1f
UD
413652011-06-28 Ulrich Drepper <drepper@gmail.com>
41366
5c0b8d90
UD
41367 [BZ #12935]
41368 * malloc/memusage.sh: Fix quoting in message.
41369 * debug/xtrace.sh: Likewise.
41370
9113ea1f
UD
41371 * configure.in: Remove support for --experimental-malloc option, make
41372 it the default.
41373 * config.make.in: Likewise.
41374 * malloc/Makefile: Likewise.
41375
a4172181
AS
413762011-06-27 Andreas Schwab <schwab@redhat.com>
41377
41378 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41379 two-byte characters.
41380
78a7eee7
RM
413812011-06-27 Roland McGrath <roland@hack.frob.com>
41382
62bede13
RM
41383 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41384 AC_CACHE_CHECK invocation.
41385 * configure: Regenerated.
41386
78a7eee7
RM
41387 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41388
5ce33a62
UD
413892011-06-27 Ulrich Drepper <drepper@gmail.com>
41390
034807a9
UD
41391 [BZ #12350]
41392 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41393 bit from old_res_options.
41394
4902da17
UD
41395 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41396
5ce33a62
UD
41397 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41398 value type for setfct.
41399
c2344f56
L
414002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41401
41402 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41403 __gettimeofday instead of gettimeofday.
41404
68468076
UD
414052011-06-26 Ulrich Drepper <drepper@gmail.com>
41406
41407 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41408
acb0d739
L
414092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41410
41411 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41412
41413 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41414 info.
41415
8912479f
L
414162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41417
41418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41419 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41420 strcpy-sse2-unaligned strncpy-sse2-unaligned
41421 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41422 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41423 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41424 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41425 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41428 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41429 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41430 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41431 (STRCPY): Support SSE2 and SSSE3 versions.
41432
d5495a11
UD
414332011-06-24 Ulrich Drepper <drepper@gmail.com>
41434
41435 [BZ #12874]
41436 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41437 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41438 kernels which artificially limit size of requests.
41439
0b1cbaae
L
414402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41441
41442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41443 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41444 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41445 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41446 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41447 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41448 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41449 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41450 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41452 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41453 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41454 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41455 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41456 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41458 Enable unaligned load optimization for Intel Core i3, i5 and i7
41459 processors.
41460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41461 Define.
41462 (index_Fast_Unaligned_Load): Define.
41463 (HAS_FAST_UNALIGNED_LOAD): Define.
41464
07f494a0
MP
414652011-06-23 Marek Polacek <mpolacek@redhat.com>
41466
41467 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41468
fa3fc0fe
UD
414692011-06-22 Ulrich Drepper <drepper@gmail.com>
41470
41471 [BZ #12907]
41472 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41473 until it is clear that the information is realy needed.
41474 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41475
e12df166
AS
414762011-06-22 Andreas Schwab <schwab@redhat.com>
41477
41478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41479
852eb34d
UD
414802011-06-22 Ulrich Drepper <drepper@gmail.com>
41481
84e2a551
UD
41482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41483 /sys/devices/system/cpu/online if it is usable.
41484
852eb34d
UD
41485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41486 reading the information from the /proc filesystem to once a second.
41487
6e502e19
UD
414882011-06-21 Andreas Jaeger <aj@suse.de>
41489
41490 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41491 NULL after inclusion of kernel headers.
41492
75d39ff2
UD
414932011-06-21 Ulrich Drepper <drepper@gmail.com>
41494
51f9aa6a
UD
41495 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41496 calls to internal_setent.
41497
c0244a9d
UD
41498 [BZ #12885]
41499 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41500 addresses using gethostbyname4_r ignore IPv4 addresses.
41501
c5e3c2ae
UD
41502 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41503 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41504
75d39ff2
UD
41505 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41506
42675c6f
DM
415072011-06-20 David S. Miller <davem@davemloft.net>
41508
41509 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41510 inclusions.
41511 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41512
41513 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41514 (elf_irel): Use it.
41515 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41516 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41517 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41518 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41519 * sysdeps/x86_64/dl-irel.h: Likewise.
41520
41521 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41522 * elf/dl-sym.c: Likewise.
41523
57912a71
UD
415242011-06-15 Ulrich Drepper <drepper@gmail.com>
41525
41526 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41527 need to dereference resplen2.
41528
ee22793d
AS
415292011-06-14 Andreas Schwab <schwab@redhat.com>
41530
41531 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41532
a9e836b0
UD
415332011-06-15 Ulrich Drepper <drepper@gmail.com>
41534
77fb9117
UD
41535 * Makeconfig: Define vardbdir and inst_vardbdir.
41536 * nss/Makefile: Add rules to install db-Makefile.
41537
40c1b22c
UD
41538 * nss/nss_db/db-XXX.c: Cleanup.
41539
9f2da732
UD
41540 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41541 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41542 GLIBC_PRIVATE.
41543 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41544 * nss/makedb.c: Implement -g option to specify that value strings
41545 are generated and should not be added to table iterated over for
41546 get*ent calls.
41547 * nss/nss_db/db-initgroups.c: New file.
41548
82e9a1f7
UD
41549 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41550 interface.
41551
c41af17e
UD
41552 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41553 (internal_getgrouplist): Adjust to name change.
41554 Update use_initgroups_entry if this is not the first call.
41555 * nss/databases.def: Add initgroups entry.
41556
a9e836b0
UD
41557 * nss/makedb.c (compute_tables): Check result of multiple hash table
41558 sizes to minimize maximum chain length.
41559
2666d441
UD
415602011-06-14 Ulrich Drepper <drepper@gmail.com>
41561
41562 * Versions.def: Add entry for libnss_db.
41563 * shlib-versions: Likewise.
41564 * nss/Makefile: Add rules to build libnss_db.
41565 * nss/Versions: Add libnss_db information. Organize libnss_files
41566 entries better.
41567 * nss/db-Makefile: Add gshadow support. Change rules for the new
41568 makedb progra. Some minor improvements to generate smaller files.
41569 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41570 here from...
41571 * nss/makedb.c: ...here.
41572 Improve database format to be smaller and require less memory at
41573 runtime.
41574 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41575 db anymore.
41576 * nss/nss_db/db-netgrp.c: Likewise.
41577 * nss/nss_db/db-open.c: Likewise.
41578 * nss/nss_files/flies-XXX.x: Adjust comments.
41579 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41580 * nss/nss_files/files-grp.c: Likewise.
41581 * nss/nss_files/files-hosts.c: Likewise.
41582 * nss/nss_files/files-network.c: Likewise.
41583 * nss/nss_files/files-proto.c: Likewise.
41584 * nss/nss_files/files-pwd.c: Likewise.
41585 * nss/nss_files/files-rpc.c: Likewise.
41586 * nss/nss_files/files-service.c: Likewise.
41587 * nss/nss_files/files-sgrp.c: Likewise.
41588 * nss/nss_files/files-spwd.c: Likewise.
41589 * nss/nss_db/db-alias.c: Removed.
41590 * nss/nss_db/dummy-db.h: Removed.
41591
9ee76b5a
UD
415922011-06-02 Ulrich Drepper <drepper@gmail.com>
41593
41594 * nss/makedb.c: Rewritten to not use database library.
41595 * nss/Makefile: Update to build new makedb program.
41596
c71ca1f8
AJ
415972011-06-14 Andreas Jaeger <aj@suse.de>
41598
41599 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41600 memset declaration.
41601
3154bfb8
UD
416022011-06-10 Andreas Schwab <schwab@redhat.com>
41603
41604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41605 tmpbuf.
41606
b350afab
RM
416072011-06-10 Roland McGrath <roland@hack.frob.com>
41608
decd4e50
RM
41609 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41610 * elf/Makefile ($(objpfx)ld.so): Likewise.
41611
5615eaf2
RM
41612 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41613 Don't list ld.so twice in dependencies.
41614
41615 * posix/bug-regex31.c: Include <stdlib.h>.
41616
41617 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41618
41619 * nis/nss_compat/compat-spwd.c
41620 (getspent_next_nss_netgr): Remove unused variable.
41621 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41622
41623 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41624 nonmembers" output to use the right array.
41625
41626 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41627
41628 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41629
41630 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41631 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41632 * catgets/gencat.c (read_input_file): Likewise.
41633 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41634
41635 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41636 variable definition inside #if's controlling its use.
41637
41638 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41639
41640 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41641
41642 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41643
41644 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41645 unreachable code.
41646
41647 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41648
b68e08db
RM
41649 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41650 * configure: Regenerated.
41651
b350afab
RM
41652 * Makerules: Revert last change.
41653 * elf/Makefile: Likewise.
41654
28368601
RM
416552011-06-09 Roland McGrath <roland@hack.frob.com>
41656
41657 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41658 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41659 (reloc-link): Likewise.
41660
11988f8f
UD
416612011-06-09 Ulrich Drepper <drepper@gmail.com>
41662
41663 * elf/Makefile: Add rules to build pldd.
41664 * elf/pldd.c: New file.
41665 * elf/pldd-xx.c: New file.
41666
e80fab37
UD
416672011-06-07 Ulrich Drepper <drepper@gmail.com>
41668
41669 * version.h: Update for 2.15 development version.
41670
9b849836
DM
416712011-06-07 David S. Miller <davem@davemloft.net>
41672
41673 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41674 ifuncs.
41675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41676 elf_machine_lazy_rel): Likewise.
41677 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41679 elf_machine_lazy_rel): Likewise.
41680 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41681 dl_hwcap via passed in argument.
41682 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41683 Likewise.
41684
5a31b283
AK
416852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41686
41687 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41688
069e52f8
RM
416892011-06-06 Roland McGrath <roland@hack.frob.com>
41690
41691 [BZ #12849]
41692 * manual/fdl-1.1.texi: New file, verbatim from:
41693 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41694 * manual/lgpl-2.1.texi: New file, verbatim from:
41695 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41696 * manual/Makefile (licenses): New variable, list those new file names.
41697 (texis): Use it.
41698 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41699
41700 * manual/fdl.texi: File removed.
41701 * manual/lesser.texi: File removed.
41702 * manual/libc.texinfo (Copying, Documentation License):
41703 Use new @include file names, put @appendix directive before @include.
41704
f16846a5
JJ
417052011-06-04 Jakub Jelinek <jakub@redhat.com>
41706
41707 [BZ #12841]
41708 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41709 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41710 (mq_open): Add __NTH.
41711
3d29045b
L
417122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41713
41714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41715 Assume Intel Core i3/i5/i7 processor if AVX is available.
41716
8c297311
UD
417172011-05-31 Ulrich Drepper <drepper@gmail.com>
41718
41719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41720 typo.
41721
c8fc0c91
UD
417222011-05-31 Andreas Schwab <schwab@redhat.com>
41723
41724 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41725 memory. Use alloca_account. Fix memory leak when retrying.
41726
5b27a807
UD
417272011-05-31 Ulrich Drepper <drepper@gmail.com>
41728
356f8bc6
UD
41729 * version.h (RELEASE): Bump for 2.14 release.
41730 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41731
5b27a807
UD
41732 * config.make.in (RANLIB): Remove entry.
41733
01f16ab0
UD
417342011-05-30 Ulrich Drepper <drepper@gmail.com>
41735
41fce8bd
UD
41736 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41737 (libc.pot): Work around missing support for .ksh extension in xgettext.
41738
4769ae77
UD
41739 [BZ #12684]
41740 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41741 if both request failed.
41742 (send_dg): In case of server errors clear resplen or *resplen2.
41743
6b1e7d19
UD
41744 [BZ #12454]
41745 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41746 when there are multiple maps.
41747 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41748 (_dl_fini): Remove test here.
41749
01f16ab0
UD
41750 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41751
b1ebd700
UD
417522011-05-29 Ulrich Drepper <drepper@gmail.com>
41753
7ae22829
UD
41754 [BZ #12350]
41755 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41756 bit from old_res_options.
41757 (gaih_inet): Likewise.
41758
553149f6 41759 [BZ #11099]
18a84741 41760 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41761 as signed.
41762
652ffab1
UD
41763 * resolv/res_init.c (res_setoptions): Make the code more compact.
41764
16985fd0
UD
41765 [BZ #11558]
41766 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41767 set RES_USEVC.
41768
0464f746
UD
41769 [BZ #11634]
41770 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41771
7d17596c
UD
41772 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41773
cf6bbbd7
UD
41774 [BZ #11781]
41775 * malloc/malloc.h: Declare malloc hook variables as volatile.
41776
13f1ab36
UD
41777 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41778 in last patch.
41779
b1ebd700
UD
41780 [BZ #11799]
41781 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41782 raise in the comment.
80e2212d
UD
41783 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41785 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41786
ce67228d
UD
417872011-05-28 Ulrich Drepper <drepper@gmail.com>
41788
8887a920
UD
41789 [BZ #12811]
41790 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41791 grow the buffers more if it already has to be sufficient.
41792 (build_wcs_upper_buffer): Likewise.
41793 * posix/regexec.c (check_matching): Likewise.
41794 (clean_state_log_if_needed): Likewise.
41795 (extend_buffers): Don't enlarge buffers beyond size of the input
41796 buffer.
41797 Patches mostly by Emil Wojak <emil@wojak.eu>.
41798 * posix/bug-regex32.c: New file.
41799 * posix/Makefile (tests): Add bug-regex32.
41800
4f031072
UD
41801 * locale/findlocale.c (_nl_find_locale): Return right away if
41802 _nl_explode_name failed.
41803 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41804
d0478f0c
UD
41805 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41806
de81b246
UD
41807 * debug/xtrace.sh: Unify messages.
41808 * malloc/memusage.sh: Likewise.
41809
c738465a
UD
41810 [BZ #12813]
41811 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41812 time symbol from vDSO. Substitute with vsyscall if not available.
41813 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41814 __vdso_time.
41815
f1f929d7
UD
41816 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41817 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41818 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41819 Add sendmmsg and internal_sendmmsg.
41820 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41822 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41823
ce67228d
UD
41824 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41825 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41826 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41827
e57420c6
UD
418282011-05-27 Ulrich Drepper <drepper@gmail.com>
41829
a8509ca5
UD
41830 [BZ #12813]
41831 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41832 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41833 available.
41834 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41835 __vdso_getcpu.
41836
e57420c6
UD
41837 [BZ #12814]
41838 * iconvdata/Makefile (tests): Add bug-iconv9.
41839 * iconvdata/bug-iconv9.c: New file.
41840
4d07db15
AS
418412011-05-27 Andreas Schwab <schwab@redhat.com>
41842
41843 [BZ #12814]
41844 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41845
ea486f69
JJ
418462011-05-25 Jakub Jelinek <jakub@redhat.com>
41847
41848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41849 (struct user_regs_struct): Change intcs field back to cs.
41850
6f038433
UD
418512011-05-25 Ulrich Drepper <drepper@gmail.com>
41852
41853 * po/ja.po: Update from translation team.
41854
67f86a25
UD
418552011-05-23 Ulrich Drepper <drepper@gmail.com>
41856
41857 [BZ #12795]
41858 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41859 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41860
def7fbd6
AS
418612011-05-20 Andreas Schwab <schwab@redhat.com>
41862
41863 * stdlib/longlong.h: Update from GCC.
41864
f50ef8f1
AS
418652011-05-23 Andreas Schwab <schwab@redhat.com>
41866
41867 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41868 parameter name.
41869 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41870 Add parameter name.
41871 (__sysconf): Pass it down.
41872
de7ce8f1
UD
418732011-05-22 Ulrich Drepper <drepper@gmail.com>
41874
f2962a71
UD
41875 [BZ #12671]
41876 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41877 some situations.
41878 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41879 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41880 add in in __libc_use_alloca calls. Adjust callers.
41881 (glob): Use malloc in some situations.
41882
de7ce8f1
UD
41883 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41884 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41885 pltexit.
41886
aec84f53
UD
418872011-05-21 Ulrich Drepper <drepper@gmail.com>
41888
05bb4a68
UD
41889 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41890 and CLOCK_BOOTTIME_ALARM.
41891
7ea72f99
UD
41892 [BZ #12782]
41893 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41894 is returned.
41895
7e4afad5
UD
41896 * string/_strerror.c (__strerror_r): Print negative errors as signed
41897 numbers.
41898
8e211fec
UD
41899 [BZ #12777]
41900 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41901 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41902 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41903
f7d82dc9
UD
41904 * configure.in: Fix typo in redirection and correct removal of test
41905 files in two cases.
41906
cc9e536d
UD
41907 [BZ #12788]
41908 * locale/setlocale.c (new_composite_name): Fix test to check for
41909 identical name of all categories.
41910
aec84f53
UD
41911 [BZ #12792]
41912 * libio/filedoalloc.c (local_isatty): New function.
41913 (_IO_file_doallocate): Use local_isatty.
41914 * stdio-common/perror.c (perror): In case a new stream is used
41915 forward the stream error.
41916 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41917 error flag.
41918
78e64fdc
RT
419192011-05-20 Ulrich Drepper <drepper@gmail.com>
41920
34a9094f
UD
41921 [BZ #11869]
41922 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41923 alloca.
41924 * include/alloca.h (extend_alloca_account): Define.
41925
78e64fdc
RT
41926 [BZ #11857]
41927 * posix/regex.h: Fix comments with documentation of user-accessible
41928 fields after compilation and describe correct free'ing of pattern
41929 after re_compile_pattern.
41930 Patch by Reuben Thomas <rrt@sc3d.org>.
41931
457bddfc
RA
419322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41933
41934 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41935 and -mno-altivec to prevent the compiler from using Altivec and/or
41936 VSX instructions when the corresponding registers are not available.
41937
a4527b51
AS
419382011-05-19 Andreas Schwab <schwab@redhat.com>
41939
41940 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41941
ed690b2f
UD
419422011-05-19 Ulrich Drepper <drepper@gmail.com>
41943
41944 * libio/freopen.c (freopen): Use __dup2, not dup2.
41945 * libio/freopen64.c (freopen64): Likewise.
41946
8db73634
L
419472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41948
41949 [BZ #12775]
41950 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41951 * math/Makefile (tests): Add test-powl.
41952 (CFLAGS-test-powl.c): Define.
41953 * math/test-powl.c: New file.
41954
0a197a9d
L
419552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41956
41957 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41958
ee30c380
UD
419592011-05-17 Ulrich Drepper <drepper@gmail.com>
41960
41961 [BZ #11837]
41962 * iconvdata/gb18030.c: Update to GB18020-2005.
41963
6ce75379
UD
419642011-05-16 Ulrich Drepper <drepper@gmail.com>
41965
a4b89fd8
AR
41966 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41967 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41968 Patch by Aharon Robbins <arnold@skeeve.com>.
41969
ea389b12
UD
41970 [BZ #11892]
41971 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41972 on the stack.
41973
68a3f91f
UD
41974 [BZ #11895]
41975 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41976 through underflows.
41977
15cc7dd1
UD
41978 [BZ #12766]
41979 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41980 point to strings before performing equality test for error_one_per_line
41981 mode.
41982
f3799213
UD
41983 [BZ #11697]
41984 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41985
d79a9c94
UD
41986 [BZ #11820]
41987 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41988 (struct user_fpregs_struct): Avoid __uint*_t types.
41989
56e5eb46
UD
41990 [BZ #6420]
41991 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41992 symbol info. Use it instead of calling _dl_addr locally.
41993 (lock_and_info): New function.
41994 (tr_freehook): Call lock_and_info and pass symbol info as additional
41995 parameter to tr_where.
41996 (tr_mallochook): Likewise.
41997 (tr_reallochook): Likewise.
41998 (tr_memalignhook): Likewise.
41999
6ce75379
UD
42000 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42001 used and couldn't be at all thread-safe.
42002
f8a3b5bf
UD
420032011-05-15 Ulrich Drepper <drepper@gmail.com>
42004
94b7cc37
UD
42005 * libio/freopen.c (freopen): Don't close old file descriptor
42006 before the new one is opened. Instead dup the new file descriptor
42007 to the old one after the new stream is created.
42008 * libio/freopen64.c (freopen64): Likewise.
42009 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42010 * libio/fileops.c (_IO_new_file_close_it): Handle new
42011 _IO_FLAGS2_NOCLOSE flag.
42012 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42013 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42014 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42015 _IO_FLAGS2_NOCLOSE flag.
42016 * include/unistd.h: Add hidden_proto for dup3.
42017 Define __have_dup3.
42018 * io/dup3.c: Define hidden symbol.
42019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42020
bd25564e
UD
42021 [BZ #7101]
42022 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42023 when an incomplete long option is used.
42024 * posix/tst-getopt_long1.c: New file.
42025 * posix/Makefile (tests): Add tst-getopt_long1.
42026
c84cfef4
UD
42027 [BZ #10138]
42028 * scripts/config.guess: Update from autoconf-2.68.
42029 * scripts/config.sub: Likewise.
42030
3b85df27
UD
42031 [BZ #10157]
42032 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42033 tests into ...
42034 (has_cpuclock): ...this. New function.
42035 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42036 macro here based on has_cpuclock code.
42037
15a856b1
UD
42038 [BZ #10149]
42039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42040 First byte (not low byte) is now always NUL.
42041 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42042
05f399e6
UD
42043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42044 Use non-cancelable interfaces.
42045
10a52685 42046 [BZ #9809]
94ecc67d
UD
42047 * locale/iso-639.def: Add entry for Sorani.
42048
f8a3b5bf
UD
42049 [BZ #11901]
42050 * include/stdlib.h: Move include protection to the right place.
42051 Define abort_msg_s. Declare __abort_msg with it.
42052 * stdlib/abort.c (__abort_msg): Adjust type.
42053 * assert/assert.c (__assert_fail_base): New function. Majority
42054 of code from __assert_fail. Allocate memory for __abort_msg with
42055 mmap.
42056 (__assert_fail): Now call __assert_fail_base.
42057 * assert/assert-perr.c: Remove bulk of implementation. Use
42058 __assert_fail_base.
42059 * include/assert.hL Declare __assert_fail_base.
42060 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42061 mmap.
42062 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42063
1af4e298
UD
420642011-05-14 Ulrich Drepper <drepper@gmail.com>
42065
f8a3b5bf 42066 [BZ #11952]
d26dfc60
MG
42067 [BZ #12453]
42068 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42069 until all modules are registered in the DTV.
42070 * elf/Makefile: Add rules to build and run tst-tls19.
42071 * elf/tst-tls19.c: New file.
42072 * elf/tst-tls19mod1.c: New file.
42073 * elf/tst-tls19mod2.c: New file.
42074 * elf/tst-tls19mod3.c: New file.
42075 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42076
2fc54d6f
UD
42077 [BZ #12083]
42078 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42079 correctly.
42080
98d76b46
UD
42081 [BZ #12601]
42082 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42083 two-byte sequence errors.
42084 * iconvdata/Makefile (tests): Add bug-iconv8.
42085 * iconvdata/bug-iconv8.c: New file.
42086
da3c19ef
UD
42087 [BZ #12626]
42088 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42089 buf2 definition.
42090
ca408c15
UD
42091 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42092
d6f67f7d
UD
42093 [BZ #12432]
42094 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42095 (dummy_getcfa): New function.
42096 (init): Get _Unwind_GetCFA address, use dummy if not found.
42097 (backtrace_helper): In recursion check, also check whether CFA changes.
42098 (__backtrace): Completely initialize arg.
42099
1af4e298 42100 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42101 storing incomplete byte sequence in state object. Avoid testing for
42102 guaranteed too small input if we know there is enough data available.
1af4e298 42103
da62f81b
AS
421042011-05-11 Andreas Schwab <schwab@redhat.com>
42105
42106 * Makeconfig (+link-pie): Indent.
42107 * Rules (binaries-pie): Define if $(have-fpie) and
42108 $(build-shared).
42109 (binaries-shared): Also filter out $(binaries-pie).
42110 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42111 * nscd/Makefile (others-pie): Add nscd.
42112 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42113 ($(objpfx)nscd): Remove command override.
42114 * login/Makefile (others-pie): Add pt_chown.
42115 ($(objpfx)pt_chown): Remove command override.
42116 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42117 remove command overrides.
42118
fcabc0f8
UD
421192011-05-13 Ulrich Drepper <drepper@gmail.com>
42120
20030ae6
UD
42121 * libio/tst_putwc.c: Fix error messages.
42122
fcabc0f8
UD
42123 [BZ #12724]
42124 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42125 currently writing and seek to current position when not.
42126 * libio/Makefile (tests): Add bug-fclose1.
42127 * libio/bug-fclose1.c: New file.
42128
320a5dc0
PB
421292011-05-12 Ulrich Drepper <drepper@gmail.com>
42130
42131 [BZ #12511]
42132 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42133 don't set DF_1_NODELETE here.
42134 (do_lookup_x): When entering new entry test for copy relocation
42135 and if necessary set DF_1_NODELETE flag.
42136 * elf/tst-unique4.cc: New file.
42137 * elf/tst-unique4.h: New file.
42138 * elf/tst-unique4lib.cc: New file.
42139 * elf/Makefile: Add rules to build and run tst-unique4.
42140 Patch by Piotr Bury <pbury@goahead.com>.
42141
22836f52
UD
421422011-05-11 Ulrich Drepper <drepper@gmail.com>
42143
f574184a
UD
42144 [BZ #12052]
42145 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42146
e1fb097f
UD
42147 [BZ #12625]
42148 * misc/mntent_r.c (addmntent): Flush the stream after the output
42149
22836f52
UD
42150 [BZ #12393]
42151 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42152 (is_trusted_path_normalize): Skip initial colon. Append slash
42153 to empty buffer. Duplicate is_trusted_path code but allow
42154 constructed patch to be prefix.
42155 (is_dst): Allow $ORIGIN followed by /.
42156 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42157 Correct testing of result of is_trusted_path_normalize
42158 (decompose_rpath): Fix warning.
42159
7b3b0b2a
UD
421602011-05-10 Ulrich Drepper <drepper@gmail.com>
42161
42162 [BZ #11257]
42163 * grp/initgroups.c (internal_getgrouplist): When we found the service
42164 list through the initgroups entry in nsswitch.conf do not always
42165 continue on a successful lookup. Don't always use the
eac80ce2 42166 __nss_group_database value if it is set.
7b3b0b2a
UD
42167 * nss/nsswitch.conf (initgroups): Change action for successful db
42168 lookup to continue for compatibility.
42169
2a81eaa5
UD
421702011-05-09 Ulrich Drepper <drepper@gmail.com>
42171
be97a69e
UD
42172 [BZ #11532]
42173 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42174 and CP774 modules.
42175 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42176 and CP774 modules.
42177 * iconvdata/tst-tables.sh: Likewise.
42178 * iconvdata/cp770.c: New file.
42179 * iconvdata/cp771.c: New file.
42180 * iconvdata/cp772.c: New file.
42181 * iconvdata/cp773.c: New file.
42182 * iconvdata/cp774.c: New file.
42183 * iconvdata/testdata/CP770: New file.
42184 * iconvdata/testdata/CP770..UTF8: New file.
42185 * iconvdata/testdata/CP771: New file.
42186 * iconvdata/testdata/CP771..UTF8: New file.
42187 * iconvdata/testdata/CP772: New file.
42188 * iconvdata/testdata/CP772..UTF8: New file.
42189 * iconvdata/testdata/CP773: New file.
42190 * iconvdata/testdata/CP773..UTF8: New file.
42191 * iconvdata/testdata/CP774: New file.
42192 * iconvdata/testdata/CP774..UTF8: New file.
42193
42194 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42195 END CHARMAP line.
42196 * iconvdata/gen-8bit-gap.sh: Likewise.
42197 * iconvdata/gen-8bit.sh: Likewise.
42198
c1e9e399
UD
42199 * locale/iso-639.def: Add ary entry.
42200
24c55fb3 42201 [BZ #11258]
96b4b1b0
UD
42202 * locale/C-translit.h.in: Add U20A1 transliteration.
42203
bdc2f971
KB
42204 [BZ #12178]
42205 * locale/iso-639.def: Add wae entry.
42206 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42207
2952b117
UD
42208 [BZ #12545]
42209 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42210 for n.
42211
2a81eaa5
UD
42212 [BZ #12711]
42213 * locale/C-translit.h.in: Add entry for U20B9.
42214 Patch by pravin.d.s@gmail.com.
42215
28377d1b
UD
422162011-05-08 Ulrich Drepper <drepper@gmail.com>
42217
7fb90fb8
UD
42218 [BZ #12713]
42219 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42220 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42221 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42222 in rtld. Use *stat64.
7fb90fb8 42223 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42224 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42225 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42226 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42227 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42228 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42229 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42230 __fstatat64 macros.
7fb90fb8
UD
42231 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42232 * dirent/rewinddir.c: Add libc_hidden_def.
42233 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42234 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42235
28377d1b
UD
42236 * include/dirent.h (__alloc_dir): Add flags parameter.
42237 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42238 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42239 __alloc_dir.
42240 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42241 from fdopendir if O_CLOEXEC is already set.
42242
66bdbaa4
AM
422432011-03-15 Alan Modra <amodra@gmail.com>
42244
42245 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42246 l_tls_firstbyte_offset non-zero. Save padding offset in
42247 l_tls_firstbyte_offset for later use.
42248 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42249 freeing static tls block.
42250
95721191
JN
422512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42252
42253 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42254 where #ifdef was intended. The intent is to prevent ARG_MAX from
42255 being defined by the kernel headers.
42256
f87dfb1f
UD
422572011-05-07 Ulrich Drepper <drepper@gmail.com>
42258
42259 [BZ #12734]
42260 * resolv/resolv.h: Define RES_NOTLDQUERY.
42261 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42262 no-tld-query and set RES_NOTLDQUERY.
42263 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42264 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42265 modern BIND to search name as TLD unless forbidden.
42266
47c3cd7a
UD
422672011-05-07 Petr Baudis <pasky@suse.cz>
42268 Ulrich Drepper <drepper@gmail.com>
42269
42270 [BZ #12393]
42271 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42272 (is_trusted_path): ...to here.
c1e9ea35 42273 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42274 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42275 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42276
8a35c912
PP
422772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42278
42279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42280 __BEGIN/__END_DECLS.
42281
acd41f47
UD
422822011-05-06 Ulrich Drepper <drepper@gmail.com>
42283
42284 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42285 NSS_STATUS_NOTFOUND if no record was found.
42286
597df647
AS
422872011-05-05 Andreas Schwab <schwab@redhat.com>
42288
42289 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42290 (headers-not-in-tirpc): Remove rpc/netdb.h
42291 * resolv/netdb.h: Revert last change.
42292
b9af1301
PP
422932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42294
42295 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42296 circular dependency between libgcc.a and libc.a.
42297
4e34d5f5
AS
422982011-05-05 Andreas Schwab <schwab@redhat.com>
42299
42300 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42301 * nis/Makefile: Don't install rpcsvc/*.
42302 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42303 instead of <rpc/types.h>.
42304 (MAXHOSTNAMELEN): Define.
42305
00ee369c
AS
423062011-05-03 Andreas Schwab <schwab@redhat.com>
42307
42308 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42309
0b592a30
MB
423102011-04-28 Maciej Babinski <mbabinski@google.com>
42311
42312 [BZ #12714]
42313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42314 gethostbyname4_r when IPv6 results are possible.
42315
6e04cbbe
UD
423162011-05-02 Ulrich Drepper <drepper@gmail.com>
42317
42318 [BZ #12723]
42319 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42320 _PC_PIPE_BUF handling.
42321
e4ecafe0
BH
423222011-04-30 Bruno Haible <bruno@clisp.org>
42323
42324 [BZ #12717]
42325 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42326 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42327 to 'int'.
42328 * inet/getnameinfo.c (getnameinfo): Likewise.
42329
125ee683
UD
423302011-04-29 Ulrich Drepper <drepper@gmail.com>
42331
42332 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42333 to groups setting in database lookup.
42334 * nss/nsswitch.conf: Add initgroups entry.
42335
b722481a
EB
423362011-04-22 Ulrich Drepper <drepper@gmail.com>
42337
42338 [BZ #12685]
42339 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42340 mode string.
42341 Patch by Eric Blake <eblake@redhat.com>.
42342
4df46dbd
L
423432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42344
42345 * sunrpc/Makefile (need-export-routines): Add svc_run.
42346 (routines): Remove svc_run.
42347 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42348 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42349 * sunrpc/svc_run.c (svc_run): Likewise.
42350 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42351
e84142d2
UD
423522011-04-21 Ulrich Drepper <drepper@gmail.com>
42353
42354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42355 problem in reallocation in last patch.
42356
877175d8
UD
423572011-04-20 Ulrich Drepper <drepper@gmail.com>
42358
42359 * sunrpc/Makefile: Move inclusion of Rules.
42360
ab8eed78
UD
423612011-04-19 Ulrich Drepper <drepper@gmail.com>
42362
42363 * nss/nss_files/files-initgroups.c: New file.
42364 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42365 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42366 _nss_files_initgroups_dyn.
42367
e3d8f584
RS
423682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42369
42370 * elf/elf.h (R_ARM_IRELATIVE): Define.
42371
af190f45
UD
423722011-04-19 Ulrich Drepper <drepper@gmail.com>
42373
42374 * po/ru.po: Update from translation team.
42375
53cf59ef
UD
423762011-04-17 Ulrich Drepper <drepper@gmail.com>
42377
42378 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42379 dependencies.
42380
4c559bcd
MF
423812011-02-06 Mike Frysinger <vapier@gentoo.org>
42382
42383 [BZ #12653]
42384 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42385 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42386 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42388 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42389
4420675c
AS
423902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42391
42392 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42393 differing bytes.
42394 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42395 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42396 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42397
75ea32ab
UD
423982011-04-17 Ulrich Drepper <drepper@gmail.com>
42399
42400 [BZ #12420]
42401 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42402 storing it.
42403 * stdlib/bug-getcontext.c: New file.
42404 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42405
27390476
AK
424062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42407
42408 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42409 instructions into .machine "z9-109".
42410 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42411 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42412
10442705
AK
424132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42414
42415 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42416 between environment variables and auxiliary vector.
42417
7b57bfe5
UD
424182011-04-16 Ulrich Drepper <drepper@gmail.com>
42419
42420 * Makefile: Add rules to build linkobj/libc.so.
42421 * include/libc-symbols.h: Define libc_hidden_nolink.
42422 * include/rpc/auth.h: Mark functions which are to be hidden.
42423 * include/rpc/auth_des.h: Likewise.
42424 * include/rpc/auth_unix.h: Likewise.
42425 * include/rpc/clnt.h: Likewise.
42426 * include/rpc/des_crypt.h: Likewise.
42427 * include/rpc/key_prot.h: Likewise.
42428 * include/rpc/pmap_clnt.h: Likewise.
42429 * include/rpc/pmap_prot.h: Likewise.
42430 * include/rpc/pmap_rmt.h: Likewise.
42431 * include/rpc/rpc_msg.h: Likewise.
42432 * include/rpc/svc.h: Likewise.
42433 * include/rpc/svc_auth.h: Likewise.
42434 * include/rpc/xdr.h: Likewise.
42435 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42436 * nss/Makefile: Likewise.
42437 * sunrpc/Makefile: Don't install headers. Build library with normal
42438 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42439 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42440 for the compat linking library. Remove use of INTDEF/INTUSE.
42441 * sunrpc/auth_none.c: Likewise.
42442 * sunrpc/auth_unix.c: Likewise.
42443 * sunrpc/authdes_prot.c: Likewise.
42444 * sunrpc/authuxprot.c: Likewise.
42445 * sunrpc/clnt_gen.c: Likewise.
42446 * sunrpc/clnt_perr.c: Likewise.
42447 * sunrpc/clnt_raw.c: Likewise.
42448 * sunrpc/clnt_simp.c: Likewise.
42449 * sunrpc/clnt_tcp.c: Likewise.
42450 * sunrpc/clnt_udp.c: Likewise.
42451 * sunrpc/clnt_unix.c: Likewise.
42452 * sunrpc/des_crypt.c: Likewise.
42453 * sunrpc/des_soft.c: Likewise.
42454 * sunrpc/get_myaddr.c: Likewise.
42455 * sunrpc/key_call.c: Likewise.
42456 * sunrpc/key_prot.c: Likewise.
42457 * sunrpc/netname.c: Likewise.
42458 * sunrpc/pm_getmaps.c: Likewise.
42459 * sunrpc/pm_getport.c: Likewise.
42460 * sunrpc/pmap_clnt.c: Likewise.
42461 * sunrpc/pmap_prot.c: Likewise.
42462 * sunrpc/pmap_prot2.c: Likewise.
42463 * sunrpc/pmap_rmt.c: Likewise.
42464 * sunrpc/publickey.c: Likewise.
42465 * sunrpc/rpc_cmsg.c: Likewise.
42466 * sunrpc/rpc_common.c: Likewise.
42467 * sunrpc/rpc_dtable.c: Likewise.
42468 * sunrpc/rpc_prot.c: Likewise.
42469 * sunrpc/rpc_thread.c: Likewise.
42470 * sunrpc/rtime.c: Likewise.
42471 * sunrpc/svc.c: Likewise.
42472 * sunrpc/svc_auth.c: Likewise.
42473 * sunrpc/svc_authux.c: Likewise.
42474 * sunrpc/svc_raw.c: Likewise.
42475 * sunrpc/svc_run.c: Likewise.
42476 * sunrpc/svc_simple.c: Likewise.
42477 * sunrpc/svc_tcp.c: Likewise.
42478 * sunrpc/svc_udp.c: Likewise.
42479 * sunrpc/svc_unix.c: Likewise.
42480 * sunrpc/svcauth_des.c: Likewise.
42481 * sunrpc/xcrypt.c: Likewise.
42482 * sunrpc/xdr.c: Likewise.
42483 * sunrpc/xdr_array.c: Likewise.
42484 * sunrpc/xdr_float.c: Likewise.
42485 * sunrpc/xdr_intXX_t.c: Likewise.
42486 * sunrpc/xdr_mem.c: Likewise.
42487 * sunrpc/xdr_rec.c: Likewise.
42488 * sunrpc/xdr_ref.c: Likewise.
42489 * sunrpc/xdr_sizeof.c: Likewise.
42490 * sunrpc/xdr_stdio.c: Likewise.
42491
e6c61494
UD
424922011-04-10 Ulrich Drepper <drepper@gmail.com>
42493
42494 [BZ #12650]
42495 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42496 * sysdeps/ia64/dl-tls.h: Likewise.
42497 * sysdeps/powerpc/dl-tls.h: Likewise.
42498 * sysdeps/s390/dl-tls.h: Likewise.
42499 * sysdeps/sh/dl-tls.h: Likewise.
42500 * sysdeps/sparc/dl-tls.h: Likewise.
42501 * sysdeps/x86_64/dl-tls.h: Likewise.
42502 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42503
34fe483e
AS
425042011-03-14 Andreas Schwab <schwab@redhat.com>
42505
42506 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42507 rpath element also skip the following colon.
42508 (expand_dynamic_string_token): Add is_path parameter and pass
42509 down to DL_DST_REQUIRED and _dl_dst_substitute.
42510 (decompose_rpath): Call expand_dynamic_string_token with
42511 non-zero is_path. Ignore empty rpaths.
42512 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42513 with zero is_path.
42514
f12a32e6
AS
425152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42516
42517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42518 Make cancelable.
42519
38a7d692
UD
425202011-04-09 Ulrich Drepper <drepper@gmail.com>
42521
42522 [BZ #12655]
42523 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42524 Patch by Filipe David Manana <fdmanana@apache.org>.
42525
e451d22b
AS
425262011-04-07 Andreas Schwab <schwab@redhat.com>
42527
42528 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42529 Maintain aligned stack.
42530 (CHECK_RSP): Remove unused macro.
42531
dedc7c7b
UD
425322011-04-03 Ulrich Drepper <drepper@gmail.com>
42533
42534 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42535 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42536
94521213
UD
425372011-04-02 Ulrich Drepper <drepper@gmail.com>
42538
42539 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42540
8cb700c0 42541 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42542
0354e355
L
425432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42544
42545 [BZ #12518]
42546 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42547 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42548 * sysdeps/x86_64/memmove.c: New file.
42549 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42550 (memcpy): Renamed to ...
42551 (__new_memcpy): This.
42552 (memcpy): Provide GLIBC_2_14 memcpy.
42553 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42554 (memcpy): Provide GLIBC_2_2_5 memcpy.
42555
8593482f
UD
425562011-04-01 Ulrich Drepper <drepper@gmail.com>
42557
42558 [BZ #12631]
42559 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42560
81a5726b
AS
425612011-03-30 Andreas Schwab <schwab@redhat.com>
42562
42563 * misc/syncfs.c: New file.
42564 * misc/Makefile (routines): Add syncfs.
42565 * posix/unistd.h: Declare syncfs.
42566 * sysdeps/unix/syscalls.list: Add syncfs.
42567
00e5419f
AS
425682011-04-01 Andreas Schwab <schwab@redhat.com>
42569
42570 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42571 open_by_handle_at.
42572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42573 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42577 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42578 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42579
748876bf
UD
425802011-04-01 Ulrich Drepper <drepper@gmail.com>
42581
658e451d
UD
42582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42583 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42584 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42589
748876bf
UD
42590 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42591 sync_file_range.c with -fexceptions.
42592 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42593 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42594 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42595 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42596 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42597 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42599 sync_file_range as cancellation point
42600 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42601 now a wrapper around __call_sync_file_range with cancellation handling.
42602 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42603 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42604 function name to __call_sync_file_range.
42605 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42606 Add call_sync_file_range.
748876bf 42607
6e63d5e1
AS
426082011-04-01 Andreas Schwab <schwab@redhat.com>
42609
42610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42611 bits/timex.h.
6e63d5e1 42612
46998f74
UD
426132011-04-01 Ulrich Drepper <drepper@gmail.com>
42614
4c1423ed
UD
42615 * iconv/iconv.h: Fix typo in comment.
42616 * io/fcntl.h: Likewise.
42617 * libio/stdio.h: Likewise.
42618 * posix/spawn.h: Likewise.
42619 * posix/unistd.h: Likewise.
42620 * stdlib/stdlib.h: Likewise.
42621 * time/time.h: Likewise.
42622 * wcsmbs/wchar.h: Likewise.
42623
158648c0
UD
42624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42625 open_by_handle): Add.
42626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42627 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42628 Augment a few comments.
42629 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42631 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42634 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42635 open_by_handle.
42636
46998f74
UD
42637 * io/fcntl.h (AT_EMPTY_PATH): Define.
42638
83fe108b
UD
426392011-03-30 Ulrich Drepper <drepper@gmail.com>
42640
42641 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42642 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42643 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42644 to...
42645 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42646 * Versions.def: Add GLIBC_2.14.
42647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42648 Export.
83fe108b 42649
bb242059
UD
426502011-03-22 Ulrich Drepper <drepper@gmail.com>
42651
42652 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42653 round counter.
42654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42655
c97a1282
L
426562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42657
42658 [BZ #12597]
42659 * string/test-strncmp.c (do_page_test): New function.
42660 (check2): Likewise.
42661 (test_main): Call check2.
42662 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42663
2a115601
UD
426642011-03-20 Ulrich Drepper <drepper@gmail.com>
42665
42666 [BZ #12587]
42667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42668 Handle cache information in CPU leaf 4.
42669 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42670
8126d904
UD
426712011-03-18 Ulrich Drepper <drepper@gmail.com>
42672
042c49c6 42673 [BZ #12583]
8126d904
UD
42674 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42675 character representation.
42676 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42677
ccfe366e
RA
426782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42679
42680 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42681 END(__isnan) to END(__isnanf) to match function entry point/label
42682 EALIGN(__isnanf,...).
42683
c6e13027
JJ
426842011-03-10 Jakub Jelinek <jakub@redhat.com>
42685
42686 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42687
33f85a3f
UD
426882011-03-10 Ulrich Drepper <drepper@gmail.com>
42689
028478fa
UD
42690 [BZ #12510]
42691 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42692 copy from the symbol referenced in the relocation to initialize the
42693 used variable.
42694 Patch by Piotr Bury <pbury@goahead.com>.
42695 * elf/Makefile: Add rules to build and tst-unique3.
42696 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42697 * elf/tst-unique3.cc: New file.
42698 * elf/tst-unique3.h: New file.
42699 * elf/tst-unique3lib.cc: New file.
42700 * elf/tst-unique3lib2.cc: New file.
42701
33f85a3f
UD
42702 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42703
03592fc7
MF
427042011-03-10 Mike Frysinger <vapier@gentoo.org>
42705
42706 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42707 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42708 to _start.
03592fc7 42709
6a5ee102
UD
427102011-03-06 Ulrich Drepper <drepper@gmail.com>
42711
42712 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42713 to-be-loaded object along a path to loader is ld.so.
42714
7e4ba49c
HJ
427152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42716 Ulrich Drepper <drepper@gmail.com>
42717
42718 * sysdeps/x86_64/memset.S: After aligning destination, code
42719 branches to different locations depending on the value of
42720 misalignment, when multiarch is enabled. Fix this.
42721
427222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42723
42724 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42725 Set _x86_64_preferred_memory_instruction for AMD processsors.
42726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42727 Set bit_Prefer_SSE_for_memop for AMD processors.
42728
13a804de
UD
427292011-03-04 Ulrich Drepper <drepper@gmail.com>
42730
42731 * libio/fmemopen.c (fmemopen): Optimize a bit.
42732
9d25c392
AS
427332011-03-03 Andreas Schwab <schwab@redhat.com>
42734
42735 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42736
a5543c6a
RM
427372011-03-03 Roland McGrath <roland@redhat.com>
42738
42739 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42740
012d35f7
DM
427412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42742
7e4ba49c 42743 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42744 __bzero_ultra1 instead of __memset_ultra1.
42745
4bff6e01
AS
427462011-02-23 Andreas Schwab <schwab@redhat.com>
42747 Ulrich Drepper <drepper@gmail.com>
42748
42749 [BZ #12509]
42750 * include/link.h (struct link_map): Add l_orig_initfini.
42751 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42752 returning unsuccessfully.
42753 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42754 close of a file loaded at startup, restore the original l_initfini
42755 list.
42756 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42757 list, store the pointer.
42758 * elf/Makefile ($(objpfx)noload-mem): New rule.
42759 (noload-ENV): Define.
42760 (tests): Add $(objpfx)noload-mem.
42761 * elf/noload.c: Include <memcheck.h>.
42762 (main): Call mtrace. Close all opened handles.
42763
f2092faf
AS
427642011-02-17 Andreas Schwab <schwab@redhat.com>
42765
42766 [BZ #12454]
42767 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42768 dependencies are missing.
42769
6c8a2e88
ST
427702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42771
f2092faf 42772 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42773 Hurd needs munmap.
42774 * sysdeps/mach/hurd/ifreq.h: New file.
42775
84a42118
PB
427762011-01-27 Petr Baudis <pasky@suse.cz>
42777 Ulrich Drepper <drepper@gmail.com>
42778
071f805e 42779 [BZ 12445]#
84a42118
PB
42780 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42781 to extend_alloca().
42782 * stdio-common/bug23.c: New file.
42783 * stdio-common/Makefile (tests): Add bug23.
42784
e23fe25b
AS
427852010-09-28 Andreas Schwab <schwab@redhat.com>
42786 Ulrich Drepper <drepper@gmail.com>
42787
42788 [BZ #12489]
42789 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42790 before performing relro protection. At old place add assertion
42791 to make sure nothing changed.
42792
d3f02e10
NS
427932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42794 Glauber de Oliveira Costa <glommer@gmail.com>
42795
42796 * elf/elf.h: Add new ARM TLS relocs.
42797
d55fd7a5
RA
427982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42799
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42801 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42802 cast from r3.
42803 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42804 'tests' variable.
42805 * sysdeps/wordsize-64/tst-writev.c: New file.
42806
2206397e
RA
428072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42808
42809 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42810 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42811 insns in _dl_start to prevent a TOC reference before relocs are
42812 resolved.
42813
e9433893
UD
428142011-02-15 Ulrich Drepper <drepper@gmail.com>
42815
42816 [BZ #12469]
42817 * Makeconfig: Remove RANLIB definition.
42818 * Makerules: Don't use RANLIB.
42819 * aclocal.m4: Remove ranlib test.
42820 * configure.in: No need to check for ranlib.
42821 * elf/rtld-Rules: Don't use RANLIB.
42822
f75286c6
ST
428232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42824
8e31c82d
ST
42825 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42826 protection macro.
42827 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42828 inclusion protection macro.
42829
f75286c6
ST
42830 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42831 SIGRTMIN and SIGRTMAX and print information in that case only when
42832 SIGRTMIN is defined.
42833
c1d0e639
JJ
428342011-02-11 Jakub Jelinek <jakub@redhat.com>
42835
42836 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42837 arginfo fn returning -1.
42838
42839 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42840 and thousands string is zero terminated.
42841
edf9294e
AS
428422011-02-03 Andreas Schwab <schwab@redhat.com>
42843
42844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42845 sysdeps/unix/sysv/linux/bits/socket.h.
42846
2b7e92df
ST
428472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42848
edf9294e
AS
42849 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42850 (__CPU_COUNT): Remove old macros.
42851 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42852 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42853 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42854 (__sched_cpualloc, __sched_cpufree): Add declarations.
42855
a4c7ea7b
UD
428562011-02-05 Ulrich Drepper <drepper@gmail.com>
42857
42858 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42859 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42860 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42861 (readdhstai): Return value of addhstaiX call.
42862 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42863 (addgrbyX): Return value returned by cache_addgr.
42864 (readdgrbyname): Return value returned by addgrbyX.
42865 (readdgrbygid): Likewise.
42866 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42867 (addpwbyX): Return value returned by cache_addpw.
42868 (readdpwbyname): Return value returned by addhstbyX.
42869 (readdpwbyuid): Likewise.
42870 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42871 (addservbyX): Return value returned by cache_addserv.
42872 (readdservbyname): Return value returned by addservbyX:
42873 (readdservbyport): Likewise.
42874 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42875 (addhstbyX): Return value returned by cache_addhst.
42876 (readdhstbyname): Return value returned by addhstbyX.
42877 (readdhstbyaddr): Likewise.
42878 (readdhstbynamev6): Likewise.
42879 (readdhstbyaddrv6): Likewise.
42880 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42881 (readdinitgroups): Return value returned by addinitgroupsX.
42882 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42883 (prune_cache): Keep track of timeout value of re-added entries.
42884 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42885 * nscd/nscd.h: Adjust prototypes of readd* functions.
42886
a0bf67cc
RM
428872011-02-04 Roland McGrath <roland@redhat.com>
42888
42889 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42890 (nis_stats): Likewise.
42891 * nis/nis_modify.c (nis_modify): Likewise.
42892 * nis/nis_remove.c (nis_remove): Likewise.
42893 * nis/nis_add.c (nis_add): Likewise.
42894
42895 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42896
42897 * posix/fnmatch_loop.c: Add some consts.
42898
42899 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42900
435b95eb
L
429012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42902
42903 [BZ #12460]
42904 * config.make.in (config-cflags-novzeroupper): Define.
42905 * configure.in: Substitute libc_cv_cc_novzeroupper.
42906 * elf/Makefile (AVX-CFLAGS): Define.
42907 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42908 (CFLAGS-tst-auditmod4a.c): Likewise.
42909 (CFLAGS-tst-auditmod4b.c): Likewise.
42910 (CFLAGS-tst-auditmod6b.c): Likewise.
42911 (CFLAGS-tst-auditmod6c.c): Likewise.
42912 (CFLAGS-tst-auditmod7b.c): Likewise.
42913 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42914
8517b15e
UD
429152011-02-02 Ulrich Drepper <drepper@gmail.com>
42916
42917 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42918 function to the callback.
42919 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42920
10a656fe
AS
429212011-02-02 Andreas Schwab <schwab@redhat.com>
42922
42923 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42924 of errno.
42925
968dad0a
UD
429262011-01-19 Ulrich Drepper <drepper@gmail.com>
42927
9f94d2ea 42928 [BZ #11724]
968dad0a
UD
42929 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42930 of constructors.
42931 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42932 of destructors.
42933 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42934
42935 [BZ #11724]
42936 * elf/Makefile: Add rules to build and run new test.
42937 * elf/tst-initorder.c: New file.
42938 * elf/tst-initorder.exp: New file.
42939 * elf/tst-initordera1.c: New file.
42940 * elf/tst-initordera2.c: New file.
42941 * elf/tst-initordera3.c: New file.
42942 * elf/tst-initordera4.c: New file.
42943 * elf/tst-initorderb1.c: New file.
42944 * elf/tst-initorderb2.c: New file.
42945 * elf/tst-order-a1.c: New file.
42946 * elf/tst-order-a2.c: New file.
42947 * elf/tst-order-a3.c: New file.
42948 * elf/tst-order-a4.c: New file.
42949 * elf/tst-order-b1.c: New file.
42950 * elf/tst-order-b2.c: New file.
42951 * elf/tst-order-main.c: New file.
42952 New test case by George Gensure <werkt0@gmail.com>.
42953
86e92359
UD
429542010-10-01 Andreas Schwab <schwab@redhat.com>
42955
42956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42957 decoding ACE if AI_CANONIDN.
42958
5d5732b0
UD
429592011-01-18 Ulrich Drepper <drepper@gmail.com>
42960
42961 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42962
a77e8cbc
UD
429632011-01-17 Ulrich Drepper <drepper@gmail.com>
42964
6392473f
UD
42965 * version.h (RELEASE): Bump for 2.13 release.
42966 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42967
620a0529
UD
42968 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42969
18ba70a5
UD
42970 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42971 MADV_NOHUGEPAGE.
32465c3e
UD
42972 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42974 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42975 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42976 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42977 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42978
c0dafcf1
UD
42979 * posix/getconf.c: Update copyright year.
42980 * catgets/gencat.c: Likewise.
42981 * csu/version.c: Likewise.
42982 * debug/catchsegv.sh: Likewise.
42983 * debug/xtrace.sh: Likewise.
42984 * elf/ldconfig.c: Likewise.
42985 * elf/ldd.bash.in: Likewise.
42986 * elf/sprof.c (print_version): Likewise.
42987 * iconv/iconv_prog.c: Likewise.
42988 * iconv/iconvconfig.c: Likewise.
42989 * locale/programs/locale.c: Likewise.
42990 * locale/programs/localedef.c: Likewise.
42991 * malloc/memusage.sh: Likewise.
42992 * malloc/mtrace.pl: Likewise.
42993 * nscd/nscd.c (print_version): Likewise.
42994 * nss/getent.c: Likewise.
42995
a77e8cbc
UD
42996 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42997 PF_CAIF, and PF_ALG.
42998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42999
77e8bddf
AS
430002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43001
1f20b93a
AS
43002 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43003 (modules-names): Use them.
43004 (ifunc-test-modules, ifunc-pie-tests): Define.
43005 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43006 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43007 (test-extras): Likewise.
43008 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43009 $(compile-command.c).
43010 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43011 (all-built-dso): Define.
43012 (check-textrel.out, check-execstack.out): Depend on it.
43013
77e8bddf
AS
43014 * configure.in: Don't override --enable-multi-arch.
43015
bc425b33
UD
430162011-01-15 Ulrich Drepper <drepper@gmail.com>
43017
43018 [BZ #6812]
43019 * nscd/hstcache.c (tryagain): Define.
43020 (cache_addhst): Return tryagain not notfound for temporary errors.
43021 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43022 failed.
43023
794c3ad3
UD
430242011-01-14 Ulrich Drepper <drepper@gmail.com>
43025
70181fdd
UD
43026 [BZ #10563]
43027 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43028 to make the syscall.
43029 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43030
794c3ad3
UD
43031 [BZ #12378]
43032 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43033 and fall back to matching as normal character if the string ends before
43034 the matching ']' is found. This is what POSIX requires.
43035 * posix/testfnm.c: Adjust test result.
43036 * posix/globtest.sh: Adjust test result. Add new test.
43037 * posix/tst-fnmatch.input: Likewise.
43038 * posix/tst-fnmatch2.c: Add new test.
43039
68dc9497
AS
430402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43041
43042 * elf/Makefile (check-execstack): Revert last change. Depend on
43043 check-execstack.h.
43044 (check-execstack.h): New target.
43045 (generated): Add check-execstack.h.
43046 * elf/check-execstack.c: Include "check-execstack.h".
43047 (main): Revert last change.
43048 (handle_file): Return zero if GNU_STACK is absent and
43049 DEFAULT_STACK_PERMS doesn't include PF_X.
43050
451f001b
UD
430512011-01-13 Ulrich Drepper <drepper@gmail.com>
43052
cfa28e56
UD
43053 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43054 in child fails because the descriptor is already closed.
8cf8ce17
UD
43055 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43056 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43057 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43058
1086d70d
UD
43059 [BZ #12397]
43060 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43061 syscall.
43062
451f001b
UD
43063 [BZ #10484]
43064 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43065 temporary buffer used to handle multi lookups locally.
a85b5cb4 43066 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43067
08769175
UD
430682011-01-12 Ulrich Drepper <drepper@gmail.com>
43069
43070 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43071 loader is ld.so.
43072
5e49c52e
UD
430732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43074
43075 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43076 alignment for SSE2.
43077
60522a5f
UD
430782011-01-12 Ulrich Drepper <drepper@gmail.com>
43079
43080 [BZ #12394]
43081 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43082 characters. When rounding increased number of integer digits recompute
43083 number of groups.
43084 * stdio-common/tst-grouping.c: New file.
43085 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43086
f257bbd7
UD
430872011-01-09 Ulrich Drepper <drepper@gmail.com>
43088
43089 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43090 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43091
43092 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43093 void.
43094 * bits/select.h: Likewise.
43095
fa9c15cb
UD
430962011-01-08 Ulrich Drepper <drepper@gmail.com>
43097
43098 * po/ja.po: Update from translation team.
43099
16c2895f
DM
431002011-01-04 David S. Miller <davem@sunset.davemloft.net>
43101
43102 [BZ #11155]
43103 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43104 implementation just like for lxstat, fxstatat, et al.
43105
2543fef2
JM
431062010-12-27 Jim Meyering <meyering@redhat.com>
43107
43108 [BZ #12348]
43109 * posix/regexec.c (build_trtable): Return failure indication upon
43110 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43111
98727dbe
UD
431122010-12-25 Ulrich Drepper <drepper@gmail.com>
43113
5bd6dc5c
UD
43114 [BZ #12201]
43115 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43116 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43117 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43119
97983464
UD
43120 [BZ #12207]
43121 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43122
98727dbe
UD
43123 [BZ #12204]
43124 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43125 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43126
4a531bb0
L
431272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43128
43129 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43130 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43131 script has SORT_BY_INIT_PRIORITY.
43132 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43133 NO_CTORS_DTORS_SECTIONS is defined.
43134 * elf/soinit.c: Likewise.
43135 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43136 NO_CTORS_DTORS_SECTIONS is defined.
43137 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43138 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43139 * sysdeps/sh/init-first.c: Likewise.
43140 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43141
07eb4b71
UD
431422010-12-24 Ulrich Drepper <drepper@gmail.com>
43143
43144 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43145 always use the slow path.
43146
30950a5f
RA
431472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43148
43149 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43150 similar rule which adds the sysdep directories to the header search in
43151 order to pick up the correct platform stackinfo.h.
43152 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43153 perform test if it is, otherwise return successfully without testing.
43154 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43155 DEFAULT_STACK_PERMS define in stackinfo.h.
43156 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43157 defined in stackinfo.h.
43158 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43159 DEFAULT_STACK_PERMS defined in stackinfo.h.
43160 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43161 * sysdeps/ia64/stackinfo.h: Likewise.
43162 * sysdeps/s390/stackinfo.h: Likewise.
43163 * sysdeps/sh/stackinfo.h: Likewise.
43164 * sysdeps/sparc/stackinfo.h: Likewise.
43165 * sysdeps/x86_64/stackinfo.h: Likewise.
43166 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43167 PF_X for powerpc64. Retain PF_X for powerpc32.
43168
db753e2c
UD
431692010-12-19 Ulrich Drepper <drepper@gmail.com>
43170
14b697f7
UD
43171 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43172 accurately.
db753e2c
UD
43173 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43174 GETDENTS_64BIT_ALIGNED.
43175
28300719
UD
431762010-12-14 Ulrich Drepper <dreper@gmail.com>
43177
14b697f7 43178 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43179
4f197237
AS
431802010-12-10 Andreas Schwab <schwab@redhat.com>
43181
dbb0472f
AS
43182 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43183 _GNU_SOURCE.
43184
4f197237
AS
43185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43186 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43187 Remove __restrict.
43188 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43189 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43190
fb88ac72
UD
431912010-12-09 Ulrich Drepper <drepper@gmail.com>
43192
43193 [BZ #11655]
43194 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43195 are initialized.
43196
42acbb92
JJ
431972010-12-09 Jakub Jelinek <jakub@redhat.com>
43198
43199 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43200
c038d98d
UD
432012010-12-03 Ulrich Drepper <drepper@gmail.com>
43202
43203 * po/it.po: Update from translation team.
43204
3a4a2499
L
432052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43206
43207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43208 unused codes.
43209
1e24cf6e
UD
432102010-11-30 Ulrich Drepper <drepper@gmail.com>
43211
43212 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43213
a7690819
AS
432142010-11-24 Andreas Schwab <schwab@redhat.com>
43215
43216 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43217 specially.
43218 (gaih_getanswer_slice): Likewise.
43219
3bf8d1b1
JJ
432202010-10-20 Jakub Jelinek <jakub@redhat.com>
43221
43222 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43223
6db52fbb
PB
432242010-05-31 Petr Baudis <pasky@suse.cz>
43225
43226 [BZ #11149]
43227 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43228 silently even in the chroot mode.
43229
eaca7569
UD
432302010-11-22 Ulrich Drepper <drepper@gmail.com>
43231
43232 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43233 last patch a bit. Pretty printing
43234
3056dcdb
UD
432352010-05-31 Petr Baudis <pasky@suse.cz>
43236
43237 [BZ #10085]
43238 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43239 initialization of skip_initgroups_dyn.
43240
cf7c9078
UD
432412010-11-19 Ulrich Drepper <drepper@gmail.com>
43242
43243 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43244 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43245
a1fb5e3e
UD
432462010-11-16 Ulrich Drepper <drepper@gmail.com>
43247
43248 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43249
3540d66b
AS
432502010-11-11 Andreas Schwab <schwab@redhat.com>
43251
43252 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43253 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43254 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43255 ($(objpfx)tst-fnmatch-mem): New rule.
43256 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43257 * posix/tst-fnmatch.c (main): Call mtrace.
43258
13b69574
L
432592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43262 Support Intel processor model 6 and model 0x2c.
43263
da93d214
LM
432642010-11-10 Luis Machado <luisgpm@br.ibm.com>
43265
43266 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43267 signed comparison.
43268
8ca52c6e
L
432692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43270
43271 [BZ #12205]
43272 * string/test-strncasecmp.c (check_result): New function.
43273 (do_one_test): Use it.
43274 (check1): New function.
43275 (test_main): Use it.
43276 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43277 Support strcasecmp and strncasecmp.
43278
69da074d
UD
432792010-11-08 Ulrich Drepper <drepper@gmail.com>
43280
43281 [BZ #12194]
43282 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43283 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43284
ff02d528
L
432852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43286
43287 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43288 IFUNC support.
43289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43290 memset-x86-64.
43291 * sysdeps/x86_64/multiarch/bzero.S: New file.
43292 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43293 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43294 * sysdeps/x86_64/multiarch/memset.S: New file.
43295 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43297 Set bit_Prefer_SSE_for_memop for Intel processors.
43298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43299 Define.
43300 (index_Prefer_SSE_for_memop): Define.
43301 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43302
344d0b54
LM
433032010-11-04 Luis Machado <luisgpm@br.ibm.com>
43304
43305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43306 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43307
c0dde15b
UD
433082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43309
43310 [BZ #12191]
43311 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43312 (__x86_64_raw_data_cache_size_half): Likewise.
43313 (__x86_64_raw_shared_cache_size): Likewise.
43314 (__x86_64_raw_shared_cache_size_half): Likewise.
43315
43316 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43317 (__x86_64_raw_data_cache_size_half): Likewise.
43318 (__x86_64_raw_shared_cache_size): Likewise.
43319 (__x86_64_raw_shared_cache_size_half): Likewise.
43320 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43321 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43322 and __x86_64_raw_shared_cache_size_half. Round
43323 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43324 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43325 to multiple of 256 bytes.
43326
0e516e0e
MS
433272010-11-03 Ulrich Drepper <drepper@gmail.com>
43328
43329 [BZ #12167]
43330 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43331 of inacessible symlinks. Verify result of symlink before returning it.
43332 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43333 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43334
0e012e87
ER
433352010-10-28 Erich Ritz <erichritz@gmail.com>
43336
43337 * math/math.h (isinf): Fix typo in comment.
43338
de0ff7bc
UD
433392010-11-01 Ulrich Drepper <drepper@gmail.com>
43340
43341 * po/da.po: Update from translation team.
43342
fa41c84d
UD
433432010-10-26 Ulrich Drepper <drepper@gmail.com>
43344
43345 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43346 is added to the list.
43347
f0967738
AK
433482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43349 Ulrich Drepper <drepper@gmail.com>
43350
43351 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43352 the global list here. Move code to...
43353 (_dl_add_to_namespace_list): ...here. New function.
43354 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43355 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43356 * elf/dl-load.c (lose): Don't remove the element from the list.
43357 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43358 (_dl_map_object): Likewise.
43359
433602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43361
43362 [BZ #12159]
43363 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43364 into all bytes of SSE register.
43365 Patch by Richard Li <richardpku@gmail.com>.
43366
f0967738 433672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43368
43369 [BZ #12140]
43370 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43371 perturbing.
43372
d0b9e94f
MB
433732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43374
43375 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43376 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43377 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43378 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43380 submachine.
43381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43382
8e9f92e9
AS
433832010-10-22 Andreas Schwab <schwab@redhat.com>
43384
43385 * include/dlfcn.h (__RTLD_SECURE): Define.
43386 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43387 mode & __RTLD_SECURE instead.
43388 (open_path): Rename preloaded parameter to secure.
43389 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43390 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43391 * elf/dl-deps.c (openaux): Likewise.
43392 * elf/rtld.c (struct map_args): Remove is_preloaded.
43393 (map_doit): Don't use it.
43394 (dl_main): Likewise.
43395 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43396 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43397
bc96fbda
AS
433982010-09-09 Andreas Schwab <schwab@redhat.com>
43399
43400 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43401 (sysd-rules-targets): Remove duplicates.
43402 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43403 rtld-%.$o dependency.
43404
22cd1c9b
AS
434052010-10-18 Andreas Schwab <schwab@redhat.com>
43406
43407 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43408 _dl_map_object do it.
43409
18edac48
UD
434102010-10-19 Ulrich Drepper <drepper@gmail.com>
43411
43412 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43413 fast fma builtins, define the macros in the C99 standard.
43414 (FP_FAST_FMAF): Likewise.
43415 (FP_FAST_FMAL): Likewise.
43416 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43417
43418 * bits/mathdef.h: Update copyright year.
43419 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43420
d2050124
MM
434212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43422
43423 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43424 builtins, define the macros in the C99 standard.
43425 (FP_FAST_FMAF): Likewise.
43426 (FP_FAST_FMAL): Likewise.
43427 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43428 multiply/add.
43429 (FP_FAST_FMAF): Likewise.
43430
475facd1
JJ
434312010-10-15 Jakub Jelinek <jakub@redhat.com>
43432
43433 [BZ #3268]
43434 * math/libm-test.inc (fma_test): Some new testcases.
43435 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43437 y and infinite z. Do multiplication by C already in long double.
43438 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43440 y and infinite z. Do bitwise or of inexact bit into u.d.
43441 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43442 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43443 * sysdeps/i386/fpu/s_fma.S: Removed.
43444 * sysdeps/i386/fpu/s_fmal.S: Removed.
43445
7c08a05c
JJ
434462010-10-16 Jakub Jelinek <jakub@redhat.com>
43447
43448 [BZ #3268]
43449 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43451 computation is not scheduled after fetestexcept. Fix value
43452 of minimum denormal long double.
43453
f3f7372d
JJ
434542010-10-14 Jakub Jelinek <jakub@redhat.com>
43455
43456 [BZ #3268]
43457 * math/libm-test.inc (fma_test): Add some more tests.
43458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43459 correctly.
43460
14d43591
AS
434612010-10-15 Andreas Schwab <schwab@redhat.com>
43462
43463 * scripts/data/localplt-s390-linux-gnu.data: New file.
43464 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43465
5e908464
JJ
434662010-10-13 Jakub Jelinek <jakub@redhat.com>
43467
43468 [BZ #3268]
43469 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43470 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43471 instead of dbl-64.
43472 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43473 inlines.
43474 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43476 if one of x and y is very large and the other is subnormal.
43477 * sysdeps/s390/fpu/s_fmaf.c: New file.
43478 * sysdeps/s390/fpu/s_fma.c: New file.
43479 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43480 * sysdeps/powerpc/fpu/s_fma.S: New file.
43481 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43482 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43483 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43484
434852010-10-12 Jakub Jelinek <jakub@redhat.com>
43486
43487 [BZ #3268]
43488 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43489 fma tests.
43490 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43491 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43492 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43493 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43494 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43495 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43496 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43497
b833d51f
UD
434982010-10-12 Ulrich Drepper <drepper@redhat.com>
43499
43500 [BZ #12078]
43501 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43502 * posix/bug-regex31.input: Add test case.
43503
1751705d
UD
435042010-10-11 Ulrich Drepper <drepper@gmail.com>
43505
e9b9cbf5
UD
43506 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43507 * posix/bug-regex31.input: New file.
43508
43509 [BZ #12078]
43510 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43511 (parse_sub_exp): Fix last change, use postorder.
43512
ef06edbe
UD
43513 * posix/bug-regex31.c: New file.
43514 * posix/Makefile: Add rules to build and run bug-regex31.
43515
a129c80d
UD
43516 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43517
43518 [BZ #12078]
43519 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43520
b76b818e
UD
43521 [BZ #12108]
43522 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43523 to have entries in sys_siglist.
43524
1751705d
UD
43525 [BZ #12093]
43526 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43527 be NULL.
43528
9ff8d36f
JJ
435292010-10-07 Jakub Jelinek <jakub@redhat.com>
43530
43531 [BZ #3268]
43532 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43533 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43534 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43535 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43536 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43537 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43538 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43539 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43540 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43541 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43542 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43543 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43544 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43545 * math/ftestexcept.c (fetestexcept): Likewise.
43546 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43547 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43548 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43549 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43550 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43551 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43552 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43553
af325969
UD
435542010-10-11 Ulrich Drepper <drepper@gmail.com>
43555
c579b202 43556 [BZ #12107]
af325969
UD
43557 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43558 newline.
43559
67a67b95
UD
435602010-10-06 Ulrich Drepper <drepper@gmail.com>
43561
43562 * string/bug-strstr1.c: New file.
43563 * string/Makefile: Add rules to build and run bug-strstr1.
43564
5fb308bc
EB
435652010-10-05 Eric Blake <eblake@redhat.com>
43566
43567 [BZ #12092]
43568 * string/str-two-way.h (two_way_long_needle): Always clear memory
43569 when skipping input due to the shift table.
43570
45db99c7
UD
435712010-10-03 Ulrich Drepper <drepper@gmail.com>
43572
3b111893
UD
43573 [BZ #12005]
43574 * malloc/mcheck.c: Handle large requests.
43575
45db99c7
UD
43576 [BZ #12077]
43577 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43578 for strncmp and strncasecmp.
43579 * string/stratcliff.c: Add tests for strcmp and strncmp.
43580 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43581
cf7a1eb8
NI
435822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43583
43584 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43585 __set_fpscr.
43586
6484ba5e
AJ
435872010-09-30 Andreas Jaeger <aj@suse.de>
43588
43589 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43590 (CGROUP_SUPER_MAGIC): Define.
43591 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43592 Handle btrfs and cgroup file systems.
43593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43594 Likewise.
43595
91c42559
LM
435962010-09-27 Luis Machado <luisgpm@br.ibm.com>
43597
43598 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43599 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43600
87a97932
AK
436012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43602
43603 [BZ #12067]
43604 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43605 trying to locate the ELF header.
43606
c21cc9bc
AS
436072010-09-27 Andreas Schwab <schwab@redhat.com>
43608
43609 [BZ #11611]
43610 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43611 Mask out sign-bit copies when constructing f_fsid.
43612
315970f6
PB
436132010-09-24 Petr Baudis <pasky@suse.cz>
43614
43615 * debug/stack_chk_fail_local.c: Add missing licence exception.
43616 * debug/warning-nop.c: Likewise.
43617
1ac7a2c7
JM
436182010-09-15 Joseph Myers <joseph@codesourcery.com>
43619
43620 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43621 implementing getdents64 using getdents syscall, set d_type if
43622 __ASSUME_GETDENTS32_D_TYPE.
43623
56801c50
AS
436242010-09-16 Andreas Schwab <schwab@redhat.com>
43625
43626 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43627 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43628
dda51327
UD
436292010-09-21 Ulrich Drepper <drepper@redhat.com>
43630
43631 [BZ #12037]
43632 * posix/unistd.h: Undo change of feature selection for ftruncate from
43633 2010-01-11.
43634
8ffcee4a
UD
436352010-09-20 Ulrich Drepper <drepper@redhat.com>
43636
a545ecd9 43637 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43638 detection.
43639
e24f0a8b
AS
436402010-09-20 Andreas Schwab <schwab@redhat.com>
43641
43642 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43643 fanotify_mark.
43644 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43645
7291c56f
AS
436462010-09-14 Andreas Schwab <schwab@redhat.com>
43647
43648 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43649 variables after CHECK_SP call.
43650 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43651
bc5fb037
AS
436522010-09-13 Andreas Schwab <schwab@redhat.com>
43653 Ulrich Drepper <drepper@redhat.com>
43654
43655 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43656 re-relocationg ld.so.
43657 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43658 _dl_init_paths call.
43659 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43660 here anymore.
43661
e66e7419
UD
436622010-09-14 Ulrich Drepper <drepper@redhat.com>
43663
43664 * resolv/res_init.c (__res_vinit): Count the default server we added.
43665
c044aa75
CLT
436662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43667 Ulrich Drepper <drepper@redhat.com>
43668
43669 [BZ #11968]
43670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43671 (____longjmp_chk): Use %ebx for saving value across system call.
43672 Add unwind info.
43673
32cf4069
AS
436742010-09-06 Andreas Schwab <schwab@redhat.com>
43675
43676 * manual/Makefile: Don't mix pattern rules with normal rules.
43677
817328ee
AS
436782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43679
43680 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43681 operation.
43682 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43683 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43684 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43685 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43687 Likewise.
43688
29fddf61
UD
436892010-09-04 Ulrich Drepper <drepper@redhat.com>
43690
43691 [BZ #11979]
43692 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43693 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43694
0959ffc9
UD
436952010-09-02 Ulrich Drepper <drepper@redhat.com>
43696
43697 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43698 * sysdeps/x86_64/addmul_1.S: Likewise.
43699 * sysdeps/x86_64/lshift.S: Likewise.
43700 * sysdeps/x86_64/mul_1.S: Likewise.
43701 * sysdeps/x86_64/rshift.S: Likewise.
43702 * sysdeps/x86_64/sub_n.S: Likewise.
43703 * sysdeps/x86_64/submul_1.S: Likewise.
43704
ece29840
ST
437052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43706
0959ffc9
UD
43707 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43708 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43709 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43710 * bits/sched.h [__need_schedparam]
ece29840 43711 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43712 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43713 (__defined_schedparam): Define to 1.
ece29840
ST
43714 (__sched_param): New structure, identical to sched_param.
43715 (__need_schedparam): Undefine.
43716
e53a31fe
MF
437172010-08-31 Mike Frysinger <vapier@gentoo.org>
43718
fdc0c10d
MF
43719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43720 (epoll_create1): Declare.
43721
e53a31fe
MF
43722 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43723
a726d796
AS
437242010-08-31 Andreas Schwab <schwab@redhat.com>
43725
43726 [BZ #7066]
43727 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43728 shifting retval into place.
43729
2f3e3dc7
UD
437302010-09-01 Ulrich Drepper <drepper@redhat.com>
43731
f2933da9
UD
43732 * nis/rpcsvc/nis.h: Update copyright notice.
43733 * nis/rpcsvc/nis.x: Likewise.
43734 * nis/rpcsvc/nis_callback.h: Likewise.
43735 * nis/rpcsvc/nis_callback.x: Likewise.
43736 * nis/rpcsvc/nis_object.x: Likewise.
43737 * nis/rpcsvc/nis_tags.h: Likewise.
43738 * nis/rpcsvc/yp.h: Likewise.
43739 * nis/rpcsvc/yp.x: Likewise.
43740 * nis/rpcsvc/ypupd.h: Likewise.
43741 * nis/yp_xdr.c: Likewise.
43742 * nis/ypupdate_xdr.c: Likewise.
43743
2f3e3dc7
UD
43744 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43745 mainly the body of pmap_getport. Add parameters to specify timeouts.
43746 (pmap_getport): Use __libc_rpc_getport.
43747 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43748 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43749 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43750
f3dcc2f9
AS
437512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43752
43753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43754 fanotify_mark.
43755
6d34eb5b
RM
437562010-08-27 Roland McGrath <roland@redhat.com>
43757
43758 * sysdeps/i386/i686/multiarch/Makefile
43759 (CFLAGS-varshift.c): New variable.
43760
9ea3de11
UD
437612010-08-27 Ulrich Drepper <drepper@redhat.com>
43762
c96d23fc
UD
43763 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43764 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43765
9ea3de11
UD
43766 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43767
43768 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43769
623aac7f
L
437702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43771
43772 * sysdeps/x86_64/strlen.S: Unroll the loop.
43773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43774 strlen-sse2 strlen-sse2-bsf.
43775 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43776 __strlen_no_bsf if bit_Slow_BSF is set.
43777 (__strlen_sse42): Removed.
43778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43779 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43780
8b2b7715
RM
437812010-08-25 Roland McGrath <roland@redhat.com>
43782
43783 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43784 * sysdeps/x86_64/multiarch/varshift.c: New file.
43785 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43786 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43787 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43788 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43789
e73015f2
L
437902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43791
43792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43793 strlen-sse2 strlen-sse2-bsf.
43794 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43795 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43796 (__strlen_sse2): Removed.
43797 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43798 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43800 bit_Slow_BSF for Atom.
43801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43802 (index_Slow_BSF): Define.
43803 (HAS_SLOW_BSF): Define.
43804
df24a73e
UD
438052010-08-25 Ulrich Drepper <drepper@redhat.com>
43806
43807 [BZ #10851]
43808 * resolv/res_init.c (__res_vinit): When no server address at all
43809 is given default to loopback.
43810
f2ac4868
RM
438112010-08-24 Roland McGrath <roland@redhat.com>
43812
09055553
RM
43813 * configure.in: Remove config-name.h generation.
43814 * configure: Regenerated.
43815 * config-name.in: File removed.
43816 * scripts/config-uname.sh: New file.
43817 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43818 ($(objdir)config-name.h): New target.
43819
f2ac4868
RM
43820 * sunrpc/rpc_parse.h: Avoid nested comment.
43821
73f27d5e
RH
438222010-08-24 Richard Henderson <rth@redhat.com>
43823 Ulrich Drepper <drepper@redhat.com>
43824 H.J. Lu <hongjiu.lu@intel.com>
43825
43826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43828 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43829 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43830 _mm_alignr_epi8 with _mm_loadu_si128.
43831 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43832 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43833 (__m128i_shift_right): Removed.
43834 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43835 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43836 * sysdeps/x86_64/multiarch/varshift.h: New file.
43837 * sysdeps/x86_64/multiarch/varshift.S: New file.
43838
84b9230c
MF
438392010-08-21 Mike Frysinger <vapier@gentoo.org>
43840
43841 * configure.in: Move assembler checks to before sysdep dir checking.
43842
9bbd0ddc
PB
438432010-08-20 Petr Baudis <pasky@suse.cz>
43844
43845 * LICENSES: Sync the sunrpc license.
43846
9da4bb31
UD
438472010-08-19 Ulrich Drepper <drepper@redhat.com>
43848
a7ab6ec8
UD
43849 * sunrpc/auth_des.c: Update copyright notice once again.
43850 * sunrpc/auth_none.c: Likewise.
43851 * sunrpc/auth_unix.c: Likewise.
43852 * sunrpc/authdes_prot.c: Likewise.
43853 * sunrpc/authuxprot.c: Likewise.
43854 * sunrpc/bindrsvprt.c: Likewise.
43855 * sunrpc/clnt_gen.c: Likewise.
43856 * sunrpc/clnt_perr.c: Likewise.
43857 * sunrpc/clnt_raw.c: Likewise.
43858 * sunrpc/clnt_simp.c: Likewise.
43859 * sunrpc/clnt_tcp.c: Likewise.
43860 * sunrpc/clnt_udp.c: Likewise.
43861 * sunrpc/clnt_unix.c: Likewise.
43862 * sunrpc/des_crypt.c: Likewise.
43863 * sunrpc/des_soft.c: Likewise.
43864 * sunrpc/get_myaddr.c: Likewise.
43865 * sunrpc/getrpcport.c: Likewise.
43866 * sunrpc/key_call.c: Likewise.
43867 * sunrpc/key_prot.c: Likewise.
43868 * sunrpc/openchild.c: Likewise.
43869 * sunrpc/pm_getmaps.c: Likewise.
43870 * sunrpc/pm_getport.c: Likewise.
43871 * sunrpc/pmap_clnt.c: Likewise.
43872 * sunrpc/pmap_prot.c: Likewise.
43873 * sunrpc/pmap_prot2.c: Likewise.
43874 * sunrpc/pmap_rmt.c: Likewise.
43875 * sunrpc/rpc/auth.h: Likewise.
43876 * sunrpc/rpc/auth_unix.h: Likewise.
43877 * sunrpc/rpc/clnt.h: Likewise.
43878 * sunrpc/rpc/des_crypt.h: Likewise.
43879 * sunrpc/rpc/key_prot.h: Likewise.
43880 * sunrpc/rpc/netdb.h: Likewise.
43881 * sunrpc/rpc/pmap_clnt.h: Likewise.
43882 * sunrpc/rpc/pmap_prot.h: Likewise.
43883 * sunrpc/rpc/pmap_rmt.h: Likewise.
43884 * sunrpc/rpc/rpc.h: Likewise.
43885 * sunrpc/rpc/rpc_des.h: Likewise.
43886 * sunrpc/rpc/rpc_msg.h: Likewise.
43887 * sunrpc/rpc/svc.h: Likewise.
43888 * sunrpc/rpc/svc_auth.h: Likewise.
43889 * sunrpc/rpc/types.h: Likewise.
43890 * sunrpc/rpc/xdr.h: Likewise.
43891 * sunrpc/rpc_clntout.c: Likewise.
43892 * sunrpc/rpc_cmsg.c: Likewise.
43893 * sunrpc/rpc_common.c: Likewise.
43894 * sunrpc/rpc_cout.c: Likewise.
43895 * sunrpc/rpc_dtable.c: Likewise.
43896 * sunrpc/rpc_hout.c: Likewise.
43897 * sunrpc/rpc_main.c: Likewise.
43898 * sunrpc/rpc_parse.c: Likewise.
43899 * sunrpc/rpc_parse.h: Likewise.
43900 * sunrpc/rpc_prot.c: Likewise.
43901 * sunrpc/rpc_sample.c: Likewise.
43902 * sunrpc/rpc_scan.c: Likewise.
43903 * sunrpc/rpc_scan.h: Likewise.
43904 * sunrpc/rpc_svcout.c: Likewise.
43905 * sunrpc/rpc_tblout.c: Likewise.
43906 * sunrpc/rpc_util.c: Likewise.
43907 * sunrpc/rpc_util.h: Likewise.
43908 * sunrpc/rpcinfo.c: Likewise.
43909 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43910 * sunrpc/rpcsvc/key_prot.x: Likewise.
43911 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43912 * sunrpc/rpcsvc/mount.x: Likewise.
43913 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43914 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43915 * sunrpc/rpcsvc/rex.x: Likewise.
43916 * sunrpc/rpcsvc/rstat.x: Likewise.
43917 * sunrpc/rpcsvc/rusers.x: Likewise.
43918 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43919 * sunrpc/rpcsvc/spray.x: Likewise.
43920 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43921 * sunrpc/rtime.c: Likewise.
43922 * sunrpc/svc.c: Likewise.
43923 * sunrpc/svc_auth.c: Likewise.
43924 * sunrpc/svc_authux.c: Likewise.
43925 * sunrpc/svc_raw.c: Likewise.
43926 * sunrpc/svc_run.c: Likewise.
43927 * sunrpc/svc_simple.c: Likewise.
43928 * sunrpc/svc_tcp.c: Likewise.
43929 * sunrpc/svc_udp.c: Likewise.
43930 * sunrpc/svc_unix.c: Likewise.
43931 * sunrpc/svcauth_des.c: Likewise.
43932 * sunrpc/xcrypt.c: Likewise.
43933 * sunrpc/xdr.c: Likewise.
43934 * sunrpc/xdr_array.c: Likewise.
43935 * sunrpc/xdr_float.c: Likewise.
43936 * sunrpc/xdr_mem.c: Likewise.
43937 * sunrpc/xdr_rec.c: Likewise.
43938 * sunrpc/xdr_ref.c: Likewise.
43939 * sunrpc/xdr_sizeof.c: Likewise.
43940 * sunrpc/xdr_stdio.c: Likewise.
43941
9da4bb31
UD
43942 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43943 handling.
43944
bdaa77bc
AS
439452010-08-19 Andreas Schwab <schwab@redhat.com>
43946
43947 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43948
fe2f79db
LM
439492010-08-19 Luis Machado <luisgpm@br.ibm.com>
43950
43951 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43952 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43953 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43954 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43955 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43956 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43957 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43958 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43959 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43960 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43961 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43962 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43963 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43964 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43965
b9b42ee0
AB
439662010-07-26 Anton Blanchard <anton@samba.org>
43967
43968 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43969 * malloc/arena.c (heap_trim): Likewise.
43970
1c06ba31
UD
439712010-08-16 Ulrich Drepper <drepper@redhat.com>
43972
43973 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43974 here. Not...
43975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43976 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43977
f8392f40
L
439782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43979
43980 * sysdeps/i386/elf/Makefile: New file.
43981
3162f12e
AS
439822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43983
43984 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43985 from fanotify_init.
43986 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43988
28c90b2c
UD
439892010-08-15 Ulrich Drepper <drepper@redhat.com>
43990
43991 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43992 of strncasecmp_l.
1feccb6c 43993 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43994
ca6bb004
UD
439952010-08-14 Ulrich Drepper <drepper@redhat.com>
43996
e9f82e0d
UD
43997 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43998 strncase_l-nonascii.
43999 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44000 Add strncase_l-ssse3.
44001 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44002 * sysdeps/x86_64/strcmp.S: Likewise.
44003 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44004 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44005 * sysdeps/x86_64/strncase.S: New file.
44006 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44007 * sysdeps/x86_64/strncase_l.S: New file.
44008 * string/Makefile (strop-tests): Add strncasecmp.
44009 * string/test-strncasecmp.c: New file.
44010
44011 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44012 warning.
44013
ca6bb004
UD
44014 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44015 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44016
052fa7b3
AS
440172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44018
44019 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44020
962dba78
UD
440212010-08-12 Ulrich Drepper <drepper@redhat.com>
44022
44023 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44024 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44025 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44026
bebff237
AM
440272010-05-01 Alan Modra <amodra@gmail.com>
44028
44029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44030 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44031 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44032 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44033 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44034 tidying. Don't tail-call __sigjmp_save for static lib.
44035 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44036 save location.
44037 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44038 (CALL_MCOUNT): Add eh info, and nop after bl.
44039 (TAIL_CALL_SYSCALL_ERROR): New macro.
44040 (PSEUDO_RET): Use it.
44041 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44042 Correct save location of integer regs and cr.
44043 (_dl_profile_resolve): Correct cr save location. Delete nops
44044 after bl when SHARED. Reduce cfi size a little by better
44045 placement of cfi directives.
44046 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44047 make a stack frame. Instead use parm save area as a temp.
44048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44049 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44051 Don't make a stack frame for parent, use parm save area.
44052 Increase child stack frame to 112 bytes. Don't save unused reg,
44053 and adjust reg usage. Set up cfi on error recovery and
44054 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44056 (__makecontext): Add dummy nop after jump to exit.
44057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44058 Use correct parm save area and cr save, reduce stack frame.
44059 Correct cfi for possible PSEUDO_RET frame setup.
44060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44061 Branch to local label emitted by PSEUDO_RET rather than
44062 __syscall_error.
44063
02637374
AS
440642010-08-12 Andreas Schwab <schwab@redhat.com>
44065
44066 [BZ #11904]
44067 * locale/programs/locale.c (print_assignment): New function.
44068 (show_locale_vars): Use it.
44069
c3e2f19b
UD
440702010-08-11 Ulrich Drepper <drepper@redhat.com>
44071
3cdaa6ad
UD
44072 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44073 field.
44074 (struct statfs64): Likewise.
44075 (_STATFS_F_FLAGS): Define.
44076 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44078 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44079 (ST_VALID): Define locally.
44080 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44081 __statvfs_getflags, use the provided value.
44082 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44083 __ASSUME_STATFS_F_FLAGS.
44084
754f7da3
UD
44085 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44086
10b3bedc
UD
44087 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44088 Add sys/fanotify.h.
44089 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44090 fanotify_mask for GLIBC_2.13.
44091 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44092 fanotify_init and fanotify_mark.
44093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44094 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44095
c08fb0d7
UD
44096 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44097 Add prlimit.
44098 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44099 prlimit64 for GLIBC_2.13.
44100 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44101 prlimit64.
44102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44103 syscall.
44104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44105 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44106 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44107 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44109 add prlimit alias.
44110 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44111
15bac72b
UD
44112 [BZ #11903]
44113 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44114 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44115
c3e2f19b
UD
44116 * nss/Makefile: Add rules to build and run tst-nss-test1.
44117 * shlib-versions: Add entry for libnss_test1.
44118 * nss/nss_test1.c: New file.
44119 * nss/tst-nss-test1.c: New file.
44120
44121 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44122 (__nss_configure_lookup): Set appropriate entry in
44123 __nss_configure_lookup to true.
44124 * nss/nsswitch.h: Define enum with indeces of databases in
44125 databases and __nss_database_custom arrays. Declare
44126 __nss_database_custom.
44127 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44128 to avoid using nscd when custom rules are installed.
44129 * nss/getXXbyYY_r.c: Likewise.
44130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44131
44132 * nss/nss_files/files-parse.c: Whitespace fixes.
44133
f15ce4d8
UD
441342010-08-09 Ulrich Drepper <drepper@redhat.com>
44135
44136 [BZ #11883]
44137 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44138 * posix/fnmatch_loop.c: Likewise.
44139
d22e4cc9
AK
441402010-07-17 Andi Kleen <ak@linux.intel.com>
44141
44142 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44143 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44144 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44145 * Versions.def [GLIBC_2.13]: Add.
44146
805bc17d
UD
441472010-08-06 Ulrich Drepper <drepper@redhat.com>
44148
44149 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44150 Also fail if tpwd after pwuid call is NULL.
44151
5a42321d
ST
441522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44153
44154 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44155 when converting to ms.
44156
fd3ebeda
ST
441572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44158
44159 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44160 EOPNOTSUPP errors with ENOTTY.
44161 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44162 EOPNOTSUPP errors with ENOTTY.
44163
73507d3a
UD
441642010-07-31 Ulrich Drepper <drepper@redhat.com>
44165
44166 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44167 Add strcasecmp_l-ssse3.
44168 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44169 strcasecmp.
44170 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44171 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44172 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44173
fe36dd02
UD
441742010-07-30 Ulrich Drepper <drepper@redhat.com>
44175
66f6765a
UD
44176 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44177
42e08a54
UD
44178 * string/Makefile (strop-tests): Add strcasecmp.
44179 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44180 strcasecmp_l-nonascii.
44181 (gen-as-const-headers): Add locale-defines.sym.
44182 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44183 * sysdeps/x86_64/strcasecmp.S: New file.
44184 * sysdeps/x86_64/strcasecmp_l.S: New file.
44185 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44186 * sysdeps/x86_64/locale-defines.sym: New file.
44187 * string/test-strcasecmp.c: New file.
44188
fe36dd02
UD
44189 * string/test-strcasestr.c: Test both ends of the range of characters.
44190 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44191
48cbc0d6
RM
441922010-07-29 Roland McGrath <roland@redhat.com>
44193
76e6d6bc 44194 [BZ #11856]
48cbc0d6
RM
44195 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44196
880113d9
UD
441972010-07-27 Ulrich Drepper <drepper@redhat.com>
44198
44199 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44200 for ld.so.
44201
deb9cabb
AS
442022010-07-27 Andreas Schwab <schwab@redhat.com>
44203
44204 * manual/memory.texi (Malloc Tunable Parameters): Document
44205 M_PERTURB.
44206
1c7570ff
RM
442072010-07-26 Roland McGrath <roland@redhat.com>
44208
44209 [BZ #11840]
44210 * configure.in (-fgnu89-inline check): Set and substitute
44211 gnu89_inline, not libc_cv_gnu89_inline.
44212 * configure: Regenerated.
44213 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44214
24fb0f88
UD
442152010-07-26 Ulrich Drepper <drepper@redhat.com>
44216
44217 * string/test-strnlen.c: New file.
44218 * string/Makefile (strop-tests): Add strnlen.
44219 * string/tester.c (test_strnlen): Add a few more test cases.
44220 * string/tst-strlen.c: Better error reporting.
44221
44222 * sysdeps/x86_64/strnlen.S: New file.
44223
8e96b93a
UD
442242010-07-24 Ulrich Drepper <drepper@redhat.com>
44225
44226 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44227 lower-latency instructions.
44228
dbc676d4
UD
442292010-07-23 Ulrich Drepper <drepper@redhat.com>
44230
44231 * string/test-strcasestr.c: New file.
44232 * string/test-strstr.c: New file.
44233 * string/Makefile (strop-tests): Add strstr and strcasestr.
44234 * string/str-two-way.h: Don't undefine MAX.
44235 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44236
f6a31e0e
AS
442372010-07-21 Andreas Schwab <schwab@redhat.com>
44238
44239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44240 strcasestr-nonascii.
44241 (CFLAGS-strcasestr-nonascii.c): Define.
44242 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44243 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44244 Remove unused attribute.
44245
5dbc3b6c
RM
442462010-07-20 Roland McGrath <roland@redhat.com>
44247
44248 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44249 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44250 ld.so.cache was broken. With it, there is no way to disable dsocaps
44251 like LD_HWCAP_MASK can disable hwcaps.
44252
23d101d8
EPM
442532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44254
44255 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44256
cc9f2e47
UD
442572010-07-16 Ulrich Drepper <drepper@redhat.com>
44258
44259 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44260 call in strcasestr.
44261 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44262 __strcasestr_sse42_nonascii.
44263 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44264 strcasestr-nonascii.c.
44265 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44266
77c1b069
LM
442672010-06-15 Luis Machado <luisgpm@br.ibm.com>
44268
44269 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44271 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44273
440566c3
UD
442742010-07-09 Ulrich Drepper <drepper@redhat.com>
44275
44276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44277 fcntl.
44278
5be9d05d
AS
442792010-07-06 Andreas Schwab <schwab@redhat.com>
44280
c30b7ee2 44281 [BZ #11577]
5be9d05d
AS
44282 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44283 dl_signal_cerror.
44284
8a492a67
UD
442852010-07-06 Ulrich Drepper <drepper@redhat.com>
44286
44287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44288 _PC_PIPE_BUF using F_GETPIPE_SZ.
44289
713df3d5
RM
442902010-07-05 Roland McGrath <roland@redhat.com>
44291
44292 * manual/arith.texi (Rounding Functions): Fix rint description
44293 implicit in round description.
44294
702e8f14
UD
442952010-07-02 Ulrich Drepper <drepper@redhat.com>
44296
44297 * elf/Makefile: Fix linking for a few tests to make recent linker
44298 happy.
44299
52ed8be9
AS
443002010-06-30 Andreas Schwab <schwab@redhat.com>
44301
44302 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44303 $(common-objpfx)libc_nonshared.a.
44304
f47c9a11
LM
443052010-06-21 Luis Machado <luisgpm@br.ibm.com>
44306
44307 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44308 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44309 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44310 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44311 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44312 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44313 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44314 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44329 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44330 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44331 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44332 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44333 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44334 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44335 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44336 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44337 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44338 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44339 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44340 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44355
6fb8cbcb
L
443562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44357
44358 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44359 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44360 * string/memmove.c (memmove): Renamed to ...
44361 (MEMMOVE): ...this. Default to memmove.
44362 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44363 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44364 (END_CHK): Define.
44365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44366 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44367 mempcpy-ssse3-back memmove-ssse3-back.
44368 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44369 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44370 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44371 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44372 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44373 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44374 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44375 * sysdeps/x86_64/multiarch/memmove.c: New file.
44376 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44377 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44378 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44379 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44380 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44381 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44382 Define.
44383 (index_Fast_Copy_Backward): Define.
44384 (HAS_ARCH_FEATURE): Define.
44385 (HAS_FAST_REP_STRING): Define.
44386 (HAS_FAST_COPY_BACKWARD): Define.
44387
4e733bac 443882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44389
44390 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44391 Restore proper fallback handling.
44392
63c4ed22
UD
443932010-06-19 Ulrich Drepper <drepper@redhat.com>
44394
ac2b484c
UD
44395 [BZ #11701]
44396 * posix/group_member.c (__group_member): Correct checking loop.
44397
63c4ed22
UD
44398 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44399 OOM in getpwuid_r correctly. Return error number when the caller
44400 should return, otherwise -1.
44401 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44402 call returning > 0 value.
44403 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44404
765ade4b
AS
444052010-06-07 Andreas Schwab <schwab@redhat.com>
44406
44407 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44408 libc_nonshared.a from targets in modules-names.
44409
80da2e09
KS
444102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44411
44412 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44413 requires it.
44414
158db122
LM
444152010-06-10 Luis Machado <luisgpm@br.ibm.com>
44416
44417 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44418 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44421
caa78cf8
AS
444222010-06-02 Andreas Schwab <schwab@redhat.com>
44423
44424 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44425
b2ef2c01
UD
444262010-06-14 Ulrich Drepper <drepper@redhat.com>
44427
44428 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44429 and F_GETPIPE_SZ.
44430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44432 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44435 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44436
fbd643b6
RM
444372010-06-14 Roland McGrath <roland@redhat.com>
44438
44439 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44440
f32f2869
JJ
444412010-06-07 Jakub Jelinek <jakub@redhat.com>
44442
44443 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44444 __REDIRECT followed by __THROW.
44445 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44446 * posix/getopt.h (getopt): Likewise.
44447
2a50c078
EPM
444482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44449
44450 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44451 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44452 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44453 in AT_FLAGS.
44454 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44455 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44456
eb5ad2eb
LM
444572010-05-28 Luis Machado <luisgpm@br.ibm.com>
44458
44459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44460
3c88fe1e
L
444612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44462
44463 [BZ #11640]
44464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44465 Properly check family and model.
44466
d2f73151
TY
444672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44468
44469 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44470
ebd2e13d
LM
444712010-05-24 Luis Machado <luisgpm@br.ibm.com>
44472
44473 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44474
b32b8b45
UD
444752010-05-21 Ulrich Drepper <drepper@redhat.com>
44476
44477 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44478 symbol reference.
44479
9acbe24d
AS
444802010-05-19 Andreas Schwab <schwab@redhat.com>
44481
44482 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44483 symbol reference.
44484
f0ccf6ea
AS
444852010-05-21 Andreas Schwab <schwab@redhat.com>
44486
3d04ff3a
AS
44487 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44488 and internal_recvmmsg.
44489 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44490 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44491 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44492 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44493
f0ccf6ea
AS
44494 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44495 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44496 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44497
5b08ac57
AS
444982010-05-20 Andreas Schwab <schwab@redhat.com>
44499
44500 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44501
4828935d
LM
445022010-05-17 Luis Machado <luisgpm@br.ibm.com>
44503
44504 POWER7 optimizations.
44505 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44506 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44507
373d545e
UD
445082010-05-19 Ulrich Drepper <drepper@redhat.com>
44509
44510 * version.h: Update for 2.13 development version.
44511
21a2b1ae
AS
445122010-05-12 Andrew Stubbs <ams@codesourcery.com>
44513
44514 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44515 exceptions. Return 0.
44516
3f7dcb2b
RM
445172010-05-07 Roland McGrath <roland@redhat.com>
44518
44519 * elf/ldconfig.c (main): Add a const.
44520
5f24d53a 445212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44522
a160f8d8
UD
44523 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44524 (args_options): Add no-idn option.
44525 (ahosts_keys_int): Add idn_flags to ai_flags.
44526 (parse_option): Handle 'i' option to clear idn_flags.
44527
5f24d53a
UD
44528 * malloc/malloc.c (_int_free): Possible race in the most recently
44529 added check. Only act on the data if no current modification
44530 happened.
265bb1ce
UD
44531
44532See ChangeLog.17 for earlier changes.
This page took 6.604134 seconds and 5 git commands to generate.