]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add stub arch-fork.h header.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
def4bcb2
RM
12014-05-16 Roland McGrath <roland@hack.frob.com>
2
1d1fc46e 3 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
4 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6 Don't do #include_next.
7 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9 Don't do #include_next.
10 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14
c72399fb
AM
152014-05-16 Allan McRae <allan@archlinux.org>
16
d51d659d
AM
17 * po/sv.po: Update Swedish translation from translation project.
18
c72399fb
AM
19 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20 in sed expression.
21
d0583c40
AJ
222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
23
24 [BZ #16917]
25 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26 errno if the TIOCGPTN ioctl fails with an error different than
27 EINVAL.
28 * login/tst-ptsname.c: New file.
29 * login/Makefile (tests): Add tst-ptsname.
30
d16e6ec7
AJ
31 [BZ #16943]
32 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33 and prlimit64.
34
cf26a0cb
SP
352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36
37 [BZ #16849]
38 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
39 herrno to return EAI_AGAIN.
40
5675da1e
RM
412014-05-14 Roland McGrath <roland@hack.frob.com>
42
a5d87b3d
RM
43 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
47 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
53 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
55 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
57 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
59 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
60 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
61 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
62 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
63 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
64 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
65 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
66 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
67 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
69 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
70 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
71 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
72 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
73 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
74 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
75 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
76 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
77 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
78 Moved ...
79 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
80 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
81 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
82 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
83 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
84 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
85 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
86 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
87 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
88 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
89 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
90 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
91 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
92 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
93 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
94 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
95 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
96 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
97 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
98 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
99 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
101 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
103 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
105 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
107 Moved ...
108 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
110 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
112 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
116 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
120 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
122 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
124 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
126 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
128 Moved ...
129 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
131 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
132
039890a6
RM
133 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
134 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
135 (libpthread-sysdep_routines): Add elision-related stuff here instead.
136 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
137 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
139 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
140 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
141 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
142 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
143 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
145 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
146 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
147 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
149 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
150 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
151 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
152 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
153 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
154 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
155 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
156 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
157 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
158 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
159 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
160 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
161 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
162 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
163 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
164
65c89320
RM
165 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
166 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
167
348f8e8c
RM
168 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
169 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
170 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
172 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
174 Moved ...
175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
177 Moved ...
178 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
180 Moved ...
181 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
183 Moved ...
184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
185 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
186 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
187 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
188 Moved ...
189 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
190 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
191 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
193 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
194 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
195 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
197 Moved ...
198 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
200 Moved ...
201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
202 ... here.
203 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
204 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
205 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
206 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
207 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
208 Moved ...
209 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
210 ... here.
211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
212 Moved ...
213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
214 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
215 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
217 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
219 Moved ...
220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
222 Moved ...
223 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
225 Moved ...
226 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
228 Moved ...
229 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
230 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
231 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
232 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
233 Moved ...
234 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
235 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
236 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
238 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
239 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
240 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
242 Moved ...
243 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
245 Moved ...
246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
247 ... here.
248 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
249 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
250 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
251 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
252 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
253 Moved ...
254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
255 ... here.
256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
257 Moved ...
258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
259 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
260 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
261 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
262 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
263 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
264 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
265 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
266 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
268 Moved ...
269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
271 Moved ...
272 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
274 Moved ...
275 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
277 Moved ...
278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
279 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
280 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
281 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
282 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
284 Moved ...
285 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
286 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
287 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
289 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
290 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
291 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
293 Moved ...
294 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
296 Moved ...
297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
298 ... here.
299 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
300 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
301 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
302 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
304 Moved ...
305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
306 ... here.
307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
308 Moved ...
309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
310 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
311 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
312 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
313 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
314 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
315 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
316 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
317 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
318 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
319 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
320
5085af05
RM
321 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
322 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
323
708f0813
RM
324 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
325 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
326
c96067bc
RM
327 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
328 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
329 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
331 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
332 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
333 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
335 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
338 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
339 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
341 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
343 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
345 Moved ...
346 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
348 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
350 Moved ...
351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
353 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
355 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
359 Moved ...
360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
362 Moved ...
363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
365 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
369 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
370 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
371 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
372 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
373 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
374 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
375 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
376 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
377 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
378 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
379 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
380
ec136444
RM
381 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
382 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
383 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
384 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
385 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
386
2fbdf533
RM
387 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
388 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
389 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
390 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
391 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
392 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
393 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
394 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
395 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
396 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
397
4c68138b
RM
398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
400
4eaae765
RM
401 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
402 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
403 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
404 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
405 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
406 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
407 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
408 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
409 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
410 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
411 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
412 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
413 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
414 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
416 Update #include.
417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
418 Likewise.
419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
420 Likewise.
421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
422 Likewise.
423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
424 Likewise.
425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
426 Likewise.
427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
428 Likewise.
429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
430 Likewise.
431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
432 Likewise.
433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
434 Likewise.
4ef6befa
RM
435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 450
941d7dfd
RM
451 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
452 that was previously under [RESET_PID].
453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
454 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
455 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
456
1b731c35
RM
457 * sysdeps/i386/nptl/Implies: New file.
458 * sysdeps/x86_64/nptl/Implies: New file.
459 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
460 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
461 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
462 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
463
e2787137
RM
464 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
465 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
466 (__libc_vfork): New strong alias.
467 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
468 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
469
470 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
471 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
472 (__libc_vfork): New strong alias.
473 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
474 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
475
5675da1e
RM
476 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
478 (__libc_vfork): New strong alias.
479 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
480 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
481 * nptl/pt-vfork.c: New file.
482 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
483 (libpthread: GLIBC_2.20): New version set (empty).
484
4f02e2b8
WN
4852014-05-14 Will Newton <will.newton@linaro.org>
486
487 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
488 rather than #if.
489
0bf061d3
JM
4902014-05-14 Joseph Myers <joseph@codesourcery.com>
491
1a84c3d6
JM
492 [BZ #16564]
493 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
494 arguments with exponent 65 or above.
495 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
496 arguments 0x1p113L or above.
497 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
498 to arguments 0x1p107L or above.
499 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
500 positive arguments with exponent 65 or above.
501 * math/auto-libm-test-in: Add more tests of log1p.
502 * math/auto-libm-test-out: Regenerated.
503
01dbacd2
JM
504 [BZ #16928]
505 * math/s_cacos.c (__cacos): Ensure zero real part of result from
506 non-finite arguments is +0.
507 * math/s_cacosf.c (__cacosf): Likewise.
508 * math/s_cacosl.c (__cacosl): Likewise.
509 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512
913d03c8
JM
513 [BZ #16927]
514 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
515 value.
516 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
517 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
518 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
519 for explicit high bit of mantissa when testing for argument equal
520 to 1.
521 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
524
0bf061d3
JM
525 [BZ #16516]
526 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
527 (__erf): Scale by 16 instead of 8 in potentially underflowing
528 case. Ensure exception if result actually underflows.
529 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
530 (__erff): Scale by 16 instead of 8 in potentially underflowing
531 case. Ensure exception if result actually underflows.
532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
533 (efx8): Remove variable.
534 (__erfl): Scale by 16 instead of 8 in potentially underflowing
535 case. Ensure exception if result actually underflows.
536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
537 (efx8): Remove variable.
538 (__erfl): Scale by 16 instead of 8 in potentially underflowing
539 case. Ensure exception if result actually underflows.
540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
541 (efx8): Remove variable.
542 (__erfl): Scale by 16 instead of 8 in potentially underflowing
543 case. Ensure exception if result actually underflows.
544 * math/auto-libm-test-in: Add more tests of erf.
545 * math/auto-libm-test-out: Regenerated.
546
73ba67cb
AS
5472014-05-14 Andreas Schwab <schwab@suse.de>
548
3d8c8bff
AS
549 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
550 Remove code conditionalized on USE___THREAD.
551
73ba67cb
AS
552 * config.h.in (HAVE_PT_CHOWN): Define as 0.
553 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
554 not definedness.
555
5c521ecd
JM
5562014-05-14 Joseph Myers <joseph@codesourcery.com>
557
5e7698c6
JM
558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
559 Define unconditionally.
560 (__ASSUME_O_CLOEXEC): Likewise.
561 (__ASSUME_SOCK_CLOEXEC): Likewise.
562 (__ASSUME_IN_NONBLOCK): Likewise.
563 (__ASSUME_PIPE2): Likewise.
564 (__ASSUME_EVENTFD2): Likewise.
565 (__ASSUME_SIGNALFD4): Likewise.
566 (__ASSUME_DUP3): Likewise.
567 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
568 (__ASSUME_DUP3): Do not define.
569 (__ASSUME_EVENTFD2): Likewise.
570 (__ASSUME_IN_NONBLOCK): Likewise.
571 (__ASSUME_O_CLOEXEC): Likewise.
572 (__ASSUME_PIPE2): Likewise.
573 (__ASSUME_SIGNALFD4): Likewise.
574 (__ASSUME_SOCK_CLOEXEC): Likewise.
575 (__ASSUME_UTIMES): Undefine.
576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
577 (__ASSUME_UTIMES): Do not define.
578 (__ASSUME_O_CLOEXEC): Likewise.
579 (__ASSUME_SOCK_CLOEXEC): Likewise.
580 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
581 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
582 0x020621].
583 (__ASSUME_PIPE2): Likewise.
584 (__ASSUME_EVENTFD2): Likewise.
585 (__ASSUME_SIGNALFD4): Likewise.
586 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
587 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
588 Do not define.
589 (__ASSUME_EVENTFD2): Likewise.
590 (__ASSUME_SIGNALFD4): Likewise.
591 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
592 (__ASSUME_32BITUIDS): Likewise.
593 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
594 (__ASSUME_IPC64): Likewise.
595 (__ASSUME_ST_INO_64_BIT): Likewise.
596 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
597 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
598 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
599 (__ASSUME_UTIMES): Do not define.
600 (__ASSUME_PSELECT): Likewise.
601 (__ASSUME_PPOLL): Likewise.
602 (__ASSUME_O_CLOEXEC): Likewise.
603 (__ASSUME_SOCK_CLOEXEC): Likewise.
604 (__ASSUME_IN_NONBLOCK): Likewise.
605 (__ASSUME_PIPE2): Likewise.
606 (__ASSUME_EVENTFD2): Likewise.
607 (__ASSUME_SIGNALFD4): Likewise.
608 (__ASSUME_DUP3): Likewise.
609 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
610 (__ASSUME_UTIMES): Likewise.
611 (__ASSUME_O_CLOEXEC): Likewise.
612 (__ASSUME_SOCK_CLOEXEC): Likewise.
613 (__ASSUME_IN_NONBLOCK): Likewise.
614 (__ASSUME_PIPE2): Likewise.
615 (__ASSUME_EVENTFD2): Likewise.
616 (__ASSUME_SIGNALFD4): Likewise.
617 (__ASSUME_DUP3): Likewise.
618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
619 (__ASSUME_UTIMES): Likewise.
620 (__ASSUME_O_CLOEXEC): Likewise.
621 (__ASSUME_SOCK_CLOEXEC): Likewise.
622 (__ASSUME_IN_NONBLOCK): Likewise.
623 (__ASSUME_PIPE2): Likewise.
624 (__ASSUME_EVENTFD2): Likewise.
625 (__ASSUME_SIGNALFD4): Likewise.
626 (__ASSUME_DUP3): Likewise.
627 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
628 Likewise.
629 (__ASSUME_UTIMES): Likewise.
630 (__ASSUME_EVENTFD2): Likewise.
631 (__ASSUME_SIGNALFD4): Likewise.
632 * sysdeps/unix/sysv/linux/tile/kernel-features.h
633 (__ASSUME_O_CLOEXEC): Likewise.
634 (__ASSUME_SOCK_CLOEXEC): Likewise.
635 (__ASSUME_IN_NONBLOCK): Likewise.
636 (__ASSUME_PIPE2): Likewise.
637 (__ASSUME_EVENTFD2): Likewise.
638 (__ASSUME_SIGNALFD4): Likewise.
639 (__ASSUME_DUP3): Likewise.
640 (__ASSUME_UTIMES): Undefine.
641
5c521ecd
JM
642 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
643 feclearexcept. Remove symbol versioning code.
644 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
645 symbol versioning code.
646 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
647 symbol versioning code.
648 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
649 feupdateenv. Remove symbol versioning code.
650 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
651 fegetexceptflag. Remove symbol versioning code.
652 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
653 fesetexceptflag. Remove symbol versioning code.
654 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
655 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
656 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
657 (__posix_fadvise64_l32): Remove prototype.
658 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
659 code.
660
5da9dfad
RM
6612014-05-13 Roland McGrath <roland@hack.frob.com>
662
663 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
664 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
665 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
666 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
667
893b4f37
SK
6682014-05-13 Sami Kerola <kerolasa@iki.fi>
669
670 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
671 current working directory
672
e0db6517
RM
6732014-05-13 Roland McGrath <roland@hack.frob.com>
674
58aa195d
RM
675 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
676 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
677 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
678 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
679 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
680 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
681 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
683 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
684 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
685 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
686 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
687 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
688 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
689 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
690 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
691 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
692 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
693 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
694 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
695 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
696 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
697 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
698 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
699 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
700 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
701 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
702 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
703 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
704 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
705 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
706 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
707 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
708 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
709 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
710 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
711 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
712 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
713 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
714 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
715 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
716 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
717
8c6d01f0
RM
718 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
719 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
720
721 * sysdeps/unix/sysv/linux/arm/Makefile
722 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
723 Add rt-aeabi_unwind_cpp_pr1.
724 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
725 Add nptl-aeabi_unwind_cpp_pr1.
726 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
727 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
728 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
729 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
730 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
731 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
732
733 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
734 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
735 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
736 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
737
bba6da4e
RM
738 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
739 Deconditionalize the code that was previously under [RESET_PID].
740 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
741
e0db6517
RM
742 * sysdeps/generic/exit-thread.h: New file.
743 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
744 * include/unistd.h (__exit_thread): Remove declaration.
745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
746 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
747 * csu/libc-start.c: Include <exit-thread.h>.
748 (LIBC_START_MAIN): Pass no argument to __exit_thread.
749 * nptl/pthread_create.c: Include <exit-thread.h>.
750 (start_thread): Call __exit_thread in place of __exit_thread_inline.
751 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
752 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
753 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
754 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
755 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
756 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
757 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
758 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
759 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
760 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
761 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
762 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
763 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
764 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
765 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
766 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
767
01eb16fd
AS
7682014-05-13 Andreas Schwab <schwab@suse.de>
769
770 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
771
637461d9
JM
7722014-05-12 Joseph Myers <joseph@codesourcery.com>
773
774 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
775 (__ASSUME_UTIMES): Do not condition on kernel version.
776 (__ASSUME_PSELECT): Define unconditionally.
777 (__ASSUME_PPOLL): Likewise.
778 (__ASSUME_ATFCTS): Likewise.
779 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
780 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
781 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
782 (__ASSUME_UTIMENSAT): Define unconditionally.
783 (__ASSUME_PRIVATE_FUTEX): Likewise.
784 (__ASSUME_FALLOCATE): Likewise.
785 (__ASSUME_O_CLOEXEC): Likewise.
786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
787 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
788 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
789 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
790 (__ASSUME_IN_NONBLOCK): Likewise.
791 (__ASSUME_PIPE2): Likewise.
792 (__ASSUME_EVENTFD2): Likewise.
793 (__ASSUME_SIGNALFD4): Likewise.
794 (__ASSUME_DUP3): Likewise.
795 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
796 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
797 (__ASSUME_AT_RANDOM): Likewise.
798 (__ASSUME_PREADV): Likewise.
799 (__ASSUME_PWRITEV): Likewise.
800 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
801 (__ASSUME_F_GETOWN_EX): Define unconditionally.
802 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
804 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
806 (__ASSUME_O_CLOEXEC): Define unconditionally.
807 (__ASSUME_PSELECT): Do not undefine conditionally.
808 (__ASSUME_PPOLL): Likewise.
809 (__ASSUME_ATFCTS): Likewise.
810 (__ASSUME_SET_ROBUST_LIST): Likewise.
811 (__ASSUME_UTIMENSAT): Likewise.
812 (__ASSUME_FDATASYNC): Define unconditionally.
813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
814 (__ASSUME_SIGFRAME_V2): Likewise.
815 )__ASSUME_EVENTFD2): Likewise.
816 (__ASSUME_SIGNALFD4): Likewise.
817 (__ASSUME_PSELECT): Do not undefine conditionally.
818 (__ASSUME_PPOLL): Likewise.
819 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
820 (__ASSUME_PSELECT): Define unconditionally.
821 (__ASSUME_PPOLL): Likewise.
822 (__ASSUME_O_CLOEXEC): Likewise.
823 (__ASSUME_SOCK_CLOEXEC): Likewise.
824 (__ASSUME_IN_NONBLOCK): Likewise.
825 (__ASSUME_PIPE2): Likewise.
826 (__ASSUME_EVENTFD2): Likewise.
827 (__ASSUME_SIGNALFD4): Likewise.
828 (__ASSUME_DUP3): Likewise.
829 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
830 (__ASSUME_O_CLOEXEC): Likewise.
831 (__ASSUME_SOCK_CLOEXEC): Likewise.
832 (__ASSUME_IN_NONBLOCK): Likewise.
833 (__ASSUME_PIPE2): Likewise.
834 (__ASSUME_EVENTFD2): Likewise.
835 (__ASSUME_SIGNALFD4): Likewise.
836 (__ASSUME_DUP3): Likewise.
837 * sysdeps/unix/sysv/linux/mips/kernel-features.h
838 (__ASSUME_EVENTFD2): Likewise.
839 (__ASSUME_SIGNALFD4): Likewise.
840 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
841
315eb1d8
AS
8422014-05-12 Andreas Schwab <schwab@suse.de>
843
844 [BZ #16932]
845 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
846 (_nss_nis_gethostbyname4_r): Return error if item length is larger
847 than maximum RPC packet size.
848 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
849 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
850 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
851 (_nss_nis_getservbyport_r): Likewise.
852
91df99f7
WN
8532014-05-12 Will Newton <will.newton@linaro.org>
854
855 * malloc/Makefile (tests): Add tst-mallopt.
856 * malloc/tst-mallopt.c: New file.
857
0a982a29
RM
8582014-05-09 Roland McGrath <roland@hack.frob.com>
859
860 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
861 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
862
0ded08a5
AZ
8632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864
865 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
866 (tst-tlsmod6.so): Likewise.
867
55d4d550
RM
8682014-05-09 Roland McGrath <roland@hack.frob.com>
869
870 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
871
77d08aca
JM
8722014-05-09 Joseph Myers <joseph@codesourcery.com>
873
874 [BZ #16064]
875 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
876 and <dl-procinfo.h>.
877 (__fegetenv): Save SSE state in envp->__eip if supported.
878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
879 envp->__eip if supported.
880 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
881 and <dl-procinfo.h>.
882 (__fesetenv): Always set __eip, __cs_selector, __opcode,
883 __data_offset and __data_selector in environment to 0. Set SSE
884 state if supported.
885 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
886 test-fenv-sse.
887 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
888 -mfpmath=sse.
889 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
890
28162f4d
WN
8912014-05-09 Will Newton <will.newton@linaro.org>
892
893 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
894 and libc_relro_required for ARM.
895 * sysdeps/arm/preconfigure: Regenerate.
896
5a414ff7
DV
8972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
898 Stefan Liebler <stli@linux.vnet.ibm.com>
899
900 * config.make.in (enable-lock-elision): New Makefile variable.
901 * configure.ac: Likewise.
902 * configure: Regenerate.
903 * sysdeps/s390/configure.ac:
904 Add check for gcc transactions support.
905 * sysdeps/s390/configure: Regenerate.
906 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
907 Build elision files if enabled.
908 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
909 Add lock elision support for s390.
910 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
911 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
912 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
913 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
914 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
915 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
916 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
917 Likewise.
918 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
919 Likewise.
920 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
921 Likewise.
922 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
923 Likewise.
924 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
925 (__lll_timedlock_elision, __lll_lock_elision)
926 (__lll_unlock_elision, __lll_trylock_elision)
927 (lll_timedlock_elision, lll_lock_elision)
928 (lll_unlock_elision, lll_trylock_elision): Add.
929 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
930 (pthread_mutex_t): Add lock elision support for s390.
931
c0c08d02
W
9322014-05-14 Wilco <wdijkstr@arm.com>
933
934 * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
935 * sysdeps/arm/fedisblxcpt.c: Likewise.
936 * sysdeps/arm/feenablxcpt.c: Likewise.
937 * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
938 * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
939 * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
940 Call optimized (libc_fesetenv_vfp).
941 * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
942 * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
943 Call optimized (libc_feupdateenv_vfp).
944 * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
945 * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
946 writes.
947 * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
948 * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
949
1a2f40e5
W
9502014-05-14 Wilco <wdijkstr@arm.com>
951
952 * sysdeps/arm/fclrexcpt.c: Cleanup.
953 * sysdeps/arm/fedisblxcpt.c: Cleanup.
954 * sysdeps/arm/feenablxcpt.c: Cleanup.
955 * sysdeps/arm/fegetenv.c: Cleanup.
956 * sysdeps/arm/fegetexcept.c: Cleanup.
957 * sysdeps/arm/fegetround.c: Cleanup.
958 * sysdeps/arm/feholdexcpt.c: Cleanup.
959 * sysdeps/arm/fesetenv.c: Cleanup.
960 * sysdeps/arm/fesetround.c: Cleanup.
961 * sysdeps/arm/feupdateenv.c: Cleanup.
962 * sysdeps/arm/fgetexcptflg.c: Cleanup.
963 * sysdeps/arm/fraiseexcpt.c: Cleanup.
964 * sysdeps/arm/fsetexcptflg.c: Cleanup.
965 * sysdeps/arm/ftestexcept.c: Cleanup.
966 * sysdeps/arm/get-rounding-mode.h: Cleanup.
967 * sysdeps/arm/setfpucw.c: Cleanup.
968
f63c86fe
WN
9692014-05-09 Will Newton <will.newton@linaro.org>
970
971 * sysdeps/arm/armv7/strcmp.S: New file.
972 * NEWS: Mention addition of ARMv7 optimized strcmp.
973
7a1a51b5
RM
9742014-05-08 Roland McGrath <roland@hack.frob.com>
975
95afbbe5
RM
976 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
977 look for %.ac rather than %.in.
978
979 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
980 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
981 * sysdeps/mach/hurd/configure: Regenerated.
982 * sysdeps/unix/sysv/linux/configure: Regenerated.
983
7a1a51b5
RM
984 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
985
5057ad3b
SE
9862014-05-07 Steve Ellcey <sellcey@mips.com>
987
988 [BZ# 16922]
989 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
990 (LONG_SUB): Ditto.
991 (PTR_SUB): Ditto.
992
8dc97517
AS
9932014-05-07 Andreas Schwab <schwab@suse.de>
994
995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
996 when skipping over non-matching result from nscd.
997
ce0c5b8f
OB
9982014-05-07 Ondřej Bílka <neleai@seznam.cz>
999
1000 [BZ #16876]
1001 * nptl/sockperf.c (client): Check socket return value.
8dc97517 1002
a1189263
OB
1003 [BZ #16877]
1004 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1005 nscd security class.
ce0c5b8f 1006
0f58d252
RM
10072014-05-06 Roland McGrath <roland@hack.frob.com>
1008
1009 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1010 * sysdeps/arm/unwind.h: ... here.
1011
83df9ad0
AJ
10122014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1013
ce0c5b8f
OB
1014 [BZ# 16916]
1015 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1016 Define.
83df9ad0 1017
f360f94a
VR
10182014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1021 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1022 multiarch strncpy for PPC64.
1023 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1024 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1026 multiarch optimizations.
1027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1028 (__libc_ifunc_impl_list): Likewise.
1029 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1030 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1031 multiarch stpncpy for PPC64.
1032 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1033 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1034
978a41c3
AS
10352014-05-06 Andreas Schwab <schwab@suse.de>
1036
1037 [BZ #16912]
1038 * gmon/mcount.c (_MCOUNT_DECL): Use
1039 atomic_compare_and_exchange_bool_acq instead of
1040 catomic_compare_and_exchange_bool_acq.
1041
eb1ed03d
RM
10422014-05-05 Roland McGrath <roland@hack.frob.com>
1043
fe658845
RM
1044 * elf/Makefile (others, install-bin): Remove pldd.
1045 (pldd-modules): Variable removed.
1046 ($(objpfx)pldd): Target removed.
1047 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1048 (others, install-bin): Append pldd here.
1049 ($(objpfx)pldd): New target.
1050
eb1ed03d
RM
1051 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1052 to 0, so the first #if test emitted later doesn't see it undefined.
1053 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1054 * sysdeps/gnu/errlist.c: Regenerated.
1055
19c4bec0
AZ
10562014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057
1058 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1059 [libc_hidden_builtin_def]: Define to empty value.
1060 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1061 [libc_hidden_builtin_def]: Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1063 [libc_hidden_builtin_def]: Likewise.
1064 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1065 [libc_hidden_builtin_def]: Likewise.
1066 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1067 __redirect_memcpy and define ifunc as default hidden symbol.
1068 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1069 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1070
7776e669
AC
10712014-05-04 Adam Conrad <adconrad@0c3.net>
1072
1073 * locale/iso-4217.def: Reintroduce XDR currency.
1074
d69aeb12
AM
10752014-05-04 Allan McRae <allan@archlinux.org>
1076
1077 * po/eo.po: Update Esperanto translation from translation project.
1078
8f1df5cf
CD
10792014-05-02 Carlos O'Donell <carlos@redhat.com>
1080
1081 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1082 and FEATURE_INDEX_MAX to 1.
1083 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1084
13e402e7
SE
10852014-05-01 Steve Ellcey <sellcey@mips.com>
1086
1087 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1088 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1089 * iconvdata/big5.c (ONE_DIRECTION): Define.
1090 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1091 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1092 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1093 * iconvdata/cp932.c (ONE_DIRECTION): Define.
1094 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1095 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1096 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1097 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1098 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1099 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1100 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1101 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1102 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1103 * iconvdata/gbk.c (ONE_DIRECTION): Define.
1104 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1105 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1106 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1107 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1108 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1109 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1110 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1111 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1112 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1113 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1114 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1115 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1116 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1117 * iconvdata/iso646.c (ONE_DIRECTION): Define.
1118 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1119 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1120 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1121 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1122 * iconvdata/johab.c (ONE_DIRECTION): Define.
1123 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1124 * iconvdata/sjis.c (ONE_DIRECTION): Define.
1125 * iconvdata/t.61.c (ONE_DIRECTION): Define.
1126 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1127 * iconvdata/tscii.c (ONE_DIRECTION): Define.
1128 * iconvdata/uhc.c (ONE_DIRECTION): Define.
1129 * iconvdata/unicode.c (ONE_DIRECTION): Define.
1130 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1131 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1132 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1133
c727f032
RM
11342014-05-01 Roland McGrath <roland@hack.frob.com>
1135
8f2f08d0
RM
1136 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1137 (_IO_JUMPS_OFFSET): Define to 0.
1138
c727f032
RM
1139 * nptl/sysdeps/pthread/bits/libc-lock.h
1140 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1141 (__libc_lock_define_initialized_recursive): Always define using
1142 initializer. Modern compilers treat uninitialized (implicit zero) and
1143 explicit zero initializers the same (i.e. put the datum in bss).
1144
a849e800
AS
11452014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1146
1147 * nscd/nscd-client.h: Include <string.h>.
1148
5331255b
DM
11492014-05-01 David S. Miller <davem@davemloft.net>
1150
1151 [BZ #16885]
1152 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1153 multiple zero bytes exist at the end of a string.
1154 Reported by Aurelien Jarno <aurelien@aurel32.net>
1155
1156 * string/test-strcmp.c (check): Add explicit test for situations where
1157 there are multiple zero bytes after the first.
1158
4fdfe821
AS
11592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
1160
1161 [BZ #16890]
1162 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1163 when compiling wprintf.
1164 * stdio-common/tstdiomisc.c (t3): New function.
1165 (main): Call it.
1166
0cdddc25
SE
11672014-05-01 Steve Ellcey <sellcey@mips.com>
1168
1169 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1170 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1171 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1172 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1173
6426d77e
SE
11742014-05-01 Steve Ellcey <sellcey@mips.com>
1175
1176 * stdlib/longlong.h: Updated from GCC.
1177
6d96f5e4
WN
11782014-05-01 Will Newton <will.newton@linaro.org>
1179 Bernard Ogden <bernie.ogden@linaro.org>
1180
7470db0c
WN
1181 * NEWS: Update fixed bug list.
1182
6d96f5e4
WN
1183 [BZ #15119]
1184 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1185
211d653c
DM
11862014-04-30 David S. Miller <davem@davemloft.net>
1187
4fa262fa
DM
1188 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1189 (libc_feholdexcept_setround_sparc_ctx): New function.
1190 (libc_fesetenv_sparc_ctx): Likewise.
1191 (libc_feupdateenv_sparc_ctx): Likewise.
1192 (libc_feholdsetround_sparc_ctx): Likewise.
1193 (libc_feholdexcept_setround_ctx): Define.
1194 (libc_feholdexcept_setroundf_ctx): Likewise.
1195 (libc_feholdexcept_setroundl_ctx): Likewise.
1196 (libc_fesetenv_ctx): Likewise.
1197 (libc_fesetenvf_ctx): Likewise.
1198 (libc_fesetenvl_ctx): Likewise.
1199 (libc_feupdateenv_ctx): Likewise.
1200 (libc_feupdateenvf_ctx): Likewise.
1201 (libc_feupdateenvl_ctx): Likewise.
1202 (libc_feresetround_ctx): Likewise.
1203 (libc_feresetroundf_ctx): Likewise.
1204 (libc_feresetroundl_ctx): Likewise.
1205 (libc_feholdsetround_ctx): Likewise.
1206 (libc_feholdsetroundf_ctx): Likewise.
1207 (libc_feholdsetroundl_ctx): Likewise.
1208
1d3d93ef
DM
1209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1210 with __USE_GNU instead of XOPEN cpp guards.
1211
8aa583c3
DM
1212 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1213 0.
1214
211d653c
DM
1215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1216 with XOPEN cpp guards.
1217
60c8f1f6
JB
12182014-04-30 Julian Brown <julian@codesourcery.com>
1219
1220 [BZ #16888]
1221 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1222 handling.
1223
9a461d46
JM
12242014-04-30 Joseph Myers <joseph@codesourcery.com>
1225
d0f5b3f8
JM
1226 [BZ #9894]
1227 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1228 Change to 2.6.32.
1229 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1230 * sysdeps/unix/sysv/linux/configure: Regenerated.
1231 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1232 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1233 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1234 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1235 * README: Update reference to required Linux kernel version.
1236 * manual/install.texi (Linux): Update reference to required Linux
1237 kernel headers version.
1238 * INSTALL: Regenerated.
1239
9a461d46
JM
1240 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1241 header inclusion.
1242 [POSIX] (limits.h): Likewise.
1243 [POSIX] (math.h): Likewise.
1244 [POSIX] (sys/wait.h): Likewise.
1245 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1246 function.
1247 [POSIX] (stddef.h): Do not allow header inclusion.
1248
1775babf
AZ
12492014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1250
57f41c40 1251 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 1252
8f630cca
YY
12532014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1254
1255 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1256 Return immediately after lll_futex_wake.
1257
1cdeb237
SP
12582014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1259
bc8f194c
SP
1260 [BZ #16791]
1261 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1262 structure.
1263 (datahead_init_pos): Call datahead_init_common early.
1264 (datahead_init_neg): Likewise.
1265
1cdeb237
SP
1266 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1267 datahead_init_neg): New functions.
1268 * nscd/aicache.c (addhstaiX): Use them.
1269 * nscd/grpcache.c (cache_addgr): Likewise.
1270 * nscd/hstcache.c (cache_addhst): Likewise.
1271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1272 * nscd/netgroupcache.c (do_notfound): Likewise.
1273 (addgetnetgrentX): Likewise.
1274 (addinnetgrX): Likewise.
1275 * nscd/pwdcache.c (cache_addpw): Likewise.
1276 * nscd/servicescache.c (cache_addserv): Likewise.
1277
16b293a7
SP
12782014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1279 Atsushi Onoe <atsushi@onoe.org>
1280
1281 [BZ #14308]
1282 [BZ #12994]
1283 [BZ #13651]
1284 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1285 one response is valid.
1286 * resolv/res_send.c (send_dg): Check for validity of other
1287 response if the current response is a referral.
1288
a28a9b94
SE
12892014-04-29 Steve Ellcey <sellcey@mips.com>
1290
1291 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1292
2ca180e9
SL
12932014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1294
1295 [BZ #16823]
1296 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1297 Always divide by positive zero when computing -Inf result.
1298 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1299 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1300
18f2945a
AZ
13012014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302
1303 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1304 FPSCR if value do not change.
1305 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1306 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1307 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1308 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1309 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1310 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1311 function.
1312
5abebba4
CD
13132014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1314
1315 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1316 * sysdeps/unix/sysv/linux/hppa: Move directory from
1317 ports/systeps/unix/sysv/linux/hppa.
1318 * README: Update listing for hppa-*-linux-gnu.
1319
f7ed60c2
OB
13202014-04-28 Ondřej Bílka <neleai@seznam.cz>
1321
fff763a5
OB
1322 [BZ #16754]
1323 * manual/stdio.texi (Hook functions): Fix types of stream hook
1324 functions.
f7ed60c2
OB
1325 [BZ #16854]
1326 * socket/sys/socket.h: Fix typo in comment.
1327
df639d73
WD
13282014-04-28 Wilco <wdijkstr@arm.com>
1329
f7ed60c2 1330 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
1331 * sysdeps/arm/math_private.h: New file.
1332 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1333
48332d82
L
13342014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1337 with __int128_t.
1338 (La_x86_64_retval): Likewise.
1339
e5e0d9a4
IB
13402014-04-24 Ian Bolton <ian.bolton@arm.com>
1341
1342 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1343 fpsr if value didn't change.
1344 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1345 to fpcr if value didn't change.
1346 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1347 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1348 fpsr or fpcr if value didn't change.
1349 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1350 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1351 fpcr if value didn't change.
1352 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1353 to fpsr if value didn't change.
1354
bacc75f7
SP
13552014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1356
1357 * nptl/tst-sem3.c: Use test-skeleton.c
1358 (main): Rename to do_test. Use return instead of
1359 exit.
1360 * nptl/tst-sem4.c: Use test-skeleton.c
1361 (main): Rename to do_test.
1362
a059d359
DM
13632014-04-22 David S. Miller <davem@davemloft.net>
1364
1365 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1366 (struct sigaction): New struct member __glibc_reserved0, change
1367 type of sa_flags to int.
1368
ea6c92f3
YZ
13692014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1370
1371 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1372 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1373
766c4a36
SP
13742014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1375
1376 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1377 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1378
140cc7ab
VK
13792014-04-22 Will Newton <will.newton@linaro.org>
1380 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1381
1382 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1383 (__longjmp): Add longjmp and longjmp_target SystemTap
1384 probes.
1385 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1386 (__sigsetjmp): Add setjmp SystemTap probe.
1387
c54e5cf7
CD
13882014-04-17 Carlos O'Donell <carlos@redhat.com>
1389
1390 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1391 match manual order.
1392
75ffb047
AZ
13932014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394
1395 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1396
2cd925f7
AZ
1397 * sysdeps/powerpc/fpu/fenv_private.h
1398 (libc_feholdexcept_setroundl_ctx): Define to
1399 libc_feholdexcept_setround_ppc_ctx.
1400 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1401 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1402 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1403 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1404
39e6cd8d
IB
14052014-04-17 Ian Bolton <ian.bolton@arm.com>
1406
1407 * sysdeps/aarch64/math-tests.h: New file.
1408
f9281df9
SY
14092014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1410
1411 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1412 New.
1413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1414 Check and set bit_AVX2_Usable.
1415 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1416 macro.
1417 (bit_AVX2): Likewise.
1418 (index_AVX2_Usable): Likewise.
1419 (CPUID_AVX2): Likewise.
1420 (HAS_AVX2): Likewise.
1421
37d35007
WN
14222014-04-17 Will Newton <will.newton@linaro.org>
1423
7c677662
WN
1424 * manual/setjmp.texi (System V contexts): Add note that
1425 calling setcontext on a context created by a call to a
1426 signal handler is undefined. Update text to note that
1427 setcontext from a signal handler is possible but not
1428 recommended.
1429
37d35007 1430 [BZ #16629]
e04a4e9d
WN
1431 * stdlib/tst-setcontext.c: Include signal.h.
1432 (main): Check that the signal stack before and
1433 after swapcontext is the same.
1434
37d35007
WN
1435 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1436 Re-implement to restore registers in user code and avoid
1437 rt_sigreturn system call.
1438
423a7160
W
14392014-04-17 Wilco <wdijkstr@arm.com>
1440
1441 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1442 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1443 * math/test-fenv.c: Skip exception trap tests on targets which only
1444 support non-stop mode.
1445
bc93ab29
IB
14462014-04-17 Ian Bolton <ian.bolton@arm.com>
1447 Wilco Dijkstra <wilco.dijkstra@arm.com>
1448
1449 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1450 (libc_feholdsetround_aarch64_ctx)
1451 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1452 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1453 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1454 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1455 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1456 (libc_feresetround_noexl_ctx): Define.
1457
95fc5fa3
RH
14582014-04-16 Richard Henderson <rth@redhat.com>
1459
ddb04724
RH
1460 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1461
d77c0899
RH
1462 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1463 unwind tables.
1464
a3df56fc
RH
1465 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1466 const from the non-libc, non-ldso copy.
1467
95fc5fa3
RH
1468 * sysdeps/alpha/libm-test-ulps: Regenerate.
1469
7e0b6763
IB
14702014-04-16 Ian Bolton <ian.bolton@arm.com>
1471 Wilco Dijkstra <wilco.dijkstra@arm.com>
1472
1473 * sysdeps/aarch64/fpu/math_private.h: New file.
1474
a9ea2e0c
MS
14752014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1476
1477 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1478
ea8ba7cd
IZ
14792014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1480
1481 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1482 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1484 Intel MPX bound registers before _dl_profile_fixup.
1485 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1486 registers after _dl_profile_fixup. Save and restore bound
1487 registers bnd0/bnd1 when calling _dl_call_pltexit.
1488 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1489 (LR_BND_OFFSET): Likewise.
1490 (LRV_BND0_OFFSET): Likewise.
1491 (LRV_BND1_OFFSET): Likewise.
1492
9f2a4fbc
ST
14932014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1494
1495 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1496 to...
1497 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
1498 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1499 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1500 fields.
9f2a4fbc 1501
fd15a59b
ST
15022014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1503
1504 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1505
f19dfa0a
SL
15062014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1507
1508 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1509
4fa8bc3b
SL
15102014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1511
1512 [BZ #14770]
1513 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1514 * sysdeps/s390/configure: Regenerate.
1515
8ea587db
SL
1516 [BZ #16824]
1517 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1518 Set round-to-nearest internally to reduce error accumulation.
1519
aa5f0ff1
AM
15202014-04-16 Alan Modra <amodra@gmail.com>
1521
1522 [BZ #16740]
1523 [BZ #16619]
1524 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1525 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 1526 * NEWS: Update fixed bug list.
aa5f0ff1 1527
bb9c256f
SP
15282014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1529
1530 * benchtests/Makefile: Depend on libraries in build directory.
1531 (bench-math): Separate out math tests.
1532 (bench-pthread): Separate out pthread tests.
1533 (bench): Include math and pthread tests.
1534
f737dfd0
CD
15352014-04-14 Carlos O'Donell <carlos@redhat.com>
1536
1537 [BZ #16831]
1538 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1539 _dl_debug_initialize.
1540
0699f766
CD
1541 * configure.ac: Remove SELinux header check.
1542 * configure: Regenerate.
1543 * nscd/selinux.c (perms): Array of const char* to permission names.
1544 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1545 default policy. Call string_to_security_class and string_to_av_perm to
1546 translate strings. Enforce default policy and call avs_has_perm with
1547 results of translated strings.
1548
809bd45f
DM
15492014-04-13 David S. Miller <davem@davemloft.net>
1550
1551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1552
89e691f2
AM
15532014-04-12 Allan McRae <allan@archlinux.org>
1554
1555 [BZ #16838]
1556 * manual/string.texi (Collation Functions): Fix qsort argument
1557 order in example.
1558 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1559
9c9daaeb
CM
15602014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1561
1562 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1563 Make the test a no-op if there are no exceptions defined.
1564
95561fb9
PP
15652014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1566
fe8d072c 1567 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
1568 enable-hardcoded-path-in-tests
1569
970c602a
WN
15702014-04-11 Will Newton <will.newton@linaro.org>
1571
1572 * benchtests/Makefile (extra-objs): Add json-lib.o.
1573 (bench-func): Tidy up JSON output.
1574 * benchtests/bench-skeleton.c: Include json-lib.h.
1575 (main): Use JSON library functions to do output of
1576 benchmark results.
1577 * benchtests/bench-timing-type.c (main): Output the
1578 timing type simply, leaving formatting to the user.
1579 * benchtests/json-lib.c: New file.
1580 * benchtests/json-lib.h: Likewise.
1581
36875b06
TR
15822014-04-11 Torvald Riegel <triegel@redhat.com>
1583
1584 [BZ #15215]
1585 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1586 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1587 memory barriers. Add comments.
1588 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1589 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1590 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1591 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1592 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1593 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1594
579db35a
SL
15952014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1596
1597 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1598 * sysdeps/s390/s390-64/configure.ac: ... this ...
1599 * sysdeps/s390/configure.ac: ... to here.
1600 * sysdeps/s390/s390-32/configure: Delete file.
1601 * sysdeps/s390/s390-64/configure: Delete file.
1602 * sysdeps/s390/configure: Regenerate.
1603
c12e9f37
JAPH
16042014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1605
1606 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1607
439bda32
WN
16082014-04-11 Will Newton <will.newton@linaro.org>
1609
1610 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1611 to zero if it is not defined elsewhere. (mtrim): Test
1612 the value of MALLOC_DEBUG with #if rather than #ifdef.
1613
6a5d6ea1
TR
16142014-04-10 Torvald Riegel <triegel@redhat.com>
1615
1616 * benchtests/pthread_once-inputs: New file.
1617 * benchtests/pthread_once-source.c: New file.
1618 * benchtests/README: Update documentation.
1619
a4c75cfd
IZ
16202014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1621 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1624 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1625 * sysdeps/x86_64/configure: Regenerated.
1626 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1627 macro.
1628 (REGISTER_SAVE_RAX): Likewise.
1629 (REGISTER_SAVE_RCX): Likewise.
1630 (REGISTER_SAVE_RDX): Likewise.
1631 (REGISTER_SAVE_RSI): Likewise.
1632 (REGISTER_SAVE_RDI): Likewise.
1633 (REGISTER_SAVE_R8): Likewise.
1634 (REGISTER_SAVE_R9): Likewise.
1635 (REGISTER_SAVE_BND0): Likewise.
1636 (REGISTER_SAVE_BND1): Likewise.
1637 (REGISTER_SAVE_BND2): Likewise.
1638 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1639 bound registers when calling _dl_fixup.
1640
27822ce6
AZ
16412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1642
1643 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
1644 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1645 of its definition.
27822ce6
AZ
1646 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1647 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1648 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1649 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1650 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1651 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1652 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1653
a88ddc90
PTB
16542014-04-09 Peter Brett <peter@peter-b.co.uk>
1655
1656 [BZ #15514]
1657 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1658 pathconf(_PC_NAME_MAX).
1659
01f8eac2
AZ
16602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661
1662 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1663 Remove macro usage.
1664 (__PTHREAD_SPINS): Move definition to ...
1665 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1666 (__PTHREAD_SPINS): ... here.
1667 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1668 (__PTHREAD_SPIN): Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1670 (__PTHREAD_SPIN): Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1672 (__PTHREAD_SPIN): Likewise.
1673 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1674 (__PTHREAD_SPIN): Likewise.
1675 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1676 (__PTHREAD_SPIN): Likewise.
1677 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1678 (__PTHREAD_SPIN): Likewise.
1679 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1680 (__PTHREAD_SPIN): Likewise.
1681 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1682 (__PTHREAD_SPIN): Likewise.
1683 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1684 (__PTHREAD_SPIN): Likewise.
1685 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1686 (__PTHREAD_SPIN): Likewise.
1687 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1688 (__PTHREAD_SPIN): Likewise.
1689 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1690 (__PTHREAD_SPIN): Likewise.
1691
de21c33c
AZ
1692 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1693 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1694 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1695 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1696 imply folder.
1697 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1698 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1699 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1700 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1701 correct imply path.
1702 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1703 strlen symbol for non multi-arch builds.
1704 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1705 missing hidden_def and weak_alias.
1706
862c472e
CD
17072014-04-08 Carlos O'Donell <carlos@redhat.com>
1708
1709 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1710
8667f90e
WN
17112014-04-07 Will Newton <will.newton@linaro.org>
1712
1713 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1714 and contents. [!_LIBC] Remove #ifndef and contents.
1715 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1716 * string/memccpy.c (__memccpy): Use ANSI prototype.
1717 * string/memfrob.c (memfrob): Likewise.
1718 * string/strcoll.c (STRCOLL): Likewise.
1719 * string/strlen.c (strlen): Likewise.
1720 * string/strtok.c (STRTOK): Likewise.
1721 * string/strcat.c: Remove unused #include of memcopy.h.
1722 (strcat): Use ANSI prototype.
1723 * string/strchr.c: Remove unused #include of memcopy.h.
1724 (strchr): Use ANSI prototype.
1725 * string/strcmp.c: Remove unused #include of memcopy.h.
1726 (strcmp): Use ANSI prototype.
1727 * string/strcpy.c: Remove unused #include of memcopy.h.
1728 (strcpy): Use ANSI prototype.
1729
7ffa9423
AZ
17302014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731
1732 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1733 * config.make.in (config-extra-cppflags): Set it from
1734 libc_extra_cppflags.
1735 * configure.ac (libc_extra_cflags): Make it accumulate over
1736 configure fragments.
1737 (libc_extra_cppflags): New flag.
1738 * configure. Regenerate.
1739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
1740 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1741 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1743
8bd70862
AZ
1744 [BZ #16815]
1745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1746 result for FE_DOWNWARD rounding mode.
1747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1748 Likewise.
1749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1750
d42f3448
CM
17512014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1752
1753 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1754 in function argument name.
1755
1c21d115
DS
17562014-04-03 David Svoboda <svoboda@cert.org>
1757
1758 [BZ #5666]
1759 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1760 explicitly.
1761
fcccd512
RM
17622014-04-03 Roland McGrath <roland@hack.frob.com>
1763
1764 * elf/dl-unmap-segments.h: New file.
1765 * sysdeps/generic/ldsodefs.h
1766 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1767 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1768 * elf/dl-fptr.c: Likewise.
1769 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1770 * sysdeps/aarch64/tlsdesc.c: Likewise.
1771 * sysdeps/arm/tlsdesc.c: Likewise.
1772 * sysdeps/i386/tlsdesc.c: Likewise.
1773 * sysdeps/tile/dl-runtime.c: Likewise.
1774 * sysdeps/x86_64/tlsdesc.c: Likewise.
1775 * elf/dl-load.h: New file.
1776 * elf/dl-load.c: Include it.
1777 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1778 Macros moved to dl-load.h.
1779 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1780 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1781 Use _dl_unmap_segments in place of __munmap.
1782 Break out segment-mapping loop into ...
1783 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1784
f6488e2b
WN
17852014-04-03 Will Newton <will.newton@linaro.org>
1786
1787 * elf/dl-lookup.c (do_lookup_x): Remove comment
1788 referring to nested function and move variable
1789 declarations down to before first use.
1790
6f05bafe
JM
17912014-04-02 Joseph Myers <joseph@codesourcery.com>
1792
a84e78c8
JM
1793 [BZ #16799]
1794 [BZ #16800]
1795 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1796 with 0 numerator.
1797 * math/s_catanf.c (__catanf): Likewise.
1798 * math/s_catanh.c (__catanh): Likewise.
1799 * math/s_catanhf.c (__catanhf): Likewise.
1800 * math/s_catanhl.c (__catanhl): Likewise.
1801 * math/s_catanl.c (__catanl): Likewise.
1802 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1803 by positive zero when computing -Inf result.
1804 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1805 (catanh_test): Likewise.
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1808
6f05bafe
JM
1809 [BZ #16789]
1810 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1811 instead of using underflowing value in computing result.
1812 * math/s_clog10.c (__clog10): Likewise.
1813 * math/s_clog10f.c (__clog10f): Likewise.
1814 * math/s_clog10l.c (__clog10l): Likewise.
1815 * math/s_clogf.c (__clogf): Likewise.
1816 * math/s_clogl.c (__clogl): Likewise.
1817 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1818 (clog10_test): Likewise.
1819 * sysdeps/i386/fpu/libm-test-ulps: Update.
1820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1821
b0abbc21
AM
18222014-04-02 Alan Modra <amodra@gmail.com>
1823
1824 [BZ #16739]
1825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1826 output when value is near a power of two. Use int64_t for lx and
1827 remove casts. Use decimal rather than hex exponent constants.
1828 Don't use long double multiplication when double will suffice.
1829 * math/libm-test.inc (nextafter_test_data): Add tests.
1830 * NEWS: Add 16739 and 16786 to bug list.
1831
af6b1797
AM
1832 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1833
483818d7
AM
1834 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1835
f6c55796
WN
18362014-04-01 Will Newton <will.newton@linaro.org>
1837
1838 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1839 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1840
13f7fe35
FW
18412014-04-01 Florian Weimer <fweimer@redhat.com>
1842
1843 [BZ #13347]
1844 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1845 * nptl/tst-setuid2.c: New file.
1846 * nptl/Makefile (xtests): Add tst-setuid2.
1847
c859b32e
AM
18482014-04-01 Alan Modra <amodra@gmail.com>
1849
1850 [BZ #16786]
1851 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1852
54fa2475
JM
18532014-03-31 Joseph Myers <joseph@codesourcery.com>
1854
8795b4a4
JM
1855 [BZ #6803]
1856 [BZ #6804]
1857 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1858 set errno as appropriate.
1859 * math/w_scalbf.c (__scalbf): Likewise.
1860 * math/w_scalbl.c (__scalbl): Likewise.
1861 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1862 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1863 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1864 Add more NaN tests.
1865
54fa2475
JM
1866 [BZ #16349]
1867 * math/w_atan2.c: Include <errno.h>.
1868 (__atan2): Set errno for result underflowing to zero.
1869 * math/w_atan2f.c: Include <errno.h>.
1870 (__atan2f): Set errno for result underflowing to zero.
1871 * math/w_atan2l.c: Include <errno.h>.
1872 (__atan2l): Set errno for result underflowing to zero.
1873 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1874 tests.
1875 * math/auto-libm-test-out: Regenerated.
1876
757d9dd5
AZ
18772014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1878
1879 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1880 Encode instruction correctly in little endian.
1881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1882 Likewise.
1883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1884 Likewise.
1885 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1886 Likewise.
1887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1888 Likewise.
1889
d7a68734
JM
18902014-03-31 Joseph Myers <joseph@codesourcery.com>
1891
47c5adeb
JM
1892 [BZ #9894]
1893 * sysdeps/unix/sysv/linux/kernel-features.h
1894 [__sparc__ && !__arch64__ && !__sparc_v9__]
1895 (__ASSUME_SET_ROBUST_LIST): Do not define.
1896 [__sparc__ && !__arch64__ && !__sparc_v9__]
1897 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1898 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1899 Likewise.
1900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1901 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1902 (__ASSUME_REQUEUE_PI): Likewise.
1903 (__ASSUME_SET_ROBUST_LIST): Likewise.
1904 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1905 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1906 Undefine.
1907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1908 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1909 Likewise.
1910 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1911 Likewise.
1912 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1913 Likewise.
1914 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1915 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1916 Undefine.
1917 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1918 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1919 Likewise.
1920
d7a68734
JM
1921 [BZ #16648]
1922 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1924 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1925
c760f5c2
WN
19262014-03-31 Will Newton <will.newton@linaro.org>
1927
1928 * benchtests/Makefile (bench): Add ffs and ffsll to list
1929 of tests.
1930 * benchtests/ffs-inputs: New file.
1931 * benchtests/ffsll-inputs: Likewise.
1932
ea6029b1
JM
19332014-03-29 Joseph Myers <joseph@codesourcery.com>
1934
1935 [BZ #16770]
1936 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1937 too large before casting to int.
1938 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1939 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1940 * math/libm-test.inc (scalb_test_data): Add more tests.
1941
cf806aff
SP
19422014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1943
56737508
SP
1944 * benchtests/Makefile (DETAILED_OPT): New make option.
1945 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1946 set.
1947 * benchtests/bench-skeleton.c: Include stdbool.h.
1948 (main): Store and print timings per input.
1949 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1950 member to each argument value.
1951 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1952 (_print_arg_data): Initialize per-input timing to 0.
1953
cb5e4aad
SP
1954 * benchtests/Makefile (timing-type): New binary.
1955 (bench-clean): Also remove bench-timing-type.
1956 (bench): New target for timing-type.
1957 (bench-func): Print output in JSON format.
1958 * benchtests/bench-skeleton.c (main): Print output in JSON
1959 format.
1960 * benchtests/bench-timing-type.c: New file.
1961 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1962 (TIMING_PRINT_STATS): Remove.
1963 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1964 name separately.
1965
cf806aff
SP
1966 * benchtests/bench-modf.c: Remove.
1967 * benchtests/modf-inputs: New inputs file.
1968
289e0779
JM
19692014-03-28 Joseph Myers <joseph@codesourcery.com>
1970
1971 [BZ #16362]
1972 * math/s_clog10.c (M_PI_LOG10E): New macro.
1973 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1974 imaginary parts are 0.
1975 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1976 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1977 imaginary parts are 0.
1978 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1979 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1980 imaginary parts are 0.
1981 * math/libm-test.inc (clog10_test_data): Update expected results
1982 for when real and imaginary parts are 0.
1983
277ae3f1
PP
19842014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1985
1986 * elf/dl-load.c: Finish conversion of __builtin_expect into
1987 __glibc_{un}likely.
1988
03a7091f
JM
19892014-03-27 Joseph Myers <joseph@codesourcery.com>
1990
1991 [BZ #16348]
1992 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1993 1+x for argument with exponent below -67.
1994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1995 Likewise.
1996 * math/auto-libm-test-in: Add more tests of exp.
1997 * math/auto-libm-test-out: Regenerated.
1998
ea7d8b95
SP
19992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2000
dd3022d7
SP
2001 [BZ #16759]
2002 * inet/getnetgrent_r.c (get_nonempty_val): New function.
2003 (nscd_getnetgrent): Use it.
2004
ea7d8b95
SP
2005 [BZ #16760]
2006 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2007 of stpcpy.
2008
df5b85da
AK
20092014-03-27 Andi Kleen <ak@linux.intel.com>
2010
57f41c40
AS
2011 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2012 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2013 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2014 (lll_robust_unlock): Remove out of line section. Use cfi
2015 intrinsics.
df5b85da 2016 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
2017 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2018 (lll_robust_lock, lll_cond_lock, lll_timedlock)
2019 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2020 (lll_robust_unlock): Remove out of line section. Use cfi
2021 intrinsics.
df5b85da
AK
2022 (LLL_STUB_UNWIND_INFO*): Remove.
2023
fbd6b5a4
SP
20242014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2025
2026 [BZ #16758]
2027 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2028 blank values.
2029
1b26b855
PP
20302014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
2031
2032 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2033
9be36fb8
JM
20342014-03-26 Joseph Myers <joseph@codesourcery.com>
2035
2036 [BZ #16198]
2037 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2038 fnstenv.
2039 * math/test-fenv-preserve.c: New file.
2040 * math/Makefile (tests): Add test-fenv-preserve.
2041
60a2f3c1
WN
20422014-03-26 Will Newton <will.newton@linaro.org>
2043
2044 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2045
a5e5f1e2
RM
20462014-03-25 Roland McGrath <roland@hack.frob.com>
2047
2048 * scripts/versionlist.awk: Partition the version sets and emit all
2049 GLIBC_* (sorted) before all others (sorted).
2050
00f4012a
JM
20512014-03-25 Joseph Myers <joseph@codesourcery.com>
2052
2053 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2054 GLIBC_2.2.5 version.
2055
7bc5a741
AZ
20562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2057
2058 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2059 calls.
2060
7578473b
AZ
2061 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2062 previous change.
2063
f3f1dab3
AZ
2064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2065
6da36183
AS
20662014-03-25 Andreas Schwab <schwab@suse.de>
2067
2068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2069 label to be used after in6ailist is initialized.
2070
f3f1dab3 20712014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 2072
7578473b 2073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
2074 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2075
046651c1
JM
20762014-03-25 Joseph Myers <joseph@codesourcery.com>
2077
2078 [BZ #16357]
2079 [BZ #16599]
2080 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2081 min_plus_half.
2082 (fp_formats): Update initializers.
2083 (init_fp_formats): Initialize new field.
2084 (output_for_one_input_case): Allow underflow for results up to
2085 min_plus_half.
2086 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2087 * math/auto-libm-test-in: Don't mark some underflows from asin and
2088 atanh as spurious.
2089 * math/auto-libm-test-out: Regenerated.
2090 * sysdeps/i386/fpu/libm-test-ulps: Update.
2091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2092
003e49ed
AS
20932014-03-25 Andreas Schwab <schwab@suse.de>
2094
2095 * libio/Makefile (tst-ftell-partial-wide-ENV)
2096 (tst-ftell-active-handler-ENV): Define.
2097
de031874
SL
20982014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
2099
2100 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2101
55a81e3b
PP
21022014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2103
2104 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2105
f3426898
JM
21062014-03-24 Joseph Myers <joseph@codesourcery.com>
2107
2108 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2109 * sysdeps/x86_64/fpu/multiarch/e_exp.c
2110 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2111
a42faf59
PP
21122014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2113
2114 [BZ #16634]
a42faf59 2115 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
2116 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2117 (open_path): Change from boolean 'secure' to complete flag 'mode'
2118 (_dl_map_object): Adjust.
a42faf59
PP
2119 * elf/Makefile (tests): Add tst-dlopen-aout.
2120 * elf/tst-dlopen-aout.c: New test.
2121
50936127
SL
21222014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2123
2124 [BZ #16714]
2125 * sysdeps/unix/sysv/linux/s390/bits/stat.h
2126 (struct stat): Rename member pad0 to __glibc_reserved0.
2127
26011b5c
SL
2128 [BZ #16712]
2129 * sysdeps/s390/s390-32/bits/wordsize.h
2130 (__WORDSIZE32_SIZE_ULONG): New define.
2131 * sysdeps/s390/s390-64/bits/wordsize.h
2132 (__WORDSIZE32_SIZE_ULONG): Likewise.
2133 * sysdeps/generic/stdint.h (SIZE_MAX):
2134 Define as UL if __WORDSIZE32_SIZE_ULONG.
2135
a2d86bf1
SL
2136 [BZ #16713]
2137 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2138 (__glibc_reserved0): New variable.
2139 (sa_flags): Change type to int.
2140
78b6eebc
SL
2141 * posix/Makefile (before-compile): Use += before-compile instead
2142 of a :=.
2143
f1399b5a
SL
2144 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2145 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2146
a071766e
AS
21472014-03-20 Andreas Schwab <schwab@suse.de>
2148
2149 [BZ #16743]
2150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2151 non-matching result from nscd.
2152
27c673b8
SP
21532014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2154
2155 * scripts/bench.py: Moved to ...
2156 * benchtests/scripts/bench.py: ... here.
2157 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2158
44152e4b
AS
21592014-03-24 Andreas Schwab <schwab@suse.de>
2160
2161 [BZ #16002]
2162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2163 alloca_account and account alloca use for struct in6ailist.
2164
b376a11a
JM
21652014-03-24 Joseph Myers <joseph@codesourcery.com>
2166
2167 [BZ #16284]
2168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2169 rounding mode to recompute results that overflow to infinity or
2170 underflow to zero.
2171 * math/auto-libm-test-in: Don't mark tests as expected to fail for
2172 bug 16284.
2173 * math/auto-libm-test-out: Regenerated.
2174 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2175 (ccosh_test): Likewise.
2176 (csin_test_data): Use plus_oflow.
2177 (csin_test): Use ALL_RM_TEST.
2178 (csinh_test_data): Use plus_oflow.
2179 (csinh_test): Use ALL_RM_TEST.
2180 * sysdeps/i386/fpu/libm-test-ulps: Update.
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2182
f7be7376
JM
21832014-03-21 Joseph Myers <joseph@codesourcery.com>
2184
1ca2d03e
JM
2185 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2186 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2187 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2188
f7be7376
JM
2189 [BZ #16731]
2190 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2191 when x - 1 is zero.
2192 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2193 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2194 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2195 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2196 argument is 1.
2197 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2198 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2199 zero.
2200 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2203
fdf4534d
SP
22042014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
df26ea53
SP
2206 * scripts/bench.pl: Remove file.
2207 * scripts/bench.py: New benchmark script.
2208 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2209 * benchtests/README: Mention python dependency.
2210 * scripts/pylintrc: New file.
2211 * scripts/pylint: New file.
2212
fdf4534d
SP
2213 * bits/mathdef.h: Use #ifdef instead of #if.
2214 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2215 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2216 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2217 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2218 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2219 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2220
6f23d093
AZ
22212014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2222 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2223
2224 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2226 and strpbrk-ppc64 objects.
2227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2229 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2230 multiarch strpbrk for POWER7.
2231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2232 multiarch strpbrk for PPC64.
2233 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2234 ifunc selector.
2235 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2236 strpbrk for POWER7.
2237
8c92dfff
JM
22382014-03-20 Joseph Myers <joseph@codesourcery.com>
2239
2240 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2241 (atan_test): Likewise.
2242 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2243 (atanh_test): Use ALL_RM_TEST.
2244 (atan2_test_data): Likewise.
2245 (cabs_test): Likewise.
2246 (cacosh_test): Likewise.
2247 (carg_test): Likewise.
2248 (casin_test): Likewise.
2249 (casinh_test): Likewise.
2250 (cbrt_test): Likewise.
2251 (csqrt_test): Likewise.
2252 (erf_test): Likewise.
2253 (erfc_test): Likewise.
2254 (pow10_test): Likewise.
2255 (exp2_test): Likewise.
2256 (hypot_test): Likewise.
2257 (j0_test): Likewise.
2258 (j1_test): Likewise.
2259 (lgamma_test): Likewise.
2260 (gamma_test): Likewise.
2261 (sincos_test): Likewise.
2262 (tanh_test): Likewise.
2263 (y0_test): Likewise.
2264 (y1_test): Likewise.
2265 * sysdeps/i386/fpu/libm-test-ulps: Update.
2266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2267
6eaf95cb
AZ
22682014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269
a387428c
SP
2270 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
2272 and strcspn-ppc64 objects.
2273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2274 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2275 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2276 multiarch strcspn for POWER7.
2277 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2278 multiarch strcspn for PPC64.
2279 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2280 ifunc selector.
2281 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2282 strcspn for POWER7.
2283
ae3a5dff
JM
22842014-03-20 Joseph Myers <joseph@codesourcery.com>
2285
2286 * math/gen-libm-test.pl (generate_testfile): Expect only function
2287 name as argument to AUTO_TESTS_* and pass results for all rounding
2288 modes to parse_args.
2289 (parse_auto_input): Separate inputs of automatic tests from
2290 outputs before storing in %auto_tests.
2291 * math/libm-test.inc (acos_test_data): Update call to
2292 AUTO_TESTS_f_f.
2293 (acos_test): Use ALL_RM_TEST.
2294 (acos_tonearest_test_data): Remove.
2295 (acos_test_tonearest): Likewise.
2296 (acos_towardzero_test_data): Likewise.
2297 (acos_test_towardzero): Likewise.
2298 (acos_downward_test_data): Likewise.
2299 (acos_test_downward): Likewise.
2300 (acos_upward_test_data): Likewise.
2301 (acos_test_upward): Likewise.
2302 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2303 (asin_test_data): Likewise.
2304 (asin_test): Use ALL_RM_TEST.
2305 (asin_tonearest_test_data): Remove.
2306 (asin_test_tonearest): Likewise.
2307 (asin_towardzero_test_data): Likewise.
2308 (asin_test_towardzero): Likewise.
2309 (asin_downward_test_data): Likewise.
2310 (asin_test_downward): Likewise.
2311 (asin_upward_test_data): Likewise.
2312 (asin_test_upward): Likewise.
2313 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2314 (atan_test_data): Likewise.
2315 (atanh_test_data): Likewise.
2316 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2317 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2318 (carg_test_data): Likewise.
2319 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2320 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2321 (ccosh_test_data): Likewise.
2322 (cexp_test_data): Likewise.
2323 (clog_test_data): Likewise.
2324 (clog10_test_data): Likewise.
2325 (cos_test_data): Update call to AUTO_TESTS_f_f.
2326 (cos_test): Use ALL_RM_TEST.
2327 (cos_tonearest_test_data): Remove.
2328 (cos_test_tonearest): Likewise.
2329 (cos_towardzero_test_data): Likewise.
2330 (cos_test_towardzero): Likewise.
2331 (cos_downward_test_data): Likewise.
2332 (cos_test_downward): Likewise.
2333 (cos_upward_test_data): Likewise.
2334 (cos_test_upward): Likewise.
2335 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2336 (cosh_test): Use ALL_RM_TEST.
2337 (cosh_tonearest_test_data): Remove.
2338 (cosh_test_tonearest): Likewise.
2339 (cosh_towardzero_test_data): Likewise.
2340 (cosh_test_towardzero): Likewise.
2341 (cosh_downward_test_data): Likewise.
2342 (cosh_test_downward): Likewise.
2343 (cosh_upward_test_data): Likewise.
2344 (cosh_test_upward): Likewise.
2345 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2346 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2347 (ctan_test_data): Likewise.
2348 (ctan_test): Use ALL_RM_TEST.
2349 (ctan_tonearest_test_data): Remove.
2350 (ctan_test_tonearest): Likewise.
2351 (ctan_towardzero_test_data): Likewise.
2352 (ctan_test_towardzero): Likewise.
2353 (ctan_downward_test_data): Likewise.
2354 (ctan_test_downward): Likewise.
2355 (ctan_upward_test_data): Likewise.
2356 (ctan_test_upward): Likewise.
2357 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2358 (ctanh_test): Use ALL_RM_TEST.
2359 (ctanh_tonearest_test_data): Remove.
2360 (ctanh_test_tonearest): Likewise.
2361 (ctanh_towardzero_test_data): Likewise.
2362 (ctanh_test_towardzero): Likewise.
2363 (ctanh_downward_test_data): Likewise.
2364 (ctanh_test_downward): Likewise.
2365 (ctanh_upward_test_data): Likewise.
2366 (ctanh_test_upward): Likewise.
2367 (erf_test_data): Update call to AUTO_TESTS_f_f.
2368 (erfc_test_data): Likewise.
2369 (exp_test_data): Likewise.
2370 (exp_test): Use ALL_RM_TEST.
2371 (exp_tonearest_test_data): Remove.
2372 (exp_test_tonearest): Likewise.
2373 (exp_towardzero_test_data): Likewise.
2374 (exp_test_towardzero): Likewise.
2375 (exp_downward_test_data): Likewise.
2376 (exp_test_downward): Likewise.
2377 (exp_upward_test_data): Likewise.
2378 (exp_test_upward): Likewise.
2379 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2380 (exp10_test): Use ALL_RM_TEST.
2381 (exp10_tonearest_test_data): Remove.
2382 (exp10_test_tonearest): Likewise.
2383 (exp10_towardzero_test_data): Likewise.
2384 (exp10_test_towardzero): Likewise.
2385 (exp10_downward_test_data): Likewise.
2386 (exp10_test_downward): Likewise.
2387 (exp10_upward_test_data): Likewise.
2388 (exp10_test_upward): Likewise.
2389 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2390 (expm1_test_data): Likewise.
2391 (expm1_test): Use ALL_RM_TEST.
2392 (expm1_tonearest_test_data): Remove.
2393 (expm1_test_tonearest): Likewise.
2394 (expm1_towardzero_test_data): Likewise.
2395 (expm1_test_towardzero): Likewise.
2396 (expm1_downward_test_data): Likewise.
2397 (expm1_test_downward): Likewise.
2398 (expm1_upward_test_data): Likewise.
2399 (expm1_test_upward): Likewise.
2400 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2401 (fma_test): Use ALL_RM_TEST.
2402 (fma_towardzero_test_data): Remove.
2403 (fma_test_towardzero): Likewise.
2404 (fma_downward_test_data): Likewise.
2405 (fma_test_downward): Likewise.
2406 (fma_upward_test_data): Likewise.
2407 (fma_test_upward): Likewise.
2408 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2409 (j0_test_data): Update call to AUTO_TESTS_f_f.
2410 (j1_test_data): Likewise.
2411 (jn_test_data): Update call to AUTO_TESTS_if_f.
2412 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2413 (log_test_data): Update call to AUTO_TESTS_f_f.
2414 (log10_test_data): Likewise.
2415 (log1p_test_data): Likewise.
2416 (log2_test_data): Likewise.
2417 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2418 (pow_tonearest_test_data): Likewise.
2419 (sin_test_data): Update call to AUTO_TESTS_f_f.
2420 (sin_test): Use ALL_RM_TEST.
2421 (sin_tonearest_test_data): Remove.
2422 (sin_test_tonearest): Likewise.
2423 (sin_towardzero_test_data): Likewise.
2424 (sin_test_towardzero): Likewise.
2425 (sin_downward_test_data): Likewise.
2426 (sin_test_downward): Likewise.
2427 (sin_upward_test_data): Likewise.
2428 (sin_test_upward): Likewise.
2429 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2430 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2431 (sinh_test): Use ALL_RM_TEST.
2432 (sinh_tonearest_test_data): Remove.
2433 (sinh_test_tonearest): Likewise.
2434 (sinh_towardzero_test_data): Likewise.
2435 (sinh_test_towardzero): Likewise.
2436 (sinh_downward_test_data): Likewise.
2437 (sinh_test_downward): Likewise.
2438 (sinh_upward_test_data): Likewise.
2439 (sinh_test_upward): Likewise.
2440 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2441 (sqrt_test): Use ALL_RM_TEST.
2442 (sqrt_tonearest_test_data): Remove.
2443 (sqrt_test_tonearest): Likewise.
2444 (sqrt_towardzero_test_data): Likewise.
2445 (sqrt_test_towardzero): Likewise.
2446 (sqrt_downward_test_data): Likewise.
2447 (sqrt_test_downward): Likewise.
2448 (sqrt_upward_test_data): Likewise.
2449 (sqrt_test_upward): Likewise.
2450 (tan_test_data): Update call to AUTO_TESTS_f_f.
2451 (tan_test): Use ALL_RM_TEST.
2452 (tan_tonearest_test_data): Remove.
2453 (tan_test_tonearest): Likewise.
2454 (tan_towardzero_test_data): Likewise.
2455 (tan_test_towardzero): Likewise.
2456 (tan_downward_test_data): Likewise.
2457 (tan_test_downward): Likewise.
2458 (tan_upward_test_data): Likewise.
2459 (tan_test_upward): Likewise.
2460 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2461 (tgamma_test_data): Likewise.
2462 (y0_test_data): Likewise.
2463 (y1_test_data): Likewise.
2464 (yn_test_data): Update call to AUTO_TESTS_if_f.
2465 (main): Do not call removed functions.
2466
d71aeee8
JM
24672014-03-19 Joseph Myers <joseph@codesourcery.com>
2468
2469 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2470 (ldexp_test_data): Remove.
2471 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2472 scalbn_test_data.
2473 (scalb_test): Use ALL_RM_TEST.
2474
baaf1ded
AS
24752014-03-19 Andreas Schwab <schwab@suse.de>
2476
2477 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2478
b1115e91
JM
24792014-03-19 Joseph Myers <joseph@codesourcery.com>
2480
2481 [BZ #16649]
2482 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2484 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2485 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2486 (__ASSUME_PREADV): Undefine.
2487 (__ASSUME_PWRITEV): Likewise.
2488
0283ecca
RM
24892014-03-18 Roland McGrath <roland@hack.frob.com>
2490
7d375303
RM
2491 * bits/mman-linux.h: Add comment about non-Linux use.
2492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2493 bits/mman-linux.h resting place.
2494
0283ecca
RM
2495 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2496 * bits/mman-linux.h: ... here.
2497
aebe1003
AZ
24982014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499
2500 * conform/conformtest.pl: Add standard definition when calling C
2501 preprocessor on data files.
2502 (checknamespace): Remove unused variable.
2503
b29b6bb8
JM
25042014-03-18 Joseph Myers <joseph@codesourcery.com>
2505
2506 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2507 minus_oflow, plus_uflow and minus_uflow in expected results.
2508 * math/libm-test.inc (scalbn_test_data): Add more tests of
2509 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2510 minus_uflow.
2511 (scalbn_test): Use ALL_RM_TEST.
2512 (scalbln_test_data): Add more tests of negative arguments. Use
2513 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2514 (scalbln_test): Use ALL_RM_TEST.
2515
c8f8fa15
RM
25162014-03-18 Roland McGrath <roland@hack.frob.com>
2517
2518 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2519
fede7a5f
WN
25202014-03-18 Will Newton <will.newton@linaro.org>
2521
2522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2523 inaccurate comment.
2524
80cf0a58
JM
25252014-03-18 Joseph Myers <joseph@codesourcery.com>
2526
2527 * Makerules [!subdir] (check-abi): Exit with error status if a
2528 test failed.
2529
b3620862
JM
25302014-03-17 Joseph Myers <joseph@codesourcery.com>
2531
2532 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2533 for rint. Include results for all rounding modes.
2534 (nearbyint_test): Use ALL_RM_TEST.
2535 (rint_test_data): Include all tests used for nearbyint.
2536
788bba36
WN
25372014-03-17 Will Newton <will.newton@linaro.org>
2538
04ec140a
WN
2539 * nptl/sysdeps/pthread/pthread.h: Revert previous
2540 change.
2541
7579d8d5
WN
2542 * sysdeps/generic/ldsodefs.h: Revert previous
2543 change.
2544
c15cf13a
WN
2545 * libio/genops.c: Revert previous change.
2546 * libio/libioP.h: Likewise.
2547 * stdio-common/vfprintf.c: Likewise.
2548
d0ac1324
WN
2549 * sysdeps/generic/math_private.h: Revert previous
2550 change.
2551
9290130a
WN
2552 * sysdeps/generic/math_private.h: Check whether
2553 HAVE_RM_CTX is defined with #ifdef rather
2554 than #if.
2555
afb466fc
WN
2556 * argp/argp-fmtstream.h: Check whether
2557 __STRICT_ANSI__ is defined with #ifdef rather
2558 than #if.
2559 * argp/argp.h: Likewise.
2560
f7efd7c3
WN
2561 * libio/genops.c: Check whether
2562 _IO_JUMPS_OFFSET is defined with #ifdef rather
2563 than #if.
2564 * libio/libioP.h: Likewise.
2565 * stdio-common/vfprintf.c: Likewise.
2566
53f1bed3
WN
2567 * sysdeps/generic/ldsodefs.h: Check whether
2568 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2569 than #if.
2570
788bba36
WN
2571 * nptl/sysdeps/pthread/pthread.h: Check
2572 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2573 its value.
2574
fcd89ebe
SP
25752014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2576
ae42bbc5
SP
2577 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2578 setting O_APPEND.
2579 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2580 test case.
2581
ea33158c
SP
2582 [BZ #16680]
2583 * libio/fileops.c (_IO_file_open): Seek to end of file but
2584 don't cache the offset.
2585 (get_file_offset): Remove function.
2586 (do_ftell): Use cached offset when available.
2587 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2588 don't cache the offset.
2589 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2590 case.
2591 (do_one_test): Call it.
2592 (do_ftell_test): Fix up expected old offset for a+ mode.
2593 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2594 available.
2595
b1dbb426
SP
2596 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2597 up test status with function return status.
2598 (do_write_test): Likewise.
2599 (do_append_test): Likewise.
2600
fcd89ebe
SP
2601 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2602 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2603 Remove.
2604
9962a2d3
JM
26052014-03-17 Joseph Myers <joseph@codesourcery.com>
2606
2607 * math/gen-libm-test.pl (parse_args): Handle results specified for
2608 each rounding mode separately.
2609 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2610 tests and results from lrint_tonearest_test_data,
2611 lrint_towardzero_test_data, lrint_downward_test_data and
2612 lrint_upward_test_data.
2613 (lrint_test): Use ALL_RM_TEST.
2614 (lrint_tonearest_test_data): Remove.
2615 (lrint_test_tonearest): Likewise.
2616 (lrint_towardzero_test_data): Likewise.
2617 (lrint_test_towardzero): Likewise.
2618 (lrint_downward_test_data): Likewise.
2619 (lrint_test_downward): Likewise.
2620 (lrint_upward_test_data): Likewise.
2621 (lrint_test_upward): Likewise.
2622 (llrint_test_data): Merge in per-rounding-mode tests and results
2623 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2624 llrint_downward_test_data and llrint_upward_test_data.
2625 (llrint_test): Use ALL_RM_TEST.
2626 (llrint_tonearest_test_data): Remove.
2627 (llrint_test_tonearest): Likewise.
2628 (llrint_towardzero_test_data): Likewise.
2629 (llrint_test_towardzero): Likewise.
2630 (llrint_downward_test_data): Likewise.
2631 (llrint_test_downward): Likewise.
2632 (llrint_upward_test_data): Likewise.
2633 (llrint_test_upward): Likewise.
2634 (rint_test_data): Merge in per-rounding-mode tests and results
2635 from rint_tonearest_test_data, rint_towardzero_test_data,
2636 rint_downward_test_data and rint_upward_test_data. Add
2637 per-rounding-mode results for tests not in those arrays.
2638 (rint_test): Use ALL_RM_TEST.
2639 (rint_tonearest_test_data): Remove.
2640 (rint_test_tonearest): Likewise.
2641 (rint_towardzero_test_data): Likewise.
2642 (rint_test_towardzero): Likewise.
2643 (rint_downward_test_data): Likewise.
2644 (rint_test_downward): Likewise.
2645 (rint_upward_test_data): Likewise.
2646 (rint_test_upward): Likewise.
2647 (main): Don't call removed functions.
2648
5006148e
RM
26492014-03-14 Roland McGrath <roland@hack.frob.com>
2650
2651 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2652 "Compiled on ..." crapola. It is anti-useful.
2653
d6fe5e58
JM
26542014-03-14 Joseph Myers <joseph@codesourcery.com>
2655
2656 * scripts/evaluate-test.sh: Handle fourth argument to determine
2657 whether test run should stop on failure.
2658 * Makeconfig (stop-on-test-failure): New variable.
2659 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2660 $(stop-on-test-failure).
2661 * Makefile (tests): Give a summary of results from testing and
2662 exit with failure status if they include an ERROR or FAIL.
2663 (xtests): Likewise.
2664 * manual/install.texi (Configuring and compiling): Mention
2665 stop-on-test-failure=y.
2666 * INSTALL: Regenerated.
2667
498a2233
RM
26682014-03-14 Roland McGrath <roland@hack.frob.com>
2669
22dbc19d
RM
2670 * scripts/versionlist.awk: New file.
2671 * Makerules [$(build-shared) = yes]
2672 (postclean-generated): Add Versions.def, not Versions.def.v and
2673 Versions.def.v.i.
2674 ($(common-objpfx)Versions.def.v.i): Target removed.
2675 ($(common-objpfx)Versions.def): New target.
2676 ($(common-objpfx)Versions.all): Depend on that rather that
2677 $(common-objpfx)Versions.def.v.
2678 * Versions.def: File removed.
2679
498a2233
RM
2680 * Makeconfig (+gccwarn): Add -Wundef.
2681 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2682 a dl-sysdep.h breaking its contract.
2683 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2684 * include/stackinfo.h: New file.
2685 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2686 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2687 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2688 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2689 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2690 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2691 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2692 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2693 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2694 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2695 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2696 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2697 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2698 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2699 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2700
c7de5025
AZ
27012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702
2703 [BZ #16707]
2704 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2705 implementation.
2706 * math/libm-test.inc (round_test_data): Add more tests.
2707
98fb27a3
AZ
2708 [BZ #16706]
2709 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2710 implementation.
2711 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2712
374f7f61
AZ
2713 [BZ #16701]
2714 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2715 implementation.
2716 * math/libm-test.inc (ceil_test_data): Add more tests.
2717
4655c291
AZ
2718 * math/libm-test.inc (trunc_test_data): Add more tests related to
2719 BZ#16414.
2720
d7329d4b
RM
27212014-03-14 Roland McGrath <roland@hack.frob.com>
2722
2723 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2724 with #if rather than #ifdef.
2725 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2726
aa4de9ce
L
27272014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2730 first. Disable AVX-512 GCC support if assembler doesn't support
2731 it.
2732 * sysdeps/x86_64/configure: Regenerated.
2733
2e03fae7
CD
27342014-03-13 Carlos O'Donell <carlos@redhat.com>
2735
2736 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2737 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2738 (__old_pthread_attr_setstack): Likewise.
2739 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2740 [!_STACK_GROWS_DOWN]: Likewise.
2741
43ca83ec
MF
27422014-03-13 Mike Frysinger <vapier@gentoo.org>
2743
2744 * config.make.in (have-bash2): Delete.
2745 * configure.ac (libc_cv_have_bash2): Delete.
2746 * configure: Regenerate.
2747 * elf/Makefile (common-ldd-rewrite): Rename to ...
2748 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2749 (sh-ldd-rewrite): Delete.
2750 (bash-ldd-rewrite): Delete.
2751 (have-bash2): Delete checks.
57f41c40
AS
2752 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2753 ldd-rewrite.
c66e48b4
MF
2754
2755 * config.make.in (have-ksh): Delete.
2756 (KSH): Delete.
2757 * configure.ac (libc_cv_have_ksh): Delete.
2758 * configure: Regenerate.
2759
b93834ef
MF
2760 * elf/Makefile: Delete $(have-ksh) check.
2761 ($(objpfx)sotruss): Change KSH to BASH.
2762 * elf/sotruss.ksh: Rename to ...
2763 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2764 function style to match POSIX. Drop ksh vim mode setting.
2765
f3a4632a
MF
2766 * manual/time.texi (Specifying the Time Zone with TZ): Change
2767 Tuesday to Thursday.
2768
5896c8bd
MF
2769 * debug/tst-longjmp_chk2.c: Update header comment.
2770 (stackoverflow_handler): Add comment. Call assert on pass value.
2771
2d63a517
IZ
27722014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2773
2774 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2775 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2776 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2777 (La_x86_64_vector): Add zmm.
2778 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2779 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2780 ($(objpfx)tst-audit10): New target.
2781 ($(objpfx)tst-audit10.out): Likewise.
2782 (tst-audit10-ENV): New.
2783 (AVX512-CFLAGS): Likewise.
2784 (CFLAGS-tst-audit10.c): Likewise.
2785 (CFLAGS-tst-auditmod10a.c): Likewise.
2786 (CFLAGS-tst-auditmod10b.c): Likewise.
2787 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2788 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2789 * sysdeps/x86_64/configure: Regenerated.
2790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2791 AVX-512 zmm register support.
2792 (_dl_x86_64_save_sse): Likewise.
2793 (_dl_x86_64_restore_sse): Likewise.
2794 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2795 size vector registers.
2796 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2797 (ZMM_SIZE): Likewise.
2798 * sysdeps/x86_64/tst-audit10.c: New file.
2799 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2800 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2801
44c4e5d5
RM
28022014-03-13 Roland McGrath <roland@hack.frob.com>
2803
2804 * configure.ac (HAVE_EHDR_START): New check.
2805 * configure: Regenerated.
2806 * config.h.in (HAVE_EHDR_START): New #undef.
2807 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2808 assuming the lowest-addressed segment maps the start of the file.
2809
acd6e389
JM
28102014-03-13 Joseph Myers <joseph@codesourcery.com>
2811
2812 * INSTALL: Regenerated.
2813
6f918f36
WN
28142014-03-13 Will Newton <will.newton@linaro.org>
2815
2816 * manual/setjmp.texi (System V contexts): Improve
2817 clarity and grammar of documentation.
2818
798212a0
PP
28192014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2820
2821 [BZ #16381]
798212a0 2822 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2823 (tests-pie): Add tst-pie2.
798212a0
PP
2824 * elf/tst-pie2.c: New file.
2825 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2826 for ET_EXEC.
2827 * elf/rtld.c (map_doit): Load executable as lt_executable.
2828 (dl_main): Likewise.
2829
abe6d90c
JM
28302014-03-12 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #16642]
2833 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2834 (__ASSUME_PSELECT): Undefine.
2835
dd3946c6
AZ
28362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837
2838 [BZ #16689]
2839 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2840 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2841 static build.
2842 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2843 selector for static builds.
2844
c44496df
SP
28452014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2846
2847 [BZ #16695]
2848 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2849 key in the buffer.
2850
27c7220a
AZ
28512014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852
57f41c40
AS
2853 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2854 IFUNC selector for static builds.
27c7220a 2855
600fa361
JM
28562014-03-11 Joseph Myers <joseph@codesourcery.com>
2857
76c96cf7
JM
2858 * sysdeps/mips/math_private.h [__mips_hard_float]
2859 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2860 libc_feresetround_mips_ctx.
2861 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2862 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2863 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2864
600fa361
JM
2865 [BZ #16677]
2866 * math/s_nextafter.c (__nextafter): Do not return value from
2867 overflowing computation.
2868 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2869 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2870 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2871 Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2873 Likewise.
2874 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2875 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2876
d7706c32
RM
28772014-03-11 Roland McGrath <roland@hack.frob.com>
2878
2879 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2880 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2881 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2882 the new mov targetting sp.
2883
4facea47
AZ
28842014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885
2886 [BZ #16683]
2887 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2888 Define it for static builds as well.
2889 (NO_BZERO_IMPL): Likewise.
2890
e65caf1f
VR
28912014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2892
2893 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2894 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2895 multiarch strspn for PPC64.
2896 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2897 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2899 (__libc_ifunc_impl_list): Likewise.
2900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2901 multiarch optimizations
2902 * string/strspn.c (strspn): Using macro to redefine symbol name.
2903
ba9cc071
AZ
29042014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2905 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906
2907 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2908 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2909 multiarch strncat for PPC64.
2910 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2911 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2913 (__libc_ifunc_impl_list): Likewise.
2914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2915 multiarch optimizations
2916
8b4ff974
SP
29172014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2918
2919 [BZ #16639]
2920 * nscd/nscd.service: Make service type forking.
2921
54b46a4b
AZ
29222014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923
2924 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2925 sign in non default rounding modes.
2926 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2927
e9996ef7
JM
29282014-03-08 Joseph Myers <joseph@codesourcery.com>
2929
2930 * math/libm-test.inc (ALL_RM_TEST): New macro.
2931 (ceil_test): Use ALL_RM_TEST.
2932 (cimag_test): Likewise.
2933 (conj_test): Likewise.
2934 (copysign_test): Likewise.
2935 (cproj_test): Likewise.
2936 (creal_test): Likewise.
2937 (fabs_test): Likewise.
2938 (floor_test): Likewise.
2939 (fmax_test): Likewise.
2940 (fmin_test): Likewise.
2941 (fmod_test): Likewise.
2942 (fpclassify_test): Likewise.
2943 (frexp_test): Likewise.
2944 (ilogb_test): Likewise.
2945 (isfinite_test): Likewise.
2946 (finite_test): Likewise.
2947 (isgreater_test): Likewise.
2948 (isgreaterequal_test): Likewise.
2949 (isinf_test): Likewise.
2950 (isless_test): Likewise.
2951 (islessequal_test): Likewise.
2952 (islessgreater_test): Likewise.
2953 (isnan_test): Likewise.
2954 (isnormal_test): Likewise.
2955 (issignaling_test): Likewise.
2956 (isunordered_test): Likewise.
2957 (logb_test): Likewise.
2958 (logb_downward_test_data): Remove.
2959 (logb_test_downward): Likewise.
2960 (lround_test): Use ALL_RM_TEST.
2961 (llround_test): Likewise.
2962 (modf_test): Likewise.
2963 (nexttoward_test): Likewise.
2964 (remainder_test): Likewise.
2965 (drem_test): Likewise.
2966 (remainder_tonearest_test_data): Likewise.
2967 (remainder_test_tonearest): Likewise.
2968 (drem_test_tonearest): Likewise.
2969 (remainder_towardzero_test_data): Likewise.
2970 (remainder_test_towardzero): Likewise.
2971 (drem_test_towardzero): Likewise.
2972 (remainder_downward_test_data): Likewise.
2973 (remainder_test_downward): Likewise.
2974 (drem_test_downward): Likewise.
2975 (remainder_upward_test_data): Likewise.
2976 (remainder_test_upward): Likewise.
2977 (drem_test_upward): Likewise.
2978 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2979 (round_test): Use ALL_RM_TEST.
2980 (signbit_test): Likewise.
2981 (trunc_test): Likewise.
2982 (significand_test): Likewise.
2983 (main): Don't call removed functions.
2984
bc61d27c
JM
29852014-03-07 Joseph Myers <joseph@codesourcery.com>
2986
5c780849
JM
2987 [BZ #16674]
2988 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2989 || __USE_XOPEN2K8].
2990 (ILL_ILLOPN): Likewise.
2991 (ILL_ILLADR): Likewise.
2992 (ILL_ILLTRP): Likewise.
2993 (ILL_PRVOPC): Likewise.
2994 (ILL_PRVREG): Likewise.
2995 (ILL_COPROC): Likewise.
2996 (ILL_BADSTK): Likewise.
2997 (FPE_INTDIV): Likewise.
2998 (FPE_INTOVF): Likewise.
2999 (FPE_FLTDIV): Likewise.
3000 (FPE_FLTOVF): Likewise.
3001 (FPE_FLTUND): Likewise.
3002 (FPE_FLTRES): Likewise.
3003 (FPE_FLTINV): Likewise.
3004 (FPE_FLTSUB): Likewise.
3005 (SEGV_MAPERR): Likewise.
3006 (SEGV_ACCERR): Likewise.
3007 (BUS_ADRALN): Likewise.
3008 (BUS_ADRERR): Likewise.
3009 (BUS_OBJERR): Likewise.
3010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3011 (TRAP_TRACE): Likewise.
3012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3013 __USE_XOPEN2K8].
3014 (CLD_KILLED): Likewise.
3015 (CLD_DUMPED): Likewise.
3016 (CLD_TRAPPED): Likewise.
3017 (CLD_STOPPED): Likewise.
3018 (CLD_CONTINUED): Likewise.
3019 (POLL_IN): Likewise.
3020 (POLL_OUT): Likewise.
3021 (POLL_MSG): Likewise.
3022 (POLL_ERR): Likewise.
3023 (POLL_PRI): Likewise.
3024 (POLL_HUP): Likewise.
3025 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3026 Likewise.
3027 (ILL_ILLOPN): Likewise.
3028 (ILL_ILLADR): Likewise.
3029 (ILL_ILLTRP): Likewise.
3030 (ILL_PRVOPC): Likewise.
3031 (ILL_PRVREG): Likewise.
3032 (ILL_COPROC): Likewise.
3033 (ILL_BADSTK): Likewise.
3034 (FPE_INTDIV): Likewise.
3035 (FPE_INTOVF): Likewise.
3036 (FPE_FLTDIV): Likewise.
3037 (FPE_FLTOVF): Likewise.
3038 (FPE_FLTUND): Likewise.
3039 (FPE_FLTRES): Likewise.
3040 (FPE_FLTINV): Likewise.
3041 (FPE_FLTSUB): Likewise.
3042 (SEGV_MAPERR): Likewise.
3043 (SEGV_ACCERR): Likewise.
3044 (BUS_ADRALN): Likewise.
3045 (BUS_ADRERR): Likewise.
3046 (BUS_OBJERR): Likewise.
3047 (BUS_MCEERR_AR): Likewise.
3048 (BUS_MCEERR_AO): Likewise.
3049 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3050 (TRAP_TRACE): Likewise.
3051 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3052 __USE_XOPEN2K8].
3053 (CLD_KILLED): Likewise.
3054 (CLD_DUMPED): Likewise.
3055 (CLD_TRAPPED): Likewise.
3056 (CLD_STOPPED): Likewise.
3057 (CLD_CONTINUED): Likewise.
3058 (POLL_IN): Likewise.
3059 (POLL_OUT): Likewise.
3060 (POLL_MSG): Likewise.
3061 (POLL_ERR): Likewise.
3062 (POLL_PRI): Likewise.
3063 (POLL_HUP): Likewise.
3064 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3065 (ILL_ILLOPN): Likewise.
3066 (ILL_ILLADR): Likewise.
3067 (ILL_ILLTRP): Likewise.
3068 (ILL_PRVOPC): Likewise.
3069 (ILL_PRVREG): Likewise.
3070 (ILL_COPROC): Likewise.
3071 (ILL_BADSTK): Likewise.
3072 (FPE_INTDIV): Likewise.
3073 (FPE_INTOVF): Likewise.
3074 (FPE_FLTDIV): Likewise.
3075 (FPE_FLTOVF): Likewise.
3076 (FPE_FLTUND): Likewise.
3077 (FPE_FLTRES): Likewise.
3078 (FPE_FLTINV): Likewise.
3079 (FPE_FLTSUB): Likewise.
3080 (SEGV_MAPERR): Likewise.
3081 (SEGV_ACCERR): Likewise.
3082 (BUS_ADRALN): Likewise.
3083 (BUS_ADRERR): Likewise.
3084 (BUS_OBJERR): Likewise.
3085 (BUS_MCEERR_AR): Likewise.
3086 (BUS_MCEERR_AO): Likewise.
3087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3088 (TRAP_TRACE): Likewise.
3089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3090 __USE_XOPEN2K8].
3091 (CLD_KILLED): Likewise.
3092 (CLD_DUMPED): Likewise.
3093 (CLD_TRAPPED): Likewise.
3094 (CLD_STOPPED): Likewise.
3095 (CLD_CONTINUED): Likewise.
3096 (POLL_IN): Likewise.
3097 (POLL_OUT): Likewise.
3098 (POLL_MSG): Likewise.
3099 (POLL_ERR): Likewise.
3100 (POLL_PRI): Likewise.
3101 (POLL_HUP): Likewise.
3102 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3103 Likewise.
3104 (ILL_ILLOPN): Likewise.
3105 (ILL_ILLADR): Likewise.
3106 (ILL_ILLTRP): Likewise.
3107 (ILL_PRVOPC): Likewise.
3108 (ILL_PRVREG): Likewise.
3109 (ILL_COPROC): Likewise.
3110 (ILL_BADSTK): Likewise.
3111 (ILL_BADIADDR): Likewise.
3112 (ILL_BREAK): Likewise.
3113 (FPE_INTDIV): Likewise.
3114 (FPE_INTOVF): Likewise.
3115 (FPE_FLTDIV): Likewise.
3116 (FPE_FLTOVF): Likewise.
3117 (FPE_FLTUND): Likewise.
3118 (FPE_FLTRES): Likewise.
3119 (FPE_FLTINV): Likewise.
3120 (FPE_FLTSUB): Likewise.
3121 (FPE_DECOVF): Likewise.
3122 (FPE_DECDIV): Likewise.
3123 (FPE_DECERR): Likewise.
3124 (FPE_INVASC): Likewise.
3125 (FPE_INVDEC): Likewise.
3126 (SEGV_MAPERR): Likewise.
3127 (SEGV_ACCERR): Likewise.
3128 (SEGV_PSTKOVF): Likewise.
3129 (BUS_ADRALN): Likewise.
3130 (BUS_ADRERR): Likewise.
3131 (BUS_OBJERR): Likewise.
3132 (BUS_MCEERR_AR): Likewise.
3133 (BUS_MCEERR_AO): Likewise.
3134 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3135 (TRAP_TRACE): Likewise.
3136 (TRAP_BRANCH): Likewise.
3137 (TRAP_HWBKPT): Likewise.
3138 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3139 __USE_XOPEN2K8].
3140 (CLD_KILLED): Likewise.
3141 (CLD_DUMPED): Likewise.
3142 (CLD_TRAPPED): Likewise.
3143 (CLD_STOPPED): Likewise.
3144 (CLD_CONTINUED): Likewise.
3145 (POLL_IN): Likewise.
3146 (POLL_OUT): Likewise.
3147 (POLL_MSG): Likewise.
3148 (POLL_ERR): Likewise.
3149 (POLL_PRI): Likewise.
3150 (POLL_HUP): Likewise.
3151 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3152 (ILL_ILLOPN): Likewise.
3153 (ILL_ILLADR): Likewise.
3154 (ILL_ILLTRP): Likewise.
3155 (ILL_PRVOPC): Likewise.
3156 (ILL_PRVREG): Likewise.
3157 (ILL_COPROC): Likewise.
3158 (ILL_BADSTK): Likewise.
3159 (FPE_INTDIV): Likewise.
3160 (FPE_INTOVF): Likewise.
3161 (FPE_FLTDIV): Likewise.
3162 (FPE_FLTOVF): Likewise.
3163 (FPE_FLTUND): Likewise.
3164 (FPE_FLTRES): Likewise.
3165 (FPE_FLTINV): Likewise.
3166 (FPE_FLTSUB): Likewise.
3167 (SEGV_MAPERR): Likewise.
3168 (SEGV_ACCERR): Likewise.
3169 (BUS_ADRALN): Likewise.
3170 (BUS_ADRERR): Likewise.
3171 (BUS_OBJERR): Likewise.
3172 (BUS_MCEERR_AR): Likewise.
3173 (BUS_MCEERR_AO): Likewise.
3174 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3175 (TRAP_TRACE): Likewise.
3176 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3177 __USE_XOPEN2K8].
3178 (CLD_KILLED): Likewise.
3179 (CLD_DUMPED): Likewise.
3180 (CLD_TRAPPED): Likewise.
3181 (CLD_STOPPED): Likewise.
3182 (CLD_CONTINUED): Likewise.
3183 (POLL_IN): Likewise.
3184 (POLL_OUT): Likewise.
3185 (POLL_MSG): Likewise.
3186 (POLL_ERR): Likewise.
3187 (POLL_PRI): Likewise.
3188 (POLL_HUP): Likewise.
3189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3190 (ILL_ILLOPN): Likewise.
3191 (ILL_ILLADR): Likewise.
3192 (ILL_ILLTRP): Likewise.
3193 (ILL_PRVOPC): Likewise.
3194 (ILL_PRVREG): Likewise.
3195 (ILL_COPROC): Likewise.
3196 (ILL_BADSTK): Likewise.
3197 (FPE_INTDIV): Likewise.
3198 (FPE_INTOVF): Likewise.
3199 (FPE_FLTDIV): Likewise.
3200 (FPE_FLTOVF): Likewise.
3201 (FPE_FLTUND): Likewise.
3202 (FPE_FLTRES): Likewise.
3203 (FPE_FLTINV): Likewise.
3204 (FPE_FLTSUB): Likewise.
3205 (SEGV_MAPERR): Likewise.
3206 (SEGV_ACCERR): Likewise.
3207 (BUS_ADRALN): Likewise.
3208 (BUS_ADRERR): Likewise.
3209 (BUS_OBJERR): Likewise.
3210 (BUS_MCEERR_AR): Likewise.
3211 (BUS_MCEERR_AO): Likewise.
3212 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3213 (TRAP_TRACE): Likewise.
3214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3215 __USE_XOPEN2K8].
3216 (CLD_KILLED): Likewise.
3217 (CLD_DUMPED): Likewise.
3218 (CLD_TRAPPED): Likewise.
3219 (CLD_STOPPED): Likewise.
3220 (CLD_CONTINUED): Likewise.
3221 (POLL_IN): Likewise.
3222 (POLL_OUT): Likewise.
3223 (POLL_MSG): Likewise.
3224 (POLL_ERR): Likewise.
3225 (POLL_PRI): Likewise.
3226 (POLL_HUP): Likewise.
3227 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3228 (ILL_ILLOPN): Likewise.
3229 (ILL_ILLADR): Likewise.
3230 (ILL_ILLTRP): Likewise.
3231 (ILL_PRVOPC): Likewise.
3232 (ILL_PRVREG): Likewise.
3233 (ILL_COPROC): Likewise.
3234 (ILL_BADSTK): Likewise.
3235 (FPE_INTDIV): Likewise.
3236 (FPE_INTOVF): Likewise.
3237 (FPE_FLTDIV): Likewise.
3238 (FPE_FLTOVF): Likewise.
3239 (FPE_FLTUND): Likewise.
3240 (FPE_FLTRES): Likewise.
3241 (FPE_FLTINV): Likewise.
3242 (FPE_FLTSUB): Likewise.
3243 (SEGV_MAPERR): Likewise.
3244 (SEGV_ACCERR): Likewise.
3245 (BUS_ADRALN): Likewise.
3246 (BUS_ADRERR): Likewise.
3247 (BUS_OBJERR): Likewise.
3248 (BUS_MCEERR_AR): Likewise.
3249 (BUS_MCEERR_AO): Likewise.
3250 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3251 (TRAP_TRACE): Likewise.
3252 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3253 __USE_XOPEN2K8].
3254 (CLD_KILLED): Likewise.
3255 (CLD_DUMPED): Likewise.
3256 (CLD_TRAPPED): Likewise.
3257 (CLD_STOPPED): Likewise.
3258 (CLD_CONTINUED): Likewise.
3259 (POLL_IN): Likewise.
3260 (POLL_OUT): Likewise.
3261 (POLL_MSG): Likewise.
3262 (POLL_ERR): Likewise.
3263 (POLL_PRI): Likewise.
3264 (POLL_HUP): Likewise.
3265 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3266 (ILL_ILLOPN): Likewise.
3267 (ILL_ILLADR): Likewise.
3268 (ILL_ILLTRP): Likewise.
3269 (ILL_PRVOPC): Likewise.
3270 (ILL_PRVREG): Likewise.
3271 (ILL_COPROC): Likewise.
3272 (ILL_BADSTK): Likewise.
3273 (ILL_DBLFLT): Likewise.
3274 (ILL_HARDWALL): Likewise.
3275 (FPE_INTDIV): Likewise.
3276 (FPE_INTOVF): Likewise.
3277 (FPE_FLTDIV): Likewise.
3278 (FPE_FLTOVF): Likewise.
3279 (FPE_FLTUND): Likewise.
3280 (FPE_FLTRES): Likewise.
3281 (FPE_FLTINV): Likewise.
3282 (FPE_FLTSUB): Likewise.
3283 (SEGV_MAPERR): Likewise.
3284 (SEGV_ACCERR): Likewise.
3285 (BUS_ADRALN): Likewise.
3286 (BUS_ADRERR): Likewise.
3287 (BUS_OBJERR): Likewise.
3288 (BUS_MCEERR_AR): Likewise.
3289 (BUS_MCEERR_AO): Likewise.
3290 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3291 (TRAP_TRACE): Likewise.
3292 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3293 __USE_XOPEN2K8].
3294 (CLD_KILLED): Likewise.
3295 (CLD_DUMPED): Likewise.
3296 (CLD_TRAPPED): Likewise.
3297 (CLD_STOPPED): Likewise.
3298 (CLD_CONTINUED): Likewise.
3299 (POLL_IN): Likewise.
3300 (POLL_OUT): Likewise.
3301 (POLL_MSG): Likewise.
3302 (POLL_ERR): Likewise.
3303 (POLL_PRI): Likewise.
3304 (POLL_HUP): Likewise.
3305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3306 (ILL_ILLOPN): Likewise.
3307 (ILL_ILLADR): Likewise.
3308 (ILL_ILLTRP): Likewise.
3309 (ILL_PRVOPC): Likewise.
3310 (ILL_PRVREG): Likewise.
3311 (ILL_COPROC): Likewise.
3312 (ILL_BADSTK): Likewise.
3313 (FPE_INTDIV): Likewise.
3314 (FPE_INTOVF): Likewise.
3315 (FPE_FLTDIV): Likewise.
3316 (FPE_FLTOVF): Likewise.
3317 (FPE_FLTUND): Likewise.
3318 (FPE_FLTRES): Likewise.
3319 (FPE_FLTINV): Likewise.
3320 (FPE_FLTSUB): Likewise.
3321 (SEGV_MAPERR): Likewise.
3322 (SEGV_ACCERR): Likewise.
3323 (BUS_ADRALN): Likewise.
3324 (BUS_ADRERR): Likewise.
3325 (BUS_OBJERR): Likewise.
3326 (BUS_MCEERR_AR): Likewise.
3327 (BUS_MCEERR_AO): Likewise.
3328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3329 (TRAP_TRACE): Likewise.
3330 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3331 __USE_XOPEN2K8].
3332 (CLD_KILLED): Likewise.
3333 (CLD_DUMPED): Likewise.
3334 (CLD_TRAPPED): Likewise.
3335 (CLD_STOPPED): Likewise.
3336 (CLD_CONTINUED): Likewise.
3337 (POLL_IN): Likewise.
3338 (POLL_OUT): Likewise.
3339 (POLL_MSG): Likewise.
3340 (POLL_ERR): Likewise.
3341 (POLL_PRI): Likewise.
3342 (POLL_HUP): Likewise.
3343 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3344 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3345
bc61d27c
JM
3346 [BZ #16670]
3347 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3348 before #include of <time.h>.
3349 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3350 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3351 (test-xfail-UNIX98/sched.h/conform): Likewise.
3352
302949e2
MS
33532014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3354
3355 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3356 error absence of trapping exception support.
3357 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3358
a00f522a
JM
33592014-03-07 Joseph Myers <joseph@codesourcery.com>
3360
6f99f280
JM
3361 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3362 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3363 * timezone/Makefile (testdata): Move definition above include of
3364 Rules.
3365 (test-zones): New variable.
3366 (tests-special): Add zone files.
3367 (build-testdata): Use $(evaluate-test).
3368
0b20a9e8
JM
3369 * elf/Makefile (tests-special): Rename tests to end with .out.
3370 ($(objpfx)noload-mem): Likewise.
3371 ($(objpfx)tst-leaks1-mem): Likewise.
3372 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3373 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3374 $(objpfx)test-iconvconfig.out.
3375 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3376 set -e inside subshell and redirect output to file.
3377 * iconvdata/Makefile (generated): Rename tests to end with .out.
3378 Correct type.
3379 (tests-special): Rename tests to end with .out.
3380 ($(objpfx)mtrace-tst-loading): Likewise.
3381 * intl/Makefile (generated): Likewise.
3382 (tests-special): Likewise.
3383 ($(objpfx)mtrace-tst-gettext): Likewise.
3384 * misc/Makefile (generated): Likewise.
3385 (tests-special): Likewise.
3386 ($(objpfx)tst-error1-mem): Likewise.
3387 * nptl/Makefile (tests-special): Likewise.
3388 ($(objpfx)tst-stack3-mem): Likewise.
3389 (generated): Likewise.
3390 * posix/Makefile (generated): Likewise.
3391 (tests-special): Likewise.
3392 (xtests-special): Likewise.
3393 ($(objpfx)tst-fnmatch-mem): Likewise.
3394 ($(objpfx)bug-regex2-mem): Likewise.
3395 ($(objpfx)bug-regex14-mem): Likewise.
3396 ($(objpfx)bug-regex21-mem): Likewise.
3397 ($(objpfx)bug-regex31-mem): Likewise.
3398 ($(objpfx)tst-vfork3-mem): Likewise.
3399 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3400 ($(objpfx)tst-pcre-mem): Likewise.
3401 ($(objpfx)tst-boost-mem): Likewise.
3402 ($(objpfx)bug-ga2-mem): Likewise.
3403 ($(objpfx)bug-glob2-mem): Likewise.
3404 * resolv/Makefile (generate): Likewise.
3405 (tests-special): Likewise.
3406 (xtests-special): Likewise.
3407 (generated): Likewise.
3408 ($(objpfx)mtrace-tst-leaks): Likewise.
3409 ($(objpfx)mtrace-tst-leaks2): Likewise.
3410
265d52ab
JM
3411 * scripts/merge-test-results.sh: New file.
3412 * Makefile (tests-special-notdir): New variable.
3413 (tests): Run merge-test-results.sh.
3414 (xtests): Likewise.
3415 * Rules (tests-special-notdir): New variable.
3416 (xtests-special-notdir): Likewise.
3417 (tests): Run merge-test-results.sh
3418 (xtests): Likewise.
3419
54ee292d
JM
3420 * Makeconfig (test-xfail-name): New variable.
3421 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3422 compute variable name for expected failures.
3423 * conform/Makefile (conformtest-headers-data): New variable.
3424 (conformtest-standards): Likewise.
3425 (conformtest-headers-ISO): Likewise.
3426 (conformtest-headers-ISO99): Likewise.
3427 (conformtest-headers-ISO11): Likewise.
3428 (conformtest-headers-POSIX): Likewise.
3429 (conformtest-headers-XPG3): Likewise.
3430 (conformtest-headers-XPG4): Likewise.
3431 (conformtest-headers-UNIX98): Likewise.
3432 (conformtest-headers-XOPEN2K): Likewise.
3433 (conformtest-headers-POSIX2008): Likewise.
3434 (conformtest-headers-XOPEN2K8): Likewise.
3435 (conformtest-header-list-base): Likewise.
3436 (conformtest-header-list-tests): Likewise.
3437 (conformtest-header-base): Likewise.
3438 (conformtest-header-tests): Likewise.
3439 (tests-special): Add $(conformtest-header-list-tests). If
3440 [$(fast-check) && !$(cross-compiling)], add
3441 $(conformtest-header-tests) instead of
3442 $(objpfx)run-conformtest.out.
3443 (generated): Add $(conformtest-header-list-base). If
3444 [$(fast-check) && !$(cross-compiling)], add
3445 $(conformtest-header-base). Remove previous setting.
3446 ($(conformtest-header-list-tests)): New target.
3447 (test-xfail-run-conformtest): Remove variable.
3448 ($(objpfx)run-conformtest.out): Remove target.
3449 (test-xfail-ISO11/complex.h/conform): New variable.
3450 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3451 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3452 (test-xfail-XPG3/varargs.h/conform): Likewise.
3453 (test-xfail-XPG4/varargs.h/conform): Likewise.
3454 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3455 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3456 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3457 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3458 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3459 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3460 (test-xfail-XPG3/ftw.h/conform): Likewise.
3461 (test-xfail-XPG3/grp.h/conform): Likewise.
3462 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3463 (test-xfail-XPG3/limits.h/conform): Likewise.
3464 (test-xfail-XPG3/pwd.h/conform): Likewise.
3465 (test-xfail-XPG3/search.h/conform): Likewise.
3466 (test-xfail-XPG3/signal.h/conform): Likewise.
3467 (test-xfail-XPG3/stdio.h/conform): Likewise.
3468 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3469 (test-xfail-XPG3/string.h/conform): Likewise.
3470 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3471 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3472 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3473 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3474 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3475 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3476 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3477 (test-xfail-XPG3/termios.h/conform): Likewise.
3478 (test-xfail-XPG3/time.h/conform): Likewise.
3479 (test-xfail-XPG3/unistd.h/conform): Likewise.
3480 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3481 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3482 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3483 (test-xfail-XPG4/netdb.h/conform): Likewise.
3484 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3485 (test-xfail-XPG4/signal.h/conform): Likewise.
3486 (test-xfail-XPG4/stdio.h/conform): Likewise.
3487 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3488 (test-xfail-XPG4/stropts.h/conform): Likewise.
3489 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3490 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3491 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3492 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3493 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3494 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3495 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3496 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3497 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3498 (test-xfail-XPG4/termios.h/conform): Likewise.
3499 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3500 (test-xfail-XPG4/unistd.h/conform): Likewise.
3501 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3502 (test-xfail-POSIX/sched.h/conform): Likewise.
3503 (test-xfail-POSIX/signal.h/conform): Likewise.
3504 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3505 (test-xfail-POSIX/tar.h/conform): Likewise.
3506 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3507 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3508 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3509 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3510 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3511 (test-xfail-UNIX98/sched.h/conform): Likewise.
3512 (test-xfail-UNIX98/signal.h/conform): Likewise.
3513 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3514 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3515 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3516 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3517 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3518 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3519 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3520 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3521 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3522 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3523 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3524 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3525 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3526 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3527 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3528 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3529 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3530 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3531 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3532 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3533 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3534 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3535 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3536 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3537 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3538 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3539 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3540 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3541 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3542 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3543 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3544 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3545 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3546 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3547 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3548 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3549 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3550 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3551 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3552 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3553 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3554 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3555 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3556 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3557 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3558 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3559 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3560 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3561 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3562 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3563 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3564 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3565 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3566 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3567 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3568 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3569 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3570 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3571 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3572 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3573 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3574 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3575 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3576 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3577 (conformtest-cc-flags): Likewise.
3578 ($(conformtest-header-tests): New target.
3579 * conform/check-header-lists.sh: New file.
3580 * conform/run-conformtest.sh: Remove.
3581
a00f522a
JM
3582 * conform/conformtest.pl: Allow ' and \ in values given for
3583 constants.
3584 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3585 inclusion.
3586 [POSIX] (sys/types.h): Likewise.
3587 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3588 inclusion.
3589 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3590 inclusion.
3591 * conform/data/signal.h-data (SIGIO): Remove expectation.
3592 [XPG3] (SIGBUS): Do not expect.
3593 [POSIX || XPG3] (SIGPOLL): Likewise.
3594 [POSIX || XPG3] (SIGPROF): Likewise.
3595 [POSIX || XPG3] (SIGSYS): Likewise.
3596 [XPG3] (SIGTRAP): Likewise.
3597 [POSIX || XPG3] (SIGURG): Likewise.
3598 [POSIX || XPG3] (SIGVTALRM): Likewise.
3599 [POSIX || XPG3] (SIGXCPU): Likewise.
3600 [POSIX || XPG3] (SIGXFSZ): Likewise.
3601 [POSIX] (SA_SIGINFO): Expect.
3602 [XPG3] (siginfo_t): Do not expect type or contents.
3603 [POSIX] (si_pid): Do not expect element.
3604 [POSIX] (si_uid): Likewise.
3605 [POSIX] (si_addr): Likewise.
3606 [POSIX] (si_status): Likewise.
3607 [POSIX] (si_band): Likewise.
3608 [XPG4] (si_value): Likewise.
3609 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3610 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3611 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3612 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3613 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3614 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3615 [POSIX || XPG3] (ILL_COPROC): Likewise.
3616 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3617 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3618 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3619 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3620 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3621 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3622 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3623 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3624 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3625 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3626 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3627 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3628 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3629 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3630 [POSIX || XPG3] (CLD_EXITED): Likewise.
3631 [POSIX || XPG3] (CLD_KILLED): Likewise.
3632 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3633 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3634 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3635 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3636 [POSIX || XPG3] (POLL_IN): Likewise.
3637 [POSIX || XPG3] (POLL_OUT): Likewise.
3638 [POSIX || XPG3] (POLL_MSG): Likewise.
3639 [POSIX || XPG3] (POLL_ERR): Likewise.
3640 [POSIX || XPG3] (POLL_PRI): Likewise.
3641 [POSIX || XPG3] (POLL_HUP): Likewise.
3642 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3643 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3644 (SIG*): Do not allow.
3645 [XPG3] (si_*): Likewise.
3646 [XPG3] (SI_*): Likewise.
3647 [XPG3 || XPG4] (sigev_*): Likewise.
3648 [XPG3 || XPG4] (SIGEV_*): Likewise.
3649 [XPG3 || XPG4] (sival_*): Likewise.
3650 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3651 [POSIX || XPG3] (BUS_*): Likewise.
3652 [POSIX || XPG3] (CLD_*): Likewise.
3653 [POSIX || XPG3] (FPE_*): Likewise.
3654 [POSIX || XPG3] (ILL_*): Likewise.
3655 [POSIX || XPG3] (POLL_*): Likewise.
3656 [POSIX || XPG3] (SEGV_*): Likewise.
3657 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3658 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3659 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3660 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3661 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3662 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3663 Specify type and value.
3664 (TVERSLEN): Likewise.
3665 (REGTYPE): Likewise.
3666 (AREGTYPE): Likewise.
3667 (LNKTYPE): Likewise.
3668 (SYMTYPE): Likewise.
3669 (CHRTYPE): Likewise.
3670 (BLKTYPE): Likewise.
3671 (DIRTYPE): Likewise.
3672 (FIFOTYPE): Likewise.
3673 (CONTTYPE): Likewise.
3674 (TSUID): Likewise.
3675 (TSGID): Likewise.
3676 (TSVTX): Likewise.
3677 (TUREAD): Likewise.
3678 (TUWRITE): Likewise.
3679 (TUEXEC): Likewise.
3680 (TGREAD): Likewise.
3681 (TGWRITE): Likewise.
3682 (TGEXEC): Likewise.
3683 (TOREAD): Likewise.
3684 (TOWRITE): Likewise.
3685 (TOEXEC): Likewise.
3686 [POSIX] (TSVTX): Expect constant.
3687
aa97dee1
JM
36882014-03-06 Joseph Myers <joseph@codesourcery.com>
3689
f214606a
JM
3690 * Makefile (tests): Change dependencies to ....
3691 (tests-special): ... additions to this variable.
3692 (tests): Depend on $(tests-special).
3693 * Makerules (check-abi-list): New variable.
3694 (check-abi): Depend on $(check-abi-list).
3695 [$(subdir) = elf] (tests-special): Add
3696 $(objpfx)check-abi-libc.out.
3697 [$(build-shared) = yes && subdir] (tests-special): Add
3698 $(check-abi-list).
3699 [$(build-shared) = yes && subdir] (tests): Do not depend on
3700 check-abi.
3701 * Rules (tests): Depend on $(tests-special).
3702 (xtests): Depend on $(xtests-special).
3703 * catgets/Makefile (tests): Change dependencies to ....
3704 (tests-special): ... additions to this variable.
3705 * conform/Makefile (tests): Change dependencies to ....
3706 (tests-special): ... additions to this variable.
3707 * elf/Makefile (tests): Change dependencies to ....
3708 (tests-special): ... additions to this variable.
3709 * grp/Makefile (tests): Change dependencies to ....
3710 (tests-special): ... additions to this variable.
3711 * iconv/Makefile (xtests): Change dependencies to ....
3712 (xtests-special): ... additions to this variable.
3713 * iconvdata/Makefile (tests): Change dependencies to ....
3714 (tests-special): ... additions to this variable.
3715 * intl/Makefile (tests): Change dependencies to ....
3716 (tests-special): ... additions to this variable. Also add
3717 $(objpfx)tst-gettext.out.
3718 * io/Makefile (tests): Change dependencies to ....
3719 (tests-special): ... additions to this variable.
3720 * libio/Makefile (tests): Change dependencies to ....
3721 (tests-special): ... additions to this variable.
3722 * malloc/Makefile (tests): Change dependencies to ....
3723 (tests-special): ... additions to this variable.
3724 * misc/Makefile (tests): Change dependencies to ....
3725 (tests-special): ... additions to this variable.
3726 * nptl/Makefile (tests): Change dependencies to ....
3727 (tests-special): ... additions to this variable.
3728 * nptl_db/Makefile (tests): Change dependencies to ....
3729 (tests-special): ... additions to this variable.
3730 * posix/Makefile (tests): Change dependencies to ....
3731 (tests-special): ... additions to this variable.
3732 (xtests): Change dependencies to ....
3733 (xtests-special): ... additions to this variable.
3734 * resolv/Makefile (tests): Change dependencies to ....
3735 (tests-special): ... additions to this variable.
3736 (xtests): Change dependencies to ....
3737 (xtests-special): ... additions to this variable.
3738 * stdio-common/Makefile (tests): Change dependencies to ....
3739 (tests-special): ... additions to this variable.
3740 (do-tst-unbputc): Remove target.
3741 (do-tst-printf): Likewise.
3742 * stdlib/Makefile (tests): Change dependencies to ....
3743 (tests-special): ... additions to this variable.
3744 * string/Makefile (tests): Change dependencies to ....
3745 (tests-special): ... additions to this variable.
3746 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3747 (tests-special): ... additions to this variable.
3748
81700b53
JM
3749 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3750 whole file.
3751 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3752 whole file.
3753 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3754 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3755
2ea18461
JM
3756 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3757 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3758 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3759 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3760 * conform/data/libgen.h-data [XPG3]: Likewise.
3761 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3762 * conform/data/ndbm.h-data [XPG3]: Likewise.
3763 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3764 * conform/data/netdb.h-data [XPG3]: Likewise.
3765 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3766 * conform/data/poll.h-data [XPG3]: Likewise.
3767 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3768 * conform/data/strings.h-data [XPG3]: Likewise.
3769 * conform/data/stropts.h-data [XPG3]: Likewise.
3770 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3771 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3772 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3773 Likewise.
3774 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3775 * conform/data/sys/time.h-data [XPG3]: Likewise.
3776 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3777 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3778 * conform/data/sys/un.h-data [XPG3]: Likewise.
3779 * conform/data/syslog.h-data [XPG3]: Likewise.
3780 * conform/data/ucontext.h-data [XPG3]: Likewise.
3781 * conform/data/utmpx.h-data [XPG3]: Likewise.
3782 * conform/data/varargs.h-data [UNIX98]: Enable file.
3783
355bc986
JM
3784 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3785
215db402
JM
3786 * math/libm-test.inc (struct test_f_f_data): Move expected results
3787 into structure for each rounding mode.
3788 (struct test_ff_f_data): Likewise.
3789 (struct test_ff_f_data_nexttoward): Likewise.
3790 (struct test_fi_f_data): Likewise.
3791 (struct test_fl_f_data): Likewise.
3792 (struct test_if_f_data): Likewise.
3793 (struct test_fff_f_data): Likewise.
3794 (struct test_c_f_data): Likewise.
3795 (struct test_f_f1_data): Likewise.
3796 (struct test_fF_f1_data): Likewise.
3797 (struct test_ffI_f1_data): Likewise.
3798 (struct test_c_c_data): Likewise.
3799 (struct test_cc_c_data): Likewise.
3800 (struct test_f_i_data): Likewise.
3801 (struct test_ff_i_data): Likewise.
3802 (struct test_f_l_data): Likewise.
3803 (struct test_f_L_data): Likewise.
3804 (struct test_fFF_11_data): Likewise.
3805 (RM_): New macro.
3806 (RM_FE_DOWNWARD): Likewise.
3807 (RM_FE_TONEAREST): Likewise.
3808 (RM_FE_TOWARDZERO): Likewise.
3809 (RM_FE_UPWARD): Likewise.
3810 (RUN_TEST_LOOP_f_f): Update references to expected results.
3811 (RUN_TEST_LOOP_2_f): Likewise.
3812 (RUN_TEST_LOOP_fff_f): Likewise.
3813 (RUN_TEST_LOOP_c_f): Likewise.
3814 (RUN_TEST_LOOP_f_f1): Likewise.
3815 (RUN_TEST_LOOP_fF_f1): Likewise.
3816 (RUN_TEST_LOOP_fI_f1): Likewise.
3817 (RUN_TEST_LOOP_ffI_f1): Likewise.
3818 (RUN_TEST_LOOP_c_c): Likewise.
3819 (RUN_TEST_LOOP_cc_c): Likewise.
3820 (RUN_TEST_LOOP_f_i): Likewise.
3821 (RUN_TEST_LOOP_f_i_tg): Likewise.
3822 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3823 (RUN_TEST_LOOP_f_b): Likewise.
3824 (RUN_TEST_LOOP_f_b_tg): Likewise.
3825 (RUN_TEST_LOOP_f_l): Likewise.
3826 (RUN_TEST_LOOP_f_L): Likewise.
3827 (RUN_TEST_LOOP_fFF_11): Likewise.
3828 * math/gen-libm-test.pl (parse_args): Output four copies of
3829 expected results for each test.
3830
67737b8f
JM
3831 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3832 (__ASSUME_UTIMES): Remove.
3833 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3834 (__ASSUME_UTIMES): Likewise.
3835
aa97dee1
JM
3836 * math/gen-auto-libm-tests.c: Update comment on output format.
3837 (output_for_one_input_case): Generate before-rounding and
3838 after-rounding information as conditions on output flags not
3839 floating-point format.
3840 * math/auto-libm-test-out: Regenerated.
3841 * math/gen-libm-test.pl (cond_value): New function.
3842 (or_cond_value): Use cond_value.
3843 (generate_testfile): Handle conditional exceptions.
3844
e6b6a857
JM
38452014-03-05 Joseph Myers <joseph@codesourcery.com>
3846
2f0a0f44
JM
3847 * math/libm-test.inc (max_valid_error): New variable.
3848 (init_max_error): Take new argument specifying whether function
3849 results are exactly determined. Set max_valid_error and bound
3850 other variables for errors based on this argument.
3851 (set_max_error): Do not record results above max_valid_error.
3852 (check_float_internal): Only accept errors of up to 0.5ulps if
3853 also at most max_valid_error.
3854 (START): Take new argument EXACT and pass it to init_max_error.
3855 (acos_test): Update call to START.
3856 (acos_test_tonearest): Likewise.
3857 (acos_test_towardzero): Likewise.
3858 (acos_test_downward): Likewise.
3859 (acos_test_upward): Likewise.
3860 (acosh_test): Likewise.
3861 (asin_test): Likewise.
3862 (asin_test_tonearest): Likewise.
3863 (asin_test_towardzero): Likewise.
3864 (asin_test_downward): Likewise.
3865 (asin_test_upward): Likewise.
3866 (asinh_test): Likewise.
3867 (atan_test): Likewise.
3868 (atanh_test): Likewise.
3869 (atan2_test): Likewise.
3870 (cabs_test): Likewise.
3871 (cacos_test): Likewise.
3872 (cacosh_test): Likewise.
3873 (carg_test): Likewise.
3874 (casin_test): Likewise.
3875 (casinh_test): Likewise.
3876 (catan_test): Likewise.
3877 (catanh_test): Likewise.
3878 (cbrt_test): Likewise.
3879 (ccos_test): Likewise.
3880 (ccosh_test): Likewise.
3881 (ceil_test): Likewise.
3882 (cexp_test): Likewise.
3883 (cimag_test): Likewise.
3884 (clog_test): Likewise.
3885 (clog10_test): Likewise.
3886 (conj_test): Likewise.
3887 (copysign_test): Likewise.
3888 (cos_test): Likewise.
3889 (cos_test_tonearest): Likewise.
3890 (cos_test_towardzero): Likewise.
3891 (cos_test_downward): Likewise.
3892 (cos_test_upward): Likewise.
3893 (cosh_test): Likewise.
3894 (cosh_test_tonearest): Likewise.
3895 (cosh_test_towardzero): Likewise.
3896 (cosh_test_downward): Likewise.
3897 (cosh_test_upward): Likewise.
3898 (cpow_test): Likewise.
3899 (cproj_test): Likewise.
3900 (creal_test): Likewise.
3901 (csin_test): Likewise.
3902 (csinh_test): Likewise.
3903 (csqrt_test): Likewise.
3904 (ctan_test): Likewise.
3905 (ctan_test_tonearest): Likewise.
3906 (ctan_test_towardzero): Likewise.
3907 (ctan_test_downward): Likewise.
3908 (ctan_test_upward): Likewise.
3909 (ctanh_test): Likewise.
3910 (ctanh_test_tonearest): Likewise.
3911 (ctanh_test_towardzero): Likewise.
3912 (ctanh_test_downward): Likewise.
3913 (ctanh_test_upward): Likewise.
3914 (erf_test): Likewise.
3915 (erfc_test): Likewise.
3916 (exp_test): Likewise.
3917 (exp_test_tonearest): Likewise.
3918 (exp_test_towardzero): Likewise.
3919 (exp_test_downward): Likewise.
3920 (exp_test_upward): Likewise.
3921 (exp10_test): Likewise.
3922 (exp10_test_tonearest): Likewise.
3923 (exp10_test_towardzero): Likewise.
3924 (exp10_test_downward): Likewise.
3925 (exp10_test_upward): Likewise.
3926 (pow10_test): Likewise.
3927 (exp2_test): Likewise.
3928 (expm1_test): Likewise.
3929 (expm1_test_tonearest): Likewise.
3930 (expm1_test_towardzero): Likewise.
3931 (expm1_test_downward): Likewise.
3932 (expm1_test_upward): Likewise.
3933 (fabs_test): Likewise.
3934 (fdim_test): Likewise.
3935 (floor_test): Likewise.
3936 (fma_test): Likewise.
3937 (fma_test_towardzero): Likewise.
3938 (fma_test_downward): Likewise.
3939 (fma_test_upward): Likewise.
3940 (fmax_test): Likewise.
3941 (fmin_test): Likewise.
3942 (fmod_test): Likewise.
3943 (fpclassify_test): Likewise.
3944 (frexp_test): Likewise.
3945 (hypot_test): Likewise.
3946 (ilogb_test): Likewise.
3947 (isfinite_test): Likewise.
3948 (finite_test): Likewise.
3949 (isgreater_test): Likewise.
3950 (isgreaterequal_test): Likewise.
3951 (isinf_test): Likewise.
3952 (isless_test): Likewise.
3953 (islessequal_test): Likewise.
3954 (islessgreater_test): Likewise.
3955 (isnan_test): Likewise.
3956 (isnormal_test): Likewise.
3957 (issignaling_test): Likewise.
3958 (isunordered_test): Likewise.
3959 (j0_test): Likewise.
3960 (j1_test): Likewise.
3961 (jn_test): Likewise.
3962 (ldexp_test): Likewise.
3963 (lgamma_test): Likewise.
3964 (gamma_test): Likewise.
3965 (lrint_test): Likewise.
3966 (lrint_test_tonearest): Likewise.
3967 (lrint_test_towardzero): Likewise.
3968 (lrint_test_downward): Likewise.
3969 (lrint_test_upward): Likewise.
3970 (llrint_test): Likewise.
3971 (llrint_test_tonearest): Likewise.
3972 (llrint_test_towardzero): Likewise.
3973 (llrint_test_downward): Likewise.
3974 (llrint_test_upward): Likewise.
3975 (log_test): Likewise.
3976 (log10_test): Likewise.
3977 (log1p_test): Likewise.
3978 (log2_test): Likewise.
3979 (logb_test): Likewise.
3980 (logb_test_downward): Likewise.
3981 (lround_test): Likewise.
3982 (llround_test): Likewise.
3983 (modf_test): Likewise.
3984 (nearbyint_test): Likewise.
3985 (nextafter_test): Likewise.
3986 (nexttoward_test): Likewise.
3987 (pow_test): Likewise.
3988 (pow_test_tonearest): Likewise.
3989 (pow_test_towardzero): Likewise.
3990 (pow_test_downward): Likewise.
3991 (pow_test_upward): Likewise.
3992 (remainder_test): Likewise.
3993 (drem_test): Likewise.
3994 (remainder_test_tonearest): Likewise.
3995 (drem_test_tonearest): Likewise.
3996 (remainder_test_towardzero): Likewise.
3997 (drem_test_towardzero): Likewise.
3998 (remainder_test_downward): Likewise.
3999 (drem_test_downward): Likewise.
4000 (remainder_test_upward): Likewise.
4001 (drem_test_upward): Likewise.
4002 (remquo_test): Likewise.
4003 (rint_test): Likewise.
4004 (rint_test_tonearest): Likewise.
4005 (rint_test_towardzero): Likewise.
4006 (rint_test_downward): Likewise.
4007 (rint_test_upward): Likewise.
4008 (round_test): Likewise.
4009 (scalb_test): Likewise.
4010 (scalbn_test): Likewise.
4011 (scalbln_test): Likewise.
4012 (signbit_test): Likewise.
4013 (sin_test): Likewise.
4014 (sin_test_tonearest): Likewise.
4015 (sin_test_towardzero): Likewise.
4016 (sin_test_downward): Likewise.
4017 (sin_test_upward): Likewise.
4018 (sincos_test): Likewise.
4019 (sinh_test): Likewise.
4020 (sinh_test_tonearest): Likewise.
4021 (sinh_test_towardzero): Likewise.
4022 (sinh_test_downward): Likewise.
4023 (sinh_test_upward): Likewise.
4024 (sqrt_test): Likewise.
4025 (sqrt_test_tonearest): Likewise.
4026 (sqrt_test_towardzero): Likewise.
4027 (sqrt_test_downward): Likewise.
4028 (sqrt_test_upward): Likewise.
4029 (tan_test): Likewise.
4030 (tan_test_tonearest): Likewise.
4031 (tan_test_towardzero): Likewise.
4032 (tan_test_downward): Likewise.
4033 (tan_test_upward): Likewise.
4034 (tanh_test): Likewise.
4035 (tgamma_test): Likewise.
4036 (trunc_test): Likewise.
4037 (y0_test): Likewise.
4038 (y1_test): Likewise.
4039 (yn_test): Likewise.
4040 (significand_test): Likewise.
4041
e6b6a857
JM
4042 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4043 individual tests in comment.
4044 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4045 (prev_max_error): New variable.
4046 (prev_real_max_error): Likewise.
4047 (prev_imag_max_error): Likewise.
4048 (compare_ulp_data): Don't refer to test names in comment.
4049 (find_test_ulps): Remove function.
4050 (find_function_ulps): Likewise.
4051 (find_complex_function_ulps): Likewise.
4052 (init_max_error): Take function name as argument. Look up ulps
4053 for that function.
4054 (print_ulps): Remove function.
4055 (print_max_error): Use prev_max_error instead of calling
4056 find_function_ulps.
4057 (print_complex_max_error): Use prev_real_max_error and
4058 prev_imag_max_error instead of calling find_complex_function_ulps.
4059 (check_float_internal): Take max_ulp parameter instead of calling
4060 find_test_ulps. Don't call print_ulps.
4061 (check_float): Update call to check_float_internal.
4062 (check_complex): Update calls to check_float_internal.
4063 (START): Pass argument to init_max_error.
4064 * math/gen-libm-test.pl (%results): Don't include "kind"
4065 information.
4066 (parse_ulps): Don't handle ulps of individual tests.
4067 (print_ulps_file): Likewise.
4068 (output_ulps): Likewise.
4069 * math/README.libm-test: Update.
4070 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4071 individual tests.
4072 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4073 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4074 * sysdeps/arm/libm-test-ulps: Likewise.
4075 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4076 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4077 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4078 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4079 * sysdeps/microblaze/libm-test-ulps: Likewise.
4080 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4081 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4083 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4084 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4085 * sysdeps/sh/libm-test-ulps: Likewise.
4086 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4087 * sysdeps/tile/libm-test-ulps: Likewise.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089
45adef3c
JM
40902014-03-04 Joseph Myers <joseph@codesourcery.com>
4091
4092 * math/libm-test.inc (print_complex_max_error): Check separately
4093 whether real and imaginary errors are within allowed range and
4094 pass 0 to print_complex_function_ulps instead of value within
4095 allowed range.
4096
000232b9
SP
40972014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4098
d4b17258
SP
4099 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4100 formatting.
4101 (get_handles_fopen): Likewise.
4102 (do_write_test): Likewise.
4103
091eff71
SP
4104 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4105
fa3cd248
SP
4106 * libio/fileops.c (do_ftell): Use cached offset when
4107 available.
4108 * libio/iofwide.c (do_ftell_wide): Likewise.
4109 * libio/iofdopen.c (_IO_new_fdopen): Don't use
4110 _IO_file_attach.
4111 * libio/wfileops.c (_IO_fwide): Don't cache offset.
4112
000232b9
SP
4113 [BZ #16532]
4114 * libio/libioP.h (get_file_offset): New function.
4115 * libio/fileops.c (get_file_offset): Likewise.
4116 (do_ftell): Likewise.
4117 (_IO_new_file_seekoff): Split out ftell logic.
4118 * libio/wfileops.c (do_ftell_wide): Likewise.
4119 (_IO_wfile_seekoff): Split out ftell logic.
4120 * libio/tst-ftell-active-handler.c: New test case.
4121 * libio/Makefile (tests): Add it.
4122
116f4d1a
RM
41232014-03-03 Roland McGrath <roland@hack.frob.com>
4124
4125 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4126 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4127
532a6035
SP
41282014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
4130 [BZ #16639]
4131 * nscd/connections.c (nscd_init): Call do_exit.
4132 (start_threads): Call do_exit and notify_parent.
4133 (begin_drop_privileges): Call do_exit.
4134 (finish_drop_privileges): Likewise.
4135 * nscd/selinux.c (preserve_capabilities): Likewise.
4136 (install_real_capabilities): Likewise.
4137 (nscd_selinux_enabled): Likewise.
4138 (avc_create_thread): Likewise.
4139 (avc_alloc_lock): Likewise.
4140 (nscd_avc_init): Likewise.
4141 * nscd/nscd.c (parent_fd): New static variable.
4142 (main): Create a pipe between parent and child processes.
4143 Skip closing parent_fd.
4144 (monitor_child): New function.
4145 (do_exit): Likewise.
4146 (notify_parent): Likewise.
4147 * nscd/nscd.h (notify_parent): Likewise.
4148 (do_exit): Likewise.
4149
d6285c9f
CD
41502014-03-03 Carlos O'Donell <carlos@redhat.com>
4151
4152 * malloc/malloc.c (__libc_calloc): Revert last change.
4153
2b85d2a0
AZ
41542014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4155
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4157
c7debbdf
RS
41582014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4159
4160 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4162 implementation.
4163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4164 (__libc_ifunc_impl_list): Likewise.
4165 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4166 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4167 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4168 * string/strrchr.c: Define STRRCHR.
4169
235eed86
OB
41702014-02-28 Ondřej Bílka <neleai@seznam.cz>
4171
4172 * benchtest/bench-strtok.c (simple_strtok): Delete.
4173 (strtok_string): Use as benchmark.
4174 * string/strtok (STRTOK): New macro.
4175
8e25d1e7
CD
41762014-02-28 Carlos O'Donell <carlos@redhat.com>
4177
ef563f92
CD
4178 * manual/threads.texi: Add header and standard comments to all
4179 functions.
4180
8e25d1e7
CD
4181 * elf/dl-lookup.c (check_match): New function.
4182 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4183 (do_lookup_x): Remove nested function check_match. Use non-nested
4184 function check_match.
4185
ff71cc37
RM
41862014-02-28 Roland McGrath <roland@hack.frob.com>
4187
f08e9a26
RM
4188 * csu/Makefile (generated, before-compile): Use += rather than =.
4189 * catgets/Makefile (generated, generated-dirs): Likewise.
4190 * debug/Makefile (generated): Likewise.
4191 * dlfcn/Makefile (generated): Likewise.
4192 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4193 * iconvdata/Makefile (before-compile, generated): Likewise.
4194 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4195 * libio/Makefile (generated): Likewise.
4196 * malloc/Makefile (generated): Likewise.
4197 * manual/Makefile (generated, generated-dirs): Likewise.
4198 * misc/Makefile (generated): Likewise.
4199 * posix/Makefile (generated): Likewise.
4200 * resolv/Makefile (generated): Likewise.
4201 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4202 * timezone/Makefile (generated, generated-dirs): Likewise.
4203
ff71cc37
RM
4204 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4205
fe13a20c
AZ
42062014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4207
57f41c40
AS
4208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4209 power8 implementation.
4210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4211 file: POWER8 llround ifunc implementation.
4212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4213 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
4214 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4215 POWER8 llround implementation.
4216
57f41c40
AS
4217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4218 power8 implementation.
4219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4220 file: POWER8 llrint ifunc implementation.
4221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4222 Add POWER8 implementation.
1ad8950a
AZ
4223 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4224 POWER8 llrint implementation.
4225
57f41c40
AS
4226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4227 power8 implementation.
4228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4229 file: POWER8 finite ifunc implementation.
4230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4231 Add POWER8 implementation.
cac626d6
AZ
4232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4233 Likewise.
4234 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4235 POWER8 finite implementation.
4236 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4237
57f41c40
AS
4238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4239 power8 implementation.
4240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4241 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
4242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4243 POWER8 implementation.
4244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4245 Likewise.
57f41c40
AS
4246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4247 isinf implementation.
4393fc11
AZ
4248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4249
57f41c40
AS
4250 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4251 (INIT_ARCH): Add hwcap2 initialization.
4252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4253 power8 implementation.
4254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4255 file: POWER8 isnan ifunc implementation.
487972ae
AZ
4256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4257 POWER8 implementation.
4258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4259 Likewise.
57f41c40
AS
4260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4261 isnan implementation.
487972ae
AZ
4262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4263
7d92b787
JY
42642014-02-27 Joey Ye <joey.ye@arm.com>
4265
4266 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4267 (_FP_NANFRAC_Q): Set to zero.
4268
1cadc858
SP
42692014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4270
4271 [BZ #16623]
4272 * math/auto-libm-test-in: New test inputs.
4273 * math/auto-libm-test-out: Regenerate.
4274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4275 and DA.
4276 (__cos): Likewise.
4277 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4278
f8c17e79
JM
42792014-02-27 Joseph Myers <joseph@codesourcery.com>
4280
4281 * scripts/evaluate-test.sh: Take new argument indicating whether
4282 failure is expected.
4283 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4284 indicating whether failure is expected.
4285 * conform/Makefile (test-xfail-run-conformtest): New variable.
4286 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4287 level.
4288 * posix/Makefile (test-xfail-annexc): New variable.
4289 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4290
a5f891ac
JM
42912014-02-26 Joseph Myers <joseph@codesourcery.com>
4292
4293 * argp/Makefile: Include Makeconfig immediately after defining
4294 subdir.
4295 * assert/Makefile: Likewise.
4296 * benchtests/Makefile: Likewise.
4297 * catgets/Makefile: Likewise.
4298 * conform/Makefile: Likewise.
4299 * crypt/Makefile: Likewise.
4300 * csu/Makefile: Likewise.
4301 (all): Remove target.
4302 * ctype/Makefile: Include Makeconfig immediately after defining
4303 subdir.
4304 * debug/Makefile: Likewise.
4305 * dirent/Makefile: Likewise.
4306 * dlfcn/Makefile: Likewise.
4307 * gmon/Makefile: Likewise.
4308 * gnulib/Makefile: Likewise.
4309 * grp/Makefile: Likewise.
4310 * gshadow/Makefile: Likewise.
4311 * hesiod/Makefile: Likewise.
4312 * hurd/Makefile: Likewise.
4313 (all): Remove target.
4314 * iconvdata/Makefile: Include Makeconfig immediately after
4315 defining subdir.
4316 * inet/Makefile: Likewise.
4317 * intl/Makefile: Likewise.
4318 * io/Makefile: Likewise.
4319 * libio/Makefile: Likewise.
4320 (all): Remove target.
4321 * locale/Makefile: Include Makeconfig immediately after defining
4322 subdir.
4323 * login/Makefile: Likewise.
4324 * mach/Makefile: Likewise.
4325 (all): Remove target.
4326 * malloc/Makefile: Include Makeconfig immediately after defining
4327 subdir.
4328 (all): Remove target.
4329 * manual/Makefile: Include Makeconfig immediately after defining
4330 subdir.
4331 * math/Makefile: Likewise.
4332 * misc/Makefile: Likewise.
4333 * nis/Makefile: Likewise.
4334 * nss/Makefile: Likewise.
4335 * po/Makefile: Likewise.
4336 (all): Remove target.
4337 * posix/Makefile: Include Makeconfig immediately after defining
4338 subdir.
4339 * pwd/Makefile: Likewise.
4340 * resolv/Makefile: Likewise.
4341 * resource/Makefile: Likewise.
4342 * rt/Makefile: Likewise.
4343 * setjmp/Makefile: Likewise.
4344 * shadow/Makefile: Likewise.
4345 * signal/Makefile: Likewise.
4346 * socket/Makefile: Likewise.
4347 * soft-fp/Makefile: Likewise.
4348 * stdio-common/Makefile: Likewise.
4349 * stdlib/Makefile: Likewise.
4350 * streams/Makefile: Likewise.
4351 * string/Makefile: Likewise.
4352 * sunrpc/Makefile: Likewise.
4353 (all): Remove target.
4354 * sysvipc/Makefile: Include Makeconfig immediately after defining
4355 subdir.
4356 * termios/Makefile: Likewise.
4357 * time/Makefile: Likewise.
4358 * timezone/Makefile: Likewise.
4359 (all): Remove target.
4360 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4361 subdir.
4362 * wctype/Makefile: Likewise.
4363
5b456e9d
SE
43642014-02-26 Steve Ellcey <sellcey@mips.com>
4365
4366 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4367 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4368 (libc_feholdexcept_setround_mips): Ditto.
4369 (libc_feholdsetround): New.
4370 (libc_feholdsetroundf): New.
4371 (libc_feholdsetroundl): New.
4372 (libc_feupdateenv_test_mips): New.
4373 (libc_feupdateenv_test): New.
4374 (libc_feupdateenv_testf): New.
4375 (libc_feupdateenv_testl): New.
4376 (libc_feresetround): New.
4377 (libc_feresetroundf): New.
4378 (libc_feresetroundl): New.
4379 (libc_fetestexcept_mips): New.
4380 (libc_fetestexcept): New.
4381 (libc_fetestexceptf): New.
4382 (libc_fetestexceptl): New.
4383 (HAVE_RM_CTX): New.
4384 (libc_feholdexcept_setround_mips_ctx): New.
4385 (libc_feholdexcept_setround_ctx): New.
4386 (libc_feholdexcept_setroundf_ctx): New.
4387 (libc_feholdexcept_setroundl_ctx): New.
4388 (libc_fesetenv_mips_ctx): New.
4389 (libc_fesetenv_ctx): New.
4390 (libc_fesetenv_ctxf): New.
4391 (libc_fesetenv_ctxl): New.
4392 (libc_feupdateenv_mips_ctx): New.
4393 (libc_feupdateenv_ctx): New.
4394 (libc_feupdateenvf_ctx): New.
4395 (libc_feupdateenvl_ctx): New.
4396 (libc_feholdsetround_mips_ctx): New.
4397 (libc_feholdsetround_ctx): New.
4398 (libc_feholdsetroundf_ctx): New.
4399 (libc_feholdsetroundl_ctx): New.
4400 (libc_feresetround_mips_ctx): New.
4401 (libc_feresetround_ctx): New.
4402 (libc_feresetroundf_ctx): New.
4403 (libc_feresetroundl_ctx): New.
4404
085d0e35
CD
44052014-02-26 Carlos O'Donell <carlos@redhat.com>
4406
f067bf1f
CD
4407 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4408
085d0e35
CD
4409 * manual/ipc.texi: New file.
4410 * manual/Makefile (chapters): Add ipc.
4411 * manual/job.texi: Add "Inter-Process Communication" to next.
4412 * manual/process.texi: Add "Inter-Process Communication" to prev.
4413
86e58c08
AZ
44142014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4415
4416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4417
4248f0da
OB
44182014-02-26 Ondřej Bílka <neleai@seznam.cz>
4419
4420 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4421
cf822e3c
OB
4422 * manual/arith.texi: Fix spaces after sentences.
4423 * manual/charset.texi: Likewise.
4424 * manual/errno.texi: Likewise.
4425 * manual/install.texi: Likewise.
4426 * manual/llio.texi: Likewise.
4427 * manual/locale.texi: Likewise.
4428 * manual/maint.texi: Likewise.
4429 * manual/math.texi: Likewise.
4430 * manual/memory.texi: Likewise.
4431 * manual/message.texi: Likewise.
4432 * manual/probes.texi: Likewise.
4433 * manual/resource.texi: Likewise.
4434 * manual/signal.texi: Likewise.
4435 * manual/socket.texi: Likewise.
4436 * manual/stdio.texi: Likewise.
4437 * manual/string.texi: Likewise.
4438 * manual/time.texi: Likewise.
4439 * manual/users.texi: Likewise.
4440
ade40b10
CD
44412014-02-25 Carlos O'Donell <carlos@redhat.com>
4442
4443 [BZ #16632]
4444 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4445 _DEFAULT_SOURCE is defined.
4446
d0503676
CD
44472014-02-25 Ulrich Drepper <drepper@gmail.com>
4448 Carlos O'Donell <carlos@redhat.com>
4449
4450 [BZ #16613]
4451 * elf/dl-tls.c (_dl_count_modids): New function.
4452 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4453 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4454 audit library and increment generation counter.
4455 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4456 * elf/tst-audit9.c: New file.
4457 * elf/tst-auditmod9a.c: New file.
4458 * elf/tst-auditmod9b.c: New file.
4459 * elf/Makefile: Add rules to build and run tst-audit9.
4460
4cbf380c
FW
44612014-02-25 Florian Weimer <fweimer@redhat.com>
4462
4463 [BZ #15347]
4464 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4465
80a56cc3
WN
44662014-02-25 Will Newton <will.newton@linaro.org>
4467
4468 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4469 (__longjmp): Restore sp and lr before restoring callee
4470 saved registers. Add longjmp and longjmp_target
4471 SystemTap probe point.
4472 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4473 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4474 Define to zero to match jmpbuf layout.
4475 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4476 (__sigsetjmp): Save sp and lr before saving callee
4477 saved registers. Add setjmp SystemTap probe point.
4478
3ea0f74e
SL
44792014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4480
4481 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4482
b04acb26
AS
44832014-02-24 Andreas Schwab <schwab@suse.de>
4484
4485 [BZ #15804]
4486 * elf/pldd.c (wait_for_ptrace_stop): New function.
4487 (main): Call it after attaching.
4488
098ad55c
RM
44892014-02-22 Roland McGrath <roland@hack.frob.com>
4490
d4ec6ae1
RM
4491 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4492 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4493 Versions files is now verboten.
4494 * hurd/Versions (libc: GLIBC_2.0):
4495 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4496 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4497 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4498 * mach/Versions: Likewise.
4499
098ad55c
RM
4500 * csu/Versions: Remove unused %include.
4501 * resolv/Versions: Likewise.
4502
acd7f096
JM
45032014-02-21 Joseph Myers <joseph@codesourcery.com>
4504
f0881698
JM
4505 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4506 ($(objpfx)check-local-headers.out): Likewise.
4507 ($(objpfx)begin-end-check.out): Likewise.
4508 * Makerules (check-abi-%.out): Likewise.
4509 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4510 ($(objpfx)test2.cat): Likewise.
4511 ($(objpfx)de/libc.cat): Likewise.
4512 ($(objpfx)test-gencat.out): Likewise.
4513 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4514 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4515 ($(objpfx)noload-mem): Likewise.
4516 ($(objpfx)tst-pathopt.out): Likewise.
4517 ($(objpfx)tst-rtld-load-self.out): Likewise.
4518 ($(objpfx)tst-array1-cmp.out): Likewise.
4519 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4520 ($(objpfx)tst-array2-cmp.out): Likewise.
4521 ($(objpfx)tst-array3-cmp.out): Likewise.
4522 ($(objpfx)tst-array4-cmp.out): Likewise.
4523 ($(objpfx)tst-array5-cmp.out): Likewise.
4524 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4525 ($(objpfx)check-textrel.out): Likewise.
4526 ($(objpfx)check-execstack.out): Likewise.
4527 ($(objpfx)check-localplt.out): Likewise.
4528 ($(objpfx)order2-cmp.out): Likewise.
4529 ($(objpfx)tst-leaks1-mem): Likewise.
4530 ($(objpfx)tst-leaks1-static-mem): Likewise.
4531 ($(objpfx)tst-initorder-cmp.out): Likewise.
4532 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4533 ($(objpfx)tst-unused-dep.out): Likewise.
4534 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4536 * iconv/Makefile (test-iconvconfig): Likewise.
4537 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4538 ($(objpfx)iconv-test.out): Likewise.
4539 ($(objpfx)tst-tables.out): Likewise.
4540 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4541 ($(objpfx)tst-gettext.out): Likewise.
4542 ($(objpfx)tst-translit.out): Likewise.
4543 ($(objpfx)tst-gettext2.out): Likewise.
4544 ($(objpfx)tst-gettext4.out): Likewise.
4545 ($(objpfx)tst-gettext6.out): Likewise.
4546 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4547 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4548 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4549 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4550 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4551 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4552 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4553 ($(objpfx)wordexp-tst.out): Likewise.
4554 ($(objpfx)annexc.out): Likewise.
4555 ($(objpfx)tst-fnmatch-mem): Likewise.
4556 ($(objpfx)bug-regex2-mem): Likewise.
4557 ($(objpfx)bug-regex14-mem): Likewise.
4558 ($(objpfx)bug-regex21-mem): Likewise.
4559 ($(objpfx)bug-regex31-mem): Likewise.
4560 ($(objpfx)tst-vfork3-mem): Likewise.
4561 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4562 ($(objpfx)tst-pcre-mem): Likewise.
4563 ($(objpfx)tst-boost-mem): Likewise.
4564 ($(objpfx)tst-getconf.out): Likewise.
4565 ($(objpfx)bug-ga2-mem): Likewise.
4566 ($(objpfx)bug-glob2-mem): Likewise.
4567 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4568 ($(objpfx)mtrace-tst-leaks2): Likewise.
4569 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4570 ($(objpfx)tst-printf.out): Likewise.
4571 ($(objpfx)tst-setvbuf1.out): Likewise.
4572 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4573 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4574 ($(objpfx)tst-fmtmsg.out): Likewise.
4575 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4576 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4577
acd7f096
JM
4578 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4579 * bits/sigaction.h [__USE_MISC]: Likewise.
4580 * bits/waitstatus.h: Update #endif comments.
4581 * ctype/ctype.h: Likewise.
4582 * dirent/dirent.h: Likewise.
4583 [__USE_MISC]: Remove redundant conditionals.
4584 * grp/grp.h: Update #endif comments.
4585 [__USE_GNU]: Remove redundant conditionals.
4586 [__USE_MISC]: Likewise.
4587 * inet/netinet/in.h [__USE_GNU]: Likewise.
4588 * io/sys/stat.h [__USE_MISC]: Likewise.
4589 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4590 * libio/bits/stdio.h: Update #endif comments.
4591 [__USE_MISC]: Remove redundant conditionals.
4592 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4593 * libio/stdio.h: Update #endif comments.
4594 [__USE_MISC]: Remove redundant conditionals.
4595 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4596 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4597 * math/math.h: Update #else and #endif comments.
4598 [__USE_MISC]: Remove redundant conditionals.
4599 * misc/sys/uio.h: Update #endif comments.
4600 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4601 * posix/glob.h [__USE_MISC]: Likewise.
4602 * posix/sys/types.h: Update #endif comments.
4603 [__USE_MISC]: Remove redundant conditionals.
4604 * posix/sys/wait.h: Update #endif comments.
4605 [__USE_MISC]: Remove redundant conditionals.
4606 * posix/unistd.h: Update #endif comments.
4607 [__USE_MISC]: Remove redundant conditionals.
4608 * pwd/pwd.h [__USE_GNU]: Likewise.
4609 [__USE_MISC]: Likewise.
4610 * resolv/netdb.h [__USE_GNU]: Likewise.
4611 * signal/signal.h: Update #endif comments.
4612 [__USE_MISC]: Remove redundant conditionals.
4613 * stdlib/stdlib.h: Update #else and #endif comments.
4614 [__USE_MISC]: Remove redundant conditionals.
4615 [__USE_GNU]: Likewise.
4616 * string/bits/string2.h [__USE_MISC]: Likewise.
4617 * string/string.h: Update #endif comments.
4618 [__USE_MISC]: Remove redundant conditionals.
4619 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4620 Likewise.
4621 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4622 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4623 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4624 Likewise.
4625 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4626 Likewise.
4627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4628 comments.
4629 [__USE_MISC]: Remove redundant conditionals.
4630 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4631 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4632 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4633 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4634 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4637 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4638 Likewise.
4639 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4645 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4646 Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4648 Likewise.
4649 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4650 * sysdeps/x86/bits/string.h: Update #endif comments.
4651 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4652 conditionals.
4653 * time/sys/time.h: Update #endif comments.
4654 * time/time.h: Likewise.
4655 [__USE_MISC]: Remove redundant conditionals.
4656
a5d82e4e
YG
46572014-02-21 Yury Gribov <y.gribov@samsung.com>
4658
4659 [BZ #16600]
4660 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4661
9a80491d
AS
46622014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4663
4664 * Versions.def (librt): Add GLIBC_2.17.
4665
105fa381
AC
46662014-02-21 Adam Conrad <adconrad@0c3.net>
4667
4668 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4669 synonym for _SYS_AUXV_H to allow direct inclusion.
4670 * sysdeps/sparc/bits/hwcap.h: Likewise.
4671 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4672 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4673 * sysdeps/sparc/sysdep.h: Likewise.
4674
b8cd1c4e
SP
46752014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4676
4677 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4678
bd939d23
RS
46792014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4680
4681 * benchtests/bench-strrchr.c: Print length instead of position.
4682
5d7b57ca
JM
46832014-02-20 Joseph Myers <joseph@codesourcery.com>
4684
bc688c10
JM
4685 [BZ #16611]
4686 * sysdeps/unix/sysv/linux/kernel-features.h
4687 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4688 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4689 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4690 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4691 Likewise.
4692 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4693 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4694 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4695 (__ASSUME_SENDMMSG): Define instead of using previous
4696 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4697 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4698 (__ASSUME_SENDMMSG_SYSCALL): Define.
4699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4700 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4703 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4704 Likewise.
4705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4706 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4707 Likewise.
4708 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4709 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4710 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4711 [__ASSUME_SENDMMSG]: Change conditionals to
4712 [__ASSUME_SENDMMSG_SOCKETCALL].
4713 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4714 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4715 Define.
4716 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4717 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4718 Likewise.
4719 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4720 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4721 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4722 [!__ASSUME_SENDMMSG]: Change conditional to
4723 [!__ASSUME_SENDMMSG_SOCKETCALL].
4724 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4725 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4726 Define.
4727
0e31b18c
JM
4728 [BZ #16610]
4729 * sysdeps/unix/sysv/linux/kernel-features.h
4730 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4731 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4732 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4733 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4734 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4735 [__i386__ || __sparc__]
4736 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4737 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4738 (__ASSUME_RECVMMSG): Define instead of using previous
4739 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4741 (__ASSUME_RECVMMSG_SYSCALL): Define.
4742 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4743 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4747 Likewise.
4748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4750 Likewise.
4751 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4752 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4753 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4754 [__ASSUME_RECVMMSG]: Change condition to
4755 [__ASSUME_RECVMMSG_SOCKETCALL].
4756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4758 Define.
4759 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4760 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4762 Likewise.
4763 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4764 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4765 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4766 [!__ASSUME_RECVMMSG]: Change condition to
4767 [!__ASSUME_RECVMMSG_SOCKETCALL].
4768 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4769 (__ASSUME_RECVMMSG_SYSCALL): Define.
4770
dd481ccf
JM
4771 [BZ #16609]
4772 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4773 __powerpc__ || __s390__ || __sh__ || __sparc__]
4774 (__ASSUME_SOCKETCALL): Define.
4775 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4776 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4777 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4778 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4779 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4780 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4781 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4782 (__ASSUME_ACCEPT4): Define instead of using previous
4783 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4784 __powerpc__ || __sparc__ || __s390__)] condition.
4785 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4786 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4787 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4788 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4789 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4790 [!__ASSUME_ACCEPT4]: Change condition to
4791 [!__ASSUME_ACCEPT4_SOCKETCALL].
4792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4793 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4794 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4796 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4797 __ASSUME_ACCEPT4_SYSCALL.
4798 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4799 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4801 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4802 __ASSUME_ACCEPT4_SYSCALL.
4803 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4804 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4805 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4806 [__ASSUME_ACCEPT4]: Change condition to
4807 [__ASSUME_ACCEPT4_SOCKETCALL].
4808 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4809 (__ASSUME_SOCKETCALL): Define.
4810 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4811 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4812 (__ASSUME_SOCKETCALL): Define.
4813 (__ASSUME_ACCEPT4): Remove.
4814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4815 Define.
4816 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4817 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4818 Likewise.
4819 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4821
5d7b57ca
JM
4822 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4823 macro.
4824 (HWCAP_ARM_LPAE): Likewise.
4825 (HWCAP_ARM_EVTSTRM): Likewise.
4826 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4827 Add vpfd32, lpae and evtstrm.
4828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4829 Increase to 22.
4830
63689d61
JM
48312014-02-19 Joseph Myers <joseph@codesourcery.com>
4832
4833 * math/auto-libm-test-in: Add tests of clog10.
4834 * math/auto-libm-test-out: Regenerated.
4835 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4836 * sysdeps/i386/fpu/libm-test-ulps: Update.
4837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838
ab09bf61
AS
48392014-02-18 Andreas Schwab <schwab@suse.de>
4840
4841 [BZ #16574]
4842 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4843 Store non-zero if the second buffer was newly allocated.
4844 (send_dg): Likewise.
4845 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4846 to send_vc and send_dg.
4847 (res_nsend): Pass NULL for ansp2_malloced.
4848 * resolv/res_query.c (__libc_res_nquery): Add parameter
4849 answerp2_malloced and pass it down to __libc_res_nsend.
4850 (res_nquery): Pass additional NULL to __libc_res_nquery.
4851 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4852 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4853 second answer buffer if answerp2_malloced was set.
4854 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4855 (__libc_res_nquerydomain): Add parameter
4856 answerp2_malloced and pass it down to __libc_res_nquery.
4857 (res_nquerydomain): Pass additional NULL to
4858 __libc_res_nquerydomain.
4859 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4860 additional NULL to __libc_res_nsend and __libc_res_nquery.
4861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4862 additional NULL to __libc_res_nsearch.
4863 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4864 parameter of __libc_res_nsearch to check for separately allocated
4865 second buffer.
4866 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4867 __libc_res_nquery.
4868 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4869 additional NULL to __libc_res_nquery.
4870 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4871 __libc_res_nsearch.
4872 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4873 * include/resolv.h: Update prototypes of __libc_res_nquery,
4874 __libc_res_nsearch, __libc_res_nsend.
4875
a4fb7861
JM
48762014-02-18 Joseph Myers <joseph@codesourcery.com>
4877
c6af2d89
JM
4878 * math/auto-libm-test-in: Add tests of fma.
4879 * math/auto-libm-test-out: Regenerated.
4880 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4881 (fma_towardzero_test_data): Likewise.
4882 (fma_downward_test_data): Likewise.
4883 (fma_upward_test_data): Likewise.
4884 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4885 mpc_mode.
4886 (rounding_modes): Add values for new field.
4887 (func_calc_method): Add value mpfr_fff_f.
4888 (func_calc_desc): Add mpfr_fff_f union field.
4889 (test_function): Add field exact_args.
4890 (FUNC): Add macro argument EXACT_ARGS.
4891 (FUNC_mpfr_f_f): Update call to FUNC.
4892 (FUNC_mpfr_f_f): Likewise.
4893 (FUNC_mpfr_ff_f): Likewise.
4894 (FUNC_mpfr_if_f): Likewise.
4895 (FUNC_mpc_c_f): Likewise.
4896 (FUNC_mpc_c_c): Likewise.
4897 (test_functions): Add fma. Update calls to FUNC.
4898 (handle_input_arg): Add argument exact_args.
4899 (add_test): Update call to handle_input_arg.
4900 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4901 (output_for_one_input_case): Update call to calc_generic_results.
4902 Recalculate exact zero results in each rounding mode.
4903
a4fb7861
JM
4904 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4905 non-negative before setting low bit.
4906 * math/auto-libm-test-in: Mark one asin test possibly having
4907 spurious underflow.
4908 * math/auto-libm-test-out: Regenerated.
4909 * sysdeps/i386/fpu/libm-test-ulps: Update.
4910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4911
ef114eaf
DH
49122014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4913
2b7f4f2c
SP
4914 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4915 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4916 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4917 * README: Add missing listing for microblaze*-*-linux-gnu.
4918
c70a4b1d
MF
49192014-02-16 Mike Frysinger <vapier@gentoo.org>
4920
4921 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4922 * sysdeps/unix/sysv/linux/ia64: Move directory from
4923 ports/sysdeps/unix/sysv/linux/ia64.
4924 * README: Update listing for ia64-*-linux-gnu.
4925
591aeaf7
TD
49262014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4927 Joseph Myers <joseph@codesourcery.com>
4928
4929 * Makeconfig (test-name): New variable.
4930 (evaluate-test): Likewise.
4931 * Makerules (do-test-clean): Remove .test-result files.
4932 (common-mostlyclean): Likewise.
4933 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4934 * scripts/evaluate-test.sh: New file.
4935
6e89caf1
JM
49362014-02-14 Joseph Myers <joseph@codesourcery.com>
4937
7f98f180
JM
4938 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4939 separate $(objpfx)tst-fopenloc-cmp.out and
4940 $(objpfx)tst-fopenloc-mem.out targets.
4941 (tests): Update dependencies.
4942 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4943 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4944 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4945 (tst-rxspencer-no-utf8-ARGS): New variable.
4946 (tst-rxspencer-no-utf8-ENV): Likewise.
4947 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4948 instead of $(objpfx)tst-rxspencer-mem.
4949 ($(objpfx)tst-rxspencer-mem): Change target to
4950 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4951 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4952 * posix/tst-rxspencer-no-utf8.c: New file.
4953
6e89caf1
JM
4954 * elf/Makefile ($(objpfx)order.out): Remove rule.
4955 [$(run-built-tests) = yes] (tests): Depend on
4956 $(objpfx)order-cmp.out.
4957 ($(objpfx)order-cmp.out): New rule.
4958 [$(run-built-tests) = yes] (tests): Depend on
4959 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4960 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4961 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4962 $(objpfx)tst-array5-static-cmp.out.
4963 ($(objpfx)tst-array1.out): Remove rule.
4964 ($(objpfx)tst-array1-cmp.out): New rule.
4965 ($(objpfx)tst-array1-static.out): Remove rule.
4966 ($(objpfx)tst-array1-static-cmp.out): New rule.
4967 ($(objpfx)tst-array2.out): Remove rule.
4968 ($(objpfx)tst-array2-cmp.out): New rule.
4969 ($(objpfx)tst-array3.out): Remove rule.
4970 ($(objpfx)tst-array3-cmp.out): New rule.
4971 ($(objpfx)tst-array4.out): Remove rule.
4972 ($(objpfx)tst-array4-cmp.out): New rule.
4973 ($(objpfx)tst-array5.out): Remove rule.
4974 ($(objpfx)tst-array5-cmp.out): New rule.
4975 ($(objpfx)tst-array5-static.out): Remove rule.
4976 ($(objpfx)tst-array5-static-cmp.out): New rule.
4977 [$(run-built-tests) = yes] (tests): Depend on
4978 $(objpfx)order2-cmp.out.
4979 ($(objpfx)order2.out): Remove rule.
4980 ($(objpfx)order2-cmp.out): New rule.
4981 ($(objpfx)tst-initorder.out): Remove rule.
4982 [$(run-built-tests) = yes] (tests): Depend on
4983 $(objpfx)tst-initorder-cmp.out.
4984 ($(objpfx)tst-initorder-cmp.out): New rule.
4985 ($(objpfx)tst-initorder2.out): Remove rule.
4986 [$(run-built-tests) = yes] (tests): Depend on
4987 $(objpfx)tst-initorder2-cmp.out.
4988 ($(objpfx)tst-initorder2-cmp.out): New rule.
4989 [$(run-built-tests) = yes] (tests): Depend on
4990 $(objpfx)tst-unused-dep-cmp.out.
4991 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4992 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4993 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4994 on $(objpfx)tst-setvbuf1-cmp.out.
4995 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4996 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4997 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4998 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4999 ($(objpfx)tst-svc.out): Remove rule.
5000 ($(objpfx)tst-svc-cmp.out): New rule.
5001
ed9a38e2
JM
50022014-02-13 Joseph Myers <joseph@codesourcery.com>
5003
5004 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5005 * ctype/ctype.h [__USE_MISC]: Likewise.
5006 * dirent/dirent.h [__USE_MISC]: Likewise.
5007 * grp/grp.h [__USE_MISC]: Likewise.
5008 * io/fcntl.h [__USE_MISC]: Likewise.
5009 * io/sys/stat.h [__USE_MISC]: Likewise.
5010 * libio/stdio.h [__USE_MISC]: Likewise.
5011 * posix/unistd.h [__USE_MISC]: Likewise.
5012 * pwd/pwd.h [__USE_MISC]: Likewise.
5013 * stdlib.h [__USE_MISC]: Likewise.
5014 * string/bits/string2.h [__USE_MISC]: Likewise.
5015 * string/string.h [__USE_MISC]: Likewise.
5016 * time/time.h [__USE_MISC]: Likewise.
5017
d6680619
AS
50182014-02-13 Andreas Schwab <schwab@suse.de>
5019
5020 [BZ #16574]
5021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5022 second answer buffer if it was separately allocated.
5023
ace614b8
JM
50242014-02-12 Joseph Myers <joseph@codesourcery.com>
5025
743151ae
JM
5026 * sysdeps/mips/math-tests.h: Include <features.h>.
5027 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5028 (ROUNDING_TESTS_long_double): Do not define.
5029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5030 (EXCEPTION_TESTS_long_double): Likewise.
5031 * sysdeps/mips/mips64/libm-test-ulps: Update.
5032
498afc54
JM
5033 * include/features.h (__USE_BSD): Remove macro definitions.
5034 (__USE_SVID): Likewise.
5035 (_BSD_SOURCE): Likewise.
5036 (_SVID_SOURCE): Likewise.
5037 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5038 from definition of _DEFAULT_SOURCE.
5039 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5040 [_DEFAULT_SOURCE].
5041 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5042 * bits/mman.h [__USE_BSD]: Likewise.
5043 * bits/termios.h [__USE_BSD]: Likewise.
5044 * bits/waitstatus.h [__USE_BSD]: Likewise.
5045 * ctype/ctype.h [__USE_SVID]: Likewise.
5046 * dirent/dirent.h [__USE_BSD]: Likewise.
5047 * grp/grp.h [__USE_SVID]: Likewise.
5048 [__USE_BSD]: Likewise.
5049 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5050 * io/fcntl.h [__USE_BSD]: Likewise.
5051 * io/ftw.h [__USE_BSD]: Likewise.
5052 * io/sys/stat.h [__USE_BSD]: Likewise.
5053 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5054 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5055 * libio/stdio.h [__USE_SVID]: Likewise.
5056 [__USE_BSD]: Likewise.
5057 * math/math.h [__USE_SVID]: Likewise.
5058 [__USE_BSD]: Likewise.
5059 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5060 * misc/bits/syslog.h [__USE_BSD]: Likewise.
5061 * misc/search.h [__USE_SVID]: Likewise.
5062 * misc/sys/mman.h [__USE_BSD]: Likewise.
5063 * misc/sys/syslog.h [__USE_BSD]: Likewise.
5064 * misc/sys/uio.h [__USE_BSD]: Likewise.
5065 * posix/bits/unistd.h [__USE_BSD]: Likewise.
5066 * posix/glob.h [__USE_BSD]: Likewise.
5067 * posix/regex.h [__USE_BSD]: Likewise.
5068 * posix/sys/types.h [__USE_BSD]: Likewise.
5069 [__USE_SVID]: Likewise.
5070 * posix/sys/utsname.h [__USE_SVID]: Likewise.
5071 * posix/sys/wait.h [__USE_BSD]: Likewise.
5072 [__USE_SVID]: Likewise.
5073 * posix/unistd.h [__USE_BSD]: Likewise.
5074 [__USE_SVID]: Likewise.
5075 * pwd/pwd.h [__USE_SVID]: Likewise.
5076 * resolv/netdb.h [__USE_BSD]: Likewise.
5077 * setjmp/setjmp.h [__USE_BSD]: Likewise.
5078 * signal/signal.h [__USE_BSD]: Likewise.
5079 [__USE_SVID]: Likewise.
5080 * socket/sys/socket.h [__USE_BSD]: Likewise.
5081 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5082 * stdlib/stdlib.h [__USE_BSD]: Likewise.
5083 [__USE_SVID]: Likewise.
5084 * string/bits/string2.h [__USE_BSD]: Likewise.
5085 [__USE_SVID]: Likewise.
5086 * string/bits/string3.h [__USE_BSD]: Likewise.
5087 * string/endian.h [__USE_BSD]: Likewise.
5088 * string/string.h [__USE_SVID]: Likewise.
5089 [__USE_BSD]: Likewise.
5090 * string/strings.h [__USE_BSD]: Likewise.
5091 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5092 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5093 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5094 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5095 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5096 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5097 Likewise.
5098 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5099 Likewise.
5100 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5101 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5104 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5105 Likewise.
5106 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5107 Likewise.
5108 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5109 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5111 Likewise.
5112 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5113 Likewise.
5114 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5115 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5116 * termios/termios.h [__USE_BSD]: Likewise.
5117 * time/sys/time.h [__USE_BSD]: Likewise.
5118 * time/time.h [__USE_BSD]: Likewise.
5119 [__USE_SVID]: Likewise.
5120
dd7b064c
JM
5121 * Makefile (subdir_targets): Remove subdir_lint.out.
5122
a2c4c199
JM
5123 * stdio-common/Makefile (do-tst-unbputc): Remove target.
5124 (do-tst-printf): Likewise.
5125 (tests): Depend directly on $(objpfx)tst-unbputc.out and
5126 $(objpfx)tst-printf.out.
5127
8756f740
JM
5128 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5129
1b6dd3f1
JM
5130 * Makerules (check-abi-%): Change target to
5131 $(objpfx)check-abi-%.out.
5132 (check-abi target): Update dependencies.
5133 (check-abi-pattern variable): Redirect output of diff to $@.
5134 (check-abi variable): Likewise.
5135 * elf/Makefile (check-abi): Update dependencies.
5136
ace614b8
JM
5137 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5138 unused.
5139 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5140 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5141 subnormal range.
5142 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5143 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5144 value has largest subnormal exponent.
5145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5146 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5147 * sysdeps/aarch64/soft-fp/sfp-machine.h
5148 (_FP_TININESS_AFTER_ROUNDING): New macro.
5149 * sysdeps/alpha/soft-fp/sfp-machine.h
5150 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5151 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5152 Likewise.
5153 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5155 * sysdeps/mips/soft-fp/sfp-machine.h
5156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5157 * sysdeps/powerpc/soft-fp/sfp-machine.h
5158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5159 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5160 Likewise.
5161 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5163 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
5165 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5166 Likewise.
5167
fbfdf9cb
DAS
51682014-02-12 Dylan Alex Simon <dylan@dylex.net>
5169
5170 [BZ #16545]
5171 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5172 model 1.
5173
68b7efaa
RH
51742014-02-12 Richard Henderson <rth@redhat.com>
5175
c70a4b1d 5176 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
5177 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5178 * sysdeps/unix/sysv/linux/alpha: Move directory from
5179 ports/sysdeps/unix/sysv/linux/alpha.
5180 * README: Update listing for alpha-*-linux-gnu.
5181
cb4a2928
JM
51822014-02-11 Joseph Myers <joseph@codesourcery.com>
5183
c941736c
JM
5184 * include/features.h: Update comment documenting feature test
5185 macros.
5186 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
5187 _DEFAULT_SOURCE.
5188 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5189 (_SVID_SOURCE): Likewise.
5190 (_DEFAULT_SOURCE): Update description of default features.
5191 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5192 with _GNU_SOURCE.
5193 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5194 (S_ISVTX): Likewise.
5195 * manual/math.texi (Mathematical Constants): Likewise.
5196 * manual/signal.texi (Interrupted Primitives): Likewise.
5197 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5198 * math/test-matherr.c (_SVID_SOURCE): Do not define.
5199 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5200 Don't refer to _SVID_SOURCE in warning text.
5201
e8d8d7ec
JM
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5203
cb4a2928
JM
5204 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5205 already defined.
5206 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5207 * sysdeps/mips/dl-lookup.c: Remove.
5208 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5209
7e6424e3
AK
52102014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5211
5212 [BZ #16447]
5213 * math/auto-libm-test-in: Add testcase for expl.
5214 * math/auto-libm-test-out: Regenerate.
5215 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5216 calculation of unsafe.
5217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5218
75eff3fe
MS
52192014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5220
5221 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5222 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5223 ports/sysdeps/unix/sysv/linux/aarch64.
5224 * README: Update listing for aarch64*-*-linux-gnu.
5225
d35f1e80
WN
52262014-02-11 Will Newton <will.newton@linaro.org>
5227
5228 * manual/probes.texi (Mathematical Function Probes): Use
5229 "triggered" instead of "hit".
5230
7b3436d4
WN
5231 * manual/probes.texi (Internal Probes): Add documentation
5232 of setjmp, longjmp and longjmp_target probes.
5233
b4f12ca3
WN
5234 * include/stap-probe.h: Add comment about probe argument
5235 format.
5236
c13a72b7
WN
5237 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5238 definition. (tr_where, tr_freehook, tr_mallochook,
5239 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5240
195b8165
DM
52412014-02-11 David S. Miller <davem@davemloft.net>
5242
5243 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5244 processing int_tests.
5245
2ad7600b
JM
52462014-02-10 Joseph Myers <joseph@codesourcery.com>
5247
5248 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5249 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5250 * sysdeps/unix/sysv/linux/mips: Move directory from
5251 ports/sysdeps/unix/sysv/linux/mips.
5252 * README: Update listing for mips-*-linux-gnu and
5253 mips64-*-linux-gnu.
5254
73588a72
AS
52552014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5256
5257 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5258 * sysdeps/unix/sysv/linux/m68k: Move directory from
5259 ports/sysdeps/unix/sysv/linux/m68k.
5260 * README: Update listing for m68k-*-linux-gnu.
5261
4372980f
CM
52622014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5263
5264 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5265 * sysdeps/unix/sysv/linux/generic: Move directory from
5266 ports/sysdeps/unix/sysv/linux/generic.
5267 * sysdeps/unix/sysv/linux/tile: Move directory from
5268 ports/sysdeps/unix/sysv/linux/tile.
5269 * README: Update listing for tile*-*-linux-gnu.
5270
a1ffb40e
OB
52712014-02-10 Ondřej Bílka <neleai@seznam.cz>
5272
57f41c40
AS
5273 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5274 __builtin_expect.
a1ffb40e
OB
5275 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5276 * catgets/open_catalog.c (__open_catalog): Likewise.
5277 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5278 * debug/confstr_chk.c: Likewise.
5279 * debug/fread_chk.c (__fread_chk): Likewise.
5280 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5281 * debug/getgroups_chk.c: Likewise.
5282 * debug/mbsnrtowcs_chk.c: Likewise.
5283 * debug/mbsrtowcs_chk.c: Likewise.
5284 * debug/mbstowcs_chk.c: Likewise.
5285 * debug/memcpy_chk.c: Likewise.
5286 * debug/memmove_chk.c: Likewise.
5287 * debug/mempcpy_chk.c: Likewise.
5288 * debug/memset_chk.c: Likewise.
5289 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5290 * debug/strcat_chk.c (__strcat_chk): Likewise.
5291 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5292 * debug/strncat_chk.c (__strncat_chk): Likewise.
5293 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5294 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5295 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5296 * debug/wcpncpy_chk.c: Likewise.
5297 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5298 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5299 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5300 * debug/wcsncpy_chk.c: Likewise.
5301 * debug/wcsnrtombs_chk.c: Likewise.
5302 * debug/wcsrtombs_chk.c: Likewise.
5303 * debug/wcstombs_chk.c: Likewise.
5304 * debug/wmemcpy_chk.c: Likewise.
5305 * debug/wmemmove_chk.c: Likewise.
5306 * debug/wmempcpy_chk.c: Likewise.
5307 * debug/wmemset_chk.c: Likewise.
5308 * dirent/scandirat.c (SCANDIRAT): Likewise.
5309 * dlfcn/dladdr1.c (dladdr1): Likewise.
5310 * dlfcn/dladdr.c (dladdr): Likewise.
5311 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5312 * dlfcn/dlerror.c (__dlerror): Likewise.
5313 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5314 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5315 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5316 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5317 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5318 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5319 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5320 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5321 Likewise.
5322 * elf/dl-conflict.c: Likewise.
5323 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5324 * elf/dl-dst.h: Likewise.
5325 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5326 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5328 * elf/dl-init.c (call_init, _dl_init): Likewise.
5329 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
5330 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5331 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5332 Likewise.
a1ffb40e
OB
5333 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5334 Likewise.
5335 * elf/dl-minimal.c (__libc_memalign): Likewise.
5336 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5337 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5338 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5339 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
5340 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5341 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
5342 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5343 * elf/dl-writev.h (_dl_writev): Likewise.
5344 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
5345 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5346 (dl_main): Likewise.
a1ffb40e
OB
5347 * elf/setup-vdso.h (setup_vdso): Likewise.
5348 * grp/compat-initgroups.c (compat_call): Likewise.
5349 * grp/fgetgrent.c (fgetgrent): Likewise.
5350 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5351 * grp/putgrent.c (putgrent): Likewise.
5352 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5353 Likewise.
5354 * hurd/hurdinit.c: Likewise.
5355 * iconvdata/8bit-gap.c (struct): Likewise.
5356 * iconvdata/ansi_x3.110.c : Likewise.
5357 * iconvdata/big5.c : Likewise.
5358 * iconvdata/big5hkscs.c : Likewise.
5359 * iconvdata/cp1255.c: Likewise.
5360 * iconvdata/cp1258.c : Likewise.
5361 * iconvdata/cp932.c : Likewise.
5362 * iconvdata/euc-cn.c: Likewise.
5363 * iconvdata/euc-jisx0213.c : Likewise.
5364 * iconvdata/euc-jp.c: Likewise.
5365 * iconvdata/euc-jp-ms.c : Likewise.
5366 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5367 * iconvdata/gb18030.c : Likewise.
5368 * iconvdata/gbbig5.c (const): Likewise.
5369 * iconvdata/gbgbk.c: Likewise.
5370 * iconvdata/gbk.c : Likewise.
5371 * iconvdata/ibm1364.c : Likewise.
5372 * iconvdata/ibm930.c : Likewise.
5373 * iconvdata/ibm932.c: Likewise.
5374 * iconvdata/ibm933.c : Likewise.
5375 * iconvdata/ibm935.c : Likewise.
5376 * iconvdata/ibm937.c : Likewise.
5377 * iconvdata/ibm939.c : Likewise.
5378 * iconvdata/ibm943.c: Likewise.
5379 * iconvdata/iso_11548-1.c: Likewise.
5380 * iconvdata/iso-2022-cn.c : Likewise.
5381 * iconvdata/iso-2022-cn-ext.c : Likewise.
5382 * iconvdata/iso-2022-jp-3.c: Likewise.
5383 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5384 * iconvdata/iso-2022-kr.c : Likewise.
5385 * iconvdata/iso646.c (gconv_end): Likewise.
5386 * iconvdata/iso_6937-2.c : Likewise.
5387 * iconvdata/iso_6937.c : Likewise.
5388 * iconvdata/iso8859-1.c: Likewise.
5389 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5390 * iconvdata/shift_jisx0213.c : Likewise.
5391 * iconvdata/sjis.c : Likewise.
5392 * iconvdata/t.61.c : Likewise.
5393 * iconvdata/tcvn5712-1.c : Likewise.
5394 * iconvdata/tscii.c: Likewise.
5395 * iconvdata/uhc.c : Likewise.
5396 * iconvdata/unicode.c (gconv_end): Likewise.
5397 * iconvdata/utf-16.c (gconv_end): Likewise.
5398 * iconvdata/utf-32.c (gconv_end): Likewise.
5399 * iconvdata/utf-7.c (base64): Likewise.
5400 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5401 * iconv/gconv_close.c (__gconv_close): Likewise.
5402 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
5403 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5404 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5405 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5406 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5407 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
5408 * iconv/iconv.c (iconv): Likewise.
5409 * iconv/iconv_close.c: Likewise.
5410 * iconv/loop.c (SINGLE): Likewise.
5411 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5412 * include/atomic.h: Likewise.
5413 * inet/inet6_option.c (option_alloc): Likewise.
5414 * intl/bindtextdom.c (set_binding_values): Likewise.
5415 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5416 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5417 * intl/localealias.c (read_alias_file): Likewise.
5418 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
5419 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5420 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
5421 * libio/fmemopen.c (fmemopen): Likewise.
5422 * libio/iofgets.c (_IO_fgets): Likewise.
5423 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5424 * libio/iofgetws.c (fgetws): Likewise.
5425 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5426 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
5427 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5428 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
5429 * locale/findlocale.c (_nl_find_locale): Likewise.
5430 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5431 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5432 Likewise.
5433 * locale/setlocale.c (setlocale): Likewise.
5434 * login/programs/pt_chown.c (main): Likewise.
5435 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5436 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
5437 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5438 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
5439 * math/e_exp2l.c: Likewise.
5440 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5441 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5442 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5443 * math/s_catan.c (__catan): Likewise.
5444 * math/s_catanf.c (__catanf): Likewise.
5445 * math/s_catanh.c (__catanh): Likewise.
5446 * math/s_catanhf.c (__catanhf): Likewise.
5447 * math/s_catanhl.c (__catanhl): Likewise.
5448 * math/s_catanl.c (__catanl): Likewise.
5449 * math/s_ccosh.c (__ccosh): Likewise.
5450 * math/s_ccoshf.c (__ccoshf): Likewise.
5451 * math/s_ccoshl.c (__ccoshl): Likewise.
5452 * math/s_cexp.c (__cexp): Likewise.
5453 * math/s_cexpf.c (__cexpf): Likewise.
5454 * math/s_cexpl.c (__cexpl): Likewise.
5455 * math/s_clog10.c (__clog10): Likewise.
5456 * math/s_clog10f.c (__clog10f): Likewise.
5457 * math/s_clog10l.c (__clog10l): Likewise.
5458 * math/s_clog.c (__clog): Likewise.
5459 * math/s_clogf.c (__clogf): Likewise.
5460 * math/s_clogl.c (__clogl): Likewise.
5461 * math/s_csin.c (__csin): Likewise.
5462 * math/s_csinf.c (__csinf): Likewise.
5463 * math/s_csinh.c (__csinh): Likewise.
5464 * math/s_csinhf.c (__csinhf): Likewise.
5465 * math/s_csinhl.c (__csinhl): Likewise.
5466 * math/s_csinl.c (__csinl): Likewise.
5467 * math/s_csqrt.c (__csqrt): Likewise.
5468 * math/s_csqrtf.c (__csqrtf): Likewise.
5469 * math/s_csqrtl.c (__csqrtl): Likewise.
5470 * math/s_ctan.c (__ctan): Likewise.
5471 * math/s_ctanf.c (__ctanf): Likewise.
5472 * math/s_ctanh.c (__ctanh): Likewise.
5473 * math/s_ctanhf.c (__ctanhf): Likewise.
5474 * math/s_ctanhl.c (__ctanhl): Likewise.
5475 * math/s_ctanl.c (__ctanl): Likewise.
5476 * math/w_pow.c: Likewise.
5477 * math/w_powf.c: Likewise.
5478 * math/w_powl.c: Likewise.
5479 * math/w_scalb.c (sysv_scalb): Likewise.
5480 * math/w_scalbf.c (sysv_scalbf): Likewise.
5481 * math/w_scalbl.c (sysv_scalbl): Likewise.
5482 * misc/error.c (error_tail): Likewise.
5483 * misc/pselect.c (__pselect): Likewise.
5484 * nis/nis_callback.c (__nis_create_callback): Likewise.
5485 * nis/nis_call.c (__nisfind_server): Likewise.
5486 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5487 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5489 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5490 * nis/nis_lookup.c (nis_lookup): Likewise.
5491 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
5492 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5493 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 5494 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
5495 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5496 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5497 * nis/nss_compat/compat-initgroups.c (add_group)
5498 (internal_getgrent_r): Likewise.
5499 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5500 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5501 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5502 (internal_getspnam_r): Likewise.
5503 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5504 (_nss_nis_getaliasbyname_r): Likewise.
5505 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5506 (_nss_nis_getntohost_r): Likewise.
5507 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5508 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5509 (_nss_nis_getgrgid_r): Likewise.
5510 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5511 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5512 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5513 (_nss_nis_gethostbyname4_r): Likewise.
5514 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5515 (initgroups_netid): Likewise.
a1ffb40e 5516 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
5517 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5518 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5519 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5520 (_nss_nis_getprotobynumber_r): Likewise.
5521 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5522 (_nss_nis_getsecretkey): Likewise.
5523 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5524 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5525 (_nss_nis_getpwuid_r): Likewise.
5526 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5527 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5528 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5529 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5530 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5531 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
5532 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5533 Likewise.
57f41c40
AS
5534 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5535 (_nss_nisplus_getntohost_r): Likewise.
5536 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5537 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5538 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5539 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 5540 Likewise.
57f41c40
AS
5541 * nis/nss_nisplus/nisplus-initgroups.c
5542 (_nss_nisplus_initgroups_dyn): Likewise.
5543 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5544 (_nss_nisplus_getnetbyaddr_r): Likewise.
5545 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5546 (_nss_nisplus_getprotobynumber_r): Likewise.
5547 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5548 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
5549 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5550 Likewise.
57f41c40
AS
5551 * nis/nss_nisplus/nisplus-service.c
5552 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5553 (_nss_nisplus_getservbyport_r): Likewise.
5554 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5555 (_nss_nisplus_getspnam_r): Likewise.
5556 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5557 Likewise.
a1ffb40e
OB
5558 * nscd/aicache.c (addhstaiX): Likewise.
5559 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
5560 * nscd/connections.c (register_traced_file, send_ro_fd)
5561 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5562 (main_loop_epoll): Likewise.
a1ffb40e
OB
5563 * nscd/grpcache.c (addgrbyX): Likewise.
5564 * nscd/hstcache.c (addhstbyX): Likewise.
5565 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5566 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
5567 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5568 (addinnetgrX): Likewise.
5569 * nscd/nscd-client.h (__nscd_acquire_maplock)
5570 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
5571 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5572 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5574 Likewise.
5575 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
5577 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5578 (__nscd_get_map_ref): Likewise.
a1ffb40e 5579 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
5580 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5581 Likewise.
a1ffb40e
OB
5582 * nscd/pwdcache.c (addpwbyX): Likewise.
5583 * nscd/selinux.c (preserve_capabilities): Likewise.
5584 * nscd/servicescache.c (addservbyX): Likewise.
5585 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5586 * posix/fnmatch.c (fnmatch): Likewise.
5587 * posix/getopt.c (_getopt_internal_r): Likewise.
5588 * posix/glob.c (glob, glob_in_dir): Likewise.
5589 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
5590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5591 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
5592 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5593 * resolv/res_init.c: Likewise.
5594 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5595 * resolv/res_query.c (__libc_res_nquery): Likewise.
5596 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5597 Likewise.
5598 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5599 * stdio-common/perror.c (perror): Likewise.
5600 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5601 * stdio-common/tmpnam.c (tmpnam): Likewise.
5602 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5603 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
5604 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5605 Likewise.
a1ffb40e
OB
5606 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5607 * stdlib/putenv.c (putenv): Likewise.
5608 * stdlib/setenv.c (__add_to_environ): Likewise.
5609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5610 * stdlib/strtol_l.c (INTERNAL): Likewise.
5611 * string/memmem.c (memmem): Likewise.
5612 * string/strerror.c (strerror): Likewise.
5613 * string/strnlen.c (__strnlen): Likewise.
5614 * string/test-memmem.c (simple_memmem): Likewise.
5615 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5616 * sunrpc/pm_getport.c (__get_socket): Likewise.
5617 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5618 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
5619 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5620 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
5621 Likewise.
5622 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5623 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5624 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5625 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
5627 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5628 Likewise.
5629 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5630 Likewise.
a1ffb40e
OB
5631 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5632 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5633 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5634 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5635 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5637 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5639 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5640 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5641 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5642 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5643 Likewise.
5644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5645 Likewise.
5646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5647 Likewise.
5648 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5650 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5651 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5652 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5653 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5654 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5661 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
5663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5664 Likewise.
a1ffb40e
OB
5665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5666 Likewise.
5667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5668 Likewise.
5669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5670 Likewise.
5671 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5672 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5673 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5674 Likewise.
5675 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5676 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5677 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5678 * sysdeps/posix/sleep.c: Likewise.
5679 * sysdeps/posix/tempname.c: Likewise.
5680 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5681 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5682 Likewise.
57f41c40
AS
5683 * sysdeps/powerpc/powerpc32/dl-machine.h
5684 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
5685 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5686 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5687 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5688 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5689 Likewise.
5690 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5692 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5695 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5696 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5697 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5698 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5699 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5701 (elf_machine_lazy_rel): Likewise.
a1ffb40e 5702 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5704 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5705 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5706 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5707 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5708 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5709 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5710 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5711 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5715 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5716 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5717 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5718 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5719 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5720 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5721 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5724 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5725 Likewise.
5726 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5727 (__posix_fallocate64_l64): Likewise.
5728 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5729 (posix_fallocate): Likewise.
57f41c40
AS
5730 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5731 Likewise.
a1ffb40e 5732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
5733 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5734 (getifaddrs_internal): Likewise.
a1ffb40e
OB
5735 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5736 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5737 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5738 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5739 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5740 (__posix_fallocate64_l64): Likewise.
5741 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5742 Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
5744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5745 (__get_clockfreq): Likewise.
a1ffb40e
OB
5746 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5747 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5748 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5750 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5751 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5752 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5754 Likewise.
5755 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5756 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5757 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5759 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5760 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5761 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5762 Likewise.
5763 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5764 (posix_fallocate): Likewise.
5765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5766 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5767 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
5768 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5769 (elf_machine_rela, elf_machine_rela_relative)
5770 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
5771 * time/asctime.c (asctime_internal): Likewise.
5772 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5773 * time/tzset.c (__tzset_parse_tz): Likewise.
5774 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5775 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5776 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5777 * wcsmbs/wcsmbsload.h: Likewise.
5778
f3d338c9
OB
5779 [BZ #15894]
5780 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5781
57f41c40
AS
5782 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5783 (arena_get2): Remove THREAD_STATS conditionals.
5784 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5785 (__malloc_stats, int): Likewise.
bdfe308a 5786
d674667c
MF
57872014-02-08 Mike Frysinger <vapier@gentoo.org>
5788
5789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5790 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5791
6349768c
MF
5792 * manual/setjmp.texi: Fix typos/grammar errors.
5793
0b7c7473
MF
5794 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5795 Only return early when n is <= 0. Delete unused return statement.
5796
ac8cc9e3
MF
5797 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5798 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5799 * debug/tst-longjmp_chk3.c: New file.
5800
c5bb8e23
MF
5801 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5802 (test_main): Replace code with set_fortify_handler call.
5803 * debug/test-strcpy_chk.c: Likewise.
5804 * debug/tst-chk1.c: Likewise.
5805 * debug/tst-longjmp_chk.c: Likewise.
5806 * test-skeleton.c: Include fcntl.h & paths.h
5807 (set_fortify_handler): Define.
5808
10444e42
MF
5809 * debug/tst-longjmp_chk.c: Add header comment and include
5810 ../test-skeleton.c.
5811 (do_test): Mark static.
5812 (TEST_FUNCTION): Define.
5813
1e805e8d
MF
5814 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5815 (IP_PMTUDISC_INTERFACE): Likewise.
5816 (IP_MULTICAST_IF): Likewise.
5817 (IP_MULTICAST_TTL): Likewise.
5818 (IP_MULTICAST_LOOP): Likewise.
5819 (IP_ADD_MEMBERSHIP): Likewise.
5820 (IP_DROP_MEMBERSHIP): Likewise.
5821 (IP_UNBLOCK_SOURCE): Likewise.
5822 (IP_BLOCK_SOURCE): Likewise.
5823 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5824 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5825 (IP_MSFILTER): Likewise.
5826 (MCAST_JOIN_GROUP): Likewise.
5827 (MCAST_BLOCK_SOURCE): Likewise.
5828 (MCAST_UNBLOCK_SOURCE): Likewise.
5829 (MCAST_LEAVE_GROUP): Likewise.
5830 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5831 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5832 (MCAST_MSFILTER): Likewise.
5833 (IP_MULTICAST_ALL): Likewise.
5834 (IP_UNICAST_IF): Likewise.
5835
73f79bb7
MF
5836 * timezone/Makefile: Delete $(have-ksh) check.
5837 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5838 * timezone/tzselect.ksh: Add +x mode bits.
5839
8da79b60
MF
5840 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5841 (ANON_INODE_FS_MAGIC): Likewise.
5842 (BDEVFS_MAGIC): Likewise.
5843 (BINFMTFS_MAGIC): Likewise.
5844 (BTRFS_TEST_MAGIC): Likewise.
5845 (CRAMFS_MAGIC_WEND): Likewise.
5846 (DEBUGFS_MAGIC): Likewise.
5847 (ECRYPTFS_SUPER_MAGIC): Likewise.
5848 (EXT3_SUPER_MAGIC): Likewise.
5849 (EXT4_SUPER_MAGIC): Likewise.
5850 (FUTEXFS_SUPER_MAGIC): Likewise.
5851 (HOSTFS_SUPER_MAGIC): Likewise.
5852 (HUGETLBFS_MAGIC): Likewise.
5853 (MINIX3_SUPER_MAGIC): Likewise.
5854 (MTD_INODE_FS_MAGIC): Likewise.
5855 (NILFS_SUPER_MAGIC): Likewise.
5856 (OPENPROM_SUPER_MAGIC): Likewise.
5857 (PIPEFS_MAGIC): Likewise.
5858 (PSTOREFS_MAGIC): Likewise.
5859 (QNX6_SUPER_MAGIC): Likewise.
5860 (RAMFS_MAGIC): Likewise.
5861 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5862 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5863 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5864 (SECURITYFS_MAGIC): Likewise.
5865 (SELINUX_MAGIC): Likewise.
5866 (SMACK_MAGIC): Likewise.
5867 (SOCKFS_MAGIC): Likewise.
5868 (SQUASHFS_MAGIC): Likewise.
5869 (STACK_END_MAGIC): Likewise.
5870 (TMPFS_MAGIC): Likewise.
5871 (USBDEVICE_SUPER_MAGIC): Likewise.
5872 (V9FS_MAGIC): Likewise.
5873 (XENFS_SUPER_MAGIC): Likewise.
5874 (CRAMFS_MAGIC): Fix typo in comment.
5875 (EXT2_SUPER_MAGIC): Update comment.
5876 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5877
464263cc
JM
58782014-02-08 Joseph Myers <joseph@codesourcery.com>
5879
c6bfe5c4
JM
5880 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5881 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5882 * sysdeps/unix/sysv/linux/arm: Move directory from
5883 ports/sysdeps/unix/sysv/linux/arm.
5884 * README: Update listing for arm-*-linux-gnueabi.
5885
464263cc
JM
5886 * README: Remove mention of am33.
5887
32749f6c
RM
58882014-02-07 Roland McGrath <roland@hack.frob.com>
5889
5890 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5891 than the comma operator, to avoid "rhs of comma has no effect"
5892 compiler warnings.
5893 (__sigfillset, __sigandset, __sigorset): Likewise.
5894 * include/signal.h (__sigemptyset): Likewise.
5895 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5896
d5b396c1
AM
58972014-02-07 Allan McRae <allan@archlinux.org>
5898
5899 * version.h (RELEASE): Set to "development".
5900 (VERSION): Set to "2.19.90"
5901 * NEWS: Add 2.20 section.
5902
3bfff2ed
CD
59032014-02-06 Carlos O'Donell <carlos@redhat.com>
5904
5905 [BZ #16529]
5906 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5907
ee7cc385
SP
59082014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5909
5910 * manual/contrib.texi: Update entry for Carlos O'Donell,
5911 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5912
f877c4f2
CD
59132014-02-05 Carlos O'Donell <carlos@rehdat.com>
5914
27e839f6
CD
5915 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5916
f877c4f2
CD
5917 * sysdeps/unix/sysv/linux/kernel-features.h
5918 [__LINUX_KERNEL_VERSION >= 0x020621]
5919 (__ASSUME_PROC_PID_TASK_COMM): Define.
5920
68159946
SP
59212014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5922
ba17cdbd
SP
5923 [BZ #16398]
5924 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5925 conversion when destination buffer does not have enough space.
5926 * libio/tst-ftell-partial-wide.c: New test case.
5927 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5928
68159946
SP
5929 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5930 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5931 Leonard and Allan McRae.
5932
2b528732
DM
59332014-02-04 David S. Miller <davem@davemloft.net>
5934
5935 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5936 32-bit.
5937
0ff82463
AZ
59382014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
57f41c40
AS
5940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5941 New file
c01603f7
AZ
5942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5943 New file
57f41c40
AS
5944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5945 New file.
5946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5947 New file.
c01603f7
AZ
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5949 New file.
57f41c40
AS
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5951 New file.
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5953 New file.
c01603f7
AZ
5954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5955 New file.
5956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5957 New file.
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5959 New file.
5960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5961 New file.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5963 New file.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5965 New file.
5966
59672014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968
0ff82463
AZ
5969 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5970 * shlib-versions: Likewise.
5971
1695c773
AZ
59722014-02-04 Roland McGrath <roland@hack.frob.com>
5973 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5974
5975 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5976 (abilist-pattern): New variable, set to %-le.abilist.
5977
5978 * Makerules (abilist-pattern): New variable.
5979 (vpath): Use $(abilist-pattern) in place of %.abilist.
5980 (check-abi-% pattern rule): Likewise.
5981 (check-abi, update-abi): Likewise.
5982
6c0ce4b4
EW
59832014-02-04 Eric Wong <normalperson@yhbt.net>
5984
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5986
481e3524
CD
59872014-02-03 Carlos O'Donell <carlos@redhat.com>
5988
5989 * manual/startup.texi: Add next, previous, and top entries for
5990 the `Program Arguments' and `Environment Variables' nodes.
5991
375592d3
AO
59922014-02-03 Alexandre Oliva <aoliva@redhat.com>
5993
5994 * manual/macros.texi: Add comments before MTASC-safety macros.
5995
f54838ba
AO
5996 * manual/users.texi: Document MTASC-safety properties.
5997
57f41c40
AS
5998 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5999 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
6000 @deftypefun, and add @safety note.
6001 * manual/signal.texi: Move comments that analyze the above
6002 functions to their home place.
6003
fd3daba4
AM
60042014-02-03 Allan McRae <allan@archlinux.org>
6005
6006 * po/sl.po: Update Slovenian translation from translation project.
6007
597636d7
AO
60082014-02-02 Alexandre Oliva <aoliva@redhat.com>
6009
6010 * manual/time.texi (timegm): Add missing blank after @c.
6011 Reported by Joseph Myers <joseph@codesourcery.com>.
6012
ee196e3c
AO
60132014-02-01 Alexandre Oliva <aoliva@redhat.com>
6014
6015 * manual/check-safety.sh: New.
6016 * manual/Makefile ($(objpfx)stamp-summary): Run it.
6017
f8d529d5
AO
6018 * manual/terminal.texi: Document MTASC-safety properties.
6019
de55fdf4
AO
6020 * manual/filesys.texi: Document MTASC-safety properties.
6021
c3299c08
AO
6022 * manual/errno.texi: Document MTASC-safety properties.
6023
06e90b14
AO
6024 * manual/intro.texi: Document safety identifiers and
6025 conditionals.
6026
1acd4371
AO
6027 * manual/string.texi (wcstok): Fix prototype.
6028 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6029
23e5b8cb
AO
6030 * manual/time.texi: Document MTASC-safety properties.
6031
11087373
AO
6032 * manual/string.texi: Document MTASC-safety properties.
6033
5da2c93d
AO
6034 * manual/threads.texi: Document MTASC-safety properties.
6035
171e9210
AO
6036 * manual/stdio.texi: Document MTASC-safety properties.
6037
d9e02532
AO
6038 * manual/syslog.texi: Document MTASC-safety properties.
6039
6af8bab7
AO
6040 * manual/sysinfo.texi: Document MTASC-safety properties.
6041
663b02d7
AO
6042 * manual/startup.texi: Document MTASC-safety properties.
6043
973f180b
AO
6044 * manual/socket.texi: Document MTASC-safety properties.
6045
8f3c25c8
AO
6046 * manual/signal.texi: Document MTASC-safety properties.
6047
542210fb
AO
60482014-01-31 Alexandre Oliva <aoliva@redhat.com>
6049
6050 * manual/setjmp.texi: Document MTASC-safety properties.
6051
433c45a2
AO
6052 * manual/search.texi: Document MTASC-safety properties.
6053
c8ce789c
AO
6054 * manual/resource.texi: Document MTASC-safety properties.
6055
19f5d29c
AO
6056 * manual/process.texi: Document MTASC-safety properties.
6057
e2dfb7f4
AO
6058 * manual/platform.texi: Document MTASC-safety properties.
6059
8c1413f5
AO
6060 * manual/pipe.texi: Document MTASC-safety properties.
6061
03483ada
AO
6062 * manual/pattern.texi: Document MTASC-safety properties.
6063
29e7e2df
AO
6064 * manual/message.texi: Document MTASC-safety properties.
6065
9f529d7c
AO
6066 [BZ #12751]
6067 * manual/memory.texi: Document MTASC-safety properties.
6068
27aaa791
AO
6069 * manual/math.texi: Document MTASC-safety properties.
6070
f2d58726
AO
6071 * manual/locale.texi: Document MTASC-safety properties.
6072
2cc3615c
AO
6073 * manual/llio.texi: Document MTASC-safety properties.
6074
d9f0ec97
AO
6075 * manual/libdl.texi: New.
6076
e7c4409a
AO
6077 * manual/lang.texi: Document MTASC-safety properties.
6078
27bdc63c
AO
6079 * manual/job.texi: Document MTASC-safety properties.
6080
a7b90ea9
AO
6081 * manual/getopt.texi: Document MTASC-safety properties.
6082
c49130e3
AO
6083 * manual/ctype.texi: Document MTASC-safety properties.
6084
0d23a5c1
MR
60852014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
6086
6087 [BZ #16046]
6088 * csu/libc-tls.c (static_map): Remove variable.
6089 (__libc_setup_tls): Use main executable's link map for TLS data.
6090 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6091 casing for LM_ID_BASE and GL(dl_nns).
6092 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6093 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
6094 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6095 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6096 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6097 member.
6098 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6099 l_phnum members.
6100
0037bb60
AO
61012014-01-30 Alexandre Oliva <aoliva@redhat.com>
6102
6103 * manual/debug.texi: Document MTASC-safety properties.
6104
409e00bd
L
61052014-01-29 H.J. Lu <hongjiu.lu@intel.com>
6106
6107 [BZ #16510]
6108 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6109 of __x86_64__ when disabling x87 inline functions.
6110
86e60666
AO
61112014-01-29 Alexandre Oliva <aoliva@redhat.com>
6112
6113 * manual/charset.texi: Document MTASC-safety properties.
6114
76167637
AO
6115 * manual/crypt.texi: Document MTASC-safety properties.
6116
e567f2a0
AO
6117 * manual/conf.texi: Document MTASC-safety properties.
6118
b719dafd
AO
6119 * manual/arith.texi: Document MTASC-safety properties.
6120
4a16c662
AO
6121 * manual/argp.texi: Document MTASC-safety properties.
6122
0a57b83e
AO
6123 * manual/macros.texi: Introduce macros to document multi
6124 thread, asynchronous signal and asynchronous cancellation
6125 safety properties.
6126 * manual/intro.texi: Introduce the properties themselves.
6127
feab2397
KK
61282014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6129
6130 * sysdeps/sh/sh4/Makefile: New file.
6131
1c0d11bc
AS
61322014-01-27 Andreas Schwab <schwab@linux-m68k.org>
6133
6134 * math/gen-libm-test.pl ($srcdir): New variable.
6135 ($auto_input): Use it.
6136
af37a8a3
SP
61372014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6138
d7b00f98
SP
6139 [BZ #16506]
6140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6141 access beyond array bounds when parsing netgroups file.
6142
af37a8a3
SP
6143 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6144 the old buffer before realloc.
6145
0c00f062
AM
61462014-01-27 Allan McRae <allan@archlinux.org>
6147
6148 * po/fr.po: Update French translation from translation project.
6149
7d69a1b0
KK
61502014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6151
6152 * sysdeps/sh/libm-test-ulps: Regenerate.
6153
6e697ff7
DM
61542014-01-24 David S. Miller <davem@davemloft.net>
6155
6156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6157
9cadb35c
KK
61582014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6159
6160 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6161 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6162
5d41dadf
SP
61632013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6164
6165 [BZ #16474]
6166 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6167 string pointers after reallocation.
6168
0bad441c
KK
61692014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6170
6171 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6172 __SH4A__ instead of __SH_FPU_ANY__.
6173
7007c661
KK
61742014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6175
6176 * sysdeps/sh/fpu_control.h: New file.
6177 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6178 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6179 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6180 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6181 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6182 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6183 * sysdeps/sh/sys/ucontext.h: Remove.
6184 * sysdeps/sh/sys: Remove directory.
6185
0f0c35e4
AK
61862014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6187
6188 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6189 s390/sys/ucontext.h.
6190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6192
4959e284
L
61932014-01-20 H.J. Lu <hongjiu.lu@intel.com>
6194
6195 [BZ #15605]
6196 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6197
d98720e0
AZ
61982014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6199
6200 [BZ#16431]
6201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6202 Adjust the vDSO correctly for internal calls.
6203 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6204
91cbd0bc
AM
62052014-01-20 Allan McRae <allan@archlinux.org>
6206
6207 * po/ca.po: Update Catalan translation from translation project.
6208
7a02cfad
MF
62092014-01-16 Mike Frysinger <vapier@gentoo.org>
6210
6211 * sysdeps/s390/sotruss-lib.c: New file.
6212
736c304a
AZ
62132014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 [BZ#16430]
6e077ee5 6216 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
6217 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6218 local calls issues by not having a PLT stub required for IFUNC calls.
6219 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6220
94d0cea0
JM
62212014-01-16 Joseph Myers <joseph@codesourcery.com>
6222
6223 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6224 * math/test-fpucw-static.c: Likewise.
6225
980cb518
SP
62262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6227
6228 [BZ #16453]
6229 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6230
2393fc01
AZ
62312014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6232
6233 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6234 implementation for powerpc.
6235
d359bcc2
OB
62362014-01-15 Ondřej Bílka <neleai@seznam.cz>
6237
6238 [BZ #14782]
6239 * sysdeps/posix/system.c (__libc_system): Do not enable
6240 asynchronous cancellation.
6241
7beb48cb
AK
62422014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6243
6244 [BZ #16427]
6245 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6246 handling only for numbers special also in the IEEE case.
6247
c20d5bf5
AK
62482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6249
6250 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6251
e83bd4ee
AM
62522014-01-11 Allan McRae <allan@archlinux.org>
6253
76d0ea69
AM
6254 * po/bg.po: Update Bulgarian translation from translation project.
6255
e83bd4ee
AM
6256 * po/de.po: Update German translation from translation project.
6257
bc2ba20a
RM
62582014-01-10 Roland McGrath <roland@hack.frob.com>
6259
6260 * sysdeps/generic/gcc-compat.h: New file.
6261
649ecea2
SP
62622014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6263
6264 * benchtests/asin-inputs: Correct slow inputs.
6265 * benchtests/acos-inputs: Likewise.
6266
1b19c006
AM
62672014-01-10 Allan McRae <allan@archlinux.org>
6268
a46dab08
AM
6269 * po:sv.po: Update Swedish translation from translation project.
6270
421df74a
AM
6271 * po/vi.po: Update Vietnamese translation from translation project.
6272
d61c51a7
AM
6273 * po/eo.po: Update Esperanto translation from translation project.
6274
0339a319
AM
6275 * po/cs.po: Update Czech translation from translation project.
6276
94ad3e99
AM
6277 * po/nl.po: Update Dutch translation from translation project.
6278
e349ca71
AM
6279 * po/pl.po: Update Polish translation from translation project.
6280
ddf930c1
AM
6281 * po/ru.po: Update Russian translation from translation project.
6282
1b19c006
AM
6283 * po/uk.po: Update Ukrainian translation from translation project.
6284
9f236c49
BM
62852014-01-08 Brooks Moses <bmoses@google.com>
6286
6287 * elf/dl-load.c: Fix comment typo.
6288
cd6701cf
CD
62892014-01-08 Carlos O'Donell <carlos@redhat.com>
6290
6291 * po/header.pot: Rename to...
6292 * po/pot.header: ... this.
6293 * po/Makefile: Use pot.header.
6294
66671c84
YK
62952014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6296 Maxim Kuvyrkov <maxim@kugelworks.com>
6297
6298 [BZ #16394]
cd6701cf
CD
6299 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6300 SRC and DEST against LEN.
66671c84 6301
38f34581
AZ
63022014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6303
6304 [BZ #16414]
6305 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6306 implementation.
6307 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6308
63092014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
6310
6311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6312
4c327f2a
JM
63132014-01-08 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #16408]
6316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6317 for large positive arguments.
6318
b821f414
JM
63192014-01-07 Joseph Myers <joseph@codesourcery.com>
6320
1f0f2067
JM
6321 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6322
a5a326f6
JM
6323 * math/auto-libm-test-in: Mark various tests with
6324 xfail-rounding:ldbl-128ibm.
6325 * math/auto-libm-test-out: Regenerated.
6326
b821f414
JM
6327 [BZ #16407]
6328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6329 Increase overflow threshold.
6330
94c8a4bc
OB
63312014-01-07 Ondřej Bílka <neleai@seznam.cz>
6332
6333 [BZ #14286]
6334 * stdio-common/vfprintf.c: Check for integer overflow.
6335
87ded0c3
AK
63362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6337
6338 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6339 the first argument and return value of __tls_get_addr_internal.
6340
c5eebdd0
AK
63412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6342
6343 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6344 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6345
05d138ef
AK
63462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6347
6348 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6349 * sysdeps/s390/rtld-global-offsets.sym: New file.
6350 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6351 GLIBC_2.19 symbol.
6352 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6355 ... this.
6356 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6358 ... this.
6359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6360 Regenerate.
6361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6362 Regenerate.
6363 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6364 halfs of GPRs for high_gprs contexts.
6365 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6366 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6367 field.
6368 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6369 uc_flags field.
6370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6371 64 bit versions:
6372 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6373 for high GPRs (uc_high_gprs) and for future extensions
6374 (__reserved).
6375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6376 for future extensions (__reserved).
6377 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6378 64 bit versions:
6379 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6380 SC_HIGHGPRS offset definition.
6381 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6382 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6383
93a45ff1
AK
6384 * Versions.def: Add GLIBC_2.19 for libpthread.
6385 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6386 siglongjmp for libpthread with GLIBC_2.19 symver.
6387 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6388 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6389 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6390 * sysdeps/s390/__longjmp.c: New file.
6391 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6392 * sysdeps/s390/longjmp.c: New file.
6393 * sysdeps/s390/setjmp.S: New file.
6394 * sysdeps/s390/sigjmp.S: New file.
6395 * sysdeps/s390/v1-longjmp.c: New file.
6396 * sysdeps/s390/v1-setjmp.h: New file.
6397 * sysdeps/s390/v1-sigjmp.c: New file.
6398 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6399 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6400 GLIBC_2.19 version.
6401 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6402 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6403 versioned symbols for ____longjmp_chk.
6404 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6405 Likewise.
6406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6407 Regenerate.
6408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6409 Regenerate.
6410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6411 Regenerate.
6412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6413 Regenerate.
6414 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6415 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6416 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6417 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6418 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6419 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6420 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6421 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6422 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6423 * sysdeps/s390/rtld-__longjmp.c: New file.
6424 * sysdeps/s390/rtld-setjmp.S: New file.
6425
eb3fc44b
JM
64262014-01-06 Joseph Myers <joseph@codesourcery.com>
6427
6428 [BZ #16400]
6429 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6430 Return -__logl (x) for small positive arguments without evaluating
6431 a polynomial.
6432
9341dde4
MF
64332014-01-06 Mike Frysinger <vapier@gentoo.org>
6434
6435 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6436 Rename to ...
6437 (__ptrace_peeksiginfo_args): ... this.
6438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6441
4cff0293
AM
64422014-01-06 Allan McRae <allan@archlinux.org>
6443
6444 * inet/netinet/in.h: Fix typo in comment.
6445
75595dcf
AJ
64462014-01-05 Andreas Jaeger <aj@suse.de>
6447
6448 * sysdeps/i386/fpu/libm-test-ulps: Update.
6449
79c1e109
AM
64502014-01-05 Allan McRae <allan@archlinux.org>
6451
dd804818
AM
6452 * po/libc.pot: Regenerated.
6453
79c1e109
AM
6454 * malloc/memusagestat.c: Fix gettext call formatting.
6455
0c813d1f
SK
64562014-01-04 Sami Kerola <kerolasa@iki.fi>
6457
6458 * nscd/nscd.c: Improve usage() output.
6459
20f4a8d9
MF
64602014-01-04 Mike Frysinger <vapier@gentoo.org>
6461
6462 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6463 * sysdeps/unix/sysv/linux/configure: Regenerated.
6464 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6465 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6466
22562bb2
JM
64672014-01-03 Joseph Myers <joseph@codesourcery.com>
6468
6469 [BZ #16390]
6470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6471 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6472
d7ad2d9b
AZ
64732014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6476 extra tokens at end of #undef directive.
6477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6478 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6479 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6480
7dd009d8
JM
64812014-01-03 Joseph Myers <joseph@codesourcery.com>
6482
24db925a
JM
6483 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6484
7dd009d8
JM
6485 * math/auto-libm-test-in: Mark various tests with
6486 xfail-rounding:ldbl-128ibm.
6487 * math/auto-libm-test-out: Regenerated.
6488
396e3ecf
JM
64892014-01-02 Joseph Myers <joseph@codesourcery.com>
6490
819e5d50
JM
6491 [BZ #16386]
6492 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6493 numbers with subnormal high part when calculating exponent.
6494
90b6a1e5
JM
6495 [BZ #16385]
6496 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6497 fabs.
6498
396e3ecf
JM
6499 [BZ #16384]
6500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6501 M_LN2l.
6502 (__ieee754_acoshl): Use __log1pl not __log1p.
6503
6c8dbf00
OB
65042013-01-02 Ondřej Bílka <neleai@seznam.cz>
6505
57f41c40
AS
6506 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6507 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6508 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6509 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6510 (reused_arena, arena_get2): Convert to GNU style.
6511 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6512 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6513 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 6514 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
6515 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6516 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6517 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6518 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6519 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6520 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 6521 * malloc/malloc.h: Likewise.
57f41c40
AS
6522 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6523 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 6524 * malloc/mcheck.h: Likewise.
57f41c40
AS
6525 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6526 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
6527 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6528 * malloc/morecore.c (__default_morecore): Likewise.
6529 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
6530 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6531 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6532 (print_and_abort): Likewise.
6c8dbf00
OB
6533 * malloc/obstack.h: Likewise.
6534 * malloc/set-freeres.c (__libc_freeres): Likewise.
6535 * malloc/tst-mallocstate.c (main): Likewise.
6536 * malloc/tst-mtrace.c (main): Likewise.
6537 * malloc/tst-realloc.c (do_test): Likewise.
6538
d4124212
SP
65392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6540
9a3c6a6f
SP
6541 [BZ #16366]
6542 * nscd/netgroupcache.c (do_notfound): New function.
6543 (addgetnetgrentX): Use it.
6544
d4124212
SP
6545 [BZ # 16365]
6546 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6547 NSS_STATUS_NOTFOUND.
6548
97b9a009
JM
65492014-01-01 Joseph Myers <joseph@codesourcery.com>
6550
6551 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6553
d4697bc9
AM
65542014-01-01 Allan McRae <allan@archlinux.org>
6555
ddb3687f
AM
6556 * scripts/update-copyrights: Update configure input file suffix.
6557
88726d48
AM
6558 * NEWS: Update copyright year.
6559 * catgets/gencat.c: Likewise.
6560 * csu/version.c: Likewise.
6561 * debug/catchsegv.sh: Likewise.
6562 * debug/pcprofiledump.c: Likewise.
6563 * debug/xtrace.sh: Likewise.
6564 * elf/ldconfig.c: Likewise.
6565 * elf/ldd.bash.in: Likewise.
6566 * elf/pldd.c: Likewise.
6567 * elf/sotruss.ksh: Likewise.
6568 * elf/sprof.c: Likewise.
6569 * iconv/iconv_prog.c: Likewise.
6570 * iconv/iconvconfig.c: Likewise.
6571 * locale/programs/locale.c: Likewise.
6572 * locale/programs/localedef.c: Likewise.
6573 * login/programs/pt_chown.c: Likewise.
6574 * malloc/memusage.sh: Likewise.
6575 * malloc/memusagestat.c: Likewise.
6576 * malloc/mtrace.pl: Likewise.
6577 * manual/libc.texinfo: Likewise.
6578 * nscd/nscd.c: Likewise.
6579 * nss/getent.c: Likewise.
6580 * nss/makedb.c: Likewise.
6581 * posix/getconf.c: Likewise.
6582 * scripts/test-installation.pl: Likewise.
6583
d4697bc9
AM
6584 * All files with FSF copyright notices: Update copyright dates
6585 using scripts/update-copyrights.
6586 * intl/plural.c: Regenerated.
6587 * locale/programs/charmap-kw.h: Likewise.
6588 * locale/programs/locfile-kw.h: Likewise.
6589
c8590f9d
MF
65902013-12-31 Mike Frysinger <vapier@gentoo.org>
6591
6592 * sysdeps/unix/sysv/linux/configure: Regenerated.
6593 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6594 the linux/fanotify.h header.
6595 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6596 HAVE_LINUX_FANOTIFY_H is defined.
6597
b19221b9
SP
65982013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6599
dd1d85e5
SP
6600 * benchtests/cos-inputs: New inputs.
6601 * benchtests/sin-inputs: Likewise.
6602
1acbb90f
SP
6603 * benchtests/atan-inputs: New inputs. Fix name of multiple
6604 precision fallback inputs.
6605
4c012ed3
SP
6606 * benchtests/atanh-inputs: New inputs.
6607 * benchtests/tanh-inputs: Likewise.
6608
eff98324
SP
6609 * benchtests/acosh-inputs: New inputs.
6610 * benchtests/asinh-inputs: Likewise.
6611
ce641152
SP
6612 * benchtests/cosh-inputs: New inputs.
6613 * benchtests/sinh-inputs: Likewise.
6614
b19221b9
SP
6615 * benchtests/acos-inputs: Add more inputs.
6616 * benchtests/asin-inputs: Likewise.
6617
030a4976 66182013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 6619
030a4976 6620 [BZ #16375]
9dcc8f11
VS
6621 * manual/arith.texi: Fix spelling.
6622 * manual/charset.texi: Likewise.
6623 * manual/errno.texi: Likewise.
6624 * manual/filesys.texi: Likewise.
6625 * manual/lang.texi: Likewise.
6626 * manual/llio.texi: Likewise.
6627 * manual/locale.texi: Likewise.
6628 * manual/message.texi: Likewise.
6629 * manual/resource.texi: Likewise.
6630 * manual/search.texi: Likewise.
6631 * manual/setjmp.texi: Likewise.
6632 * manual/stdio.texi: Likewise.
6633 * manual/string.texi: Likewise.
6634 * manual/sysinfo.texi: Likewise.
6635 * manual/time.texi: Likewise.
6636
11520a57
CD
66372013-12-27 Carlos O'Donell <carlos@redhat.com>
6638
6639 * po/sl.po: New file.
6640
471103ae
MF
66412013-12-27 Mike Frysinger <vapier@gentoo.org>
6642
6643 * .gitignore: Add core/.gdbinit/.gdb_history.
6644
6c9642ed
AM
66452013-12-27 Allan McRae <allan@archlinux.org>
6646
6647 [BZ #16369]
6648 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6649 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6650
3f637079
BM
66512013-12-24 Brooks Moses <bmoses@google.com>
6652
6653 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6654 all compilers that claim C++98 compliance, not just GCC.
6655 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6656 Likewise.
6657
abc26e99
MK
66582013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6659
6660 * NEWS: Restore accidentally deleted bug-fix entries.
6661
362b47fe
MK
66622013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6663 Ondřej Bílka <neleai@seznam.cz>
6664
6665 [BZ #15073]
6666 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 6667 have_lock.
362b47fe 6668
b9bcbbcb
OB
66692013-12-23 Ondřej Bílka <neleai@seznam.cz>
6670
6671 [BZ #12986]
6672 * manual/stdio.texi (String Input Conversions): Clarify that character
6673 classes are not supported.
6674
fb55fcd2
AZ
66752013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676
6677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6678
ef7344f0
JM
66792013-12-22 Joseph Myers <joseph@codesourcery.com>
6680
4f40e4b3
JM
6681 [BZ #16337]
6682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6683 Calculate results for small negative arguments directly rather
6684 than using reflection formula with special underflow handling.
6685
ef7344f0
JM
6686 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6687 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6688 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6689 (fchflags): Likewise.
6690 (revoke): Likewise.
6691 (setlogin): Likewise.
6692 (sigaltstack): Likewise.
6693 (wait4): Likewise.
6694 (sigblock): Remove.
6695 (sigsetmask): Likewise.
6696 (wait3): Likewise.
6697 (waitpid): Likewise.
6698 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6699 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6700 file.
6701 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6702 * sysdeps/unix/bsd/Makefile: ... here.
6703 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6704 * sysdeps/unix/bsd/Versions: ... here.
6705 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6706 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6707 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6708 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6709 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6710 * sysdeps/unix/bsd/sigblock.c: ... here.
6711 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6712 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6713 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6714 * sysdeps/unix/bsd/sigvec.c: ... here.
6715 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6716 * sysdeps/unix/bsd/tcdrain.c: ... here.
6717 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6718 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6719 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6720 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6721 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6722 * sysdeps/unix/bsd/wait.c: ... here.
6723 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6724 * sysdeps/unix/bsd/wait3.c: ... here.
6725 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6726 * sysdeps/unix/bsd/waitpid.c: ... here.
6727
5b0626b9
JM
67282013-12-21 Joseph Myers <joseph@codesourcery.com>
6729
6730 [BZ #16356]
6731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6732 round-to-nearest for [!USE_AS_EXPM1L].
6733 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6734 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6735 more tests of exp and exp10. Expect some exp10 tests to miss
6736 exceptions or fail in directed rounding modes.
6737 * math/auto-libm-test-out: Regenerated.
6738 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6739 (exp10_test_tonearest): New function.
6740 (exp10_towardzero_test_data): New array.
6741 (exp10_test_towardzero): New function.
6742 (exp10_downward_test_data): New array.
6743 (exp10_test_downward): New function.
6744 (exp10_upward_test_data): New array.
6745 (exp10_test_upward): New function.
6746 (main): Call the new functions.
6747 * sysdeps/i386/fpu/libm-test-ulps: Update.
6748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6749
7fda5682
JM
67502013-12-20 Joseph Myers <joseph@codesourcery.com>
6751
31e3a405
JM
6752 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6753 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6754 * math/auto-libm-test-out: Regenerated.
6755 * math/libm-test.inc (acosh_test_data): Add more tests.
6756 (atanh_test_data): Likewise.
6757 (ceil_test_data): Likewise.
6758 (copysign_test_data): Likewise.
6759 * sysdeps/i386/fpu/libm-test-ulps: Update.
6760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6761
85bff96a
JM
6762 * timezone/checktab.awk: Update from tzcode 2013i.
6763 * timezone/private.h: Likewise.
6764 * timezone/scheck.c: Likewise.
6765 * timezone/tzfile.h: Likewise.
6766 * timezone/tzselect.ksh: Likewise.
6767 * timezone/zdump.c: Likewise.
6768 * timezone/zic.c: Likewise.
6769
b7867a3b
JM
6770 * math/auto-libm-test-in: Add tests of cpow.
6771 * math/auto-libm-test-out: Regenerated.
6772 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 6773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
6774 mpc_cc_c.
6775 (func_calc_desc): Add mpc_cc_c union field.
6776 (test_functions): Add cpow.
6777 (special_fill_2pi): New function.
6778 (special_real_inputs): Add 2pi.
6779 (calc_generic_results): Handle mpc_cc_c.
6780 * sysdeps/i386/fpu/libm-test-ulps: Update.
6781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6782
7fda5682
JM
6783 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6784 csqrt, ctan and ctanh.
6785 * math/auto-libm-test-out: Regenerated.
6786 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6787 (TEST_COND_x86): Likewise.
6788 (ccos_test_data): Use AUTO_TESTS_c_c.
6789 (ccosh_test_data): Likewise.
6790 (cexp_test_data): Likewise.
6791 (clog_test_data): Likewise.
6792 (csqrt_test_data): Likewise.
6793 (ctan_test_data): Likewise.
6794 (ctan_tonearest_test_data): Likewise.
6795 (ctan_towardzero_test_data): Likewise.
6796 (ctan_downward_test_data): Likewise.
6797 (ctan_upward_test_data): Likewise.
6798 (ctanh_test_data): Likewise.
6799 (ctanh_tonearest_test_data): Likewise.
6800 (ctanh_towardzero_test_data): Likewise.
6801 (ctanh_downward_test_data): Likewise.
6802 (ctanh_upward_test_data): Likewise.
6803 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6804 mpc_c_c.
6805 (func_calc_desc): Add mpc_c_c union field.
6806 (FUNC_mpc_c_c): New macro.
6807 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6808 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6809 ctanh.
6810 (special_fill_min_subnorm_p120): New function.
6811 (special_real_inputs): Add min_subnorm_p120.
6812 (calc_generic_results): Handle mpc_c_c.
6813 * sysdeps/i386/fpu/libm-test-ulps: Update.
6814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815
5ff8d60e
SP
68162013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
57f41c40
AS
6818 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6819 (do_sin_slow): New functions.
6820 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6821 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6822
84ba214c
SP
6823 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6824 Use M to change sign of result instead of X. Assume X is
6825 positive.
6826 (csloww1): Likewise.
6827 (__sin): Adjust.
6828 (__cos): Adjust.
6829
975195e4
SP
6830 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6831 arguments A and DA.
6832 (__sin): Adjust.
6833 (__cos): Likewise.
6834
5ff8d60e
SP
6835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6836 (__cos): Likewise.
6837 (sloww1): Don't adjust sign of DX.
6838 (csloww1): Likewise.
6839 (sloww2): Use X directly and don't adjust sign of DX.
6840 (csloww2): Likewise.
6841
eb983568
JM
68422013-12-19 Joseph Myers <joseph@codesourcery.com>
6843
64a17f1a
JM
6844 * math/auto-libm-test-in: Add tests of cabs and carg.
6845 * math/auto-libm-test-out: Regenerated.
6846 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6847 (carg_test_data): Likewise.
6848 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6849 mpc_c_f.
6850 (func_calc_desc): Add mpc_c_f union field.
6851 (test_functions): Add cabs and carg.
6852 (calc_generic_results): Handle mpc_c_f.
6853
eb983568
JM
6854 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6855 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6856 as a macro and a compat symbol.
6857 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6858 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6859 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6860 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6861 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6863 not use .hidden.
6864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6865 Likewise.
6866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6867 Likewise.
6868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6869 Likewise.
6870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6871 Likewise.
6872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6873 Likewise.
6874 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6875 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6876 from GLIBC_2.3.2.
6877
6eeb678a
AZ
68782013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6879
6880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6881
6f6fc482
JM
68822013-12-19 Joseph Myers <joseph@codesourcery.com>
6883
21fea2e2
JM
6884 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6885 trailing whitespace removed.
6886 * scripts/config.guess: Update to version 2013-11-29.
6887 * scripts/config.sub: Update to version 2013-10-01.
6888
6f6fc482
JM
6889 * math/auto-libm-test-in: Add tests of sincos.
6890 * math/auto-libm-test-out: Regenerated.
6891 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6892 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6893 mpfr_f_11.
6894 (func_calc_desc): Add mpfr_f_11 union field.
6895 (test_functions): Add sincos.
6896 (calc_generic_results): Handle mpfr_f_11.
6897 * sysdeps/i386/fpu/libm-test-ulps: Update.
6898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6899
83f5c32d
AS
69002013-12-19 Andreas Schwab <schwab@suse.de>
6901
6902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6903 CALL_MCOUNT.
6904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6906 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6907
c688b419
JM
69082013-12-19 Joseph Myers <joseph@codesourcery.com>
6909
335ee092
JM
6910 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6913
f88acd39
JM
6914 [BZ #16293]
6915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6916 round-to-nearest mode when using frndint.
6917 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6918 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6919 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6920 Likewise.
6921 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6922 sinh test to fail.
6923 * math/auto-libm-test-out: Regenerated.
6924 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6925 (TEST_COND_x86): Likewise.
6926 (expm1_tonearest_test_data): New array.
6927 (expm1_test_tonearest): New function.
6928 (expm1_towardzero_test_data): New array.
6929 (expm1_test_towardzero): New function.
6930 (expm1_downward_test_data): New array.
6931 (expm1_test_downward): New function.
6932 (expm1_upward_test_data): New array.
6933 (expm1_test_upward): New function.
6934 (main): Run the new test functions.
6935 * sysdeps/i386/fpu/libm-test-ulps: Update.
6936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6937
c688b419
JM
6938 * include/features.h: Update comment documenting feature test
6939 macros. Mention _DEFAULT_SOURCE in comment.
6940 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6941 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6942 _BSD_SOURCE and _SVID_SOURCE.
6943 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6944 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6945 !_SVID_SOURCE]: Likewise.
6946 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6947 (__USE_POSIX_IMPLICITLY): Define.
6948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6949 (_POSIX_SOURCE): Undefine and redefine.
6950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6951 (_POSIX_C_SOURCE): Likewise.
6952 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6953 (Feature Test Macros): Update documentation of default features.
6954
9f6e964c
RS
69552013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6956
6957 * benchtests/Makefile: Add bench-strtok.
6958 * benchtests/bench-strtok.c: New file: strtok benchtest.
6959
ee0a148a
AM
69602013-12-19 Allan McRae <allan@archlinux.org>
6961
6962 * manual/install.texi: Suppress menu for plain text output.
6963 * INSTALL: Regenerated.
6964
b9ab448f
BM
69652013-12-18 Brooks Moses <bmoses@google.com>
6966
6967 [BZ #15846]
6968 * misc/getauxval.c: Include errno.h.
6969 (__getauxval): Set errno to ENOENT if the requested type is not
6970 found.
6971 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6972 don't declare with __attribute_const__.
6973 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6974 * manual/startup.texi: Document that getauxval sets errno.
6975
23776487
JM
69762013-12-18 Joseph Myers <joseph@codesourcery.com>
6977
f889953b
JM
6978 * math/auto-libm-test-in: Add tests of jn and yn.
6979 * math/auto-libm-test-out: Regenerated.
6980 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6981 (yn_test_data): Likewise.
6982 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6983 mpfr_if_f.
6984 (func_calc_desc): Add mpfr_if_f union field.
6985 (FUNC_mpfr_if_f): New macro.
6986 (test_functions): Add jn and yn.
6987 (calc_generic_results): Assert type of second input for
6988 mpfr_ff_f. Handle mpfr_if_f.
6989 (output_for_one_input_case): Disable all checking for arguments
6990 fitting floating-point types in case of an integer argument.
6991 * sysdeps/i386/fpu/libm-test-ulps: Update.
6992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6993
23776487
JM
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6995 Don't expect fegetround reference in libm.so.
6996
cb756c6d
MS
69972013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6998
6999 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7000 $(config-cflags-nofma).
7001
2dec468f
JM
70022013-12-18 Joseph Myers <joseph@codesourcery.com>
7003
5953eb3a
JM
7004 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7005 * math/auto-libm-test-out: Regenerated.
7006
2dec468f
JM
7007 [BZ #16338]
7008 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7009 to determine exponent and adjust argument to have exponent of -1.
7010 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7011 log2.
7012 * math/auto-libm-test-out: Regenerated.
7013 * sysdeps/i386/fpu/libm-test-ulps: Update.
7014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7015
4d84e6ad
OB
70162013-12-18 Ondřej Bílka <neleai@seznam.cz>
7017
7018 * manual/probes.texi: Remove cases when per-thread arenas are
7019 disabled.
7020
1818483b
AS
70212013-12-18 Andreas Schwab <schwab@suse.de>
7022
7023 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7024 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7025 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7026 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7027 * sysdeps/i386/i686/multiarch/Makefile: Update.
7028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7029
25de95bf
JM
70302013-12-17 Joseph Myers <joseph@codesourcery.com>
7031
7032 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7033 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7034
674762d9
PE
70352013-12-17 Paul Eggert <eggert@cs.ucla.edu>
7036
ed27ed83 7037 [BZ #15968]
0748546f
PE
7038 Support TZ transition times < 00:00:00.
7039 This is needed for version-3 tz-format files; it supports time
7040 stamps past 2037 for America/Godthab (the only entry in the tz
7041 database for which this change is relevant).
7042 * manual/time.texi (TZ Variable): Document transition times
7043 from -167:59:59 through -00:00:01.
7044 * time/tzset.c (tz_rule): Time of day is now signed.
7045 (__tzset_parse_tz): Parse negative time of day.
7046
4480e934
PE
7047 Document TZ transition times >= 25:00:00.
7048 * manual/time.texi (TZ Variable): Document transition times from
7049 25:00:00 through 167:59:59. These are already supported, and this
7050 support will help with version-3 tz-format files.
7051
69947401
PE
7052 * manual/time.texi (TZ Variable): Modernize North America example
7053 to reflect current (i.e., 2007-and-later) daylight saving rules.
7054
674762d9
PE
7055 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7056
7011c262
JM
70572013-12-17 Joseph Myers <joseph@codesourcery.com>
7058
2fc6557e
JM
7059 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7060 * sysdeps/unix/bsd/bits/stat.h: Likewise.
7061 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7062 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7063 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7064 * sysdeps/unix/bsd/bsdstat.h: Likewise.
7065 * sysdeps/unix/bsd/clock.c: Likewise.
7066 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7067 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7068 * sysdeps/unix/bsd/init-posix.c: Likewise.
7069 * sysdeps/unix/bsd/poll.c: Likewise.
7070 * sysdeps/unix/bsd/ptsname.c: Likewise.
7071 * sysdeps/unix/bsd/seekdir.c: Likewise.
7072 * sysdeps/unix/bsd/setegid.c: Likewise.
7073 * sysdeps/unix/bsd/seteuid.c: Likewise.
7074 * sysdeps/unix/bsd/setgid.c: Likewise.
7075 * sysdeps/unix/bsd/setrgid.c: Likewise.
7076 * sysdeps/unix/bsd/setruid.c: Likewise.
7077 * sysdeps/unix/bsd/setsid.c: Likewise.
7078 * sysdeps/unix/bsd/setuid.c: Likewise.
7079 * sysdeps/unix/bsd/sigaction.c: Likewise.
7080 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7081 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7082 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7083 * sysdeps/unix/bsd/telldir.c: Likewise.
7084 * sysdeps/unix/bsd/times.c: Likewise.
7085 * sysdeps/unix/bsd/usleep.c: Likewise.
7086
029c7b25
JM
7087 * misc/Makefile (install-lib): Remove libbsd-compat.a.
7088 ($(objpfx)libbsd-compat.a): Remove rule.
7089
7011c262
JM
7090 * include/features.h (__FAVOR_BSD): Do not define.
7091 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7092 features conflicting with POSIX.
7093 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7094 (_BSD_SOURCE): Remove description of not being a subset of other
7095 feature test macros.
7096 * manual/job.texi (getpgrp): Do not document BSD version.
7097 (getpgid): Do not document by reference to BSD getpgrp.
7098 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7099 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7100 * signal/signal.h [__FAVOR_BSD]: Likewise.
7101 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7102 instead of making contents conditional on [__FAVOR_BSD].
7103 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7104
affb6f78
AZ
71052013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7106
7107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7108
c88769dd
JM
71092013-12-17 Joseph Myers <joseph@codesourcery.com>
7110
6432a540
JM
7111 [BZ #16314]
7112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7113 values below 2**-450, not 2**-500.
7114 * math/auto-libm-test-in: Don't allow spurious underflow from
7115 hypot.
7116 * math/auto-libm-test-out: Regenerated.
7117
c88769dd
JM
7118 [BZ #16316]
7119 [BZ #16330]
7120 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7121 values of ha and hb and sort them after adjusting subnormal
7122 arguments.
7123 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7124 Likewise.
7125 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7126 values of ea and eb and sort them after adjusting subnormal
7127 arguments.
7128 * math/auto-libm-test-in: Do not expect some hypot tests of
7129 subnormals to fail. Add more hypot tests.
7130 * math/auto-libm-test-out: Regenerated.
7131
29618f6b
KK
71322013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7133
7134 [BZ #13304]
7135 * sysdeps/sh/s_fma.c: New file.
7136 * sysdeps/sh/s_fmaf.c: New file.
7137 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
7138 version.
7139 * sysdeps/sh/Implies: Add sh/soft-fp.
7140
eacfdfbf
RM
71412013-12-16 Roland McGrath <roland@hack.frob.com>
7142
7143 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
7144 level of indirection to members `objname', `errstring', `malloced'.
7145 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7146 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
7147 it as the __longjmp argument (just pass 1 instead).
7148 (_dl_catch_error): Initialize C with argument pointers and address of
7149 volatile local ERRCODE rather than copying values out of C at return.
7150
ff362e5b
JM
71512013-12-16 Joseph Myers <joseph@codesourcery.com>
7152
7153 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7154 * math/auto-libm-test-out: Regenerated.
7155 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7156 (hypot_test_data): Likewise.
7157 (pow_test_data): Likewise.
7158 (pow_tonearest_test_data): Likewise.
7159 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7160 mpfr_ff_f.
7161 (func_calc_desc): Add mpfr_ff_f union field.
7162 (FUNC_mpfr_ff_f): New macro.
7163 (test_functions): Add atan2, hypot and pow.
7164 (special_fill_min): New function.
7165 (special_fill_minus_min): Likewise.
7166 (special_fill_min_subnorm): Likewise.
7167 (special_fill_minus_min_subnorm): Likewise.
7168 (special_real_inputs): Add min, -min, min_subnorm and
7169 -min_subnorm.
7170 (calc_generic_results): Handle mpfr_ff_f.
7171 * sysdeps/i386/fpu/libm-test-ulps: Update.
7172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7173
5764c27f
WN
71742013-12-16 Will Newton <will.newton@linaro.org>
7175
7176 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7177 (Aligned Memory Blocks): Add documentation for aligned_alloc
7178 and suggest it as an alternative to posix_memalign.
7179 (Hooks for Malloc): Document __memalign_hook is also called
7180 for aligned_alloc. (Summary of Malloc): Add summary for
7181 aligned alloc. Document __memalign_hook is also called
7182 for aligned_alloc.
7183
0a096e44
WN
71842013-12-16 Will Newton <will.newton@linaro.org>
7185
7186 * manual/memory.texi (Malloc Examples): Clarify default
7187 alignment documentation. Suggest posix_memalign rather
7188 than memalign or valloc.
7189 (Aligned Memory Blocks): Remove suggestion to use memalign
7190 or valloc. Remove obsolete comment about BSD.
7191 Document memalign errno values and mark the function obsolete.
7192 Document posix_memalign returned error codes. Mark valloc
7193 as obsolete. (Hooks for Malloc): __memalign_hook is also
7194 called for posix_memalign and valloc.
7195 (Summary of Malloc): Add posix_memalign to function summary.
7196 __memalign_hook is also called for posix_memalign and valloc.
7197
8d561986
SP
71982013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7199
7200 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7201 TAYLOR_SIN.
7202 (__sin): Adjust.
7203 (__cos): Likewise.
7204 (sloww): Use mynumber union. Expand ternary operator into
7205 if-else statements.
7206 (cslow): use mynumber union.
7207
73616a74
AM
72082013-12-16 Allan McRae <allan@archlinux.org>
7209
9e8ac24b
AM
7210 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7211 * configure: Regenerated.
7212
6f8e37eb
AM
7213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7214
8894bad3
AM
7215 [BZ #14120]
7216 * configure.ac: Added --enable-maintainer-mode. Check for
7217 autoconf when enabled.
7218 * configure: Regenerated.
7219
73616a74
AM
7220 * nscd/nscd.service: New file.
7221 * nscd/nscd.tmpfiles: New file.
7222
584b18eb
OB
72232013-12-14 Ondřej Bílka <neleai@seznam.cz>
7224
7225 [BZ #12100]
7226 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7227 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7228 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7229 (strstr): Add __strstr_sse2_unaligned ifunc.
7230 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7231 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7232 (strcasestr): Remove __strcasestr_sse42 ifunc.
7233 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7234 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7236
8a5c7897
KK
72372013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7238
7239 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7240 * sysdeps/sh/bits/fenv.h: ... here.
7241 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7242
fd712ef3
AZ
72432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7244
7245 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7246
42fcb46c
AZ
7247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7248 hypotf multiarch implementations.
7249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7250 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7252 multiarch hypot for PPC64.
7253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7254 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7256 multiarch hypotf for PPC64.
7257
83efded4
AZ
7258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7259 modff multiarch implementations.
7260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7263 multiarch modf for PPC64.
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7267 multiarch modff for PPC64.
7268
43e246d2
AZ
7269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7270 and logl multiarch implementations.
7271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7274 multiarch logb for PPC64.
7275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7278 multiarch logb for PPC64.
7279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7282 multiarch logb for PPC64.
7283
8fdad123
AZ
7284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7285 isinff multiarch implementation.
7286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7287 file.
7288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7290 multiarch isinf for PPC64.
7291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7292 file.
7293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7294 multiarch isinff for PPC64.
7295
1481d706
AZ
7296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7297 finitef multiarch implementation.
7298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7299 file.
7300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7302 multiarch finite for PPC64.
7303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7304 file.
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7306 multiarch finitef for PPC64.
7307
5ccd5fc8
AZ
7308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7309 lrint multiarch implementation.
7310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7311 file.
7312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7314 multiarch llrint for PPC64.
7315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7316 multiarch lrint for PPC64.
7317
2568f3fa
AZ
7318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7319 copysignf multiarch implementation.
7320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7321 file.
7322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7323 file.
7324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7325 multiarch copysign for PPC64.
7326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7327 multiarch copysignf for PPC64.
7328
1cb341fd
AZ
7329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7330 multiarch implementation.
7331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7332 file.
7333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7334 file.
7335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7336 file.
7337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7338 file.
7339 multiarch llround for PPC64.
7340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7341 multiarch trunc for PPC64.
7342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7343 multiarch truncf for PPC64.
7344
59a3e194
AZ
7345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7346 multiarch implementation.
7347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7348 file.
7349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7350 file.
7351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7352 file.
7353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7354 file.
7355 multiarch llround for PPC64.
7356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7357 multiarch round for PPC64.
7358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7359 multiarch roundf for PPC64.
7360
357fd3b4
AZ
7361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7362 multiarch implementation.
7363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7364 file.
7365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7366 file.
7367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7368 file.
7369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7370 file.
7371 multiarch llround for PPC64.
7372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7373 multiarch floor for PPC64.
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7375 multiarch floorf for PPC64.
7376
96770f12
AZ
7377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7378 multiarch implementation.
7379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7380 file.
7381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7382 file.
7383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7384 file.
7385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7386 file.
7387 multiarch llround for PPC64.
7388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7389 multiarch ceil for PPC64.
7390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7391 multiarch ceilf for PPC64.
7392
c3627f6e
AZ
7393 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7394 multiarch implementation.
7395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7396 file.
7397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7398 file.
7399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7400 file.
7401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7402 multiarch llround for PPC64.
7403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7404 multiarch lround for PPC64.
7405
b2284ad7
AZ
7406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7407 multiarch implementation.
7408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7411 file.
7412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7415 multiarch isnan for PPC64.
7416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7417 multiarch isnanf for PPC64.
7418
69bbc63d
AZ
7419 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7420 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7421 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7422 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7423 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7425
c24517c9
AZ
7426 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7430
a52374e8
AZ
7431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7432 multiarch implementations.
7433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7434 (__libc_ifunc_impl_list): Likewise.
7435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7436 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7438 multiarch stpcpy for PPC64.
7439
7f5ec113
AZ
7440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7441 multiarch implementations.
7442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7443 (__libc_ifunc_impl_list): Likewise.
7444 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7445 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7446 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7447 multiarch strcpy for PPC64.
7448
e28bcd42
AZ
7449 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7450 redefine function name.
7451 (_wordcopy_fwd_dest_aligned): Likewise.
7452 (_wordcopy_bwd_aligned): Likewise.
7453 (_wordcopy_bwd_dest_aligned): Likewise.
7454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7455 multiarch implementations.
7456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7457 (__libc_ifunc_impl_list): Likewise.
7458 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7462 multiarch wcscpy for PPC64.
7463
92cacfce
AZ
7464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7465 multiarch implementations.
7466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7467 (__libc_ifunc_impl_list): Likewise.
7468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7472 multiarch wcscpy for PPC64.
7473
7b714620
AZ
7474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7475 multiarch implementations.
7476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7477 (__libc_ifunc_impl_list): Likewise.
7478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7482 multiarch wcsrchr for PPC64.
7483
16fd2ae3
AZ
7484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7485 multiarch implementations.
7486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7487 (__libc_ifunc_impl_list): Likewise.
7488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7489 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7491 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7492 multiarch wcschr for PPC64.
7493
9ee2969b
AZ
7494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7495 multiarch implementations.
7496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7497 (__libc_ifunc_impl_list): Likewise.
7498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7501 multiarch strchrnul for PPC64.
7502
372dc060
AZ
7503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7504 implementations.
7505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7506 (__libc_ifunc_impl_list): Likewise.
7507 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7508 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7509 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7510 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7511 strchr for PPC64.
7512
24c2c3b9
AZ
7513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7514 implementations.
7515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7516 (__libc_ifunc_impl_list): Likewise.
7517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7518 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7520 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7521 strncmp for PPC64.
7522
1c92d9a0
AZ
7523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7524 multiarch implementations.
7525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7526 (__libc_ifunc_impl_list): Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7528 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7529 strncasecmp for PPC64.
7530 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7531 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7532 multiarch strncasecmp_l for PPC64.
7533
17de3ee3
AZ
7534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7535 multiarch implementations.
7536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7537 (__libc_ifunc_impl_list): Likewise.
7538 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7540 multiarch strcasecmp for PPC64.
7541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7542 file.
7543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7544 multiarch strcasecmp_l for PPC64.
7545
62982bf9
AZ
7546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7547 implementations.
7548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7549 (__libc_ifunc_impl_list): Likewise.
7550 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7551 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7552 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7553 strnlen for PPC64.
7554
a65f4904
AZ
7555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7556 implementations.
7557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7558 (__libc_ifunc_impl_list): Likewise.
7559 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7560 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7561 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7562 strlen for PPC64.
7563
1fd005ad
AZ
7564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7565 implementations.
7566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7567 (__libc_ifunc_impl_list): Likewise.
7568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7569 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7571 rawmemrchr for PPC64.
7572
cd05ba91
AZ
7573 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7574 implementation.
7575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7576 (__libc_ifunc_impl_list): Likewise.
7577 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7578 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7579 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7580 memrchr for PPC64.
7581
870f8676
AZ
7582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7583 implementation.
7584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7585 (__libc_ifunc_impl_list): Likewise.
7586 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7587 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7588 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7589 memchr for PPC64.
7590
f00be62b
AZ
7591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7592 implementation.
7593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7594 (__libc_ifunc_impl_list): Likewise.
7595 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7596 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7598 mempcpy for PPC64.
7599
8a29a3d0
AZ
7600 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7601 avoid cretion of __bzero symbol.
7602 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7603 Likewise.
7604 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7605 Likewise.
7606 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7607 Likewise.
7608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7609 multiarch implementations.
7610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7611 (__libc_ifunc_impl_list): Likewise.
7612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7613 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7616 bzero for PPC32.
7617 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7618 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7619 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7620 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7621 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7622 memset for PPC64.
7623 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7624
07253fcf
AZ
7625 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7627 implementations.
7628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7629 (__libc_ifunc_impl_list): Likewise.
7630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7631 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7633 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7634 memcmp for PPC64.
7635
b5beafbc
AZ
7636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7637 multiarch for POWER/PPC64.
7638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7639 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7640 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7641 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7646 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7647 memcpy for PPC64.
7648
5e6a4d4b
AZ
7649 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7650 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7651 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7652 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7653 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7654 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7655 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7656 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7657 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7658 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7659 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7660 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7661 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7662 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7663 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7671
ddfab6dc
KK
76722013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7673
7674 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7675
19b5525e
SP
76762013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7677
7678 * benchtests/Makefile (bench): Add exp2 and log2.
7679 (LDLIBS-bench-exp2): Add -lm.
7680 (LDLIBS-bench-log2): Likewise.
7681 * benchtests/exp2-inputs: New inputs file.
7682 * benchtests/log2-inputs: New inputs file.
7683 * benchtests/log-inputs: Add new inputs.
7684 * benchtests/tan-inputs: Likewise.
7685
196f7f5d
SP
76862013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7687
7a74607f
SP
7688 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7689 definition...
57f41c40
AS
7690 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7691 (csloww2): ... from here.
7a74607f 7692
196f7f5d
SP
7693 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7694 instead of structures.
7695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7696 (POLYNOMIAL): Likewise.
7697 (TAYLOR_SLOW): Likewise.
7698 (__sin): Likewise.
7699 (__cos): Likewise.
7700 (slow1): Likewise.
7701 (slow2): Likewise.
7702 (sloww): Likewise.
7703 (sloww1); Likewise.
7704 (sloww2): Likewise.
7705 (bsloww1): Likewise.
7706 (bsloww2): Likewise.
7707 (cslow2): Likewise.
7708 (csloww): Likewise.
7709 (csloww1): Likewise.
7710 (csloww2): Likewise.
7711
0dfa665c
OB
77122013-12-10 Ondřej Bílka <neleai@seznam.cz>
7713
7714 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
7715 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7716 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
7717 * malloc/hooks.c (realloc_check): Likewise.
7718
5782a80f
OB
7719 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7720 * malloc/arena.c: Remove PER_THREAD conditional.
7721 [!PER_THREAD]: Remove code.
7722 (ptmalloc_unlock_all2): Likewise.
7723 (ptmalloc_init): Likewise.
7724 (_int_new_arena): Likewise.
7725 (arena_get2): Likewise.
7726 * malloc/hooks.c (__malloc_get_state): Likewise.
7727 (__malloc_set_state): Likewise.
7728 * malloc/malloc.c: Likewise.
7729 (struct malloc_state): Likewise.
7730 (struct malloc_par): Likewise.
7731 (__libc_realloc): Likewise.
7732 (__libc_mallopt): Likewise.
7733
aeb95445
AZ
77342013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7735
7736 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7737
e8349efd
OB
77382013-12-09 Ondřej Bílka <neleai@seznam.cz>
7739
7740 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7741 macro to a function. Check for zero perturb_byte.
7742 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7743
f3eeb3fc 7744 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
7745 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7746 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
7747 force_reg by atomic_forced_read.
7748 * malloc/arena.c (ptmalloc_init): Likewise.
7749 * malloc/hooks.c (top_check): Likewise.
7750
be2f9009
AZ
77512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7752
7753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7754
e7b914bd
MT
77552013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7756
7757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7758
9f0be4f8
JM
77592013-12-08 Joseph Myers <joseph@codesourcery.com>
7760
7761 * math/auto-libm-test-in: Add tests of lgamma.
7762 * math/auto-libm-test-out: Regenerated.
7763 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7764 (M_LOG_2_SQRT_PIl): Likewise.
7765 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7767 mpfr_f_f1.
7768 (func_calc_desc): Add mpfr_f_f1 union field.
7769 (ARGS1): New macro.
7770 (ARGS2): Likewise.
7771 (ARGS3): Likewise.
7772 (ARGS4): Likewise.
7773 (RET1): Likewise.
7774 (RET2): Likewise.
7775 (CALC): Likewise.
7776 (FUNC): Likewise.
7777 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7778 (test_functions): Add lgamma.
7779 (calc_generic_results): Handle mpfr_f_f1.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782
24eeafdb
AZ
77832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7784
7785 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7786 __mpn_add_n for PowerPC64/POWER7.
7787 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7788 __mpn_sub_n for PowerPC64/POWER7.
7789
4a2c0fd4
AZ
7790 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7791 __mpn_addmul_1 for PowerPC64.
7792 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7793 __mpn_submul_1 for PowerPC64.
7794 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7795 for PowerPC64.
7796 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7797 for PowerPC64.
7798
4b5b548c
FS
77992013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7800
7801 [BZ #15089]
7802 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7803
0a3ac0aa
AZ
78042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7805
7806 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7807
ccdc8438
AZ
7808 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7809 add multiarch folders.
7810 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7811 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7812 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7813 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7814 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7815 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7816 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7817 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7818 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7819 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7820 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7827
2e973d99
AZ
7828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7829 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7831 New file.
7832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7833 New file.
7834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7835 multiarch __ieee754_hypot for PowerPC32.
7836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7837 New file.
7838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7839 New file.
7840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7841 multiarch __ieee754_hypotf for PowerPC32.
7842
2d9470b2
AZ
7843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7844 long_double_symbol only if __logbl is defined.
7845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7846 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7848 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7850 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7852 path for implementation.
7853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7854 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7856 logb, and logbl multiarch implementations for PowerPC32.
7857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7858 file.
7859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7860 file.
7861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7862 multiarch logb for PowerPC32.
7863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7864 file.
7865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7866 file.
7867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7868 multiarch logbf for PowerPC32.
7869 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7871 file.
7872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7873 multiarch logbl implementation for PowerPC32.
7874
5212ffce
AZ
7875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7876 and modff multiarch implementations.
7877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7878 New file.
7879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7880 New file.
7881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7882 multiarch modf for PowerPC32.
7883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7884 New file.
7885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7886 New file.
7887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7888 multiarch modff for PowerPC32.
7889
79dccf31
AZ
7890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7891 and lrintf multiarch implementations.
7892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7893 New file.
7894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7895 New file.
7896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7897 multiarch lrint for PowerPC32.
7898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7899 file: multiarch lrintf for PowerPC32.
7900
deb66480
AZ
7901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7902 and lroundf multiarch implementations.
7903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7904 New file.
7905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7906 New file.
7907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7908 New file.
7909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7910 multiarch lround for PowerPC32.
7911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7912 file: multiarch lroundf for PowerPC32.
7913
264b036b
AZ
7914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7915 copysign and copysignf multiarch implementations.
7916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7917 New file.
7918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7919 New file.
7920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7921 file: multiarch copysign for PowerPC32.
7922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7923 file: multiarch copysignf for PowerPC32.
7924
d47db6c9
AZ
7925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7926 and truncf multiarch implementations.
7927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7928 New file.
7929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7930 file.
7931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7932 multiarch trunc for PowerPC32.
7933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7934 New file.
7935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7936 New file.
7937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7938 multiarch truncf for PowerPC32.
7939
ddb60b5a
AZ
7940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7941 and roundf multiarch implementations.
7942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7943 New file.
7944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7945 file.
7946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7947 multiarch round for PowerPC32.
7948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7949 New file.
7950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7951 New file.
7952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7953 multiarch roundf for PowerPC32.
7954
bedcf49b
AZ
7955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7956 and floorf multiarch implementations.
7957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7958 New file.
7959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7960 file.
7961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7962 multiarch floor for PowerPC32.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7964 New file.
7965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7966 New file.
7967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7968 multiarch floorf for PowerPC32.
7969
35ae5b40
AZ
7970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7971 and ceilf multiarch implementations.
7972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7973 New file.
7974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7975 file.
7976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7977 multiarch ceil for PowerPC32.
7978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7979 New file.
7980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7981 file.
7982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7983 multiarch ceilf for PowerPC32.
7984
ae1a4cd9
AZ
7985 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7986 is defined.
7987 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7988 FINITEF is defined.
7989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7990 and finitef multiarch implementations.
7991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7992 New file.
7993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7994 file.
7995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7996 multiarch finite for PowerPC32.
7997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7998 New file.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8000 file: multiarch finitef for PowerPC32.
8001
64fffd65
AZ
8002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8003 and isinff multiarch implementations.
8004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8005 file.
8006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8007 file.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8009 multiarch isinf for PowerPC32.
8010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8011 New file.
8012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8013 multiarch isinff for PowerPC32.
8014
8e4e7ba2
AZ
8015 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8016 alias when __isnan is defined.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8018 and isnanf multiarch implementations.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8020 file.
8021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8022 file.
8023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8024 file.
8025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8026 file.
8027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8028 multiarch isnan for PowerPC32.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8030 New file.
8031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8032 New file.
8033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8034 multiarch isnanf for PowerPC32.
8035
ddba588e
AZ
8036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8037 and sqrtf multiarch implementations.
8038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8039 file.
8040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8041 file.
8042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8043 multiarch sqrt for PowerPC32.
8044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8045 file.
8046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8047 file.
8048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8049 multiarch sqrtf for PowerPC32.
8050
0f96a2f0
AZ
8051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8052 and llroundf multiarch implementations.
8053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8054 New file.
8055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8056 New file.
8057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8058 New file.
8059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8060 file: multiarch llround for PowerPC32.
8061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8062 file: multiarch llroundf for PowerPC32.
8063
c9b5d79e
AZ
8064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8065 multiarch PowerPC32 fpu implementations.
8066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8067 New file.
8068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8069 New file.
8070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8071 multiarch llrint for PowerPC32.
8072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8073 New file.
8074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8075 New file.
8076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8077 file.
8078
9cbb3aab
AZ
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8080
ea5a72f8
AZ
8081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8082 file.
8083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8084 file.
8085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8086 file.
8087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8088 multiarch wordcopy for PPC32.
8089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8090 wordcopy objects.
8091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8092 (__libc_ifunc_impl_list): Likewise.
8093 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8094 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8096 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8098 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8099
93be09e7
AZ
8100 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8102 file.
8103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8104 file.
8105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8106 file.
8107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8108 multiarch wcscpy for PPC32.
8109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8110 multiarch objects.
8111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8112 (__libc_ifunc_impl_list): Likewise.
8113 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8114 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8115 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8116 sysdeps/powerpc/power6/wcscpy.c.
8117
bb04e529
AZ
8118 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8120 file.
8121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8122 file.
8123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8124 file.
8125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8126 multiarch wcsrchr for PPC32.
8127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8128 multiarch objects.
8129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8130 (__libc_ifunc_impl_list): Likewise.
8131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8132 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8133 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8134 sysdeps/powerpc/power6/wcsrchr.c.
8135
05b5cd1c
AZ
8136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8137 file.
8138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8139 file.
8140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8142 multiarch wcschr for PPc32.
8143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8144 multiarch objects.
8145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8146 (__libc_ifunc_impl_list): Likewise.
8147 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8148 * sysdeps/powerpc/power6/wcschr.c: ... to here.
8149 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8150 sysdeps/powerpc/power6/wcschr.c.
8151
ba964147
AZ
8152 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8153 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8154 file.
8155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8156 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8157 file: multiarch strchr for PPC32.
8158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8159 multiarch objects.
8160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8161 (__libc_ifunc_impl_list): Likewise.
8162
31c81aaa
AZ
8163 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8164 name.
8165 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8166 file.
8167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8168 file.
8169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8170 multiarch strchrnul for PPC32.
8171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8172 multiarch objects.
8173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8174 (__libc_ifunc_impl_list): Likewise.
8175
0d0607d9
AZ
8176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8177 file.
8178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8179 multiarch strncasecmp for PPC32.
8180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8181 file.
8182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8183 multiarch strncasecmp_l for PPC32.
8184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8185 strncasecmp multiarch objects.
8186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8187 (__libc_ifunc_impl_list): Likewise.
8188
4dfd5c86
AZ
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8190 file.
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8192 multiarch strncasecmp for PPC32.
8193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8194 New file.
8195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8196 multiarch strcasecmp_l for PPC32.
8197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8198 multiarch objects.
8199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8200 (__libc_ifunc_impl_list): Likewise.
8201
a19e01a3
AZ
8202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8203 file.
8204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8205 file.
8206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8207 multiarch strncmp for PPC32.
8208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8209 multiarch objects.
8210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8211 (__libc_ifunc_impl_list): Likewise.
8212
ae9cf7a2
AZ
8213 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8214 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8215 file.
8216 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8217 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8219 multiarch objects.
8220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8221 (__libc_ifunc_impl_list): Likewise.
8222
3148bb7d
AZ
8223 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8224 file.
8225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8226 file.
8227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8228 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8229 multiarch objects.
8230 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8231 (__libc_ifunc_impl_list): Likewise.
8232
7af8b946
AZ
8233 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8234 file.
8235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8236 file.
8237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8238 multiarch rawmemchr for PPC32.
8239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8240 multiarch objects.
8241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8242 (__libc_ifunc_impl_list): Likewise.
8243
03a6aa6a
AZ
8244 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8245 file.
8246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8247 file.
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8249 file: memrchr multiarch for PPC32.
8250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8251 multiarch objects.
8252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8253 (__libc_ifunc_impl_list): Likewise.
8254
1c62e6d9
AZ
8255 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8257 file.
8258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8260 multiarch memchr for PPC32.
8261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8262 multiarch objects.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8264 (__libc_ifunc_impl_list): Likewise.
8265
87da8bdb
AZ
8266 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8268 file.
8269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8270 file.
8271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8272 file: multiarch mempcpy for PPC32.
8273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8274 multiarch objects.
8275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8276 (__libc_ifunc_impl_list): Likewise.
8277
20ed4714
AZ
8278 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8282 multiarch bzero for PPC32.
8283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8284 file.
8285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8286 file.
8287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8288 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8289 file: multiarch memset for PPC32.
8290 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8292 memset multiarch objects.
8293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8294 (__libc_ifunc_impl_list): Likewise.
8295
ab3e3a46
AZ
8296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8297 file.
8298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8300 memcmp for PPC32.
8301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8303 multiarch objects.
8304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8305 (__libc_ifunc_impl_list): Likewise.
8306
930de6f0
AZ
8307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8310 file.
8311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8312 file.
8313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8314 file.
8315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8316 multiarch memcpy for PPC32.
8317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8318 multiarch objects.
8319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8320 (__libc_ifunc_impl_list): Likewise.
8321
4c628e00
AZ
8322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8323 support multiarch for POWER/PPC32.
8324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8325 Likewise.
8326 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8328 Implies file to make multiarch folder appers before the fpu and
8329 default folder for power4 configuration.
8330
f4479220
SP
83312013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8332
8333 * scripts/bench.pl: Append volatile keyword to type.
8334
8517800f
KK
83352013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8336
8337 * sysdeps/sh/sotruss-lib.c: New file.
8338 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8339
180138f1
AZ
83402013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8343
bbf37bdc
JM
83442013-12-05 Joseph Myers <joseph@codesourcery.com>
8345
e47cc4e0
JM
8346 [BZ #6810]
8347 * math/w_tgamma.c: Include <errno.h>.
8348 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8349 * math/w_tgammaf.c: Include <errno.h>.
8350 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8351 * math/w_tgammal.c: Include <errno.h>.
8352 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8353 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8354 underflow. Add more tgamma tests.
8355 * math/auto-libm-test-out: Regenerated.
8356 * sysdeps/i386/fpu/libm-test-ulps: Update.
8357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8358
bbf37bdc
JM
8359 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8360 sin, sinh, tan, tanh, tgamma, y0 and y1.
8361 * math/auto-libm-test-out: Regenerated.
8362 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8363 (TEST_COND_x86): Likewise.
8364 (M_E2l): Remove macro.
8365 (M_E3l): Likewise.
8366 (M_2_SQRT_PIl): Likewise.
8367 (M_SQRT_PIl): Likewise.
8368 (M_1_DIV_El): Likewise.
8369 (log_test_data): Use AUTO_TESTS_f_f.
8370 (log10_test_data): Likewise.
8371 (log1p_test_data): Likewise.
8372 (log2_test_data): Likewise.
8373 (sin_test_data): Likewise.
8374 (sin_tonearest_test_data): Likewise.
8375 (sin_towardzero_test_data): Likewise.
8376 (sin_downward_test_data): Likewise.
8377 (sin_upward_test_data): Likewise.
8378 (sinh_test_data): Likewise.
8379 (sinh_tonearest_test_data): Likewise.
8380 (sinh_towardzero_test_data): Likewise.
8381 (sinh_downward_test_data): Likewise.
8382 (sinh_upward_test_data): Likewise.
8383 (tan_test_data): Likewise.
8384 (tan_tonearest_test_data): Likewise.
8385 (tan_towardzero_test_data): Likewise.
8386 (tan_downward_test_data): Likewise.
8387 (tan_upward_test_data): Likewise.
8388 (tanh_test_data): Likewise.
8389 (tgamma_test_data): Likewise.
8390 (y0_test_data): Likewise.
8391 (y1_test_data): Likewise.
8392 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8393 (special_real_inputs): Add pi/4.
8394 * sysdeps/i386/fpu/libm-test-ulps: Update.
8395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396
eb5ad6b9
AZ
83972013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8398
8399 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8400 "longjmp_target" static probes.
8401 (__longjmp): Rename to __longjmp_symbol.
8402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8403 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8404 on which longjmp to generate.
8405 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8407 probe.
8408 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8409 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8410 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8411 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8412 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8413 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8415 __longjmp_symbol based on which __longjmp to generate.
8416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8417 probe.
8418 (setjmp): Rename to setjmp_symbol.
8419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8420 (_setjmp): Rename to _setjmp_symbol.
8421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8422 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8423 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8424 which setjmp to generate.
8425 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8426 "longjmp_target" static probes.
8427
d136c6dc
SP
84282013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8429
9298ecba
SP
8430 * benchtests/README: Add note about output arguments.
8431 * benchtests/bench-sincos.c: Remove file.
8432 * benchtests/sincos-inputs: New file.
8433 * scripts/bench.pl: Identify output arguments and define
8434 static variables for them.
8435
232983e9
SP
8436 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8437
d136c6dc
SP
8438 [BZ #15941]
8439 * Makefile (INSTALL): Add install-plain.texi as the primary
8440 dependency.
8441 * manual/install-plain.texi: New file.
8442 * manual/install.texi: Include node directive only for
8443 non-plaintext output.
8444
699ff837
JM
84452013-12-04 Joseph Myers <joseph@codesourcery.com>
8446
ab07cea8
JM
8447 * stdlib/longlong.h: Update from GCC.
8448
699ff837
JM
8449 [BZ #6807]
8450 [BZ #15901]
8451 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8452 * math/w_j0f.c (y0f): Likewise.
8453 * math/w_j0l.c (__y0l): Likewise.
8454 * math/w_j1.c (y1): Likewise.
8455 * math/w_j1f.c (y1f): Likewise.
8456 * math/w_j1l.c (__y1l): Likewise
8457 * math/w_jn.c (yn): Likewise.
8458 * math/w_jnf.c (ynf): Likewise.
8459 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8460 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8461 value for Bessel function domain errors outside _SVID_ mode.
8462 Adjust sign of return value for yn (negative integer, 0).
8463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8464 by zero in return for negative x and set sign appropriately for
8465 negative n.
8466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8468 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8469 expectations in error cases.
8470 (y1_test_data): Likewise.
8471 (yn_test_data): Likewise.
8472 * sysdeps/i386/fpu/libm-test-ulps: Update.
8473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8474
5b118558
UW
84752013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8476
8477 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8478 "64" to "64-v1". Add "64-v2".
8479 (abi-64-options): Rename to ...
8480 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8481 (abi-64-condition): Rename to ...
8482 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8483 (abi-64-ld-soname): Rename to ...
8484 (abi-64-v1-ld-soname): ... this.
8485 (abi-64-v2-options): Define.
8486 (abi-64-v2-condition): Likewise.
8487 (abi-64-v2-ld-soname): Likewise.
8488 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8489 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8493
61cd8fe4
UW
84942013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8495 Alan Modra <amodra@gmail.com>
8496
8497 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8498 New versions for use with the ELFv2 ABI.
8499 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8500 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8501 declaration.
8502 (struct La_ppc64v2_retval): Likewise.
8503 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8504 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8505 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8506 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8507 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8509 Do not save or restore CR.
8510 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8511 (_dl_profile_resolve): Do no save or restore CR. Support extended
8512 return values for ELFv2 ABI. Fix location of FPR return registers.
8513 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8514 updated values for _CALL_ELF == 2.
8515 (La_regs, La_retval, int_retval): Likewise.
8516
8b8a692c
UW
85172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8518
8519 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8520 (FRAME_MIN_SIZE_PARM): Likewise.
8521 (FRAME_BACKCHAIN): Likewise.
8522 (FRAME_CR_SAVE): Likewise.
8523 (FRAME_LR_SAVE): Likewise.
8524 (FRAME_TOC_SAVE): Likewise.
8525 (FRAME_PARM_SAVE): Likewise.
8526 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8527 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8528 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8529 (call_mcount_parm_offset): New macro.
8530 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8531 (PROF): Use symbolic stack frame offsets.
8532 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8534 Redefine in terms of FRAME_MIN_SIZE.
8535 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8536 (_dl_profile_resolve): Likewise. Update comment.
8537 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8538 symbols stack frame offsets.
8539 (__sigsetjmp): Likewise.
8540 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8541 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8542 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8543 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8544
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8546 (FRAME_BACKCHAIN): Remove.
8547 (FRAME_CR_SAVE): Likewise.
8548 (FRAME_LR_SAVE): Likewise.
8549 (FRAME_COMPILER_DW): Likewise.
8550 (FRAME_LINKER_DW): Likewise.
8551 (FRAME_TOC_SAVE): Likewise.
8552 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
8553 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8554 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8555 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8557 (CHECK_SP): Use symbolic stack frame offsets.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8559 zone" instead of caller's parameter save area for temp storage.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8561 Likewise. Also, use symbolic stack frame offsets.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8563 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8564 our own stack frame instead of the caller's.
8565 (__socket): Use symbolic stack frame offsets.
8566
122b66de
UW
85672013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8568 Alan Modra <amodra@gmail.com>
8569
8570 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8571 Define.
57f41c40
AS
8572 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8573 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
8574 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8575 New function.
8576 (elf_machine_fixup_plt): Call it.
8577 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8578 reloc arguments.
8579 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
8580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8581 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
8582 r2 before calling target.
8583
696caf1d
UW
85842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8585 Alan Modra <amodra@gmail.com>
8586
8587 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8588 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8589 versions of macros to support ELFv2 ABI.
8590 (LOCALENTRY): New macro.
8591 (ENTRY, EALIGN): Use it.
8592 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8593 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8594 fall through into ENTRY entry point.
8595 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8596 Only define if _CALL_ELF != 2.
8597
8598 (elf_machine_matches_host): Verify ABI version matches.
8599 (RTLD_START): Use LOCALENTRY.
8600 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8601 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8602 (PLT_ENTRY_WORDS): New macro.
8603 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8604 (elf_machine_runtime_setup): Support ELFv2 ABI.
8605 (elf_machine_fixup_plt): Likewise.
8606 (elf_machine_plt_conflict): Likewise.
8607 (resolve_ifunc): Likewise.
8608 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8610 Likewise.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8612 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8614 (makecontext): Support ELFv2 ABI.
8615 * elf/elf.h (EF_PPC64_ABI): Define.
8616
d31beafa
UW
86172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8618
57f41c40
AS
8619 * sysdeps/powerpc/powerpc64/sysdep.h
8620 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8621 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8622 (ENTRY) [ASSEMBLER]: ... but instead here ...
8623 (EALIGN) [ASSEMBLER]: ... and here.
8624 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8625 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8626 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
8627 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8628 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
8629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8630 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
8631 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8633 Use PPC64_LOAD_FUNCPTR.
8634
b525166b
UW
8635 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8636
7ec07d9a
AM
86372013-12-04 Alan Modra <amodra@gmail.com>
8638
8639 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8640 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8641 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8642 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8643
8644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8645 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8646 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8647 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8648 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8649 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8650
5162e7dd
UW
86512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8652
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8654 (__makecontext): Fix incorrect CFI when backtracing out of
8655 context created via makecontext.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8657 (__setcontext): Fix incorrect CFI during switch to new context.
8658 (__novec_setcontext): Likewise.
8659
19e3372b
OB
86602013-12-04 Ondřej Bílka <neleai@seznam.cz>
8661
8662 [BZ #4772]
8663 * time/strptime_l.c (__strptime_internal): Allow modifiers
8664 in strptime.
8665 * time/tst-strptime.c (day_tests): Add testcase.
8666
ecaf142d
SP
86672013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
8669 * scripts/bench.pl: Skip over blank lines.
8670
fbf964ae
PE
86712013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8672
8673 [BZ #926]
8674 * manual/time.texi (Calendar Time): Clarify what timezone functions
8675 use.
8676
fa60a674
AZ
86772013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8678
8679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8680
d674f0ef
OB
86812013-12-04 Ondřej Bílka <neleai@seznam.cz>
8682
8683 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8684 implementation.
8685 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8686 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8687 * debug/memset_chk.c (__memset_chk): Likewise.
8688 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8689 * debug/strncpy_chk.c: Likewise.
8690
17dea188
JM
86912013-12-03 Joseph Myers <joseph@codesourcery.com>
8692
749008ff
JM
8693 [BZ #15268]
8694 [BZ #15425]
8695 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8696 (__ieee754_exp): For possibly underflowing results, check size of
8697 result and force underflow exception if required.
8698 * math/auto-libm-test-in: Add more tests of exp.
8699 * math/auto-libm-test-out: Regenerated.
8700 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8702
17dea188
JM
8703 [BZ #16283]
8704 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8705 * math/w_exp2f.c (__exp2f): Likewise.
8706 * math/w_exp2l.c (__exp2l): Likewise.
8707 * math/auto-libm-test-in: Do not allow missing errno on exp2
8708 underflow.
8709 * math/auto-libm-test-out: Regenerated.
8710
b20de2c3
OB
87112013-12-03 Ondřej Bílka <neleai@seznam.cz>
8712
8713 [BZ #16274]
8714 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8715 handle filename validation.
8716 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8717 (do_open): Delete.
8718
d8e2dbe3
JM
87192013-12-03 Joseph Myers <joseph@codesourcery.com>
8720
34e16df5
JM
8721 [BZ #6786]
8722 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8723 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8724 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8725 <float.h>.
8726 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8731 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8733 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8734 Add more erfc tests.
8735 * math/auto-libm-test-out: Regenerated.
8736 * sysdeps/i386/fpu/libm-test-ulps: Update.
8737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738
d8e2dbe3
JM
8739 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8740 exp2, expm1, j0 and j1.
8741 * math/auto-libm-test-out: Regenerated.
8742 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8743 (erfc_test_data): Likewise.
8744 (exp_test_data): Likewise.
8745 (exp_tonearest_test_data): Likewise.
8746 (exp_towardzero_test_data): Likewise.
8747 (exp_downward_test_data): Likewise.
8748 (exp_upward_test_data): Likewise.
8749 (exp10_test_data): Likewise.
8750 (exp2_test_data): Likewise.
8751 (expm1_test_data): Likewise.
8752 (j0_test_data): Likewise.
8753 (j1_test_data): Likewise.
8754 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8755 (input_flag_type): Add flag_xfail_rounding.
8756 (input_flags): Add xfail-rounding.
8757 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8758 (output_for_one_input_case): Handle flag_xfail_rounding.
8759 * sysdeps/i386/fpu/libm-test-ulps: Update.
8760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8761
18d14251
AJ
87622013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8763
3d2e6075 8764 [BZ #16289]
18d14251
AJ
8765 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8766 division by 0.
8767
520d437b
SP
87682013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8769
8770 [BZ #16195]
8771 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8772 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8773 (STAP_PROBE0): New macro.
8774 (STAP_PROBE1): Likewise.
8775 (STAP_PROBE2): Likewise.
8776 (STAP_PROBE3): Likewise.
8777 (STAP_PROBE4): Likewise.
8778
416e0145
OB
87792013-12-02 Ondřej Bílka <neleai@seznam.cz>
8780
8781 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8782
9d17796a
SE
87832013-12-02 Steve Ellcey <sellcey@mips.com>
8784
8785 * benchtests/Makefile (bench): Add sqrt.
8786 (LDLIBS-bench-sqrt): New.
8787 * benchtests/sqrt-input: New.
8788
f524d6a8
PS
87892013-12-02 Pavel Simerda <psimerda@redhat.com>
8790
639a0ef8
PS
8791 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8792 (GAIH_EAI): Likewise.
8793 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8794 (gaih_inet): Likewise.
8795 (getaddrinfo): Don't use GAIH_EAI.
8796
f524d6a8
PS
8797 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8798 (struct gaih): Remove definition.
8799
df3aedaf
SP
88002013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8801
8802 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8803 Use HERRNOP directly.
8804
1ab19dec
AZ
88052013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8806
b42ad38d 8807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8808
176b0c79
JM
88092013-11-30 Joseph Myers <joseph@codesourcery.com>
8810
8811 * math/gen-auto-libm-tests.c (test_functions): Add more
8812 single-argument functions.
8813 (special_fill_pi_2): New function.
8814 (special_fill_minus_pi_2): Likewise.
8815 (special_fill_pi_6): Likewise.
8816 (special_fill_minus_pi_6): Likewise.
8817 (special_fill_pi_3): Likewise.
8818 (special_fill_2pi_3): Likewise.
8819 (special_fill_e): Likewise.
8820 (special_fill_1_e): Likewise.
8821 (special_fill_e_minus_1): Likewise.
8822 (special_real_inputs): Add more special inputs.
8823 (output_for_one_input_case): Do not require ERANGE on underflow to
8824 zero if round-to-nearest result does not underflow to zero, unless
8825 exact results required.
8826 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8827 atan, atanh, cbrt, cos and cosh.
8828 * math/auto-libm-test-out: Regenerated.
8829 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8830 (acos_tonearest_test_data): Likewise.
8831 (acos_towardzero_test_data): Likewise.
8832 (acos_downward_test_data): Likewise.
8833 (acos_upward_test_data): Likewise.
8834 (acosh_test_data): Likewise.
8835 (asin_test_data): Likewise.
8836 (asin_tonearest_test_data): Likewise.
8837 (asin_towardzero_test_data): Likewise.
8838 (asin_upward_test_data): Likewise.
8839 (asinh_test_data): Likewise.
8840 (atan_test_data): Likewise.
8841 (atanh_test_data): Likewise.
8842 (cbrt_test_data): Likewise.
8843 (cos_test_data): Likewise.
8844 (cos_tonearest_test_data): Likewise.
8845 (cos_towardzero_test_data): Likewise.
8846 (cos_downward_test_data): Likewise.
8847 (cos_upward_test_data): Likewise.
8848 (cosh_test_data): Likewise.
8849 (cosh_tonearest_test_data): Likewise.
8850 (cosh_towardzero_test_data): Likewise.
8851 (cosh_downward_test_data): Likewise.
8852 (cosh_upward_test_data): Likewise.
8853 * sysdeps/i386/fpu/libm-test-ulps: Update.
8854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8855
ffb536d0
JM
88562013-11-29 Joseph Myers <joseph@codesourcery.com>
8857
2a77a467
JM
8858 [BZ #6787]
8859 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8860 * math/w_exp10f.c (__exp10f): Likewise.
8861 * math/w_exp10l.c (__exp10l): Likewise.
8862 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8863 errno settings in existing tests.
8864
ea3bc4e8
JM
8865 [BZ #14032]
8866 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8867 precision control set to double precision.
8868 * sysdeps/i386/fpu/w_sqrt.c: New file.
8869 * math/auto-libm-test-in: Add more tests.
8870 * math/auto-libm-test-out: Update.
8871
0712c9d8
JM
8872 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8873 (sqrt_test_tonearest): New function.
8874 (sqrt_towardzero_test_data): New variable.
8875 (sqrt_test_towardzero): New function.
8876 (sqrt_downward_test_data): New variable.
8877 (sqrt_test_downward): New function.
8878 (sqrt_upward_test_data): New variable.
8879 (sqrt_test_upward): New function.
8880 (main): Call the new functions.
8881
ffb536d0
JM
8882 * math/gen-auto-libm-tests.c: New file.
8883 * math/auto-libm-test-in: Likewise.
8884 * math/auto-libm-test-out: New generated file.
8885 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8886 variables.
8887 (%beautify): Add generated representations of zero.
8888 (top level): Set $auto_input and call parse_auto_input.
8889 (beautify): Remove trailing "f" from hex float constants.
8890 (parse_args): Handle XFAIL_TEST.
8891 (convert_condition): New function.
8892 (or_value): Likewise.
8893 (or_cond_value): Likewise.
8894 (generate_testfile): Handle AUTO_TESTS_* lines.
8895 (parse_auto_input): New function.
8896 * math/libm-test.inc (XFAIL_TEST): New macro.
8897 (ERRNO_UNCHANGED): Update value.
8898 (ERRNO_EDOM): Likewise.
8899 (ERRNO_ERANGE): Likewise.
8900 (IGNORE_RESULT): Likewise.
8901 (TEST_COND_flt_32): New macro.
8902 (TEST_COND_dbl_64): Likewise.
8903 (TEST_COND_ldbl_96_intel): Likewise.
8904 (TEST_COND_ldbl_96_m68k): Likewise.
8905 (TEST_COND_ldbl_128): Likewise.
8906 (TEST_COND_ldbl_128ibm): Likewise.
8907 (TEST_COND_long32): Likewise.
8908 (TEST_COND_long64): Likewise.
8909 (TEST_COND_before_rounding): Likewise.
8910 (TEST_COND_after_rounding): Likewise.
8911 (enable_test): Handle XFAIL_TEST flag.
8912 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8913 with finite results.
8914 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8915 auto-libm-test-out.
8916
acd98a8e
AK
89172013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8918 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8919
8920 [BZ #16214]
8921 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8922 __tls_get_addr_internal instead of __tls_get_offset in order to
8923 avoid GOT pointer dependency. Make rtld export
8924 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8925 __tls_get_addr since we are a __tls_get_offset platform.
8926 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8927 GOT pointer being set up before.
8928 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8929
3c1c46a6
JM
89302013-11-28 Joseph Myers <joseph@codesourcery.com>
8931
7475aef5
JM
8932 * manual/math.texi (Errors in Math Functions): Document accuracy
8933 goals.
8934
8bca7cd8
JM
8935 [BZ #15004]
8936 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8937 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8938 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8942 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8945 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8946 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8952
91a1f3fe
JM
8953 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8954 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8955 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8956 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8958 Likewise.
8959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8960 Likewise.
8961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8962 Likewise.
8963 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8964 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8965 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8966 atomic-feupdateenv and flt-rounds.
8967 * sysdeps/powerpc/nofpu/Versions (libc): Add
8968 __atomic_feholdexcept, __atomic_feclearexcept,
8969 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8970 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8971 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8973 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8974 here.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8976 Update.
8977
c5df7609
JM
8978 * manual/arith.texi (FP Exceptions): Document that exceptions may
8979 not be raised when matherr is used.
8980 (Math Error Reporting): Document overflow in directed rounding
8981 modes. Document that errno may not be set when finite values are
8982 returned on overflow. Document intent to set errno on underflow
8983 only for underflow to zero.
8984
3c1c46a6
JM
8985 [BZ #16271]
8986 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8987 round-to-nearest then adjust result for other rounding modes.
8988 * include/fenv.h (fegetround): Use libm_hidden_proto.
8989 * math/fegetround.c (fegetround): Use libm_hidden_def.
8990 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8991 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8992 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8993 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8994 Likewise.
8995 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8996 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8997 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8998 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8999
5a4c6d53
SP
90002013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9001
9002 [BZ #16077]
9003 * nss/Versions (libnss_files): Add
9004 _nss_files_gethostbyname3_r.
9005 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9006 New function.
9007 (HOST_DB_LOOKUP): Remove macro.
9008 (_nss_files_gethostbyname_r): Implement function without the
9009 HOST_DB_LOOKUP macro.
9010 (_nss_files_gethostbyname2_r): Likewise.
9011
897b98ba
OB
90122013-11-28 Ondřej Bílka <neleai@seznam.cz>
9013
9014 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9015
6f476861
UB
90162013-11-26 Uros Bizjak <ubizjak@gmail.com>
9017
9018 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9019 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9020 warning.
9021
bd12ab55
AZ
90222013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9023
9024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9025 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9027 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9028 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9029 __fe_nomask_env_priv and attribute_hidden.
9030 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9031 (libc_feupdateenv_test_ppc): Likewise.
9032 (libc_feresetround_ppc): Likewise.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9034 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9035 compat_symbol macro.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9037 (__fe_nomask_env): Likewise.
9038 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9039
52bb6543
OB
90402013-11-26 Ondřej Bílka <neleai@seznam.cz>
9041
9042 * string/Makefile: Remove ifunc tests.
9043 * string/test-string.h: Define TEST_IFUNC.
9044 * string/test-bcopy-ifunc.c: Remove.
9045 * string/test-bzero-ifunc.c: Likewise.
9046 * string/test-memccpy-ifunc.c: Likewise.
9047 * string/test-memchr-ifunc.c: Likewise.
9048 * string/test-memcmp-ifunc.c: Likewise.
9049 * string/test-memcpy-ifunc.c: Likewise.
9050 * string/test-memmem-ifunc.c: Likewise.
9051 * string/test-memmove-ifunc.c: Likewise.
9052 * string/test-mempcpy-ifunc.c: Likewise.
9053 * string/test-memrchr-ifunc.c: Likewise.
9054 * string/test-memset-ifunc.c: Likewise.
9055 * string/test-rawmemchr-ifunc.c: Likewise.
9056 * string/test-stpcpy-ifunc.c: Likewise.
9057 * string/test-stpncpy-ifunc.c: Likewise.
9058 * string/test-strcasecmp-ifunc.c: Likewise.
9059 * string/test-strcasestr-ifunc.c: Likewise.
9060 * string/test-strcat-ifunc.c: Likewise.
9061 * string/test-strchr-ifunc.c: Likewise.
9062 * string/test-strchrnul-ifunc.c: Likewise.
9063 * string/test-strcmp-ifunc.c: Likewise.
9064 * string/test-strcpy-ifunc.c: Likewise.
9065 * string/test-strcspn-ifunc.c: Likewise.
9066 * string/test-strlen-ifunc.c: Likewise.
9067 * string/test-strncasecmp-ifunc.c: Likewise.
9068 * string/test-strncat-ifunc.c: Likewise.
9069 * string/test-strncmp-ifunc.c: Likewise.
9070 * string/test-strncpy-ifunc.c: Likewise.
9071 * string/test-strnlen-ifunc.c: Likewise.
9072 * string/test-strpbrk-ifunc.c: Likewise.
9073 * string/test-strrchr-ifunc.c: Likewise.
9074 * string/test-strspn-ifunc.c: Likewise.
9075 * string/test-strstr-ifunc.c: Likewise.
9076
ab260039 90772013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
9078
9079 * benchtests/Makefile: Remove ifunc tests.
9080 * benchtests/bench-string.h: Define TEST_IFUNC.
9081 * benchtests/bench-bcopy-ifunc.c: Remove.
9082 * benchtests/bench-bzero-ifunc.c: Likewise.
9083 * benchtests/bench-memccpy-ifunc.c: Likewise.
9084 * benchtests/bench-memchr-ifunc.c: Likewise.
9085 * benchtests/bench-memcmp-ifunc.c: Likewise.
9086 * benchtests/bench-memcpy-ifunc.c: Likewise.
9087 * benchtests/bench-memmem-ifunc.c: Likewise.
9088 * benchtests/bench-memmove-ifunc.c: Likewise.
9089 * benchtests/bench-mempcpy-ifunc.c: Likewise.
9090 * benchtests/bench-memrchr-ifunc.c: Likewise.
9091 * benchtests/bench-memset-ifunc.c: Likewise.
9092 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9093 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9094 * benchtests/bench-stpcpy-ifunc.c: Likewise.
9095 * benchtests/bench-stpncpy-ifunc.c: Likewise.
9096 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9097 * benchtests/bench-strcasestr-ifunc.c: Likewise.
9098 * benchtests/bench-strcat-ifunc.c: Likewise.
9099 * benchtests/bench-strchr-ifunc.c: Likewise.
9100 * benchtests/bench-strchrnul-ifunc.c: Likewise.
9101 * benchtests/bench-strcmp-ifunc.c: Likewise.
9102 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9103 * benchtests/bench-strcpy-ifunc.c: Likewise.
9104 * benchtests/bench-strcspn-ifunc.c: Likewise.
9105 * benchtests/bench-strlen-ifunc.c: Likewise.
9106 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9107 * benchtests/bench-strncat-ifunc.c: Likewise.
9108 * benchtests/bench-strncmp-ifunc.c: Likewise.
9109 * benchtests/bench-strncpy-ifunc.c: Likewise.
9110 * benchtests/bench-strnlen-ifunc.c: Likewise.
9111 * benchtests/bench-strpbrk-ifunc.c: Likewise.
9112 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 9113 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
9114 * benchtests/bench-strspn-ifunc.c: Likewise.
9115 * benchtests/bench-strstr-ifunc.c: Likewise.
9116
91172013-11-26 Ondřej Bílka <neleai@seznam.cz>
9118
ab260039
OB
9119 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9120
d1d9eaf4 91212013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 9122
d1d9eaf4
OB
9123 * resolv/netdb.h: Use __glibc_reserved instead __unused.
9124 * rt/aio.h: Likewise.
9125 * sysdeps/gnu/bits/utmp.h: Likewise.
9126 * sysdeps/gnu/bits/utmpx.h: Likewise.
9127 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9128 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9129 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9130 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9131 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9132 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9133 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9134 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9136 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9137 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9142 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9143 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9144 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9145 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9147 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9148 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9150 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9151 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9154 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9156 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9157 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9158 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9161 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9162 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9163 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9164 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9165 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9166 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9167 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9168 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9169
a7624ed9
CD
91702013-11-25 Carlos O'Donell <carlos@redhat.com>
9171
9172 [BZ #16245]
9173 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9174 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9175
63cfe52b
JM
91762013-11-25 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9179 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9180 Likewise.
9181
41e8926a
AZ
91822013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9183
9184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9185 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9186 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9187 (__fesetround): Remove define.
9188 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9189 rounding and exceptions handling.
9190 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9191 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9192 (__fe_nomask_env): Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9194 __fegetround instead of fegetround.
9195 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9197
6851bd4d
RM
91982013-11-21 Roland McGrath <roland@hack.frob.com>
9199
070906ff
RM
9200 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9201 it's there.
9202
6851bd4d
RM
9203 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9204
84ae135d
MI
92052013-11-21 Meador Inge <meadori@codesourcery.com>
9206
9207 [BZ #11157]
9208 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9209 (encrypt_r): Likewise.
9210 * malloc/obstack.h (obstack_free): Likewise.
9211 * posix/unistd.h (encrypt): Likewise.
9212
daf75146
GM
92132013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9214
9215 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9216 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9217 DL_CALL_DT_FINI() that call the functions directly.
9218 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9219 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9220 * elf/dl-fini.c: Likewise.
9221
10ad46bc
OB
92222013-11-20 Ondřej Bílka <neleai@seznam.cz>
9223
9224 * malloc/hooks.c (memalign_check): Add alignment rounding.
9225 * malloc/malloc.c (_mid_memalign): New function.
9226 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9227 Implement by calling _mid_memalign.
9228 * manual/probes.texi (Memory Allocation Probes): Remove
9229 memory_valloc_retry and memory_pvalloc_retry.
9230
f3fd2628
SP
92312013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9232
4712799f
SP
9233 * locale/programs/locarchive.c (open_archive): Add const
9234 qualifier to ARCHIVEFNAME and copy default fname to
9235 DEFAULT_FNAME.
9236
0417b20f
SP
9237 [BZ #15601]
9238 * libio/tst-widetext.input: Rename Oriya to Odia.
9239 * locale/iso-639.def: Likewise.
9240
f3fd2628
SP
9241 * manual/probes.texi (Mathematical Function Probes): Add
9242 documentation for sin, cos, asin and acos probes.
9243 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9244 (__sin32): Add slowasin probe.
9245 (__cos32): Add slowacos probe.
9246 (__mpsin): Add slowsin probe.
9247 (__mpcos): Add slowcos probe.
9248
73c1ce4f
JM
92492013-11-19 Joseph Myers <joseph@codesourcery.com>
9250
9251 [BZ #15483]
9252 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9253 thread-local __sim_exceptions_thread and global
9254 __sim_exceptions_global.
9255 (__sim_disabled_exceptions): Change to thread-local
9256 __sim_disabled_exceptions_thread and global
9257 __sim_disabled_exceptions_global.
9258 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9259 and global __sim_round_mode_global.
9260 (__simulate_exceptions): Use thread-local floating-point state and
9261 set global state from it as needed.
9262 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9263 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9264 __sim_round_mode_thread.
9265 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9266 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9267 and global __sim_exceptions_global.
9268 (__sim_disabled_exceptions): Change to thread-local
9269 __sim_disabled_exceptions_thread and global
9270 __sim_disabled_exceptions_global.
9271 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9272 and global __sim_round_mode_global.
9273 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9274 (SIM_SET_GLOBAL): Likewise.
9275 * sysdeps/powerpc/soft-fp/sfp-machine.h
9276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9277 __sim_round_mode_thread.
9278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9279 __sim_disabled_exceptions_thread.
9280 (__sim_exceptions): Change to __sim_exceptions_thread.
9281 (__sim_disabled_exceptions): Change to
9282 __sim_disabled_exceptions_thread.
9283 (__sim_round_mode): Change to __sim_round_mode_thread.
9284 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9285 thread-local floating-point state and set global state from it as
9286 needed.
9287 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9288 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9289 (__sim_disabled_exceptions): Remove extern declaration.
9290 (feenableexcept): Use thread-local floating-point state and set
9291 global state from it as needed.
9292 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9293 extern declaration.
9294 (__sim_disabled_exceptions): Likewise.
9295 (__sim_round_mode): Likewise.
9296 (__fegetenv): Use thread-local floating-point state.
9297 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9298 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9299 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9300 floating-point state and set global state from it as needed.
9301 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9302 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9303 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9304 Likewise.
9305 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9306 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9307 Likewise.
9308 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9309 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9310 Use __sim_round_mode_thread.
9311 * math/test-fenv-tls.c: New file.
9312 * math/Makefile (tests): Add test-fenv-tls.
9313 ($(objpfx)test-fenv-tls): Depend on
9314 $(common-objpfx)nptl/libpthread.so.
9315
b5449b12
AS
93162013-11-19 Andreas Schwab <schwab@suse.de>
9317
9318 * locale/programs/locale.c (show_info): Decode wordarray elements.
9319 * locale/categories.def (LC_MONETARY): Add element for
9320 _NL_MONETARY_CRNCYSTR.
9321 * locale/C-monetary.c (conversion_rate): New variable.
9322 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9323 element.
9324
e186536b
CM
93252013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9326
9327 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9328 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9329
5c349950
PP
93302013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9331
9332 * elf/Makefile (tst-auxv): New test.
9333 * elf/tst-auxv.c: New
9334 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9335
699df45b
JM
93362013-11-18 Joseph Myers <joseph@codesourcery.com>
9337
9338 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9339 (hidden_proto): Caller changed.
9340 (hidden_tls_proto): New macro.
9341 (libc_hidden_tls_proto): Likewise.
9342 (rtld_hidden_tls_proto): Likewise.
9343 (libm_hidden_tls_proto): Likewise.
9344 (libresolv_hidden_tls_proto): Likewise.
9345 (librt_hidden_tls_proto): Likewise.
9346 (libdl_hidden_tls_proto): Likewise.
9347 (libnss_files_hidden_tls_proto): Likewise.
9348 (libnsl_hidden_tls_proto): Likewise.
9349 (libnss_nisplus_hidden_tls_proto): Likewise.
9350 (libutil_hidden_tls_proto): Likewise.
9351
b7589107
OB
93522013-11-18 Ondřej Bílka <neleai@seznam.cz>
9353
9354 [BZ #10253]
9355 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9356 (decompose_rpath): Defer expansion to fillin_rpath.
9357 (_dl_init_paths): Pass linkmap to fillin_rpath.
9358
250c23bd
RS
93592013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9360
9361 * benchtests/Makefile: Add strsep.
9362 * benchtests/bench-strsep.c: New file: strsep benchtest.
9363 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9364
a7931fcf
AS
93652013-11-18 Andreas Schwab <schwab@suse.de>
9366
9367 * locale/programs/locale.c (show_info) [case byte]: Check for
9368 '\377' instead of '\177'.
9369 * locale/C-monetary.c (not_available): Always use "\377".
9370 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9371 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9372 detect unavailable sign_posn locale elements.
9373 * locale/localeconv.c (__localeconv): For grouping and
9374 mon_grouping handle "\177" and "\377" like no grouping.
9375 (INT_ELEM): New macro. Use it to set all numeric members.
9376 * locale/programs/ld-monetary.c (monetary_read)
9377 <tok_mon_grouping>: Normalize single -1 to the empty string.
9378 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9379 Likewise.
9380
728dab0e
OB
93812013-11-07 Ondřej Bílka <neleai@seznam.cz>
9382
9383 [BZ #16055]
9384 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9385 when we match (nil).
9386 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9387
66294491
JM
93882013-11-16 Joseph Myers <joseph@codesourcery.com>
9389
ce665817
JM
9390 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9391 (NO_TEST_INLINE): Update value.
9392 (ERRNO_UNCHANGED): Likewise.
9393 (ERRNO_EDOM): Likewise.
9394 (ERRNO_ERANGE): Likewise.
9395 (IGNORE_RESULT): Likewise.
9396 (check_float_internal): Check signs of NaN results if
9397 TEST_NAN_SIGN used.
9398 (check_complex): Pass TEST_NAN_SIGN flag through to second
9399 check_float_internal call.
9400 (copysign_test_data): Add tests with quiet NaNs as second
9401 argument. Use TEST_NAN_SIGN.
9402 (fabs_test_data): Add test of negative quiet NaN argument. Use
9403 TEST_NAN_SIGN.
9404 (signbit_test_data): Add tests of quiet NaN argument.
9405 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9406
ee1466a9
JM
9407 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9408 $ignore_result.
9409 (parse_args): Handle function results specified as IGNORE.
9410 * math/libm-test.inc (IGNORE_RESULT): New macro.
9411 (check_float_internal): Do not check numerical result if flag
9412 IGNORE_RESULT set.
9413 (check_complex): Pass through IGNORE_RESULT to second
9414 check_float_internal call.
9415 (check_int): Do not check numerical result if flag IGNORE_RESULT
9416 set.
9417 (check_long): Likewise.
9418 (check_bool): Likewise.
9419 (check_longlong): Likewise.
9420 (lrint_test_data): Add tests of infinite and NaN arguments.
9421 (lrint_tonearest_test_data): Likewise.
9422 (lrint_towardzero_test_data): Likewise.
9423 (lrint_downward_test_data): Likewise.
9424 (lrint_upward_test_data): Likewise.
9425 (llrint_test_data): Likewise.
9426 (llrint_tonearest_test_data): Likewise.
9427 (llrint_towardzero_test_data): Likewise.
9428 (llrint_downward_test_data): Likewise.
9429 (llrint_upward_test_data): Likewise.
9430 (lround_test_data): Likewise.
9431 (llround_test_data): Likewise.
9432
14407b7e
JM
9433 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9434 (ERRNO_UNCHANGED): Update value.
9435 (ERRNO_EDOM): Likewise.
9436 (ERRNO_ERANGE): Likewise.
9437 (NO_TEST_INLINE_FLOAT): New macro.
9438 (NO_TEST_INLINE_DOUBLE): Likewise.
9439 (enable_test): New function.
9440 (RUN_TEST_f_f): Check enable_test before running test.
9441 (RUN_TEST_2_f): Likewise.
9442 (RUN_TEST_fff_f): Likewise.
9443 (RUN_TEST_c_f): Likewise.
9444 (RUN_TEST_f_f1): Likewise.
9445 (RUN_TEST_fF_f1): Likewise.
9446 (RUN_TEST_fI_f1): Likewise.
9447 (RUN_TEST_ffI_f1): Likewise.
9448 (RUN_TEST_c_c): Likewise.
9449 (RUN_TEST_cc_c): Likewise.
9450 (RUN_TEST_f_i): Likewise.
9451 (RUN_TEST_f_i_tg): Likewise.
9452 (RUN_TEST_ff_i_tg): Likewise.
9453 (RUN_TEST_f_b): Likewise.
9454 (RUN_TEST_f_b_tg): Likewise.
9455 (RUN_TEST_f_l): Likewise.
9456 (RUN_TEST_f_L): Likewise.
9457 (RUN_TEST_fFF_11): Likewise.
9458 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9459 conditionals.
9460 (cosh_test_data): Likewise.
9461 (exp_test_data): Likewise.
9462 (expm1_test_data): Likewise.
9463 (hypot_test_data): Likewise.
9464 (pow_test_data): Likewise.
9465 (sinh_test_data): Likewise.
9466 (tanh_test_data): Likewise.
9467 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9468 flags argument.
9469
ca07f197
JM
9470 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9471 tests with quiet NaN input and output.
9472 (acosh_test_data): Likewise.
9473 (asin_test_data): Likewise.
9474 (asinh_test_data): Likewise.
9475 (atan_test_data): Likewise.
9476 (atanh_test_data): Likewise.
9477 (atan2_test_data): Likewise.
9478 (cbrt_test_data): Likewise.
9479 (cos_test_data): Likewise.
9480 (cosh_test_data): Likewise.
9481 (erf_test_data): Likewise.
9482 (erfc_test_data): Likewise.
9483 (exp_test_data): Likewise.
9484 (exp10_test_data): Likewise.
9485 (exp2_test_data): Likewise.
9486 (expm1_test_data): Likewise.
9487 (hypot_test_data): Likewise.
9488 (j0_test_data): Likewise.
9489 (j1_test_data): Likewise.
9490 (jn_test_data): Likewise.
9491 (lgamma_test_data): Likewise.
9492 (log_test_data): Likewise.
9493 (log10_test_data): Likewise.
9494 (log1p_test_data): Likewise.
9495 (log2_test_data): Likewise.
9496 (pow_test_data): Likewise.
9497 (scalb_test_data): Likewise.
9498 (sin_test_data): Likewise.
9499 (sincos_test_data): Likewise.
9500 (sinh_test_data): Likewise.
9501 (tan_test_data): Likewise.
9502 (tanh_test_data): Likewise.
9503 (tgamma_test_data): Likewise.
9504 (y0_test_data): Likewise.
9505 (y1_test_data): Likewise.
9506 (yn_test_data): Likewise.
9507
66294491
JM
9508 [BZ #16167]
9509 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9510 argument being NaN and avoid computations with second argument in
9511 that case.
9512 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9513 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9514 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9515
1820b143
CL
95162013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9517
9518 * locale/iso-639.def: Add Chitwani Tharu (the).
9519
714bd261
AS
95202013-11-14 Andreas Schwab <schwab@suse.de>
9521
9522 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9523 word instead of empty string.
9524
7ab44563
AZ
95252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9526
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9528 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9530 (__fe_nomask_env): Likewise.
9531
e8470ea2
SE
95322013-11-13 Steve Ellcey <sellcey@mips.com>
9533
9534 * benchtests/bench-timing.h: Include time.h.
9535
17c1d9f0
L
95362013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 [BZ #15997]
9539 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9540 to 3.4.0 for x32.
9541 * sysdeps/unix/sysv/linux/configure: Regenerated.
9542
9310c284
JM
95432013-11-13 Joseph Myers <joseph@codesourcery.com>
9544
9545 [BZ #16151]
9546 * stdlib/strtod_l.c (round_and_return): Do not consider
9547 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9548 exponent one less than half the least subnormal exponent.
9549 * stdlib/test-strtod-round-data: Add more tests.
9550 * stdlib/tst-strtod-round.c (tests): Regenerated.
9551
7a2ad8cf
AZ
95522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9553
9554 [BZ #14143]
9555 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9556 (__fe_mask_env): Likewise.
9557 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9558 libm_hidden_proto and add function prototype.
9559 (__fe_mask_env): Add function prototype.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9561 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9563 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9565 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9566
50727aa7
MS
95672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9568
b2f386c1 9569 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
9570 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9571
a615be46
MS
95722013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9573
9574 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9575 of htab_find_slot().
9576
7ddace62
DM
95772013-11-11 David S. Miller <davem@davemloft.net>
9578
9579 [BZ #16150]
9580 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9581 symbol in the non-vis3 case in static builds.
9582 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9583 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9584 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9585 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9586
9182aa67
JK
95872013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9588
9589 [BZ #387]
9590 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9591 it is empty.
9592
450a2e2d
AZ
95932013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594
b2f386c1
SP
9595 * benchtests/Makefile: Add bench-strtod.
9596 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 9597
8ec3f656
AS
95982013-11-11 Andreas Schwab <schwab@suse.de>
9599
9600 [BZ #16153]
9601 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9602 terminating NUL in key length.
9603
76a9b998
AZ
96042013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9605
9606 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9607 Add artificial ODP entry for vDSO symbol for PPC64.
9608 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9609 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9610
e4368156
OB
96112013-11-07 Ondřej Bílka <neleai@seznam.cz>
9612
9613 [BZ #15374]
9614 * nss/getent.c (services_keys): Recognize services starting with digit.
9615
8d6bb57c
DM
96162013-11-06 David S. Miller <davem@davemloft.net>
9617
9618 [BZ #15985]
9619 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9620 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9621
e256c421
WN
96222013-11-06 Will Newton <will.newton@linaro.org>
9623
9624 * manual/memory.texi (Malloc Examples): Remove register
9625 keyword from examples.
9626
f6e12daa 96272013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 9628
f6e12daa 9629 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 9630
9d880655
AS
96312013-11-04 Joseph Myers <joseph@codesourcery.com>
9632
fd2f9486 9633 [BZ #6981]
9d880655
AS
9634 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9635 depending on [__GCC_IEC_559 > 0].
9636 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9637 depending on [__GCC_IEC_559_COMPLEX > 0].
9638
ae129d3c
CL
96392013-11-03 Chris Leonard <cjl@sugarlabs.org>
9640
9641 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9642 to iso-639.def.
9643
4a15c2a4 96442013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
9645
9646 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9647
8b35e35d
OB
96482013-11-01 Ondřej Bílka <neleai@seznam.cz>
9649
9650 [BZ #16112]
9651 * malloc/malloc (malloc_info): Do not handle first bin as
9652 special case.
9653
1d70fd6c
CL
96542013-11-01 Chris Leonard <cjl@sugarlabs.org>
9655
9656 * locale/iso-639.def: Add Central Nahuatl (nhn).
9657
8c5c2600
BH
96582013-11-01 Bruno Haible <bruno@clisp.org>
9659
9660 [BZ #7003]
9661 * manual/math.texi (BSD Random): Specify range upper bound as
9662 in POSIX.
9663
da5579c2
CL
96642013-10-31 Chris Leonard <cjl@sugarlabs.org>
9665
9666 * locale/iso-639.def: Add Meadow Mari (mhr).
9667
5d30d853
OB
96682013-10-31 Ondřej Bílka <neleai@seznam.cz>
9669
9670 [BZ #14752], [BZ #15763]
9671 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9672 Validate name.
9673 * rt/tst_shm.c: Add test for escaping directory.
9674
a4966c61
AS
96752013-10-31 Andreas Schwab <schwab@suse.de>
9676
8a43e768 9677 [BZ #15917]
a4966c61
AS
9678 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9679 followed by 'x' as part of digit sequence.
9680 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9681
28d708c4
MAP
96822013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9683
9684 [BZ #16037]
9685 * configure.ac: allow GNU Make 4.0 and greater.
9686 * configure: Regenerated.
9687
a56ee40b
WN
96882013-10-30 Will Newton <will.newton@linaro.org>
9689
9690 [BZ #16038]
9691 * malloc/hooks.c (memalign_check): Limit alignment to the
9692 maximum representable power of two.
9693 * malloc/malloc.c (__libc_memalign): Likewise.
9694 * malloc/tst-memalign.c (do_test): Add test for very
9695 large alignment values.
9696 * malloc/tst-posix_memalign.c (do_test): Likewise.
9697
c6e4925d
OB
96982013-10-30 Ondřej Bílka <neleai@seznam.cz>
9699
9700 [BZ #11087]
9701 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9702 (munmap_chunk): Likewise.
9703 (mremap_chunk): Likewise.
9704
97052013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 9706
8a43e768 9707 [BZ #15799]
bbea82f7
OB
9708 * stdlib/div.c (div): Remove obsolete code.
9709 * stdlib/ldiv.c (ldiv): Likewise.
9710 * stdlib/lldiv.c (lldiv): Likewise.
9711
977f4b31
SP
97122013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9713
9714 [BZ #16071]
9715 * nss/nss_files/files-XXX.c (get_contents_ret): New
9716 enumerator.
9717 (get_contents): New function.
9718 (internal_getent): Use it. Expand size of LINEBUFLEN.
9719
cb8a6dbd
MF
97202013-10-30 Mike Frysinger <vapier@gentoo.org>
9721
9722 * configure.in: Moved to ...
9723 * configure.ac: ... here. Change reference to configure.in
9724 to configure.ac.
9725 * sysdeps/arm/preconfigure.ac: ... here.
9726 configure.in to configure.ac.
9727 * sysdeps/gnu/configure.in: Moved to ...
9728 * sysdeps/gnu/configure.ac: ... here.
9729 * sysdeps/i386/configure.in: Moved to ...
9730 * sysdeps/i386/configure.ac: ... here.
9731 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9732 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9733 * sysdeps/mach/configure.in: Moved to ...
9734 * sysdeps/mach/configure.ac: ... here.
9735 * sysdeps/mach/hurd/configure.in: Moved to ...
9736 * sysdeps/mach/hurd/configure.ac: ... here.
9737 * sysdeps/powerpc/configure.in: Moved to ...
9738 * sysdeps/powerpc/configure.ac: ... here.
9739 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9740 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9741 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9742 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9743 * sysdeps/s390/s390-32/configure.in: Moved to ...
9744 * sysdeps/s390/s390-32/configure.ac: ... here.
9745 * sysdeps/s390/s390-64/configure.in: Moved to ...
9746 * sysdeps/s390/s390-64/configure.ac: ... here.
9747 * sysdeps/sh/configure.in: Moved to ...
9748 * sysdeps/sh/configure.ac: ... here.
9749 * sysdeps/sparc/configure.in: Moved to ...
9750 * sysdeps/sparc/configure.ac: ... here.
9751 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9752 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9753 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9754 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9755 * sysdeps/x86_64/configure.in: Moved to ...
9756 * sysdeps/x86_64/configure.ac: ... here.
9757 * sysdeps/x86_64/preconfigure.in: Moved to ...
9758 * sysdeps/x86_64/preconfigure.ac: ... here.
9759 * aclocal.m4: Change reference to configure.in to configure.ac.
9760 * config.h.in: Likewise.
9761 * manual/install.texi: Likewise.
9762 * manual/maint.texi: Likewise.
9763 * Makefile: Likewise.
9764 * malloc/Makefile: Likewise.
9765 * nscd/Makefile: Likewise.
9766 * Makeconfig: Change reference to configure.in and
9767 preconfigure.in to configure.ac and preconfigure.ac
9768 respectively.
9769 * INSTALL: Regenerated.
9770 * configure: Likewise.
9771 * sysdeps/gnu/configure: Likewise.
9772 * sysdeps/i386/configure: Likewise.
9773 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9774 * sysdeps/mach/configure: Likewise.
9775 * sysdeps/mach/hurd/configure: Likewise.
9776 * sysdeps/powerpc/configure: Likewise.
9777 * sysdeps/powerpc/powerpc32/configure: Likewise.
9778 * sysdeps/powerpc/powerpc64/configure: Likewise.
9779 * sysdeps/s390/s390-32/configure: Likewise.
9780 * sysdeps/s390/s390-64/configure: Likewise.
9781 * sysdeps/sh/configure: Likewise.
9782 * sysdeps/sparc/configure: Likewise.
9783 * sysdeps/unix/sysv/linux/configure: Likewise.
9784 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9785 * sysdeps/x86_64/configure: Likewise.
9786 * sysdeps/x86_64/preconfigure: Likewise.
9787
36a4953a
AS
97882013-10-29 Andreas Schwab <schwab@suse.de>
9789
9790 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9791
c79a1204
SP
97922013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9793
dfa1b402
SP
9794 * benchtests/pow-inputs: Add new inputs.
9795
54f73d9c
SP
9796 * benchtests/exp-inputs: Add new inputs.
9797
c79a1204
SP
9798 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9799 conditional check for return value.
9800 (__cos32): Likewise.
9801
67beb545 98022013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
9803
9804 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9805 to provide a boost for large inputs with word alignment.
9806 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9807 implementation based on optimized PPC64 strcpy.
9808 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9809 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9810 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9811 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9812
151659f6
OB
98132013-10-25 Ondřej Bílka <neleai@seznam.cz>
9814
482a077e 9815 [BZ #2801]
151659f6
OB
9816 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9817
10b0f26b
OB
98182013-10-25 Ondřej Bílka <neleai@seznam.cz>
9819
9820 [BZ #14876]
9821 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9822 * time/tst-strptime.c (day_tests): Add testcase.
9823
ca42d35e
OB
98242013-10-25 Ondřej Bílka <neleai@seznam.cz>
9825
482a077e 9826 [BZ #14029]
ca42d35e
OB
9827 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9828
52e6d801
FB
98292013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9830
9831 [BZ #16074]
9832 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9833 MAP_FAILED on error.
9834
7cbcdb36
SP
98352013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9836
9837 [BZ #16072]
9838 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9839 heap for large requests.
9840
894f3f10
AM
98412013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9842
9843 [BZ #9954]
9844 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9845 result if the result has no associated interface.
9846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9847 interface for all 127.X.Y.Z addresses.
9848
b85545a6
CL
98492013-10-24 Chris Leonard <cjl@sugarlabs.org>
9850
9851 * locale/iso-639.def: Add Ligurian (lij)
9852
d1f23d46
OB
98532013-10-21 Ondřej Bílka <neleai@seznam.cz>
9854
9855 [BZ #15825]
9856 * sunrpc/rpc_main.c: Document rpcgen -5.
9857
4db5b08f
MS
98582013-10-19 Michael Stahl <mstahl@redhat.com>
9859
9860 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9861
a471e96a
OB
98622013-10-19 Ondřej Bílka <neleai@seznam.cz>
9863
d1f23d46 9864 [BZ #10278]
a471e96a
OB
9865 * posix/glob.c: Match only directories when trailing slash is present.
9866 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9867 (main): Add testcase.
9868
45c30c61
OB
98692013-10-19 Ondřej Bílka <neleai@seznam.cz>
9870
9871 [BZ #15670]
9872 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9873
484c12fb
CD
98742013-10-18 Carlos O'Donell <carlos@redhat.com>
9875
3d7dc513
CD
9876 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9877 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9878 AUTH_DES and cindex for FIPS 140-2.
9879 (DES Encryption): Add cindex FIPS 46-3.
9880
484c12fb
CD
9881 * locale/locarchive.h (struct locarhandle): Add fname.
9882 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9883 if an optional argument was specified to --list-archive,
9884 otherwise NULL.
9885 * locale/programs/locarchive.c (show_archive_content): Take new
9886 argument fname and pass it via ah.fname to open_archive.
9887 * locale/programs/localedef.h: Update decl.
9888 (open_archive): If AH->fname is non-null, open that file
9889 rather than the default file name, and don't ignore ENOENT.
9890 (create_archive): Set AH.fname to NULL.
9891 (delete_locales_from_archive): Likewise.
9892 (add_locales_to_archive): Likewise.
9893 * locale/programs/locfile.c (write_all_categories): Likewise.
9894
3c8325fb
JM
98952013-10-18 Joseph Myers <joseph@codesourcery.com>
9896 Aldy Hernandez <aldyh@redhat.com>
9897
9898 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9899 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9900 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9901 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9902 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9907 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9908 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9909 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9910 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9911 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9913 Likewise.
9914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9915 Likewise.
9916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9917 Likewise.
9918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9919 Likewise.
9920 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9922 Likewise.
9923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9924 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9925 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9926 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9927 Likewise.
9928 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9929 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9930 * sysdeps/powerpc/preconfigure: Likewise.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9932 Likewise.
9933 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9934 Replace contents of file by #include of <fenv_libc.h>.
9935 * sysdeps/powerpc/soft-fp/sfp-machine.h
9936 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9937 and <sys/prctl.h>.
9938 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9951 Allow copysignl PLT reference to be missing.
9952
5abe0682
RS
99532013-10-18 Richard Sandiford <richard@codesourcery.com>
9954 Joseph Myers <joseph@codesourcery.com
9955
9956 [BZ #15948]
9957 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9958 single character.
9959 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9960
c7738d08
SP
99612013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9962
9963 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9964 * elf/tst-tls1.c: Likewise.
9965 * elf/tst-tls10.h: Likewise.
9966 * elf/tst-tls14.c: Likewise.
9967 * elf/tst-tls2.c: Likewise.
9968 * elf/tst-tls3.c: Likewise.
9969 * elf/tst-tls4.c: Likewise.
9970 * elf/tst-tls5.c: Likewise.
9971 * elf/tst-tls6.c: Likewise.
9972 * elf/tst-tls7.c: Likewise.
9973 * elf/tst-tls8.c: Likewise.
9974 * elf/tst-tls9.c: Likewise.
9975 * elf/tst-tlsmod1.c: Likewise.
9976 * elf/tst-tlsmod13.c: Likewise.
9977 * elf/tst-tlsmod13a.c: Likewise.
9978 * elf/tst-tlsmod14a.c: Likewise.
9979 * elf/tst-tlsmod16a.c: Likewise.
9980 * elf/tst-tlsmod16b.c: Likewise.
9981 * elf/tst-tlsmod2.c: Likewise.
9982 * elf/tst-tlsmod3.c: Likewise.
9983 * elf/tst-tlsmod4.c: Likewise.
9984 * elf/tst-tlsmod5.c: Likewise.
9985 * elf/tst-tlsmod6.c: Likewise.
9986
0bfcf2c7
OB
99872013-10-18 Ondřej Bílka <neleai@seznam.cz>
9988
9989 [BZ #12486]
9990 * malloc/malloc.c: remove checks for statistics.
9991
264aad1e
OB
99922013-10-17 Ondřej Bílka <neleai@seznam.cz>
9993
9994 [BZ #15277]
9995 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9996 * inet/tst-network.c: Add testcase.
9997
b957ced8
AS
99982013-10-17 Andreas Schwab <schwab@suse.de>
9999
10000 [BZ #15218]
10001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10002 to determine canonical name.
10003
c5d5d574
OB
100042013-10-17 Ondřej Bílka <neleai@seznam.cz>
10005
10006 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10007 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10018 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10019 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10020 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10021 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10023 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10030 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10031 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10035 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10036 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10040 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10042 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10049 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10054 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10056 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10058 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10064
e5c2c2d0
JM
100652013-10-17 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #16041]
10068 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10069 make result into a quiet NaN.
10070
51ca9e29
JM
100712013-10-16 Joseph Myers <joseph@codesourcery.com>
10072
10073 * soft-fp/adddf3.c: Fix horizontal whitespace.
10074 * soft-fp/addsf3.c: Likewise.
10075 * soft-fp/addtf3.c: Likewise.
10076 * soft-fp/divdf3.c: Likewise.
10077 * soft-fp/divsf3.c: Likewise.
10078 * soft-fp/divtf3.c: Likewise.
10079 * soft-fp/double.h: Likewise.
10080 * soft-fp/eqdf2.c: Likewise.
10081 * soft-fp/eqsf2.c: Likewise.
10082 * soft-fp/eqtf2.c: Likewise.
10083 * soft-fp/extenddftf2.c: Likewise.
10084 * soft-fp/extended.h: Likewise.
10085 * soft-fp/extendsfdf2.c: Likewise.
10086 * soft-fp/extendsftf2.c: Likewise.
10087 * soft-fp/extendxftf2.c: Likewise.
10088 * soft-fp/fixdfdi.c: Likewise.
10089 * soft-fp/fixdfsi.c: Likewise.
10090 * soft-fp/fixdfti.c: Likewise.
10091 * soft-fp/fixsfdi.c: Likewise.
10092 * soft-fp/fixsfsi.c: Likewise.
10093 * soft-fp/fixsfti.c: Likewise.
10094 * soft-fp/fixtfdi.c: Likewise.
10095 * soft-fp/fixtfsi.c: Likewise.
10096 * soft-fp/fixtfti.c: Likewise.
10097 * soft-fp/fixunsdfdi.c: Likewise.
10098 * soft-fp/fixunsdfsi.c: Likewise.
10099 * soft-fp/fixunsdfti.c: Likewise.
10100 * soft-fp/fixunssfdi.c: Likewise.
10101 * soft-fp/fixunssfsi.c: Likewise.
10102 * soft-fp/fixunssfti.c: Likewise.
10103 * soft-fp/fixunstfdi.c: Likewise.
10104 * soft-fp/fixunstfsi.c: Likewise.
10105 * soft-fp/fixunstfti.c: Likewise.
10106 * soft-fp/floatdidf.c: Likewise.
10107 * soft-fp/floatdisf.c: Likewise.
10108 * soft-fp/floatditf.c: Likewise.
10109 * soft-fp/floatsidf.c: Likewise.
10110 * soft-fp/floatsisf.c: Likewise.
10111 * soft-fp/floatsitf.c: Likewise.
10112 * soft-fp/floattidf.c: Likewise.
10113 * soft-fp/floattisf.c: Likewise.
10114 * soft-fp/floattitf.c: Likewise.
10115 * soft-fp/floatundidf.c: Likewise.
10116 * soft-fp/floatundisf.c: Likewise.
10117 * soft-fp/floatunditf.c: Likewise.
10118 * soft-fp/floatunsidf.c: Likewise.
10119 * soft-fp/floatunsisf.c: Likewise.
10120 * soft-fp/floatunsitf.c: Likewise.
10121 * soft-fp/floatuntidf.c: Likewise.
10122 * soft-fp/floatuntisf.c: Likewise.
10123 * soft-fp/floatuntitf.c: Likewise.
10124 * soft-fp/fmadf4.c: Likewise.
10125 * soft-fp/fmasf4.c: Likewise.
10126 * soft-fp/fmatf4.c: Likewise.
10127 * soft-fp/gedf2.c: Likewise.
10128 * soft-fp/gesf2.c: Likewise.
10129 * soft-fp/getf2.c: Likewise.
10130 * soft-fp/ledf2.c: Likewise.
10131 * soft-fp/lesf2.c: Likewise.
10132 * soft-fp/letf2.c: Likewise.
10133 * soft-fp/muldf3.c: Likewise.
10134 * soft-fp/mulsf3.c: Likewise.
10135 * soft-fp/multf3.c: Likewise.
10136 * soft-fp/negdf2.c: Likewise.
10137 * soft-fp/negsf2.c: Likewise.
10138 * soft-fp/negtf2.c: Likewise.
10139 * soft-fp/op-1.h: Likewise.
10140 * soft-fp/op-2.h: Likewise.
10141 * soft-fp/op-4.h: Likewise.
10142 * soft-fp/op-8.h: Likewise.
10143 * soft-fp/op-common.h: Likewise.
10144 * soft-fp/quad.h: Likewise.
10145 * soft-fp/single.h: Likewise.
10146 * soft-fp/soft-fp.h: Likewise.
10147 * soft-fp/sqrtdf2.c: Likewise.
10148 * soft-fp/sqrtsf2.c: Likewise.
10149 * soft-fp/sqrttf2.c: Likewise.
10150 * soft-fp/subdf3.c: Likewise.
10151 * soft-fp/subsf3.c: Likewise.
10152 * soft-fp/subtf3.c: Likewise.
10153 * soft-fp/truncdfsf2.c: Likewise.
10154 * soft-fp/trunctfdf2.c: Likewise.
10155 * soft-fp/trunctfsf2.c: Likewise.
10156 * soft-fp/trunctfxf2.c: Likewise.
10157 * soft-fp/unorddf2.c: Likewise.
10158 * soft-fp/unordsf2.c: Likewise.
10159 * soft-fp/unordtf2.c: Likewise.
10160
9ebb0332
JM
101612013-10-15 Joseph Myers <joseph@codesourcery.com>
10162
10163 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10164 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10165
4b1a6d8b
OB
101662013-10-15 Ondřej Bílka <neleai@seznam.cz>
10167
10168 * elf/dl-libc.c: Clear initfini list after freeing.
10169
1e145589
JM
101702013-10-14 Joseph Myers <joseph@codesourcery.com>
10171
10172 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10173 * soft-fp/addsf3.c: Likewise.
10174 * soft-fp/addtf3.c: Likewise.
10175 * soft-fp/divdf3.c: Likewise.
10176 * soft-fp/divsf3.c: Likewise.
10177 * soft-fp/divtf3.c: Likewise.
10178 * soft-fp/double.h: Likewise.
10179 * soft-fp/eqdf2.c: Likewise.
10180 * soft-fp/eqsf2.c: Likewise.
10181 * soft-fp/eqtf2.c: Likewise.
10182 * soft-fp/extenddftf2.c: Likewise.
10183 * soft-fp/extended.h: Likewise.
10184 * soft-fp/extendsfdf2.c: Likewise.
10185 * soft-fp/extendsftf2.c: Likewise.
10186 * soft-fp/extendxftf2.c: Likewise.
10187 * soft-fp/fixdfdi.c: Likewise.
10188 * soft-fp/fixdfsi.c: Likewise.
10189 * soft-fp/fixdfti.c: Likewise.
10190 * soft-fp/fixsfdi.c: Likewise.
10191 * soft-fp/fixsfsi.c: Likewise.
10192 * soft-fp/fixsfti.c: Likewise.
10193 * soft-fp/fixtfdi.c: Likewise.
10194 * soft-fp/fixtfsi.c: Likewise.
10195 * soft-fp/fixtfti.c: Likewise.
10196 * soft-fp/fixunsdfdi.c: Likewise.
10197 * soft-fp/fixunsdfsi.c: Likewise.
10198 * soft-fp/fixunsdfti.c: Likewise.
10199 * soft-fp/fixunssfdi.c: Likewise.
10200 * soft-fp/fixunssfsi.c: Likewise.
10201 * soft-fp/fixunssfti.c: Likewise.
10202 * soft-fp/fixunstfdi.c: Likewise.
10203 * soft-fp/fixunstfsi.c: Likewise.
10204 * soft-fp/fixunstfti.c: Likewise.
10205 * soft-fp/floatdidf.c: Likewise.
10206 * soft-fp/floatdisf.c: Likewise.
10207 * soft-fp/floatditf.c: Likewise.
10208 * soft-fp/floatsidf.c: Likewise.
10209 * soft-fp/floatsisf.c: Likewise.
10210 * soft-fp/floatsitf.c: Likewise.
10211 * soft-fp/floattidf.c: Likewise.
10212 * soft-fp/floattisf.c: Likewise.
10213 * soft-fp/floattitf.c: Likewise.
10214 * soft-fp/floatundidf.c: Likewise.
10215 * soft-fp/floatundisf.c: Likewise.
10216 * soft-fp/floatunsidf.c: Likewise.
10217 * soft-fp/floatunsisf.c: Likewise.
10218 * soft-fp/floatuntidf.c: Likewise.
10219 * soft-fp/floatuntisf.c: Likewise.
10220 * soft-fp/floatuntitf.c: Likewise.
10221 * soft-fp/fmadf4.c: Likewise.
10222 * soft-fp/fmasf4.c: Likewise.
10223 * soft-fp/fmatf4.c: Likewise.
10224 * soft-fp/gedf2.c: Likewise.
10225 * soft-fp/gesf2.c: Likewise.
10226 * soft-fp/getf2.c: Likewise.
10227 * soft-fp/ledf2.c: Likewise.
10228 * soft-fp/lesf2.c: Likewise.
10229 * soft-fp/letf2.c: Likewise.
10230 * soft-fp/muldf3.c: Likewise.
10231 * soft-fp/mulsf3.c: Likewise.
10232 * soft-fp/multf3.c: Likewise.
10233 * soft-fp/negdf2.c: Likewise.
10234 * soft-fp/negsf2.c: Likewise.
10235 * soft-fp/negtf2.c: Likewise.
10236 * soft-fp/op-1.h: Likewise.
10237 * soft-fp/op-2.h: Likewise.
10238 * soft-fp/op-4.h: Likewise.
10239 * soft-fp/op-8.h: Likewise.
10240 * soft-fp/op-common.h: Likewise.
10241 * soft-fp/quad.h: Likewise.
10242 * soft-fp/single.h: Likewise.
10243 * soft-fp/soft-fp.h: Likewise.
10244 * soft-fp/sqrtdf2.c: Likewise.
10245 * soft-fp/sqrtsf2.c: Likewise.
10246 * soft-fp/sqrttf2.c: Likewise.
10247 * soft-fp/subdf3.c: Likewise.
10248 * soft-fp/subsf3.c: Likewise.
10249 * soft-fp/subtf3.c: Likewise.
10250 * soft-fp/truncdfsf2.c: Likewise.
10251 * soft-fp/trunctfdf2.c: Likewise.
10252 * soft-fp/trunctfsf2.c: Likewise.
10253 * soft-fp/trunctfxf2.c: Likewise.
10254 * soft-fp/unorddf2.c: Likewise.
10255 * soft-fp/unordsf2.c: Likewise.
10256 * soft-fp/unordtf2.c: Likewise.
10257
17c48a60
OB
102582013-10-14 Ondřej Bílka <neleai@seznam.cz>
10259
10260 [BZ #15672]
10261 * misc/error.c (error_tail): Fix possible buffer overflow.
10262
cabba934
OB
102632013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10264
10265 [BZ #13028]
10266 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10267 address.
10268
94bf958a
PM
102692013-10-14 P. J. McDermott <pj@pehjota.net>
10270
10271 [BZ #832]
10272 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10273 testing pipefail option.
10274
71b4dea7
JM
102752013-10-12 Joseph Myers <joseph@codesourcery.com>
10276
10277 * soft-fp/double.h: Indent preprocessor directives inside #if.
10278 * soft-fp/extended.h: Likewise.
10279 * soft-fp/op-2.h: Likewise.
10280 * soft-fp/op-4.h: Likewise.
10281 * soft-fp/op-common.h: Likewise.
10282 * soft-fp/quad.h: Likewise.
10283 * soft-fp/single.h: Likewise.
10284 * soft-fp/soft-fp.h: Likewise.
10285
55602758
YC
102862013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10287
10288 * iconv/iconv_prog.c: Fix typos.
10289 * stdio-common/psiginfo-data.h: Likewise.
10290
9cd83302
RT
102912013-10-12 Reuben Thomas <rrt@sc3d.org>
10292
10293 [BZ #15764]
10294 * locale/setlocale.c: Fix typo.
10295
99fd9f47
JM
102962013-10-12 Joseph Myers <joseph@codesourcery.com>
10297
b7ea74f0
JM
10298 [BZ #16036]
10299 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10300 signaling NaN arguments.
10301 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10302 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10303
8a509447
JM
10304 [BZ #14910]
10305 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10306 unordered operands.
10307 * soft-fp/gesf2.c (__gesf2): Likewise.
10308 * soft-fp/getf2.c (__getf2): Likewise.
10309 * soft-fp/ledf2.c (__ledf2): Likewise.
10310 * soft-fp/lesf2.c (__lesf2): Likewise.
10311 * soft-fp/letf2.c (__letf2): Likewise.
10312
98998e9f
JM
10313 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10314 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10315 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10316 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10317 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10318 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10319 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10320 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10321 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10322 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10323 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10324 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10325 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10326 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10327 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10328 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10329 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10330 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10331 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10332 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10333 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10334 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10335 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10336 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10337 * soft-fp/floattidf.c (__floattidf): Likewise.
10338 * soft-fp/floattisf.c (__floattisf): Likewise.
10339 * soft-fp/floattitf.c (__floattitf): Likewise.
10340 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10341 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10342 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10343 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10344 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10345 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10346 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10347 * soft-fp/gesf2.c (__gesf2): Likewise.
10348 * soft-fp/getf2.c (__getf2): Likewise.
10349 * soft-fp/ledf2.c (__ledf2): Likewise.
10350 * soft-fp/lesf2.c (__lesf2): Likewise.
10351 * soft-fp/letf2.c (__letf2): Likewise.
10352
8edc4a11
JM
10353 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10354 Undefine and redefine.
10355 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10356 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10357 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10358 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10359 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10360 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10361 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10362 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10363 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10364 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10365 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10366 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10367 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10368 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10369 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10370
8399acaf
JM
10371 [BZ #16032]
10372 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10373 without decrementing exponent if mantissa >= that for the
10374 denominator, not >.
10375 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10376 denominator, not >. Decrement exponent in < case instead of
10377 incrementing in >= case.
10378 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10379 without decrementing exponent if mantissa >= that for the
10380 denominator, not >.
10381
99fd9f47
JM
10382 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10383 computing saturated result for unsigned overflow.
10384
10e1cf6b
SP
103852013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 Jeff Law <law@redhat.com>
10387
10388 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10389 (atan2Mp): Add systemtap probe marker.
10390 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10391 (__ieee754_log): Add systemtap probe marker.
10392 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10393 (atanMp): Add systemtap probe marker.
10394 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10395 (tanMp): Add systemtap probe marker.
10396 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10397 (__slowexp): Add systemtap probe marker.
10398 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10399 (__slowpow): Add systemtap probe marker.
10400 * manual/probes.texi: Document probes.
10401
3d110c7c
EB
104022013-10-11 Eric Biggers <ebiggers3@gmail.com>
10403
10404 [BZ #15362]
10405 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10406 written.
10407 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10408 written.
10409 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10410 written to buffer but not flushed.
10411 * libio/iofwrite_u.c: Likewise.
10412 * libio/iopadn.c: Return bytes returned even if EOF was
10413 encountered.
10414 * libio/iowpadn.c: Likewise.
10415 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10416 if _IO_padn does not write the whole buffer.
10417 [!COMPILE_WPRINTF] (PAD): Likewise.
10418
75b4202a
DM
104192013-10-10 David S. Miller <davem@davemloft.net>
10420
10421 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10422 directory block.
10423
6c6352e6
JM
104242013-10-10 Joseph Myers <joseph@codesourcery.com>
10425
33b853c3
JM
10426 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10427 instead of FSF address.
10428 * soft-fp/fixdfti.c: Likewise.
10429 * soft-fp/fixsfti.c: Likewise.
10430 * soft-fp/fixtfti.c: Likewise.
10431 * soft-fp/fixunsdfti.c: Likewise.
10432 * soft-fp/fixunssfti.c: Likewise.
10433 * soft-fp/fixunstfti.c: Likewise.
10434 * soft-fp/floattidf.c: Likewise.
10435 * soft-fp/floattisf.c: Likewise.
10436 * soft-fp/floattitf.c: Likewise.
10437 * soft-fp/floatuntidf.c: Likewise.
10438 * soft-fp/floatuntisf.c: Likewise.
10439 * soft-fp/floatuntitf.c: Likewise.
10440 * soft-fp/trunctfxf2.c: Likewise.
10441
6c6352e6
JM
10442 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10443 * soft-fp/fixdfti.c: Likewise.
10444 * soft-fp/fixsfti.c: Likewise.
10445 * soft-fp/fixtfti.c: Likewise.
10446 * soft-fp/fixunsdfti.c: Likewise.
10447 * soft-fp/fixunssfti.c: Likewise.
10448 * soft-fp/fixunstfti.c: Likewise.
10449 * soft-fp/floattidf.c: Likewise.
10450 * soft-fp/floattisf.c: Likewise.
10451 * soft-fp/floattitf.c: Likewise.
10452 * soft-fp/floatuntidf.c: Likewise.
10453 * soft-fp/floatuntisf.c: Likewise.
10454 * soft-fp/floatuntitf.c: Likewise.
10455 * soft-fp/trunctfxf2.c: Likewise.
10456
3bf78b71
DM
104572013-10-10 David S. Miller <davem@davemloft.net>
10458
10459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10460
6f10289e
JM
104612013-10-10 Joseph Myers <joseph@codsourcery.com>
10462
bd878fc0
JM
10463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10464 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10465 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10466 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10467 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10468 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10469 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10470
6f10289e
JM
10471 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10472 for NaNs before doing comparisons on argument.
10473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10474 Likewise.
10475
321e2684
WN
104762013-10-10 Will Newton <will.newton@linaro.org>
10477
10478 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10479 passed to _int_memalign does not overflow.
10480
40fefba1
TR
104812013-10-10 Torvald Riegel <triegel@redhat.com>
10482
10483 * scripts/bench.pl: Add include-sources directive.
10484 * benchtests/README: Update documentation.
10485
2ae21ed2
JM
104862013-10-10 Joseph Myers <joseph@codesourcery.com>
10487
dcc2dd3f
JM
10488 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10489 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10490 instead of FP_INIT_ROUNDMODE.
10491 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10492 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10493
2ae21ed2
JM
10494 [BZ #16034]
10495 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10496 copy class of input value.
10497 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10498 not handle exceptions.
10499 * soft-fp/negsf2.c (__negsf2): Likewise.
10500 * soft-fp/negtf2.c (__negtf2): Likewise.
10501 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10502
cb8f9562
JM
105032013-10-09 Joseph Myers <joseph@codesourcery.com>
10504
10505 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10506 semicolon. From Linux kernel.
10507
5b60c59d
AB
105082013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10509
10510 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10511
b86835ca
YC
105122013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10513
10514 [BZ #156]
10515 * manual/socket.texi: Added statement about buffer
10516 for gethostbyname2_r.
10517
e7044ea7
OB
105182013-10-08 Ondřej Bílka <neleai@seznam.cz>
10519
10520 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10521 Use .p2align directive instead, throughout.
10522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10523 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10524 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10527 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10528 * sysdeps/x86_64/strchr.S: Likewise.
10529 * sysdeps/x86_64/strrchr.S: Likewise.
10530
09544cbc
SP
105312013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10532
88576635
SP
10533 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10534
e7b2d1dd
SP
10535 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10536
09544cbc
SP
10537 * sysdeps/generic/math_private.h (__mpsin1): Remove
10538 declaration.
10539 (__mpcos1): Likewise.
10540 (__mpsin): New argument __range_reduce.
10541 (__mpcos): Likewise.
10542 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10543 (slow): Use __mpsin and __mpcos.
10544 (slow1): Likewise.
10545 (slow2): Likewise.
10546 (sloww): Likewise.
10547 (sloww1): Likewise.
10548 (sloww2): Likewise.
10549 (bsloww): Likewise.
10550 (bsloww1): Likewise.
10551 (bsloww2): Likewise.
10552 (cslow2): Likewise.
10553 (csloww): Likewise.
10554 (csloww1): Likewise.
10555 (csloww2): Likewise.
10556 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10557 range_reduce. Merge in __mpsin1.
10558 (__mpcos): Likewise.
10559 (__mpsin1): Remove.
10560 (__mpcos1): Likewise.
10561
7602d070
JM
105622013-10-07 Joseph Myers <joseph@codesourcery.com>
10563
10564 * locale/loadlocale.c (_nl_intern_locale_data): Use
10565 LOCFILE_ALIGNED_P.
10566 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10567 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10568 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10569 obstack data is appropriately aligned.
10570 (obstack_int32_grow_fast): Likewise.
10571 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10572 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10573 (add_locale_uint32_array): Likewise.
10574
a357259b
SP
105752013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10576
10577 * benchtests/Makefile: Remove ARGLIST and RET variables.
10578 ($(objpfx)bench-%.c): Pass only function name to the script.
10579 * benchtests/README: Update documentation.
10580 * benchtests/acos-inputs: Add new directives.
10581 * benchtests/acosh-inputs: Likewise.
10582 * benchtests/asin-inputs: Likewise.
10583 * benchtests/asinh-inputs: Likewise.
10584 * benchtests/atan-inputs: Likewise.
10585 * benchtests/atanh-inputs: Likewise.
10586 * benchtests/cos-inputs: Likewise.
10587 * benchtests/cosh-inputs: Likewise.
10588 * benchtests/exp-inputs: Likewise.
10589 * benchtests/log-inputs: Likewise.
10590 * benchtests/pow-inputs: Likewise.
10591 * benchtests/rint-inputs: Likewise.
10592 * benchtests/sin-inputs: Likewise.
10593 * benchtests/sinh-inputs: Likewise.
10594 * benchtests/tan-inputs: Likewise.
10595 * benchtests/tanh-inputs: Likewise.
10596 * scripts/bench.pl: Add support for new directives.
10597
9ec1b13d
AM
105982013-10-07 Alan Modra <amodra@gmail.com>
10599
10600 * README: Fix careless merge.
10601
8b7d57cd
AM
106022013-10-05 Alan Modra <amodra@gmail.com>
10603
10604 * NEWS: Mention powerpc64le support and bugs fixed.
10605 * README: Both big-endian and little-endian powerpc64 supported.
10606
7b7bab13
ST
106072013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10608
57f41c40
AS
10609 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10610 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
10611 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10612 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10613
d39baad1
RA
106142013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10615
10616 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10617 match prototype.
10618
cd78f7e7
JM
106192013-10-04 Joseph Myers <joseph@codesourcery.com>
10620
29d73d86
JM
10621 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10622 Move -mhard-float appending from
10623 ports/sysdeps/powerpc/powerpc32/Makefile.
10624 [$(with-fp) = yes] (ASFLAGS): Likewise.
10625 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10626 * sysdeps/powerpc/nofpu: Move directory from
10627 ports/sysdeps/powerpc/nofpu.
10628 * sysdeps/powerpc/soft-fp: Move directory from
10629 ports/sysdeps/powerpc/soft-fp.
10630 * sysdeps/powerpc/powerpc32/405: Move directory from
10631 ports/sysdeps/powerpc/powerpc32/405.
10632 * sysdeps/powerpc/powerpc32/440: Move directory from
10633 ports/sysdeps/powerpc/powerpc32/440.
10634 * sysdeps/powerpc/powerpc32/464: Move directory from
10635 ports/sysdeps/powerpc/powerpc32/464.
10636 * sysdeps/powerpc/powerpc32/476: Move directory from
10637 ports/sysdeps/powerpc/powerpc32/476.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10648 * README: Update for powerpc-*-linux-gnu software floating point
10649 support in libc.
10650
e246b347
JM
10651 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10652 case to powerpc/powerpc32*.
10653 * sysdeps/unix/sysv/linux/configure: Regenerated.
10654
89c2003e
JM
10655 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10656 (_FPU_MASK_OM): Define as 0x04.
10657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10659 0x00c10080.
10660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10661 0x0000003c.
10662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10663
cd78f7e7
JM
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10665 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10666 getcontext_e500.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10668 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10669 setcontext_e500.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10671 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10672 and setcontext_e500.
10673
c755294d
CL
106742013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10675
10676 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10677
e16d221c
SP
106782013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10679
10680 * manual/threads.texi (Default Thread Attributes): Fix typo.
10681
215c7d43
WN
106822013-10-04 Will Newton <will.newton@linaro.org>
10683
10684 * malloc/Makefile: Add tst-memalign.
10685 * malloc/tst-memalign.c: New file.
10686
27d0461b
WN
10687 * malloc/tst-posix_memalign.c: Add comments.
10688 (do_test): Add comments and call free on all potentially
10689 allocated pointers. Add space after cast.
10690
1bc92709
WN
10691 * malloc/tst-pvalloc.c: Add comments.
10692 (do_test): Add comments and call free on all potentially
10693 allocated pointers. Remove duplicate check for NULL pointer.
10694 Add space after cast.
10695
66a9be9d
WN
10696 * malloc/tst-valloc.c: Add comments.
10697 (do_test): Add comments and call free on all potentially
10698 allocated pointers. Remove duplicate check for NULL pointer.
10699 Add space after cast.
10700
4cb81307
AM
107012013-10-04 Alan Modra <amodra@gmail.com>
10702
10703 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10704 Use stdint types in rather than __attribute__((mode())).
10705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10706
f8e3e9f3
AM
107072013-10-04 Alan Modra <amodra@gmail.com>
10708
10709 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10710 Correct handling of unaligned relocs for little-endian.
10711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10712
8f9ebb08
AM
107132013-10-04 Alan Modra <amodra@gmail.com>
10714
10715 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10716 * configure: Regenerate.
10717 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10718 * shlib-versions: Likewise.
10719
0edf96c2
AM
107202013-10-04 Alan Modra <amodra@gmail.com>
10721
10722 * string/tester.c (test_memrchr): Increment reported test cycle.
10723
e0f7a380
AM
107242013-10-04 Alan Modra <amodra@gmail.com>
10725
10726 * string/test-memcpy.c (do_one_test): When reporting errors, print
10727 string address and don't overrun end of string.
10728
466b0393
AM
107292013-10-04 Alan Modra <amodra@gmail.com>
10730
10731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10732 insrdi. Make better use of reg selection to speed exit slightly.
10733 Schedule entry path a little better. Remove useless "are we done"
10734 checks on entry to main loop. Handle wrapping around zero address.
10735 Correct main loop count. Handle single left-over word from main
10736 loop inline rather than by using loop_small. Remove extra word
10737 case in loop_small caused by wrong loop count. Add little-endian
10738 support.
10739 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10740 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10741 cache hint.
10742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10744 support. Avoid rlwimi.
10745 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10746
3be87c77
AM
107472013-10-04 Alan Modra <amodra@gmail.com>
10748
10749 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 10750 insrdi. Formatting.
3be87c77
AM
10751 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10752 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10753 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10754 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10755 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10756 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10757
759cfef3
AM
107582013-10-04 Alan Modra <amodra@gmail.com>
10759
10760 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10761 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10763 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10764 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10765 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10767 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10768 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10769 use of regs. Use power7 mtocrf. Tidy function tails.
10770
fe6e95d7
AM
107712013-10-04 Alan Modra <amodra@gmail.com>
10772
10773 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10774 Formatting. Consistently use rXXX register defines or rN defines.
10775 Use early exit labels that avoid restoring unused non-volatile regs.
10776 Make cr field use more consistent with rWORDn compares. Rename
10777 regs used as shift registers for unaligned loop, using rN defines
10778 for short lifetime/multiple use regs.
10779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10781 addi 1,1,64 to pop stack frame. Simplify return value code.
10782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10783
664318c3
AM
107842013-10-04 Alan Modra <amodra@gmail.com>
10785
10786 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10787 support. Correct typos, formatting. Optimize tail. Use insrdi
10788 rather than rlwimi.
10789 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10791 little-endian support. Correct typos.
10792 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10793 rather than rlwimi.
10794 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10795 in loop and entry code to keep "and." results.
10796 (strchr): Add little-endian support. Comment. Move cntlzd
10797 earlier in tail.
10798 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10799
43b84013
AM
108002013-10-04 Alan Modra <amodra@gmail.com>
10801
10802 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10803 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10804 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10805 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10806
8a7413f9
AM
108072013-10-04 Alan Modra <amodra@gmail.com>
10808
10809 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10810 (rTMP): Define as r11.
10811 (strcmp): Add little-endian support. Optimise tail.
10812 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10814 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10815 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10819
33ee81de
AM
108202013-10-04 Alan Modra <amodra@gmail.com>
10821
10822 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10823 little-endian support. Remove unnecessary "are we done" tests.
10824 Handle "s" wrapping around zero and extremely large "size".
10825 Correct main loop count. Handle single left-over word from main
10826 loop inline rather than by using small_loop. Correct comments.
10827 Delete "zero" tail, use "end_max" instead.
10828 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10829
db9b4570
AM
108302013-10-04 Alan Modra <amodra@gmail.com>
10831
10832 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10833 support. Don't branch over align.
10834 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10835 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10836 support. Rearrange tmp reg use to suit. Comment.
10837 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10838
f7c399cf
AM
108392013-10-04 Alan Modra <amodra@gmail.com>
10840
10841 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10842
0b2c2ace
AM
108432013-10-04 Alan Modra <amodra@gmail.com>
10844
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10846 conditional form of branch and link when obtaining pc.
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10848
02f04a6c
AM
108492013-10-04 Alan Modra <amodra@gmail.com>
10850
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10852 HIWORD/LOWORD.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10855
9b874b2f
AM
108562013-10-04 Alan Modra <amodra@gmail.com>
10857
10858 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10859 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10860 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10861 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10862 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10863 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10864 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10865 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10866 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10867 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10868
be1e5d31
AB
108692013-10-04 Anton Blanchard <anton@au1.ibm.com>
10870 Alistair Popple <alistair@ozlabs.au.ibm.com>
10871 Alan Modra <amodra@gmail.com>
10872
10873 [BZ #15723]
10874 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10875 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10876 _dl_hwcap access for little-endian.
10877 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10878 destroy vmx regs when saving unaligned.
10879 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10880 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10881 destroy vmx regs when saving unaligned.
10882
fef13a78
AM
108832013-10-04 Alan Modra <amodra@gmail.com>
10884
10885 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10886 Don't use a union to pack hi/low value.
10887
76a66d51
AB
108882013-10-04 Anton Blanchard <anton@au1.ibm.com>
10889
10890 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10891 for little-endian.
10892 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10894 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10895 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10896 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10897
6a31fe7f
AM
108982013-10-04 Alan Modra <amodra@gmail.com>
10899
10900 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10901 constants to usual value for .cst8 section, and remove redundant
10902 high address load.
10903 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10904 constant for 0x1p52. Load little-endian words of double from
10905 correct stack offsets.
10906
7b88401f
AM
109072013-10-04 Alan Modra <amodra@gmail.com>
10908
10909 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10910 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10911 words of double from correct stack offsets.
10912 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10913 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10914 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10918 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10922 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10924 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10925 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10926 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10927 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10928 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10929
9c008155
AM
109302013-10-04 Alan Modra <amodra@gmail.com>
10931
10932 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10933 64-bit int/double union.
10934 (_FPU_SETCW): Likewise.
10935 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10936 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10937
da13146d
AM
109382013-10-04 Alan Modra <amodra@gmail.com>
10939
10940 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10941 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10942
603e8410
AM
109432013-10-04 Alan Modra <amodra@gmail.com>
10944
10945 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10946 use vector int constants.
10947 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10948
4a28b3ca
AB
109492013-10-04 Anton Blanchard <anton@au1.ibm.com>
10950
10951 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10952 array with long long.
10953 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10954 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10955 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10956 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10958 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10959 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10960 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10961 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10962 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10963 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10964 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10965 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10966
2ca85d2b
AB
109672013-10-04 Anton Blanchard <anton@au1.ibm.com>
10968
10969 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10970 (__signbit): Likewise. Correct for little-endian.
10971 (__signbitl): Call __signbit.
10972 (lrint): Correct for little-endian.
10973 (lrintf): Call lrint.
10974
62a728ae
AM
109752013-10-04 Alan Modra <amodra@gmail.com>
10976
10977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10978 union 32-bit int array member with 64-bit int array.
10979 (t515, tm256): Double rather than long double.
10980 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10981
32c301df
AM
109822013-10-04 Alan Modra <amodra@gmail.com>
10983
10984 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10985 Delete.
10986 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10987 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10988 version of math_ldbl.h.
10989
650ef4bd
AM
109902013-10-04 Alan Modra <amodra@gmail.com>
10991
10992 [BZ #15734], [BZ #15735]
10993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10994 all uses of ieee875 long double macros and unions. Simplify test
10995 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10996 ldbl_extract_mantissa value for ix,iy exponents. Properly
10997 normalize after ldbl_extract_mantissa, and don't add hidden bit
10998 already handled. Don't treat low word of ieee854 mantissa like
10999 low word of IBM long double and mask off bit when testing for
11000 zero.
11001 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11002 all uses of ieee875 long double macros and unions. Simplify tests
11003 for 0.0L and inf. Correct double adjustment of k. Delete dead code
11004 adjusting ha,hb. Simplify code setting kld. Delete two600 and
11005 two1022, instead use their values. Recognise that tests for large
11006 "a" and small "b" are mutually exclusive. Rename vars. Comment.
11007 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11008 Rewrite all uses of ieee875 long double macros and unions. Simplify
11009 test for 0.0L and nan. Correct negation.
11010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11011 ieee875 long double macros and unions. Correct output for large
11012 magnitude x. Correct absolute value calculation.
11013 (__erfcl): Likewise.
11014 * math/libm-test.inc: Add tests for errors discovered in IBM long
11015 double versions of fmodl, remainderl, erfl and erfcl.
11016
765714ca
AM
110172013-10-04 Alan Modra <amodra@gmail.com>
11018
11019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11020 all uses of ieee854 long double macros and unions. Simplify tests
11021 for long doubles that are fully specified by the high double.
11022 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11023 Likewise.
11024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11025 Remove dead code too.
11026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11027 (__ieee754_ynl): Likewise.
11028 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11031 Remove dead code too.
11032 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11034 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11035 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11036 Simplify.
11037 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11038 Simplify.
11039 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11040 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11042 Comment on variable precision.
11043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11045 Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11050 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11051
4ebd120c
AM
110522013-10-04 Alan Modra <amodra@gmail.com>
11053
11054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11056 all uses of ieee854 long double macros and unions.
11057 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11063 Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11070 Simplify sign and nan test too.
11071 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11075 Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11078 Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11085
1b6adf88
AM
110862013-10-04 Alan Modra <amodra@gmail.com>
11087
11088 * stdio-common/printf_size.c (__printf_size): Don't use
11089 union ieee854_long_double in fpnum union.
11090 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
11091 signbit macro to retrieve sign from long double.
11092 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11093 retrieve sign from long double.
11094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11095 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11096 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11097 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11098 * math/test-misc.c (main): Don't use union ieee854_long_double.
11099
4cf69995
AM
111002013-10-04 Alan Modra <amodra@gmail.com>
11101
11102 [BZ #15680]
11103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11104 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11105 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11106 calculation. Remove unnecessary test for denormal exponent.
11107 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11108 Correct handling of denormals. Avoid undefined shift behaviour.
11109 Correct normalisation of low mantissa when low double is denormal.
11110 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11111 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
11112 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11113 Correct normalisation of low mantissa. Test for overflow of high
11114 mantissa and normalise.
11115 (ldbl_nearbyint): Use more readable constant for two52.
11116 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11117 (__mpn_construct_long_double): Fix test for overflow of high
11118 mantissa and correct normalisation. Avoid undefined shift.
11119
9605ca6c
AM
111202013-10-04 Alan Modra <amodra@gmail.com>
11121
11122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11123 (union ibm_extended_long_double): Define as an array of ieee754_double.
11124 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11125 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11126 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11127 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11135
975569d0
JM
111362013-10-03 Joseph Myers <joseph@codesourcery.com>
11137
d3d23756
JM
11138 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11139 page size instead of calling getpagesize.
11140
975569d0
JM
11141 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11142 (LOCFILE_ALIGN_MASK): Likewise.
11143 (LOCFILE_ALIGN_UP): Likewise.
11144 (LOCFILE_ALIGNED_P): Likewise.
11145 * locale/programs/ld-collate.c (collate_output): Use the new
11146 macros instead of __alignof__ (int32_t).
11147 * locale/weight.h (findidx): Likewise.
11148
b1fe1f2b
OB
111492013-10-03 Ondřej Bílka <neleai@seznam.cz>
11150
11151 [BZ #431]
11152 * manual/string.texi: Fix strncat and wcsncat.
11153
5f855e35
BM
111542013-10-03 Brooks Moses <bmoses@google.com>
11155
11156 [BZ #15915]
11157 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11158 * Makerules: ...here, and adjust associated comments.
11159
3cef6009
WN
111602013-10-02 Will Newton <will.newton@linaro.org>
11161
11162 * malloc/Makefile: Add tst-pvalloc.
11163 * malloc/tst-pvalloc.c: New file.
11164
7815420b
WN
111652013-10-02 Will Newton <will.newton@linaro.org>
11166
11167 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11168 improve test coverage.
11169
4868b204
WN
111702013-10-02 Will Newton <will.newton@linaro.org>
11171
11172 * malloc/Makefile: Add tst-posix_memalign.
11173 * malloc/tst-posix_memalign.c: New file.
11174
29c793b3
EB
111752013-10-01 Eric Blake <eblake@redhat.com>
11176
11177 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11178 Use __THROWNL rather than __THROW on static functions.
11179
fd967522
PM
111802013-09-30 Petr Machata <pmachata@redhat.com>
11181
11182 * elf/elf.h (R_AARCH64_ABS16): New macro.
11183 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11184 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11185 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11186 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11187 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11188 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11189 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11190 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11191 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11192 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11193 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11194 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11195 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11196 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11197 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11198 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11199 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11200 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11201 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11202 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11203 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11204 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11205 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11206 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11207 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11208 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11209 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11210 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11211 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11212 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11213 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11214 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11215 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11216 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11217 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11218 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11219 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11220 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11221 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11222 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11223 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11224 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11225 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11226 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11227 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11228 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11229 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11230 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11231 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11232 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11233 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11234 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11235 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11236 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11237 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11238 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11239 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11240 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11241 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11242 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11243 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11244 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11245 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11246 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11247 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11248 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11249 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11250 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11251 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11252 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11253 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11254 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11255 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11256 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11257 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11258 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11259 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11260 (R_AARCH64_TLSDESC_LDR): Likewise.
11261 (R_AARCH64_TLSDESC_ADD): Likewise.
11262 (R_AARCH64_TLSDESC_CALL): Likewise.
11263
b2179107
AS
112642013-09-30 Andreas Schwab <schwab@suse.de>
11265
11266 [BZ #15048]
11267 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11268 the nss database lookup.
11269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11271
47f28d0a
MF
112722013-09-28 Mike Frysinger <vapier@gentoo.org>
11273
11274 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11275
112762013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
11277
11278 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11279 ${Bash-specific parameter/pattern/string} parameter expansion.
11280 * sysdeps/unix/make-syscalls.sh: Likewise.
11281
f4518a17
KK
112822013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11283
11284 * sysdeps/sh/stackguard-macros.h: New file.
11285
dc1a95c7
OB
112862013-09-26 Ondřej Bílka <neleai@seznam.cz>
11287
11288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11290 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11291 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11292 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11293 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11294
5ebbff8f
AZ
112952013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296
11297 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11298 Fix thread ID register.
11299
4fd2cf9f
JM
113002013-09-25 Joseph Myers <joseph@codesourcery.com>
11301
11302 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11303 [POSIX || UNIX98]: Require rather than permitting all symbols from
11304 <time.h>.
11305 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11306 element of struct sched_param.
11307 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11308 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11309 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11310 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11311 constant.
11312
12c22bc4
OL
113132013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11314
11315 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11316 argument calculation.
11317
a03d8ea7
JM
113182013-09-24 Joseph Myers <joseph@codesourcery.com>
11319
11320 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11321 Expect macro.
11322 [POSIX] (pthread_attr_t): Do not require type.
11323 [POSIX] (pthread_cond_t): Likewise.
11324 [POSIX] (pthread_condattr_t): Likewise.
11325 [POSIX] (pthread_key_t): Likewise.
11326 [POSIX] (pthread_mutex_t): Likewise.
11327 [POSIX] (pthread_mutexattr_t): Likewise.
11328 [POSIX] (pthread_once_t): Likewise.
11329 [POSIX] (pthread_t): Likewise.
11330 [POSIX-based standards] (pthread_atfork): Expect function.
11331
6055173a
JM
113322013-09-24 Joseph Myers <joseph@codesourcery.com>
11333 Richard Sandiford <richard@codesourcery.com>
11334
11335 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11336 (swap_endianness_p): New extern variable.
11337 (set_big_endian): New inline function.
11338 (maybe_swap_uint32): Likewise.
11339 (maybe_swap_uint32_array): Likewise.
11340 (maybe_swap_uint32_obstack): Likewise.
11341 * locale/programs/locfile.c: Include <stdbool.h>.
11342 (swap_endianness_p): New variable.
11343 (add_locale_uint32): Call maybe_swap_uint32.
11344 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11345 (write_locale_data): Call maybe_swap_uint32_array.
11346 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11347 maybe_swap_uint32.
11348 (obstack_int32_grow_fast): Likewise.
11349 (output_weightwc): Call maybe_swap_uint32_obstack.
11350 (collate_output): Likewise.
11351 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11352 (OPT_LITTLE_ENDIAN): Likewise.
11353 (options): Add --little-endian and --big-endian options.
11354 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11355 * locale/programs/locarchive.c: Include "locfile.h".
11356 (GET): New macro.
11357 (SET): Likewise.
11358 (INC): Likewise.
11359 (create_archive): Use the new macros to access fields of
11360 structures directly mapped from or written to locale archives.
11361 (oldlocrecentcmp): Likewise.
11362 (enlarge_archive): Likewise.
11363 (insert_name): Likewise.
11364 (add_alias): Likewise.
11365 (add_locale): Likewise.
11366 (delete_locales_from_archive): Likewise.
11367 (show_archive_content): Likewise.
11368 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11369 locale data.
11370
39bf0bb4
RM
113712013-09-24 Roland McGrath <roland@hack.frob.com>
11372
11373 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11374 http://www.gnu.org/doc/freemanuals.texi.
11375 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11376
f02eed10
WN
113772013-09-24 Will Newton <will.newton@linaro.org>
11378
11379 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11380 macro.
11381
a3a6c312
JM
113822013-09-23 Joseph Myers <joseph@codesourcery.com>
11383
11384 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11385 unsigned char.
11386
107375ac
MR
113872013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11388
11389 * manual/threads.texi (POSIX Threads): Fix a typo.
11390
141f3a77
SP
113912013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11392
303e567a
SP
11393 [BZ #14547]
11394 * string/tst-strcoll-overflow.c: New test case.
11395 * string/Makefile (xtests): Add tst-strcoll-overflow.
11396 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11397 cache if string sizes may cause integer overflow.
11398
141f3a77
SP
11399 [BZ #14547]
11400 * string/strcoll_l.c (coll_seq): New members rule, idx,
11401 save_idx and back_us.
11402 (get_next_seq_nocache): New function.
11403 (do_compare_nocache): New function.
11404 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11405 when malloc fails.
11406
c61b4d41
CD
114072013-09-23 Carlos O'Donell <carlos@redhat.com>
11408
0b1f8e35
CD
11409 [BZ #15754]
11410 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11411 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11412 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11413
c61b4d41
CD
11414 [BZ #15754]
11415 * elf/Makefile (tests): Add tst-ptrguard1.
11416 (tests-static): Add tst-ptrguard1-static.
11417 (tst-ptrguard1-ARGS): Define.
11418 (tst-ptrguard1-static-ARGS): Define.
11419 * elf/tst-ptrguard1.c: New file.
11420 * elf/tst-ptrguard1-static.c: New file.
11421 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11422 * sysdeps/i386/stackguard-macros.h: Likewise.
11423 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11424 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11425 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11426 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11427 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11428 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11429
114302013-09-23 Hector Marco <hecmargi@upv.es>
11431 Ismael Ripoll <iripoll@disca.upv.es>
11432 Carlos O'Donell <carlos@redhat.com>
11433
11434 [BZ #15754]
11435 * sysdeps/generic/stackguard-macros.h: Define
11436 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11437 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11438 Define __pointer_chk_guard_local.
11439 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11440 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11441
f5f4e7b4
VV
114422013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11443
11444 [BZ #15859]
11445 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11446
5bb43a43
AS
114472013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 * include/string.h (__ffs): Declare as hidden.
11450 * string/ffs.c (__ffs): Define as hidden.
11451 * sysdeps/i386/ffs.c (__ffs): Likewise.
11452 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11453 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11454 * sysdeps/s390/ffs.c (__ffs): Likewise.
11455 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11456
3ea5be54
AO
114572013-09-20 Alexandre Oliva <aoliva@redhat.com>
11458
ffb89e53
AO
11459 * NEWS: Mention malloc probes.
11460
322dea08
AO
11461 * malloc/arena.c (new_heap): New memory_heap_new probe.
11462 (grow_heap): New memory_heap_more probe.
11463 (shrink_heap): New memory_heap_less probe.
11464 (heap_trim): New memory_heap_free probe.
11465 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11466 (systrim): New memory_sbrk_less probe.
11467 * manual/probes.texi: Document them.
11468
655673f3
AO
11469 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11470 * manual/probes.texi: Document it.
11471
35fed6f1
AO
11472 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11473 (__libc_realloc): Add memory_realloc_retry probe.
11474 (__libc_memalign): Add memory_memalign_retry probe.
11475 (__libc_valloc): Add memory_valloc_retry probe.
11476 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11477 (__libc_calloc): Add memory_calloc_retry probe.
11478 * manual/probes.texi: Document them.
11479
6999d38c
AO
11480 * malloc/arena.c (get_free_list): Add probe
11481 memory_arena_reuse_free_list.
11482 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11483 and memory_arena_reuse.
11484 (arena_get2) [!PER_THREAD]: Likewise.
11485 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11486 memory_arena_reuse_realloc.
11487 * manual/probes.texi: Document them.
11488
0653427f
AO
11489 * malloc/malloc.c (__libc_free): Add
11490 memory_mallopt_free_dyn_thresholds probe.
11491 (__libc_mallopt): Add multiple memory_mallopt probes.
11492 * manual/probes.texi: Document them.
11493
3ea5be54
AO
11494 * malloc/malloc.c: Include stap-probe.h.
11495 (__libc_mallopt): Add memory_mallopt probe.
11496 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11497 * manual/probes.texi: New.
11498 * manual/Makefile (chapters): Add probes.
11499 * manual/threads.texi: Set next node.
11500
e35696c3 115012013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 11502
e35696c3
CL
11503 [BZ #15963, #13985]
11504 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11505 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11506 Add `Chinese' to `nan' entry name.
11507
4aafb73c
SP
115082013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11509
11510 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11511 (POLYNOMIAL): Likewise.
11512 (TAYLOR_SINCOS): Likewise.
11513 (TAYLOR_SLOW): Likewise.
11514 (__sin): Use TAYLOR_SINCOS.
11515 (__cos): Likewise.
11516 (slow): Use TAYLOR_SLOW.
11517 (sloww): Likewise.
11518 (bsloww): Likewise.
11519 (csloww): Likewise.
11520
d84f25c7
LD
115212013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11522
11523 * stdlib/strtod_l.c: Fix buffer overrun.
11524
5eea0404
SP
115252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11526
7849ff93
SP
11527 * benchtests/Makefile (bench): Add sincos.
11528 * benchtests/bench-sincos.c: New file.
11529
cfa3c886
SP
11530 * math/libm-test.inc (cos_test_data): New test inputs.
11531 (sin_test_data): Likewise.
11532
b348e1e3
SP
11533 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11534 macro.
11535 (__sin): Use it.
11536 (__cos): Likewise.
11537 (slow1): Likewise.
11538 (slow2): Likewise.
11539 (sloww1): Likewise.
11540 (sloww2): Likewise.
11541 (bsloww1): Likewise.
11542 (bsloww2): Likewise.
11543 (cslow2): Likewise.
11544 (csloww1): Likewise.
11545 (csloww2): Likewise.
11546
6cce25f8
SP
11547 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11548 function.
11549 (__sin): Use it.
11550 (__cos): Likewise.
11551
5eea0404
SP
11552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11553 gotos.
11554 (__cos): Likewise.
11555
9c21573c
MR
115562013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11557
11558 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11559 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11560 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11561 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11562 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11563 * elf/cache.c (print_entry): Handle the new cache flags.
11564
24d22e65
JM
115652013-09-18 Joseph Myers <joseph@codesourcery.com>
11566 Aldy Hernandez <aldyh@redhat.com>
11567
11568 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11569 Change condition to [_SOFT_FLOAT].
11570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11582 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11585 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11586 declaration.
11587
d13ef066
JM
115882013-09-18 Joseph Myers <joseph@codesourcery.com>
11589
2e071de0
JM
11590 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11591 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11592 (__longjmp): Use LOAD_GP to load saved GPRs.
11593 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11594 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11595 (__sigsetjmp): Use SAVE_GP to save GPRs.
11596
d13ef066
JM
11597 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11598 Do not append -msoft-float.
11599 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11600
97a0650b
SP
116012013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11602
11603 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11604
11ca09e9
JM
116052013-09-17 Joseph Myers <joseph@codesourcery.com>
11606
11607 [BZ #15966]
11608 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11609 (_FPU_GETCW): Use initial "__" on variable and field names but not
11610 on macro parameter name.
11611 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11612 parentheses around reference to macro parameter.
11613
08ffcf34
RS
116142013-09-13 Richard Sandiford <richard@codesourcery.com>
11615
11616 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11617 prototype.
11618 (ctype_startup): Use uint32_t in cast and sizeof for
11619 ctype->charnames.
11620
ae7080d3
JL
116212013-09-11 Jia Liu <proljc@gmail.com>
11622
11623 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11624 __daddr_t_defined.
11625 [__FreeBSD__]: Likewise.
11626
5905e7b3
OB
116272013-09-11 Ondřej Bílka <neleai@seznam.cz>
11628
11629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11630 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11631 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11632 (strchr): Remove __strchr_sse42 ifunc selection.
11633 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11634 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11635
b987c776
WN
116362013-09-11 Will Newton <will.newton@linaro.org>
11637
11638 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11639 parameter to RES. Remove hardcoded 1000 value.
11640 * benchtests/bench-skeleton.c (main): Pass RES parameter
11641 to TIMING_INIT and multiply result by 1000.
11642
ddf985af
AZ
116432013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11644
11645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
ffdd3181
AS
116472013-09-11 Andreas Schwab <schwab@suse.de>
11648
11649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11650 if not defined.
11651 (O_TMPFILE) [__USE_GNU]: Define.
11652 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11653 Define.
11654
b73ed247
WN
116552013-09-11 Will Newton <will.newton@linaro.org>
11656
11657 [BZ #15857]
11658 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11659 does not overflow.
11660
55e17aad
WN
116612013-09-11 Will Newton <will.newton@linaro.org>
11662
11663 [BZ #15856]
11664 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11665 does not overflow.
11666
1159a193
WN
116672013-09-11 Will Newton <will.newton@linaro.org>
11668
11669 [BZ #15855]
11670 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11671 does not overflow.
11672
5905e7b3 116732013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
11674
11675 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11676 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11680
cdfc721b
AM
116812013-09-10 Allan McRae <allan@archlinux.org>
11682
aa04af00
AM
11683 [BZ #15748]
11684 * manual/arith.texi (Parsing of Floats): Clarify
11685 cross-reference.
11686
cdfc721b
AM
11687 [BZ #15849]
11688 * manual/install.texi (Running make install): Mention
11689 --enable-pt-chown.
11690 * INSTALL: Regenerated.
11691
95e7cf29
MR
116922013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11693
11694 * csu/init-first.c (_init): Remove the !SHARED condition around
11695 FPU control word initialization.
11696 * elf/dl-support.c (_dl_fpu_control): New variable.
11697 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11698 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11699 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11700 * math/test-fpucw-static.c: New file.
11701 * math/test-fpucw-ieee.c: New file.
11702 * math/test-fpucw-ieee-static.c: New file.
11703 * math/Makefile (tests): Add `test-fpucw-ieee' and
11704 `$(tests-static)'.
11705 (tests-static): New variable.
11706 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11707 dependency to...
11708 [($(build-shared),yes)]
11709 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11710 ... this.
11711 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11712 New dependency.
11713
83e43bf0
AM
117142013-09-09 Allan McRae <allan@archlinux.org>
11715
a9f5ce09
AM
11716 [BZ #15939]
11717 * manual/string.texi (Collation Functions): Fix typo in
11718 strcoll example.
11719 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11720
34829bc2
AM
11721 [BZ #15893]
11722 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11723
3932737d
AM
11724 [BZ #15892]
11725 * libio/memstream.c (open_memstream): Fix memory leak.
11726 * libio/wmemstream.c (open_wmemstream): Likewise.
11727
83e43bf0
AM
11728 [BZ #15895]
11729 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11730
0c66b8e9
WN
117312013-09-09 Will Newton <will.newton@linaro.org>
11732
11733 * malloc/Makefile: Add tst-realloc to tests.
11734 * malloc/tst-realloc.c: New file.
11735
f6b00fd1
AM
117362013-09-09 Allan McRae <allan@archlinux.org>
11737
11738 [BZ #15844]
11739 * COPYING: Update from GNU website to fix FSF address.
11740 * COPYING.LIB: Likewise.
11741
eec55e16
DM
117422013-09-06 David S. Miller <davem@davemloft.net>
11743
11744 * po/zh_TW.po: Update Chinese (traditional) translation from
11745 translation project.
11746
1ecbb381
RS
117472013-09-06 Richard Sandiford <richard@codesourcery.com>
11748 Joseph Myers <joseph@codesourcery.com>
11749
11750 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11751 "localeinfo.h".
11752 (obstack_chunk_alloc): New macro.
11753 (obstack_chunk_free): Likewise.
11754 (record_offset): New function.
11755 (init_locale_data): Likewise.
11756 (align_locale_data): Likewise.
11757 (add_locale_empty): Likewise.
11758 (add_locale_raw_data): Likewise.
11759 (add_locale_raw_obstack): Likewise.
11760 (add_locale_string): Likewise.
11761 (add_locale_wstring): Likewise.
11762 (add_locale_uint32): Likewise.
11763 (add_locale_uint32_array): Likewise.
11764 (add_locale_char): Likewise.
11765 (start_locale_structure): Likewise.
11766 (end_locale_structure): Likewise.
11767 (start_locale_prelude): Likewise.
11768 (end_locale_prelude): Likewise.
11769 (write_locale_data): Take locale_file structure rather than an
11770 iovec.
11771 * locale/programs/locfile.h: Include "obstack.h".
11772 (struct locale_file): Change to store locale file contents instead
11773 of header.
11774 (init_locale_data): New prototype.
11775 (align_locale_data): Likewise.
11776 (add_locale_empty): Likewise.
11777 (add_locale_raw_data): Likewise.
11778 (add_locale_raw_obstack): Likewise.
11779 (add_locale_string): Likewise.
11780 (add_locale_wstring): Likewise.
11781 (add_locale_uint32): Likewise.
11782 (add_locale_uint32_array): Likewise.
11783 (add_locale_char): Likewise.
11784 (start_locale_structure): Likewise.
11785 (end_locale_structure): Likewise.
11786 (start_locale_prelude): Likewise.
11787 (end_locale_prelude): Likewise.
11788 (write_locale_data): Update prototype.
11789 * locale/programs/3level.h (struct TABLE): Remove result field.
11790 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11791 Use new locale_file interface.
11792 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11793 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11794 * locale/programs/ld-address.c (address_output): Use new
11795 locale_file interface.
11796 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11797 NO_ADD_LOCALE.
11798 (collate_finish): Don't call collseq_table_finalize.
11799 (collate_output): Use new locale_file interface.
11800 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11801 in file.
11802 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11803 (TABLE): Move defines earlier in file.
11804 (ELEMENT): Likewise.
11805 (DEFAULT): Likewise.
11806 (wctrans_table_add): Move macro and inline function earlier in
11807 file.
11808 (struct wctype_table): Move type earlier in file.
11809 (add_locale_wctype_table): New static prototype.
11810 (struct locale_ctype_t): Use logical types instead of struct iovec
11811 pointers for members.
11812 (ctype_output): Use new locale_file interface.
11813 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11814 new locale_file interface.
11815 (allocate_arrays): Update for use of new locale_file interface.
11816 * locale/programs/ld-identification.c (identification_output): Use
11817 new locale_file interface.
11818 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11819 * locale/programs/ld-messages.c (messages_output): Likewise.
11820 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11821 * locale/programs/ld-name.c (name_output): Likewise.
11822 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11823 * locale/programs/ld-paper.c (paper_output): Likewise.
11824 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11825 * locale/programs/ld-time.c (time_output): Likewise.
11826
e029e2e5
AZ
118272013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11828
11829 * benchtests/Makefile: Add memrchr benchmark.
11830 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11831 benchmark as memrchr.
11832 * benchtests/bench-memrchr-ifunc.c: New file.
11833 * benchtests/bench-memrchr.c: New file.
11834
bbf6e8e4
WN
118352013-09-06 Will Newton <will.newton@linaro.org>
11836
11837 * benchtests/Makefile (string-bench): Add memcpy.
11838
6c82a2f8
CD
118392013-09-05 Carlos O'Donell <carlos@redhat.com>
11840 Cong Wang <amwang@redhat.com>
11841
e732c5f0 11842 [BZ #15850]
6c82a2f8
CD
11843 * sysdeps/unix/sysv/linux/bits/in.h
11844 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11845 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11846 before __USE_KERNEL_IPV6_DEFS uses.
11847 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11848 IPPROTO_BEETPH.
11849 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11850 sockaddr_in6, or ipv6_mreq.
11851
5430fc65
AZ
118522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11853
11854 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11855 memory access for final bytes in some large inputs.
11856 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11857
4660856c
AZ
118582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * string/test-memrchr.c: New file.
11861 * string/test-memrchr-ifunc.c: New file.
11862 * string/Makefile: Add new memrchr testcase.
11863
bb8ea713
MF
118642013-09-05 Mike Frysinger <vapier@gentoo.org>
11865
11866 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11867 fanotify_init returns EPERM.
11868
b92a20b5
JM
118692013-09-04 Joseph Myers <joseph@codesourcery.com>
11870
11871 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11872 errors.
11873 (top level): Treat second token from macro or constant entries for
11874 allowed headers as allowed.
11875 * include/complex.h: Condition internal declarations on
11876 [!_ISOMAC].
11877 * include/fenv.h: Condition include of <stdbool.h> and internal
11878 declarations on [!_ISOMAC].
7447ccd9
CL
11879
118802013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11881
3e181dda 11882 [BZ #15923]
7447ccd9
CL
11883 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11884
3f2e46a4
JM
118852013-09-04 Joseph Myers <joseph@codesourcery.com>
11886
11887 * configure.in (--enable-versioning): Remove configure option.
11888 (libc_cv_asm_symver_directive): Remove configure test.
11889 (libc_cv_ld_version_script_option): Likewise.
11890 (VERSIONING): Remove variable and AC_SUBST.
11891 (DO_VERSIONING): Remove AC_DEFINE.
11892 * configure: Regenerated.
11893 * config.h.in (DO_VERSIONING): Remove macro.
11894 * Makerules [$(versioning) = yes]: Change conditionals to
11895 [$(build-shared) = yes].
11896 * config.make.in (versioning): Remove variable.
11897 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11898 [$(build-shared) = yes].
11899 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11900 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11901 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11902 [$(build-shared) = yes].
11903 * extra-lib.mk [$(versioning) = yes]: Likewise.
11904 * hurd/Makefile [$(versioning) = yes]: Likewise.
11905 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11906 [SHARED].
11907 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11908 [SHARED].
11909 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11910 [SHARED && !NO_HIDDEN].
11911 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11912 [SHARED].
11913 [SHARED && DO_VERSIONING]: Likewise..
11914 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11915 [$(build-shared) = yes].
11916 * manual/install.texi (--disable-versioning): Remove
11917 documentation.
11918 * INSTALL: Regenerated.
11919 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11920 to [SHARED].
11921 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11922 [$(build-shared) = yes].
11923 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11924 * sysdeps/i386/i686/multiarch/strstr-c.c
11925 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11926 [SHARED && !NO_HIDDEN].
11927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11928 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11929 * sysdeps/powerpc/powerpc32/dl-machine.c
11930 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11931 * sysdeps/powerpc/powerpc32/sysdep.h
11932 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11933 to [SHARED && PIC && !NO_HIDDEN].
11934 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11935 conditional to [SHARED].
11936
44558701
WN
119372013-09-04 Will Newton <will.newton@linaro.org>
11938
11939 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11940 * benchtests/bench-string.h: Include bench-timing.h instead
11941 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11942 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11943 call to HP_TIMING_DIFF_INIT.
11944 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11945 instead of hp-timing.h macros.
11946 * benchtests/bench-memchr.c: Likewise.
11947 * benchtests/bench-memcmp.c: Likewise.
11948 * benchtests/bench-memcpy.c: Likewise.
11949 * benchtests/bench-memmem.c: Likewise.
11950 * benchtests/bench-memmove.c: Likewise.
11951 * benchtests/bench-memset.c: Likewise.
11952 * benchtests/bench-rawmemchr.c: Likewise.
11953 * benchtests/bench-strcasecmp.c: Likewise.
11954 * benchtests/bench-strcasestr.c: Likewise.
11955 * benchtests/bench-strcat.c: Likewise.
11956 * benchtests/bench-strchr.c: Likewise.
11957 * benchtests/bench-strcmp.c: Likewise.
11958 * benchtests/bench-strcpy.c: Likewise.
11959 * benchtests/bench-strcpy_chk.c: Likewise.
11960 * benchtests/bench-strlen.c: Likewise.
11961 * benchtests/bench-strncasecmp.c: Likewise.
11962 * benchtests/bench-strncat.c: Likewise.
11963 * benchtests/bench-strncmp.c: Likewise.
11964 * benchtests/bench-strncpy.c: Likewise.
11965 * benchtests/bench-strnlen.c: Likewise.
11966 * benchtests/bench-strpbrk.c: Likewise.
11967 * benchtests/bench-strrchr.c: Likewise.
11968 * benchtests/bench-strspn.c: Likewise.
11969 * benchtests/bench-strstr.c: Likewise.
11970
cae16d66
WN
119712013-09-04 Will Newton <will.newton@linaro.org>
11972
11973 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11974
ffa3cd7f
JM
119752013-09-03 Joseph Myers <joseph@codesourcery.com>
11976
11977 [BZ #15427]
11978 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11979 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11980 * math/libm-test.inc (lgamma_test_data): Add more tests.
11981 * sysdeps/i386/fpu/libm-test-ulps: Update.
11982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11983
8f02859f
OB
119842013-09-03 Ondřej Bílka <neleai@seznam.cz>
11985
11986 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11988 Add ifunc.
11989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11990 Add strcmp-sse2-unaligned
11991 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11992
18d43716
MF
119932013-09-02 Mike Frysinger <vapier@gentoo.org>
11994
11995 * Versions.def (libc): Add GLIBC_2.19.
11996
ac444012
MF
119972013-09-02 Mike Frysinger <vapier@gentoo.org>
11998
11999 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12000 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12001
b7835e32
JM
120022013-09-02 Joseph Myers <joseph@codesourcery.com>
12003
12004 [BZ #14155]
12005 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12006 intermediate calculations in recurrence.
12007 (__ieee754_ynf): Likewise.
12008 * math/libm-test.inc (jn_test_data): Do not allow spurious
12009 underflow exception. Add more tests.
12010 (yn_test_data): Add more tests.
12011 * sysdeps/i386/fpu/libm-test-ulps: Update.
12012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12013
8220f4f0
OB
120142013-09-02 Ondřej Bílka <neleai@seznam.cz>
12015
12016 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12017
f24a6d08
OB
120182013-08-30 Ondřej Bílka <neleai@seznam.cz>
12019
12020 * csu/init-first.c: Fix then/than typos.
12021 * locale/programs/ld-collate.c: Likewise.
12022 * locale/programs/linereader.h: Likewise.
12023 * manual/charset.texi: Likewise.
12024 * manual/filesys.texi: Likewise.
12025 * manual/stdio.texi: Likewise.
12026 * manual/string.texi: Likewise.
12027 * stdlib/fmtmsg.c: Likewise.
12028 * sysdeps/i386/stpncpy.S: Likewise.
12029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12030 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12031 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12032 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12033
382466e0
OB
120342013-08-30 Ondřej Bílka <neleai@seznam.cz>
12035
12036 * elf/dl-open.c: Fix typos.
12037 * iconvdata/gbbig5.c: Likewise.
12038 * iconvdata/iso-2022-jp.c: Likewise.
12039 * iconv/gconv_int.h: Likewise.
12040 * iconv/loop.c: Likewise.
12041 * nis/rpcsvc/nis.h: Likewise.
12042 * resolv/ns_name.c: Likewise.
12043 * stdio-common/vfscanf.c: Likewise.
12044 * streams/stropts.h: Likewise.
12045 * sunrpc/rpc_thread.c: Likewise.
12046 * sysdeps/i386/strpbrk.S: Likewise.
12047 * sysdeps/ieee754/k_standard.c: Likewise.
12048 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12050 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12051 * sysdeps/mach/hurd/profil.c: Likewise.
12052 * sysdeps/s390/dl-procinfo.h: Likewise.
12053 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12055 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12056 * sysdeps/x86_64/dl-trampoline.S: Likewise.
12057 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12058
0186c6e9
OB
120592013-08-30 Ondřej Bílka <neleai@seznam.cz>
12060
12061 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12062 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12063
d4e16af1
OB
120642013-08-29 Ondřej Bílka <neleai@seznam.cz>
12065
12066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12067 aix specific files.
12068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12069 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12075 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12076
88335980
TS
120772013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12078 Roland McGrath <roland@hack.frob.com>
12079
12080 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12081 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12082
ed479b02
ST
120832013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
12084
12085 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12086 __executable_start symbol instead of _start.
12087
f1cc4c86
TS
120882013-08-29 Thomas Schwinge <thomas@codesourcery.com>
12089
d821f07c
TS
12090 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12091 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12092 Move macros to...
12093 * sysdeps/gnu/ldsodefs.h: ... this new file.
12094
c54290cf
TS
12095 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12096 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12097 instead of ELFOSABI_LINUX.
12098
0007fc9b 12099 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
12100 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12101 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12102 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12103 Likewise.
12104 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12105 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12107 Likewise.
12108 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12109 (ibm_extended_long_double): Add ieee_nan member.
12110 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12111 (do_test): New function.
12112
f1cc4c86
TS
12113 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12114 TEST_TRUNC.
12115 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12116 functions, renamed from truncdfsf_test, trunctfsf_test,
12117 trunctfdf_test.
12118 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12119 functions.
12120 (do_test): Run all these.
12121
6f65e668
OB
121222013-08-29 Ondřej Bílka <neleai@seznam.cz>
12123
12124 * argp/argp-help.c: Fix typos.
12125 * argp/argp-parse.c: Likewise.
12126 * debug/backtracesyms.c: Likewise.
12127 * elf/elf.h: Likewise.
12128 * malloc/malloc.c: Likewise.
12129 * nis/nis_print.c: Likewise.
12130 * resolv/res_comp.c: Likewise.
12131 * stdlib/stdlib.h: Likewise.
12132 * sunrpc/clnt_tcp.c: Likewise.
12133 * sunrpc/clnt_udp.c: Likewise.
12134 * sunrpc/clnt_unix.c: Likewise.
12135 * sysdeps/unix/bsd/ptsname.c: Likewise.
12136 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12139 Likewise.
12140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12141 Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12143 Likewise.
6f65e668
OB
12144 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12145
3a309239
SP
121462013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12147
12148 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12150
3b813b29
MF
121512013-08-27 Mike Frysinger <vapier@gentoo.org>
12152
12153 [BZ #15897]
12154 * dlfcn/Makefile (tests): Add bug-dl-leaf.
12155 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12156 ($(objpfx)bug-dl-leaf): New rule.
12157 ($(objpfx)bug-dl-leaf.so): Likewise.
12158 ($(objpfx)bug-dl-leaf.out): Likewise.
12159 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12160 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12161 * dlfcn/bug-dl-leaf.c: New test.
12162 * dlfcn/bug-dl-leaf-lib.c: Likewise.
12163 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12164 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12165 (dlclose): Likewise.
12166 (dlmopen): Likewise.
12167
8cc3269f
RM
121682013-08-27 Roland McGrath <roland@hack.frob.com>
12169
7f9d0034
RM
12170 * include/netdb.h [!_ISOMAC]:
12171 Don't include <tls.h>.
12172 (h_errno, __libc_h_errno): Move declaration and macros out of
12173 [_LIBC_REENTRANT].
12174
fb431262
RM
12175 * include/resolv.h [_RESOLV_H_]:
12176 Don't include <tls.h>.
12177 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12178 * resolv/res_libc.c: Don't include <tls.h>.
12179 (_res): Use __attribute__ ((nocommon)) in place of
12180 __attribute__ ((section (".bss"))).
12181
bd81123a
RM
12182 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12183 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12184
c4e42566
RM
12185 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12186
f890a59b
RM
12187 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12188 only under [SIOCGIFCONF && SIOCGIFNETMASK].
12189
12190 * resolv/res_mkquery.c: Include <sys/time.h>.
12191
5d1f0a09
RM
12192 * inet/ifreq.c: Moved to ...
12193 * sysdeps/unix/ifreq.c: ... here.
12194 * inet/ifreq.c: New file, true stub version.
12195
6fcf28b3
RM
12196 * socket/sa_len.c: New file.
12197 * socket/Makefile (aux): Add it.
12198 * sysdeps/unix/sysv/linux/Makefile
12199 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12200 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12201 and #include <socket/sa_len.c>.
12202 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12203 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12204
e041fb8b
RM
12205 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12206 * bits/socket.h: ... here.
12207
8cc3269f
RM
12208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12209 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12210 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12211
5d228a43
AS
122122013-08-27 Andreas Schwab <schwab@suse.de>
12213
45b8accc
AS
12214 [BZ #15736]
12215 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12216 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12217 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12218 * string/test-strcasecmp.c (test_main): Run tests in several
12219 locales.
12220 * string/test-strncasecmp.c (test_main): Likewise.
12221
5d228a43
AS
12222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12223 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12224 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12226 (__strncasecmp_ssse3) [PIC]: Likewise.
12227
59d112a4
RM
122282013-08-26 Roland McGrath <roland@hack.frob.com>
12229
53234cc3
RM
12230 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12231
59d112a4
RM
12232 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12233 instead of explicitly declaring xdecrypt.
12234 * nis/nss_nis/nis-publickey.c: Likewise.
12235
595aba70
SP
122362013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 [BZ #15890]
12239 * nscd/aicache.c: Include res_hconf.h.
12240 (addhstaiX): Initialize res_hconf.
12241
ffabd393
AS
122422013-08-26 Andreas Schwab <schwab@suse.de>
12243
12244 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12245 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12246
e0a69f5c
SP
122472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12248
12249 * nscd/aicache.c (addhstaiX): Fix indentation.
12250
8c12f01d
MF
122512013-08-25 Mike Frysinger <vapier@gentoo.org>
12252
12253 * configure.ac: Quote $build_pt_chown test.
12254 * configure: Regenerated.
12255
8fe89494
JM
122562013-08-23 Joseph Myers <joseph@codesourcery.com>
12257
12258 [BZ #15532]
12259 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12260 * math/s_cexpf.c (__cexpf): Likewise.
12261 * math/s_cexpl.c (__cexpl): Likewise.
12262 * math/libm-test.inc (cexp_test_data): Correct expected return
12263 value for NaN + i0. Add another test.
12264
75b181d6
DM
122652013-08-22 David S. Miller <davem@davemloft.net>
12266
12267 * po/ca.po: Update Catalan translation from translation project.
936241e4 12268 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 12269
acd06bb1
JM
122702013-08-21 Joseph Myers <joseph@codesourcery.com>
12271
12272 [BZ #15797]
12273 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12274 is infinite, not alongside NaN test.
12275 * math/s_fdimf.c (__fdimf): Likewise.
12276 * math/s_fdiml.c (__fdiml): Likewise.
12277 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12278 errno is unchanged.
12279
c0c3f78a
OB
122802013-08-21 Ondřej Bílka <neleai@seznam.cz>
12281
12282 * argp/argp-help.c: Fix typos.
12283 * crypt/speeds.c: Likewise.
12284 * csu/check_fds.c: Likewise.
12285 * elf/dl-load.c: Likewise.
12286 * elf/dl-open.c: Likewise.
12287 * elf/reldep3.c: Likewise.
12288 * elf/reldep.c: Likewise.
12289 * elf/sprof.c: Likewise.
12290 * iconv/iconv_charmap.c: Likewise.
12291 * iconv/skeleton.c: Likewise.
12292 * iconv/strtab.c: Likewise.
12293 * io/lockf64.c: Likewise.
12294 * libio/libioP.h: Likewise.
12295 * resolv/gai_notify.c: Likewise.
12296 * resolv/ns_name.c: Likewise.
12297 * resolv/ns_samedomain.c: Likewise.
12298 * resolv/res_send.c: Likewise.
12299 * stdlib/random.c: Likewise.
12300 * sunrpc/rpc/xdr.h: Likewise.
12301 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12303 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12304 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12305 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12306 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12309 * sysdeps/mach/hurd/check_fds.c: Likewise.
12310 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12313 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12314 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12315 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12316 * sysdeps/pthread/aio_notify.c: Likewise.
12317 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12318 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12321 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12322
46ed1038
LD
123232013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12324
12325 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12326 version if bit_Slow_SSE4_2 is set.
12327 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12329
d400dcac
AZ
123302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12331
12332 [BZ #15867]
12333 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12334 trampoline stack frame information.
12335 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12337 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12338 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12339 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12340 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12341 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12342 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12343 sa_flags value.
12344 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12345 interrupting a syscall and set with option SA_SIGINFO.
12346
42c8fdd8
JM
123472013-08-20 Joseph Myers <joseph@codesourcery.com>
12348
c980f2f4
JM
12349 [BZ #15531]
12350 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12351 argument is infinite.
12352 * math/s_cprojf.c (__cprojf): Likewise.
12353 * math/s_cprojl.c (__cprojl): Likewise.
12354 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12355 * math/libm-test.inc (cproj_test_data): Add more tests.
12356
0716c4fc
JM
12357 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12358
42c8fdd8
JM
12359 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12360 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12361 size. Use __ffs to determine corresponding shift.
12362
b31469d0
JM
123632013-08-20 Joseph Myers <joseph@codesourcery.com>
12364 Roland McGrath <roland@hack.frob.com>
12365
12366 * Makefile (INSTALL): Remove trailing blank lines from output of
12367 makeinfo.
12368
4e39af6e
AK
123692013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12370
12371 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12372 Align 32 bit compat elf_greg to 8 bytes.
12373
f315524e
AA
123742013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12375
12376 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12377
1326ba1a
SP
123782013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12379
12380 * string/strcoll_l.c (coll_seq): New structure.
12381 (get_next_seq_cached): New function.
12382 (get_next_seq): New function.
12383 (do_compare): New function.
12384 (STRCOLL): Use GNU style definition. Simplify implementation
12385 by using get_next_seq, get_next_seq_cached and do_compare.
12386
91ce4085
FW
123872013-08-16 Florian Weimer <fweimer@redhat.com>
12388
12389 [BZ #14699]
12390 CVE-2013-4237
12391 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12392 member.
12393 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12394 member.
12395 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12396 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12397 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12398 conditional.
12399 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12400 GETDENTS_64BIT_ALIGNED.
12401 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12402 * manual/filesys.texi (Reading/Closing Directory): Document
12403 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12404 strongly.
12405 * manual/conf.texi (Limits for Files): Add portability note to
12406 NAME_MAX, PATH_MAX.
12407 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12408
ca0a6bc4
AS
124092013-08-13 Andreas Schwab <schwab@suse.de>
12410
12411 [BZ #15749]
12412 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12413 of fabs.
12414 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12415 LDBL_MAX_EXP >= 16384]: Add tests for it.
12416
6c1fd795
DM
124172013-08-12 David S. Miller <davem@davemloft.net>
12418
12419 * version.h (RELEASE): Set to "development".
12420 (VERSION): Set to "2.18.90".
12421 * NEWS: Add 2.19 section.
12422
31ad488d
DM
124232013-08-03 David S. Miller <davem@davemloft.net>
12424
12425 * po/ko.po: Update Korean translation from translation project.
12426
db24e684
DM
124272013-08-01 David S. Miller <davem@davemloft.net>
12428
12429 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12430 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12431 Bilka.
12432
f723285b
DM
124332013-07-30 David S. Miller <davem@davemloft.net>
12434
12435 * po/fr.po: Update French translation from translation project.
12436
3cbc52db
DM
124372013-07-28 David S. Miller <davem@davemloft.net>
12438
30bbc0cc
DM
12439 * po/cs.po: Update Czech translation from translation project.
12440
3cbc52db
DM
12441 * po/sv.po: Update Swedish translation from translation project.
12442
d492e6d0
DM
124432013-07-27 David S. Miller <davem@davemloft.net>
12444
f1a7f492
DM
12445 * po/eo.po: Update Esperanto translation from translation project.
12446
90e62a4a
DM
12447 * po/vi.po: Update Vietnamese translation from translation project.
12448
d492e6d0
DM
12449 * po/de.po: Update German translation from translation project.
12450
d4baa62d
DM
124512013-07-26 David S. Miller <davem@davemloft.net>
12452
641aa7b4
DM
12453 * po/bg.po: Update Bulgarian translation from translation project.
12454
d4baa62d
DM
12455 * po/nl.po: Update Dutch translation from translation project.
12456 * po/pl.po: Update Polish translation from translation project.
12457 * po/ru.po: Update Russian translation from translation project.
12458
61a9dcb9
DM
124592013-07-24 David S. Miller <davem@davemloft.net>
12460
12461 * po/libc.pot: Update.
12462
7b1f8b58
AZ
124632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12464
12465 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12466 variable page size.
12467 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12468 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12469 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12470
a8fc7a03
AK
124712013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12472
12473 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12474
e4608715
CD
124752013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12476 Andreas Schwab <schwab@suse.de>
12477 Roland McGrath <roland@hack.frob.com>
12478 Joseph Myers <joseph@codesourcery.com>
12479 Carlos O'Donell <carlos@redhat.com>
12480
12481 [BZ #15755]
12482 * config.h.in: Define HAVE_PT_CHOWN.
12483 * config.make.in (build-pt-chown): New variable.
12484 * configure.in (--enable-pt_chown): New configure option.
12485 * configure: Regenerate.
12486 * login/Makefile: Include Makeconfig. Build pt_chown only if
12487 build-pt-chown is enabled.
12488 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12489 pt_chown to fix pty ownership.
12490 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12491 CLOSE_ALL_FDS.
12492 * manual/install.texi (Configuring and compiling): Mention
12493 --enable-pt_chown. Add @findex for grantpt.
12494 * INSTALL: Regenerate.
12495
da2d62df
DM
124962013-07-20 David S. Miller <davem@davemloft.net>
12497
12498 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12499 difference between 32-bit and 64-bit.
12500
d7e06450
CD
125012013-07-15 Carlos O'Donell <carlos@redhat.com>
12502
12503 [BZ #15711]
12504 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12505 Avoid system header dependency with -ffreestanding.
12506 ($(objpfx)bits/syscall%d): Likewise.
12507
f959cfd7
DM
125082013-07-13 David S. Miller <davem@davemloft.net>
12509
12510 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12511 underflows from atanl/atan2l due to bug 15319.
12512 (casinh_test_data): Likewise.
12513
c61f8513
DM
125142013-07-07 David S. Miller <davem@davemloft.net>
12515
12516 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12517
72c90ed0
JA
125182013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12519
12520 * sysdeps/i386/fpu/libm-test-ulps: Update.
12521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12522
52dfbe13
SP
125232013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12524
12525 * configure.in (--enable-lock-elision): Fix message text.
12526 * INSTALL: Regenerate.
12527 * configure: Regenerate.
12528
3f169543
AZ
125292013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12530
12531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12532
521c6785
AJ
125332013-07-03 Andreas Jaeger <aj@suse.de>
12534
12535 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12536 define.
12537 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12538 (ptrace_peeksiginfo_args): Add.
12539 (__ptrace_peeksiginfo_flags): Add.
12540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12542 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12543
d2cc15cb
AM
125442013-07-03 Allan McRae <allan@archlinux.org>
12545
12546 * sysdeps/i386/fpu/libm-test-ulps: Update.
12547
3aaeeca7
DM
125482013-07-02 David S. Miller <davem@davemloft.net>
12549
12550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12551
5314ed1a
MT
125522013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12553
12554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12555
67338156
JM
125562013-07-02 Joseph Myers <joseph@codesourcery.com>
12557
12558 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12560
1717da59
AK
125612013-07-02 Andi Kleen <ak@linux.intel.com>
12562
12563 * config.h.in (ENABLE_LOCK_ELISION): Add.
12564 * configure.in (--enable-lock-elision): Add option.
12565 * manual/install.texi: Document --enable lock elision.
12566 * configure: Regenerate
12567 * INSTALL: Regenerate.
12568
1c81621c
L
125692013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12570
12571 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12572 SSE4.2 strcasecmp for libc.a.
12573 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12574
77f01ab5
JM
125752013-07-02 Joseph Myers <joseph@codesourcery.com>
12576
12577 [BZ #13304]
12578 * soft-fp/op-common.h (_FP_FMA): New macro.
12579 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12580 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12581 (_FP_MUL_MEAT_1_imm): ... here.
12582 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12583 (_FP_MUL_MEAT_1_wide): ... here.
12584 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12585 (_FP_MUL_MEAT_1_hard): ... here.
12586 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12587 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12588 (_FP_MUL_MEAT_2_wide): ... here.
12589 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12590 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12591 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12592 (_FP_MUL_MEAT_2_gmp): ... here.
12593 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12594 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12595 (_FP_MUL_MEAT_4_wide): ... here.
12596 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12597 (_FP_MUL_MEAT_4_gmp): ... here.
12598 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12599 (_FP_WFRACBITS_DW_S): Likewise.
12600 (_FP_WFRACXBITS_DW_S): Likewise.
12601 (_FP_HIGHBIT_DW_S): Likewise.
12602 (FP_FMA_S): Likewise.
12603 (_FP_FRAC_HIGH_DW_S): Likewise.
12604 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12605 (_FP_WFRACBITS_DW_D): Likewise.
12606 (_FP_WFRACXBITS_DW_D): Likewise.
12607 (_FP_HIGHBIT_DW_D): Likewise.
12608 (FP_FMA_D): Likewise.
12609 (_FP_FRAC_HIGH_DW_D): Likewise.
12610 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12611 (_FP_WFRACBITS_DW_E): Likewise.
12612 (_FP_WFRACXBITS_DW_E): Likewise.
12613 (_FP_HIGHBIT_DW_E): Likewise.
12614 (FP_FMA_E): Likewise.
12615 (_FP_FRAC_HIGH_DW_E): Likewise.
12616 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12617 (_FP_WFRACBITS_DW_Q): Likewise.
12618 (_FP_WFRACXBITS_DW_Q): Likewise.
12619 (_FP_HIGHBIT_DW_Q): Likewise.
12620 (FP_FMA_Q): Likewise.
12621 (_FP_FRAC_HIGH_DW_Q): Likewise.
12622 * soft-fp/fmasf4.c: New file.
12623 * soft-fp/fmadf4.c: Likewise.
12624 * soft-fp/fmatf4.c: Likewise.
12625
6308fd9a
LD
126262013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12627
12628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12629 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12630 Silvermont.
12631 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12632 macro.
12633 (index_Slow_SSE4_2): Likewise.
12634 (index_Prefer_PMINUB_for_stringop): Likewise.
12635 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12636 bit_Slow_SSE4_2 is set.
12637 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12638 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12639
89cd9569
RA
126402013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12641
12642 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12643 rtld_global._dl_hwcap2.
12644 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12645 POWER8.
12646 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12647 POWER8 feature descriptions defined in _dl_hwcap2.
12648 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12649 string handling for POWER8 feature bits.
12650 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12651 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12652 _dl_powerpc_cap_flags.
12653 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12654 * sysdeps/powerpc/rtld-global-offsets.sym
12655 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12656 _dl_hwcap2 in the rtld_global_ro structure.
12657
1ae8bfe0
RA
126582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12659
12660 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12661 hardware capabilities in support of AT_HWCAP2.
12662 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12663 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12664 GLRO(dl_hwcap2).
12665 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12666 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12667 explicitly the unknown a_type display mechanism is used.
12668 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12669 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12670 struct member.
12671 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12672 to macro prototype for AT_HWCAP2 support.
12673 * sysdeps/i386/dl-procinfo.h: Likewise.
12674 * sysdeps/s390/dl-procinfo.h: Likewise.
12675 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12676 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12677 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12678 return -1 for unknown a_type display fallback.
12679 * sysdeps/sparc/dl-procinfo.h: Likewise.
12680 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12681 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12682
8fbec010
JM
126832013-06-28 Joseph Myers <joseph@codesourcery.com>
12684
12685 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12686 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12687
0432680e
PY
126882013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12689
12690 [BZ #12492]
12691 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12692 mprotect making __stack_prot writable.
12693
ce61a2ad
NF
126942013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12695 Joseph Myers <joseph@codesourcery.com>
12696
12697 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12698 as being properly aligned.
12699
f91f1c0f
MR
127002013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12701
3d0f5d0c
MR
12702 * dlfcn/modstatic5.c: New file.
12703 * dlfcn/tststatic5.c: New file.
12704 * dlfcn/Makefile (tests): Add tststatic5.
12705 (tests-static): Likewise.
12706 (modules-names): Add modstatic5.
12707 (tststatic5-ENV): New variable.
12708 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12709
f91f1c0f
MR
12710 [BZ #15022]
12711 * elf/dl-support.c (_dl_main_map): New variable.
12712 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12713 (_dl_nns, _dl_load_adds): Set to 1.
12714 (_dl_initial_searchlist): Refer to _dl_main_map.
12715 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12716 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12717 call to _dl_get_origin.
12718 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12719 around call_map.
12720 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12721 * dlfcn/modstatic3.c: New file.
12722 * dlfcn/tststatic3.c: New file.
12723 * dlfcn/tststatic4.c: New file.
12724 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12725 (tests-static): Likewise.
12726 (modules-names): Add modstatic3.
12727 (tststatic3-ENV, tststatic4-ENV): New variables.
12728 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12729 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12730
cbe7d24b
JM
127312013-06-26 Joseph Myers <joseph@codesourcery.com>
12732
12733 * configure.in (CC): Require GCC version 4.4 or later.
12734 * configure: Regenerated.
12735 * manual/install.texi (Tools for Compilation): Update GCC version
12736 requirement.
12737 * INSTALL: Regenerated.
12738
11b8a0e1
LD
127392013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12740
12741 [BZ #15674]
bb5bb87c
L
12742 * string/test-memcmp.c (check2): New.
12743 (main): Call check2.
12744
11b8a0e1
LD
12745 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12746
b0037103
MR
127472013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12748
12749 [BZ #15022]
12750 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12751 over to...
12752 (dl_open_worker) [!SHARED]: ... here.
12753
c18c701d
RA
127542013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12755
12756 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12757
1d17fa5f
RH
127582013-06-25 Richard Henderson <rth@redhat.com>
12759
12760 * locale/programs/locarchive.c: Include <libc-internal.h>
12761
8fcb833a
JM
127622013-06-25 Joseph Myers <joseph@codesourcery.com>
12763
12764 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12765 trailing whitespace removed.
12766
17db6e8d
MF
127672013-06-24 Mike Frysinger <vapier@gentoo.org>
12768
12769 [BZ #10283]
17db6e8d
MF
12770 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12771 * locale/programs/locarchive.c: Include libc-mmap.h.
12772 (prepare_address_space): Take two new outputs (the mmap base and len).
12773 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12774 values.
12775 (create_archive): Declare new mmap base and len values for
12776 prepare_address_space, and store the result in ah.
12777 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12778 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12779 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12780 Declare new mmap base and len values for
12781 prepare_address_space, and store the result in new_ah.
12782 (open_archive): Declare new mmap base and len values for
12783 prepare_address_space, and store the result in ah.
12784 (close_archive): If ah->mmap_base is not NULL, use that and
12785 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12786 * sysdeps/generic/libc-mmap.h: New file.
12787
d605071e
MF
127882013-06-24 Mike Frysinger <vapier@gentoo.org>
12789
12790 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12791 (ALIGN_UP): Likewise.
12792 (PTR_ALIGN_DOWN): Likewise.
12793 (PTR_ALIGN_UP): Likewise.
12794
2f063a6e
RA
127952013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12796
12797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12798 entry mapped to PPC_PLATFORM_POWER8.
12799 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12800 POWER8.
12801 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12802 (_dl_string_platform): Add case for exporting platform position for
12803 POWER8.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12805 search path to sysdeps/powerpc/powerpc32/power8 directory.
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12807 search path to sysdeps/powerpc/powerpc64/power8 directory.
12808 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12809 power7 directories.
12810 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12811 power7 directories.
12812
a31ee4b3
SP
128132013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12814
a74ca98f
SP
12815 * INSTALL: Regenerate.
12816
a31ee4b3
SP
12817 * nscd/connections.c (nscd_init): Fix comment.
12818
695c378f
JM
128192013-06-22 Joseph Myers <joseph@codesourcery.com>
12820
d8412221
JM
12821 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12822
695c378f
JM
12823 [BZ #15667]
12824 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12825 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12826
d1d54715
MR
128272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12828
12829 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12830 DL_DST_REQ_STATIC.
12831 (DL_DST_REQ_STATIC): Remove macro.
12832
8fdda7af
JM
128332013-06-21 Joseph Myers <joseph@codesourcery.com>
12834
12835 [BZ #7006]
12836 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12837 with a shift of 0 bits.
12838
f3bc5e5a
MR
128392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12840
12841 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12842 $(tststatic-ENV).
12843
be09e8c9
KK
128442013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12845
12846 [BZ #15655]
12847 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12848
85c2e611
AZ
128492013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12850
12851 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12852 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12853 accepts -fno-tree-loop-distribute-patterns.
12854 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12855 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12856 recursive call.
12857 * string/memset.c (memset): Likewise.
12858 * string/test-memmove.c (simple_memmove): Disable loop transformation
12859 to library calls.
12860 * string/test-memset.c (simple_memset): Likewise.
12861 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12862 * benchtests/bench-memset.c (simple_memset): Likewise.
12863 * configure: Regenerated.
12864
c91e0825
JM
128652013-06-20 Joseph Myers <joseph@codesourcery.com>
12866
b8c792af
JM
12867 * math/test-misc.c (main): Ignore fesetround failure when failures
12868 of subsequent rounding tests would be ignored.
12869
c91e0825
JM
12870 [BZ #15654]
12871 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12872 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12873 * math/fegetenv.c (__fegetenv): Return 0.
12874 * math/fegetexcept.c (fegetexcept): Return 0.
12875 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12876 FE_TONEAREST.
12877 * math/feholdexcpt.c (feholdexcept): Return 0.
12878 * math/fesetenv.c (__fesetenv): Return 0.
12879 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12880 argument FE_TONEAREST.
12881 * math/feupdateenv.c (__feupdateenv): Return 0.
12882 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12883
bfcacbde
RM
128842013-06-18 Roland McGrath <roland@hack.frob.com>
12885
12886 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12887 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12888 ($(objpfx)rtld-%.os rules): Use them.
12889
e55a9b25
AZ
128902013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12891
12892 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12893 fields.
12894
346d65b3
RM
128952013-06-17 Roland McGrath <roland@hack.frob.com>
12896
12086fb4
RM
12897 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12898 length of target pattern, then descending length of dependency pattern.
12899 * configure.in (AWK): Require gawk 3.1.2 or newer.
12900 * manual/install.texi (Tools for Compilation): Say that we do.
12901 * configure: Regenerated.
12902
346d65b3
RM
12903 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12904 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12905 * scripts/sysd-rules.awk: ... this new script.
12906 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12907 than a glob-style pattern.
12908
1a846317
JM
129092013-06-17 Joseph Myers <joseph@codesourcery.com>
12910
12911 * math/test-misc.c (main): Do not treat incorrectly rounded
12912 conversions as failure unless ROUNDING_TESTS passes.
12913
8fc75e6f
JM
129142013-06-15 Joseph Myers <joseph@codesourcery.com>
12915
3711a167
JM
12916 [BZ #15631]
12917 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12918 restore exception state around main square root computation, then
12919 check for inexactness explicitly.
12920
8fc75e6f
JM
12921 * math/libm-test.inc (fma_test_data): Add another test.
12922
61dd6208
SP
129232013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12924
adf23d2c
SP
12925 * manual/threads.texi (Non-POSIX Extensions): New document
12926 node. Document pthread_getattr_default_np and
12927 pthread_setattr_default_np.
12928
61dd6208
SP
12929 * Versions.def (libpthread): Add GLIBC_2.18.
12930 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12932 Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12934 Likewise.
12935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12936 Likewise.
12937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12938 Likewise.
12939 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12940 Likewise.
12941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12942 Likewise.
12943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12944 Likewise.
12945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12946 Likewise.
12947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12948 Likewise.
12949
d086fc7b
LD
129502013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12951
12952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12953 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12954
747ef469
SP
129552013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12956 H.J. Lu <hjl.tools@gmail.com>
12957
12958 [BZ #15627]
12959 * sysdeps/x86_64/rtld-memset.c: Remove file.
12960 * sysdeps/x86_64/rtld-memset.S: New file.
12961
1b2feed2
JM
129622013-06-14 Joseph Myers <joseph@codesourcery.com>
12963
12964 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12965 (test_in_one_mode): Take arguments for whether the rounding mode
12966 is supported for each floating-point type.
12967 (do_test): Pass new arguments to test_in_one_mode using
12968 ROUNDING_TESTS.
12969
a58ad3f8
RM
129702013-06-13 Roland McGrath <roland@hack.frob.com>
12971
12972 * posix/tst-waitid.c (do_test): Distinguish different instances of
12973 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12974 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12975 before entering the kernel for waitpid.
12976
c204ab28
SP
129772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12978
12979 * NEWS: Fix note on clock function precision. Text by Roland
12980 McGrath.
12981
f4a29fba
RM
129822013-06-13 Roland McGrath <roland@hack.frob.com>
12983
12984 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12985 it into place only when and if the sanity check passes.
12986
1f24b9ad
JM
129872013-06-13 Joseph Myers <joseph@codesourcery.com>
12988
12989 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12990 output for whether conversion result is exact. Take argument
12991 indicating whether type is IBM long double.
12992 (round_for_all): Change need_exact field to ibm_ld.
12993 * stdlib/tst-strtod-round.c (struct exactness): New type.
12994 (struct test): Change bool ld_ok field to struct exactness exact.
12995 (TEST): Update all definitions for change to field.
12996 (tests): Regenerate array contents.
12997 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12998 field value. Check for IBM long double here.
12999 (do_test): Update calls to test_in_one_mode.
13000
58206c68
SP
130012013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13002
13003 [BZ #12515]
13004 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13005 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13006
2d6f4c5b 130072013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
13008
13009 [BZ #15605]
13010 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13011 generated by the compiler on loop optimizations.
13012 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13013 general definitions.
13014
94f2c076
JM
130152013-06-12 Joseph Myers <joseph@codesourcery.com>
13016
13017 * math/bug-nextafter.c: Include <math-tests.h>.
13018 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13019 the relevant type.
13020 * math/bug-nexttoward.c: Include <math-tests.h>.
13021 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13022 the relevant type.
13023 * math/test-misc.c: Include <math-tests.h>.
13024 (main): Only test for exceptions if EXCEPTION_TESTS is true for
13025 the relevant type.
13026
e0e50a0a
AJ
130272013-06-12 Andreas Jaeger <aj@suse.de>
13028
13029 * po/ia.po: Update Interlingua translation from translation
13030 project.
13031
25061094
SP
130322013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13033
13034 * include/fenv.h: Include stdbool.h.
13035 (struct rm_ctx): New structure.
13036 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13037 Define macro.
13038 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13039 (SET_RESTORE_ROUNDF): Likewise.
13040 (SET_RESTORE_ROUNDL): Likewise.
13041 (SET_RESTORE_ROUND_NOEX): Likewise.
13042 (SET_RESTORE_ROUND_NOEXF): Likewise.
13043 (SET_RESTORE_ROUND_NOEXL): Likewise.
13044 (SET_RESTORE_ROUND_53BIT): Likewise.
13045 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13046 (libc_feresetround_noexf_ctx): Likewise.
13047 (libc_feresetround_noexl_ctx): Likewise.
13048 (libc_feholdsetround_53bit_ctx): Likewise.
13049 (libc_feresetround_53bit_ctx): Likewise.
13050 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13051 (libc_feholdexcept_setround_sse_ctx): New function.
13052 (libc_fesetenv_sse_ctx): Likewise.
13053 (libc_feupdateenv_sse_ctx): Likewise.
13054 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13055 (libc_feholdexcept_setround_387_ctx): Likewise.
13056 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13057 (libc_feholdsetround_387_prec_ctx): Likewise.
13058 (libc_feholdsetround_387_ctx): Likewise.
13059 (libc_feholdsetround_387_53bit_ctx): Likewise.
13060 (libc_feholdsetround_sse_ctx): Likewise.
13061 (libc_feresetround_sse_ctx): Likewise.
13062 (libc_feresetround_387_ctx): Likewise.
13063 (libc_feupdateenv_387_ctx): Likewise.
13064 (libc_feholdexcept_setroundf_ctx): Define macro.
13065 (libc_fesetenvf_ctx): Likewise.
13066 (libc_feupdateenvf_ctx): Likewise.
13067 (libc_feholdsetroundf_ctx): Likewise.
13068 (libc_feresetroundf_ctx): Likewise.
13069 (libc_feholdexcept_setround_ctx): Likewise.
13070 (libc_fesetenv_ctx): Likewise.
13071 (libc_feupdateenv_ctx): Likewise.
13072 (libc_feholdsetround_ctx): Likewise.
13073 (libc_feresetround_ctx): Likewise.
13074 (libc_feholdexcept_setroundl_ctx): Likewise.
13075 (libc_feupdateenvl_ctx): Likewise.
13076 (libc_feholdsetroundl_ctx): Likewise.
13077 (libc_feresetroundl_ctx): Likewise.
13078 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13079 (libc_feresetround_53bit_ctx): Likewise.
13080
59b30555
SP
130812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13082
13083 * locale/iso-639.def: Convert to UTF-8.
13084
f1d73d30
JM
130852013-06-11 Joseph Myers <joseph@codesourcery.com>
13086
13087 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13088 (EXCEPTION_TESTS_double): Likewise.
13089 (EXCEPTION_TESTS_long_double): Likewise.
13090 (EXCEPTION_TESTS): Likewise.
13091 * math/libm-test.inc (test_exceptions): Only test exceptions if
13092 EXCEPTION_TESTS (FLOAT).
13093
94aca5e7
SP
130942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13095
13096 * benchtests/Makefile (string-bench): Add strcpy_chk and
13097 stpcpy_chk.
13098 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13099 * benchtests/bench-stpcpy_chk.c: New file.
13100 * benchtests/bench-strcpy_chk-ifunc.c: New file.
13101 * benchtests/bench-strcpy_chk.c: New file.
13102 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13103 code.
13104 (do_test): Likewise.
13105
fac0c5f2
RA
131062013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13107
13108 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13109 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13110 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13111 with tabs where appropriate.
13112 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13113 dl-procinfo.h.
13114 [PPC_PLATFORM_PPC440]: Likewise.
13115 [PPC_PLATFORM_PPC464]: Likewise.
13116 [PPC_PLATFORM_PPC476]: Likewise.
13117 (_dl_string_platform): Add support for detecting ppc405, ppc440,
13118 ppc464, and ppc476 platform strings merging from ports/
13119 dl-procinfo.h.
13120
f22bc486
AS
131212013-06-11 Andreas Schwab <schwab@suse.de>
13122
13123 [BZ #14991]
13124 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13125 (from_ucs4_idx): Regenerate.
13126 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13127 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13128 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13129 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13130 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13131 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13132 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13133 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13134 from FROM_LOOP and TO_LOOP specific macros.
13135 (BODY): Handle combining characters.
13136 * iconvdata/BIG5HKSCS.irreversible: Update.
13137 * iconvdata/BIG5HKSCS.precomposed: New file.
13138 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13139 characters.
13140 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13141
c1f75dc3
SP
131422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
4eacded2
SP
13144 * include/sys/time.h: Fix indentation and add copyright header.
13145
fec799f8
SP
13146 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13147 (do_test): Likewise.
13148 * string/test-memchr.c (do_one_test): Likewise.
13149 (do_test): Likewise.
13150 * string/test-memcmp.c (do_one_test): Likewise.
13151 (do_test): Likewise.
13152 * string/test-memcpy.c (do_one_test): Likewise.
13153 (do_test): Likewise.
13154 * string/test-memmem.c (do_one_test): Likewise.
13155 (do_test): Likewise.
13156 (do_random_tests): Likewise.
13157 * string/test-memmove.c (do_one_test): Likewise.
13158 (do_test): Likewise.
13159 * string/test-memset.c (do_one_test): Likewise.
13160 (do_test): Likewise.
13161 * string/test-rawmemchr.c (do_one_test): Likewise.
13162 (do_test): Likewise.
13163 * string/test-strcasecmp.c (do_one_test): Likewise.
13164 (do_test): Likewise.
13165 * string/test-strcasestr.c (do_one_test): Likewise.
13166 (do_test): Likewise.
13167 * string/test-strcat.c (do_one_test): Likewise.
13168 (do_test): Likewise.
13169 * string/test-strchr.c (do_one_test): Likewise.
13170 (do_test): Likewise.
13171 * string/test-strcmp.c (do_one_test): Likewise.
13172 (do_test): Likewise.
13173 * string/test-strcpy.c (do_one_test): Likewise.
13174 (do_test): Likewise.
13175 * string/test-string.h: Likewise.
13176 (test_init): Likewise.
13177 * string/test-strlen.c (do_one_test): Likewise.
13178 (do_test): Likewise.
13179 * string/test-strncasecmp.c (do_one_test): Likewise.
13180 (do_test): Likewise.
13181 * string/test-strncat.c (do_one_test): Likewise.
13182 (do_test): Likewise.
13183 * string/test-strncmp.c (do_one_test): Likewise.
13184 (do_test_limit): Likewise.
13185 (do_test): Likewise.
13186 * string/test-strncpy.c (do_one_test): Likewise.
13187 (do_test): Likewise.
13188 * string/test-strnlen.c (do_one_test): Likewise.
13189 (do_test): Likewise.
13190 * string/test-strpbrk.c (do_one_test): Likewise.
13191 (do_test): Likewise.
13192 * string/test-strrchr.c (do_one_test): Likewise.
13193 (do_test): Likewise.
13194 * string/test-strspn.c (do_one_test): Likewise.
13195 (do_test): Likewise.
13196 * string/test-strstr.c (do_one_test): Likewise.
13197 (do_test): Likewise.
13198
97020474
SP
13199 * benchtests/Makefile (string-bench): Add string benchmarks.
13200 * benchtests/bench-bcopy-ifunc.c: New file.
13201 * benchtests/bench-bcopy.c: New file.
13202 * benchtests/bench-bzero-ifunc.c: New file.
13203 * benchtests/bench-bzero.c: New file.
13204 * benchtests/bench-memccpy-ifunc.c: New file.
13205 * benchtests/bench-memccpy.c: New file.
13206 * benchtests/bench-memchr-ifunc.c: New file.
13207 * benchtests/bench-memchr.c: New file.
13208 * benchtests/bench-memcmp-ifunc.c: New file.
13209 * benchtests/bench-memcmp.c: New file.
13210 * benchtests/bench-memmem-ifunc.c: New file.
13211 * benchtests/bench-memmem.c: New file.
13212 * benchtests/bench-memmove-ifunc.c: New file.
13213 * benchtests/bench-memmove.c: New file.
13214 * benchtests/bench-mempcpy-ifunc.c: New file.
13215 * benchtests/bench-mempcpy.c: New file.
13216 * benchtests/bench-memset-ifunc.c: New file.
13217 * benchtests/bench-memset.c: New file.
13218 * benchtests/bench-rawmemchr-ifunc.c: New file.
13219 * benchtests/bench-rawmemchr.c: New file.
13220 * benchtests/bench-stpcpy-ifunc.c: New file.
13221 * benchtests/bench-stpcpy.c: New file.
13222 * benchtests/bench-stpncpy-ifunc.c: New file.
13223 * benchtests/bench-stpncpy.c: New file.
13224 * benchtests/bench-strcasecmp-ifunc.c: New file.
13225 * benchtests/bench-strcasecmp.c: New file.
13226 * benchtests/bench-strcasestr-ifunc.c: New file.
13227 * benchtests/bench-strcasestr.c: New file.
13228 * benchtests/bench-strcat-ifunc.c: New file.
13229 * benchtests/bench-strcat.c: New file.
13230 * benchtests/bench-strchr-ifunc.c: New file.
13231 * benchtests/bench-strchr.c: New file.
13232 * benchtests/bench-strchrnul-ifunc.c: New file.
13233 * benchtests/bench-strchrnul.c: New file.
13234 * benchtests/bench-strcmp-ifunc.c: New file.
13235 * benchtests/bench-strcmp.c: New file.
13236 * benchtests/bench-strcpy-ifunc.c: New file.
13237 * benchtests/bench-strcpy.c: New file.
13238 * benchtests/bench-strcspn-ifunc.c: New file.
13239 * benchtests/bench-strcspn.c: New file.
13240 * benchtests/bench-strlen-ifunc.c: New file.
13241 * benchtests/bench-strlen.c: New file.
13242 * benchtests/bench-strncasecmp-ifunc.c: New file.
13243 * benchtests/bench-strncasecmp.c: New file.
13244 * benchtests/bench-strncat-ifunc.c: New file.
13245 * benchtests/bench-strncat.c: New file.
13246 * benchtests/bench-strncmp-ifunc.c: New file.
13247 * benchtests/bench-strncmp.c: New file.
13248 * benchtests/bench-strncpy-ifunc.c: New file.
13249 * benchtests/bench-strncpy.c: New file.
13250 * benchtests/bench-strnlen-ifunc.c: New file.
13251 * benchtests/bench-strnlen.c: New file.
13252 * benchtests/bench-strpbrk-ifunc.c: New file.
13253 * benchtests/bench-strpbrk.c: New file.
13254 * benchtests/bench-strrchr-ifunc.c: New file.
13255 * benchtests/bench-strrchr.c: New file.
13256 * benchtests/bench-strspn-ifunc.c: New file.
13257 * benchtests/bench-strspn.c: New file.
13258 * benchtests/bench-strstr-ifunc.c: New file.
13259 * benchtests/bench-strstr.c: New file.
13260
c1f75dc3
SP
13261 * benchtests/Makefile: Disable parallel execution of targets.
13262 (string-bench): Add memcpy.
13263 (benchset): New variable to store a list of benchmark sets.
13264 (bench-func): Renamed from bench.
13265 (bench-set): New target.
13266 (bench): Depend on bench-func and bench-set.
13267 * benchtests/README: Add section on benchmark sets.
13268 * benchtests/bench-memcpy-ifunc.c: New file.
13269 * benchtests/bench-memcpy.c: New file.
13270 * benchtests/bench-string.h: New file.
13271
50fd745b
AS
132722013-06-11 Andreas Schwab <schwab@suse.de>
13273
13274 [BZ #15577]
13275 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13276 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13277 values in the triple.
13278 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13279 terminator in the group key.
13280
3ee7e9fe
AJ
132812013-06-11 Andreas Jaeger <aj@suse.de>
13282
13283 * po/zh_TW.po: Update Chinese (traditional) translation from
13284 translation project.
13285
89fb6835
SP
132862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13287
13288 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13289 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13290 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13292 (clock_getcpuclockid): Likewise.
13293 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13294 Add weak_alias and libc_hidden_def.
13295 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13296 * rt/clock_gettime.c (clock_gettime): Rename to
13297 __clock_gettime. Add weak_alias and libc_hidden_def.
13298 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13299 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13300 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13301 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13302 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13303 Likewise.
13304 * rt/clock_settime.c (clock_settime): Rename to
13305 __clock_settime. Add weak_alias and libc_hidden_def.
13306 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13307
0efa6f8b
JM
133082013-06-10 Joseph Myers <joseph@codesourcery.com>
13309
b8c61b4b
JM
13310 * mach/err_boot.sub: Remove trailing whitespace.
13311 * mach/err_ipc.sub: Likewise.
13312 * mach/err_mach.sub: Likewise.
13313
0efa6f8b
JM
13314 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13315 (ROUNDING_TESTS_double): Likewise.
13316 (ROUNDING_TESTS_long_double): Likewise.
13317 (ROUNDING_TESTS): Likewise.
13318 * math/libm-test.inc: Include <math-tests.h>.
13319 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13320 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13321 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13322 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13323
50b818bf
SP
133242013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13325
13326 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13327 of assigning.
13328
60d2f8f3
JM
133292013-06-08 Joseph Myers <joseph@codesourcery.com>
13330
4902d2c3
JM
13331 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13332 otherwise empty TRANS lines.
13333 * sysdeps/gnu/errlist.c: Regenerated.
13334
60d2f8f3
JM
13335 * catgets/gencat.c (error_print): Use (void) in function
13336 definition.
13337 * crypt/crypt_util.c (__init_des): Likewise.
13338 * crypt/speeds.c (Stop): Likewise.
13339 (main): Likewise.
13340 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13341 * inet/ruserpass.c (token): Likewise.
13342 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13343 * intl/localealias.c (extend_alias_table): Likewise.
13344 * intl/plural-exp.c (init_germanic_plural): Likewise.
13345 * libio/fcloseall.c (__fcloseall): Likewise.
13346 * libio/genops.c (_IO_flush_all): Likewise.
13347 (_IO_flush_all_linebuffered): Likewise.
13348 (_IO_cleanup): Likewise.
13349 (_IO_iter_begin): Likewise.
13350 (_IO_iter_end): Likewise.
13351 (_IO_list_lock): Likewise.
13352 (_IO_list_unlock): Likewise.
13353 (_IO_list_resetlock): Likewise.
13354 * libio/getchar.c (getchar): Likewise.
13355 * libio/getchar_u.c (getchar_unlocked): Likewise.
13356 * libio/getwchar.c (getwchar): Likewise.
13357 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13358 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13359 * login/getpt.c (__getpt): Likewise.
13360 * login/tst-utmp.c (main): Likewise.
13361 * malloc/hooks.c (__malloc_check_init): Likewise.
13362 * malloc/malloc.c (__malloc_stats): Likewise.
13363 * malloc/mtrace.c (tr_break): Likewise.
13364 (mtrace): Likewise.
13365 (muntrace): Likewise.
13366 * misc/fstab.c (endfsent): Likewise.
13367 * misc/getclktck.c (__getclktck): Likewise.
13368 * misc/getdtsz.c (__getdtablesize): Likewise.
13369 * misc/gethostid.c (gethostid): Likewise.
13370 * misc/getpagesize.c (__getpagesize): Likewise.
13371 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13372 (__get_nprocs): Likewise.
13373 (__get_phys_pages): Likewise.
13374 (__get_avphys_pages): Likewise.
13375 * misc/getttyent.c (getttyent): Likewise.
13376 (setttyent): Likewise.
13377 (endttyent): Likewise.
13378 * misc/getusershell.c (getusershell): Likewise.
13379 (endusershell): Likewise.
13380 (setusershell): Likewise.
13381 (initshells): Likewise.
13382 * misc/hsearch.c (__hdestroy): Likewise.
13383 * misc/sync.c (sync): Likewise.
13384 * misc/syslog.c (closelog_internal): Likewise.
13385 (closelog): Likewise.
13386 * misc/ttyslot.c (ttyslot): Likewise.
13387 * misc/vhangup.c (vhangup): Likewise.
13388 * posix/fork.c (__fork): Likewise.
13389 * posix/getegid.c (__getegid): Likewise.
13390 * posix/geteuid.c (__geteuid): Likewise.
13391 * posix/getgid.c (__getgid): Likewise.
13392 * posix/getpid.c (__getpid): Likewise.
13393 * posix/getppid.c (__getppid): Likewise.
13394 * posix/getuid.c (__getuid): Likewise.
13395 * posix/pause.c (pause): Likewise.
13396 * posix/setpgrp.c (setpgrp): Likewise.
13397 * posix/setsid.c (__setsid): Likewise.
13398 * posix/test-vfork.c (noop): Likewise.
13399 * resolv/gethnamaddr.c (_endhtent): Likewise.
13400 (_gethtent): Likewise.
13401 (ht_endhostent): Likewise.
13402 (gethostent): Likewise.
13403 (dns_service): Likewise.
13404 * stdlib/drand48.c (drand48): Likewise.
13405 * stdlib/lrand48.c (lrand48): Likewise.
13406 * stdlib/mrand48.c (mrand48): Likewise.
13407 * stdlib/rand.c (rand): Likewise.
13408 * stdlib/random.c (__random): Likewise.
13409 * stdlib/setenv.c (clearenv): Likewise.
13410 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13411 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13412 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13413 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13414 (__get_nprocs): Likewise.
13415 (__get_phys_pages): Likewise.
13416 (__get_avphys_pages): Likewise.
13417 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13418 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13419 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13420 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13421 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13422 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13423 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13424 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13425 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13426 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13427 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13428 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13429 * sysdeps/posix/clock.c (clock): Likewise.
13430 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13431 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13432 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13433 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13434 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13435 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13436 (__get_nprocs_conf): Likewise.
13437 (__get_phys_pages): Likewise.
13438 (__get_avphys_pages): Likewise.
13439 * time/clock.c (clock): Likewise.
13440 * time/tzset.c (__tzname_max): Likewise.
13441
2e09a79a
JM
134422013-06-07 Joseph Myers <joseph@codesourcery.com>
13443
13444 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13445 (__bswap_32): Do not use "register".
13446 * crypt/crypt.c (_ufc_doit_r): Likewise.
13447 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13449 * gmon/gmon.c (__monstartup): Likewise.
13450 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13451 * hurd/hurdmalloc.c (more_memory): Likewise.
13452 (malloc): Likewise.
13453 (free): Likewise.
13454 (realloc): Likewise.
13455 (malloc_fork_prepare): Likewise.
13456 (malloc_fork_parent): Likewise.
13457 (malloc_fork_child): Likewise.
13458 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13459 (_svcauth_des): Likewise.
13460 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13461 * inet/inet_net.c (inet_network): Likewise.
13462 * inet/inet_netof.c (inet_netof): Likewise.
13463 * inet/rcmd.c (__validuser2_sa): Likewise.
13464 * io/fts.c (fts_open): Likewise.
13465 (fts_load): Likewise.
13466 (fts_close): Likewise.
13467 (fts_read): Likewise.
13468 (fts_children): Likewise.
13469 (fts_build): Likewise.
13470 (fts_stat): Likewise.
13471 (fts_sort): Likewise.
13472 (fts_alloc): Likewise.
13473 (fts_lfree): Likewise.
13474 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13475 (_IO_file_xsgetn): Likewise.
13476 (_IO_file_xsgetn_mmap): Likewise.
13477 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13478 (_IO_cookie_write): Likewise.
13479 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13480 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13481 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13482 * malloc/obstack.c (_obstack_begin): Likewise.
13483 (_obstack_begin_1): Likewise.
13484 (_obstack_newchunk): Likewise.
13485 (_obstack_allocated_p): Likewise.
13486 (obstack_free): Likewise.
13487 (_obstack_memory_used): Likewise.
13488 * misc/getttyent.c (getttynam): Likewise.
13489 (getttyent): Likewise.
13490 (skip): Likewise.
13491 (value): Likewise.
13492 * misc/getusershell.c (initshells): Likewise.
13493 * misc/syslog.c (__vsyslog_chk): Likewise.
13494 * misc/ttyslot.c (ttyslot): Likewise.
13495 * nis/nis_hash.c (__nis_hash): Likewise.
13496 * posix/fnmatch_loop.c (FCT): Likewise.
13497 * posix/getconf.c (print_all): Likewise.
13498 (main): Likewise.
13499 * posix/getopt.c (exchange): Likewise.
13500 * posix/glob.c (globfree): Likewise.
13501 (prefix_array): Likewise.
13502 (__glob_pattern_type): Likewise.
13503 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13504 (NS_GET32): Likewise.
13505 (NS_PUT16): Likewise.
13506 (NS_PUT32): Likewise.
13507 * resolv/gethnamaddr.c (getanswer): Likewise.
13508 (gethostbyname2): Likewise.
13509 (gethostbyaddr): Likewise.
13510 (_gethtent): Likewise.
13511 (_gethtbyname2): Likewise.
13512 (_gethtbyaddr): Likewise.
13513 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13514 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13515 * resolv/res_init.c (__res_vinit): Likewise.
13516 (net_mask): Likewise.
13517 * resolv/res_mkquery.c (outchar): Likewise.
13518 (PRINT): Likewise.
13519 * stdio-common/printf_fp.c (outchar): Likewise.
13520 (PRINT): Likewise.
13521 * stdio-common/printf_fphex.c (outchar): Likewise.
13522 (PRINT): Likewise.
13523 * stdio-common/printf_size.c (outchar): Likewise.
13524 (PRINT): Likewise.
13525 * stdio-common/test_rdwr.c (main): Likewise.
13526 * stdio-common/tfformat.c (matches): Likewise.
13527 * stdio-common/vfprintf.c (outchar): Likewise.
13528 (printf_unknown): Likewise.
13529 (buffered_vfprintf): Likewise.
13530 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13531 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13532 (ReadFile): Likewise.
13533 * stdlib/qsort.c (SWAP): Likewise.
13534 (_quicksort): Likewise.
13535 * stdlib/setenv.c (__add_to_environ): Likewise.
13536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13537 * stdlib/strtol_l.c (__strtol_l): Likewise.
13538 * stdlib/tst-strtod.c (main): Likewise.
13539 * stdlib/tst-strtol.c (main): Likewise.
13540 * stdlib/tst-strtoll.c (main): Likewise.
13541 * string/bits/string2.h (__strcmp_cc): Likewise.
13542 (__strcmp_cg): Likewise.
13543 (__strcspn_c1): Likewise.
13544 (__strcspn_c2): Likewise.
13545 (__strcspn_c3): Likewise.
13546 (__strspn_c1): Likewise.
13547 (__strspn_c2): Likewise.
13548 (__strspn_c3): Likewise.
13549 (__strsep_1c): Likewise.
13550 (__strsep_2c): Likewise.
13551 (__strsep_3c): Likewise.
13552 * string/memccpy.c (__memccpy): Likewise.
13553 * string/stpcpy.c (__stpcpy): Likewise.
13554 * string/strcmp.c (strcmp): Likewise.
13555 * string/strrchr.c (strrchr): Likewise.
13556 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13557 Likewise.
13558 * sysdeps/mach/hurd/getcwd.c
13559 (_hurd_canonicalize_directory_name_internal): Likewise.
13560 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13561 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13562 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13563 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13564 Likewise, in both definitions.
13565 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13566 definitions.
13567 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13568 64] (__bswap_64): Likewise.
13569 * time/test_time.c (main): Likewise.
13570 * time/tzfile.c (__tzfile_read): Likewise.
13571 (__tzfile_compute): Likewise.
13572 * time/tzset.c (__tzset_parse_tz): Likewise.
13573 (tzset_internal): Likewise.
13574 (compute_change): Likewise.
13575 * wcsmbs/wcscat.c (__wcscat): Likewise.
13576 * wcsmbs/wcschr.c (wcschr): Likewise.
13577 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13578 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13579 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13580 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13581 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13582 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13583 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13584 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13585 * wcsmbs/wmemset.c (wmemset): Likewise.
13586
9e54314b
JM
135872013-06-06 Joseph Myers <joseph@codesourcery.com>
13588
13589 * scripts/config.guess: Update to version 2013-05-16.
13590 * scripts/config.sub: Update to version 2013-04-24.
13591 * scripts/install-sh: Update to version 2011-11-20.07.
13592 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13593 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13594
350635a5
OB
135952013-06-06 Ondřej Bílka <neleai@seznam.cz>
13596
13597 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13598 * elf/sln.c: Likewise.
13599 * hurd/hurd/ioctl.h: Likewise.
13600 * hurd/hurdmalloc.c: Likewise.
13601 * hurd/xattr.c: Likewise.
13602 * include/shlib-compat.h: Likewise.
13603 * inet/ruserpass.c: Likewise.
13604 * libio/iofgets_u.c: Likewise.
13605 * libio/iofgetws_u.c: Likewise.
13606 * locale/programs/ld-identification.c: Likewise.
13607 * locale/programs/ld-time.c: Likewise.
13608 * mach/msg-destroy.c: Likewise.
13609 * nss/nss_files/files-netgrp.c: Likewise.
13610 * resolv/res_data.c: Likewise.
13611 * soft-fp/op-1.h: Likewise.
13612 * soft-fp/op-2.h: Likewise.
13613 * soft-fp/op-4.h: Likewise.
13614 * soft-fp/op-common.h: Likewise.
13615 * stdio-common/printf_fphex.c: Likewise.
13616 * stdlib/strtod_l.c: Likewise.
13617 * sunrpc/rpc/clnt.h: Likewise.
13618 * sysdeps/generic/framestate.c: Likewise.
13619 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13620 * sysdeps/i386/bsd-setjmp.S: Likewise.
13621 * sysdeps/i386/__longjmp.S: Likewise.
13622 * sysdeps/i386/setjmp.S: Likewise.
13623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13624 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13641 * sysdeps/ieee754/support.c: Likewise.
13642 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13643 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13644 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13645 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13646 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13647 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13648 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13649 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13651 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13652 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13653 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13655 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13657 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13658 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13660
44a988af
OB
136612013-06-05 Ondřej Bílka <neleai@seznam.cz>
13662
25506f09 13663 * posix/transbug.c: Remove executable mode.
44a988af 13664
9c84384c
JM
136652013-06-05 Joseph Myers <joseph@codesourcery.com>
13666
13667 * crypt/speeds.c: Remove trailing whitespace.
13668 * dlfcn/default.c: Likewise.
13669 * elf/ifuncdep2.c: Likewise.
13670 * elf/ifuncmain1.c: Likewise.
13671 * elf/ifuncmain1vis.c: Likewise.
13672 * elf/testobj.h: Likewise.
13673 * elf/tst-stackguard1.c: Likewise.
13674 * gmon/sys/gmon.h: Likewise.
13675 * hurd/hurdmsg.c: Likewise.
13676 * hurd/new-fd.c: Likewise.
13677 * hurd/ports-get.c: Likewise.
13678 * iconvdata/ibm1008_420.c: Likewise.
13679 * inet/tst-getni1.c: Likewise.
13680 * inet/tst-getni2.c: Likewise.
13681 * libio/ioungetc.c: Likewise.
13682 * libio/wfiledoalloc.c: Likewise.
13683 * manual/libm-err-tab.pl: Likewise.
13684 * math/w_dremf.c: Likewise.
13685 * misc/ftruncate.c: Likewise.
13686 * posix/bug-glob2.c: Likewise.
13687 * posix/tst-pcre.c: Likewise.
13688 * posix/wait4.c: Likewise.
13689 * resolv/README: Likewise.
13690 * resolv/res_debug.h: Likewise.
13691 * resolv/tst-inet_ntop.c: Likewise.
13692 * setjmp/bug269-setjmp.c: Likewise.
13693 * soft-fp/extended.h: Likewise.
13694 * soft-fp/op-1.h: Likewise.
13695 * soft-fp/op-2.h: Likewise.
13696 * soft-fp/op-4.h: Likewise.
13697 * soft-fp/op-8.h: Likewise.
13698 * soft-fp/testit.c: Likewise.
13699 * stdio-common/bug16.c: Likewise.
13700 * stdlib/random.c: Likewise.
13701 * sunrpc/rpcsvc/rquota.x: Likewise.
13702 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13731 * sysdeps/ieee754/s_lib_version.c: Likewise.
13732 * sysdeps/mach/hurd/check_fds.c: Likewise.
13733 * sysdeps/mach/hurd/getsockname.c: Likewise.
13734 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13735 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13736 * sysdeps/powerpc/bits/link.h: Likewise.
13737 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13738 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13739 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13740 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13741 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13742 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13743 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13745 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13746 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13747 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13749 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13751 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13752 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13754 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13757 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13758 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13760 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13761 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13765 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13769 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13771 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13773 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13774 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13775 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13776 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13777 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13778 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13779 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13780 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13781 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13782 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13783 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13784 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13786 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13791 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13792 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13793 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13794 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13795 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13797 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13799 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13800 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13801 * sysdeps/powerpc/sysdep.h: Likewise.
13802 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13803 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13804 * sysdeps/sh/dl-trampoline.S: Likewise.
13805 * sysdeps/sh/memset.S: Likewise.
13806 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13807 * sysdeps/sh/strlen.S: Likewise.
13808 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13809 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13810 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13811 * sysdeps/sparc/sparc32/rem.S: Likewise.
13812 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13813 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13814 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13815 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13816 * sysdeps/sparc/sparc32/urem.S: Likewise.
13817 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13818 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13819 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13820 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13822 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13823 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13824 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13825 * sysdeps/unix/bsd/times.c: Likewise.
13826 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13827 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13832 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13833 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13835 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13837 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13839 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13840 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13841 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13842 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13843 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13844 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13845 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13846 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13847 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13848 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13851 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13852 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13854 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13855 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13856 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13857 * sysdeps/x86_64/strcspn.S: Likewise.
13858
869378a5
RA
138592013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13860
13861 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13862 generated file. Regenerate properly from gen-translit.pl.
13863 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13864 locale/C-translit.h.
13865
840e2943
AS
138662013-06-05 Andreas Schwab <schwab@suse.de>
13867
13868 [BZ #15100]
13869 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13870 week as 6 instead of -1.
13871 * time/tst-strptime.c (day_tests): Add test case.
13872
4c60cb0c
SP
138732013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13874
13875 * sysdeps/generic/math_private.h
13876 (libc_feholdexcept_setround_53bit): Replace with
13877 libc_feholdsetround_53bit.
13878 (libc_feupdateenv_53bit): Replace with
13879 libc_feresetround_53bit.
13880 (SET_RESTORE_ROUND_53BIT): Adjust.
13881
d180203e
SP
138822013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13883
96df079a
SP
13884 * string/test-strchrnul.c: Add copyright header.
13885
d180203e
SP
13886 * posix/tst-getaddrinfo4.c: Increase test timeout.
13887
8b0ccb2d
CD
138882013-06-03 Carlos O'Donell <carlos@redhat.com>
13889
13890 [BZ #15536]
13891 * math/libm-test.inc (MAX_EXP): Remove
13892 (MIN_EXP): Define.
13893 (ulp): Use MIN_EXP - MANT_DIG.
13894 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13895
3b3c4d40
CD
138962013-05-31 Carlos O'Donell <carlos@redhat.com>
13897
13898 * po/be.po: Revert last change.
13899 * po/zh_CN.po: Likewise.
13900 * po/header.pot: Likewise.
13901
fab7ce3f
JM
139022013-05-31 Joseph Myers <joseph@codesourcery.com>
13903
13904 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13905 link-libc-deps to empty as target-specific variable.
13906 * Makerules (link-libc-args): New variable.
13907 (libc-for-link): Likewise.
13908 (link-libc-deps): Likewise.
13909 (lib%.so): Depend on $(link-libc-deps). Link with
13910 $(link-libc-args).
13911 (build-module): Link with $(link-libc-args).
13912 (build-module-asneeded): Likewise.
13913 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13914 list of objects.
13915 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13916 target-specific variable.
13917 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13918 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13919 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13920 libc.
13921 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13922 libc and ld.so.
13923 ($(objpfx)libpcprofile.so): Likewise.
13924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13925 libc_nonshared.a.
13926 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13927 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13928 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13929 $(link-libc-deps).
13930 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13931 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13932 * login/Makefile ($(objpfx)libutil.so): Likewise.
13933 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13934 * math/Makefile ($(objpfx)libm.so): Likewise.
13935 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13936 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13937 variable instead of depending directly on libc.
13938 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13939 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13940 $(link-libc-deps).
13941 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13942 libc.
13943 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13944 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13945 ($(objpfx)libanl.so): Likewise.
13946 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13947 ld.so.
13948 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13949 $(link-libc-deps).
13950 * sysdeps/i386/fpu/Makefile: Remove file.
13951 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13952 ($(objpfx)libm.so): Remove dependency on ld.so.
13953
eca5920c
PF
139542013-05-30 Patsy Franklin <pfrankli@redhat.com>
13955
13956 [BZ # 15553]
13957 * nis/yp_xdr.c (XDRMAXNAME): Define.
13958 (XDRMAXRECORD): Define.
13959 (xdr_domainname): Use XDRMAXNAME.
13960 (xdr_mapname): Likewise.
13961 (xdr_peername): Likewise.
13962 (xdr_keydat): Use XDRMAXRECORD.
13963 (xdr_valdat): Likewise.
13964
139652013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13966
13967 [BZ #14256]
13968 * manual/errno.texi (ESTALE): Update to account for more than
13969 just NFS file systems.
13970 * sysdeps/gnu/errlist.c: Regenerated.
13971
b9375348
SP
139722013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13973
13974 [BZ #15465]
13975 * elf/Makefile (tests): Add tst-null-argv.
13976 (modules-names): Add tst-null-argv-lib.
13977 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13978 (tst-null-argv-ENV): Set environment for tst-null-argv.
13979 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13980 (RTLD_PROGNAME): New macro.
13981 * elf/tst-null-argv.c: New test case.
13982 * elf/tst-null-argv-lib.c: Library for test case.
13983 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13984 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13985 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13986 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13987 * elf/dl-init.c (call_init): Likewise.
13988 (_dl_init): Likewise.
13989 * elf/dl-load.c (print_search_path): Likewise.
13990 (_dl_map_object): Likewise.
13991 * elf/dl-lookup.c (do_lookup_x): Likewise.
13992 (add_dependency): Likewise.
13993 (_dl_lookup_symbol_x): Likewise.
13994 (_dl_debug_bindings): Likewise.
13995 * elf/dl-open.c (_dl_show_scope): Likewise.
13996 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13997 * elf/dl-version.c (match_symbol): Likewise.
13998 (_dl_check_map_versions): Likewise.
13999 * elf/rtld.c (dl_main): Likewise.
14000 (print_unresolved): Use RTLD_PROGNAME.
14001 (print_missing_version): Likewise.
14002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14003 (elf_machine_rela): Likewise.
14004 * sysdeps/powerpc/powerpc32/dl-machine.c
14005 (__process_machine_rela): Likewise.
14006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14007 Likewise.
14008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14009 Likewise.
14010 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14011 Likewise.
14012 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14014 Likewise.
14015 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14016 Likewise.
14017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14018
8a9f20c8
CD
140192013-05-28 Carlos O'Donell <carlos@redhat.com>
14020
14021 * po/be.po: Add descriptive title.
14022 * po/zh_CN.po: Likewise.
14023 * po/header.pot: Likewise.
14024
0e60d68e
MF
140252013-05-28 Mike Frysinger <vapier@gentoo.org>
14026
14027 * locale/programs/locarchive.c (create_archive): Inlucde fname in
14028 error message.
14029 (enlarge_archive): Likewise.
14030
56b672e9
BN
140312013-05-28 Ben North <ben@redfrontdoor.org>
14032
14033 * manual/arith.texi (frexp): It is the magnitude of the return
14034 value which lies in [0.5, 1), not the return value itself.
14035
5e056687
AZ
140362013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14037
14038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14039
2b66ef5d
TS
140402013-05-26 Thomas Schwinge <thomas@codesourcery.com>
14041
528c2405
TS
14042 * stdio-common/bug26.c (main): Correct fscanf template.
14043
07b4c13d
TS
14044 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14045 declare _dl_skip_args.
14046
ec9dd97c
TS
14047 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14048 Don't declare.
14049
2b66ef5d
TS
14050 * manual/platform.texi: Add missing @end deftypefun.
14051
4f8dfe27
JM
140522013-05-24 Joseph Myers <joseph@codesourcery.com>
14053
0323d086
JM
14054 [BZ #15529]
14055 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14056 bit of mantissa of 2^16382.
14057 * math/libm-test.inc (hypot_test_data): Add more tests.
14058
dd4259b9
JM
14059 * math/libm-test.inc: Add drem and pow10 to list of tested
14060 functions.
14061 (pow10_test): New function.
14062 (drem_test): Likewise.
14063 (drem_test_tonearest): Likewise.
14064 (drem_test_towardzero): Likewise.
14065 (drem_test_downward): Likewise.
14066 (drem_test_upward): Likewise.
14067 (main): Call the new functions.
14068
4f8dfe27
JM
14069 * math/libm-test.inc (finite_test_data): Remove.
14070 (finite_test): Run tests from isfinite_test_data.
14071 (gamma_test_data): Remove.
14072 (gamma_test): Run tests from lgamma_test_data.
14073 * sysdeps/i386/fpu/libm-test-ulps: Update.
14074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14075
d116b7c4
AZ
140762013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14077
14078 * manual/platform.texi: Add PowerPC PPR function set documentation.
14079 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14080 implementation.
14081
e96e3767
CD
140822013-05-24 Carlos O'Donell <carlos@redhat.com>
14083
14084 * math/libm-test.inc (MAX_EXP): Define.
14085 (ULPDIFF): Define.
14086 (ulp): New function.
14087 (check_float_internal): Use ULPDIFF.
14088 (cpow_test): Disable failing test.
14089 (check_ulp): Test ulp() implemetnation.
14090 (main): Call check_ulp before starting tests.
14091
b679a606
JM
140922013-05-24 Joseph Myers <joseph@codesourcery.com>
14093
e8bdba36
JM
14094 * math/gen-libm-test.pl (generate_testfile): Do not handle
14095 START_DATA and END_DATA.
14096 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14097 END_DATA.
14098 (acos_tonearest_test_data): Likewise.
14099 (acos_towardzero_test_data): Likewise.
14100 (acos_downward_test_data): Likewise.
14101 (acos_upward_test_data): Likewise.
14102 (acosh_test_data): Likewise.
14103 (asin_test_data): Likewise.
14104 (asin_tonearest_test_data): Likewise.
14105 (asin_towardzero_test_data): Likewise.
14106 (asin_downward_test_data): Likewise.
14107 (asin_upward_test_data): Likewise.
14108 (asinh_test_data): Likewise.
14109 (atan_test_data): Likewise.
14110 (atanh_test_data): Likewise.
14111 (atan2_test_data): Likewise.
14112 (cabs_test_data): Likewise.
14113 (cacos_test_data): Likewise.
14114 (cacosh_test_data): Likewise.
14115 (carg_test_data): Likewise.
14116 (casin_test_data): Likewise.
14117 (casinh_test_data): Likewise.
14118 (catan_test_data): Likewise.
14119 (catanh_test_data): Likewise.
14120 (cbrt_test_data): Likewise.
14121 (ccos_test_data): Likewise.
14122 (ccosh_test_data): Likewise.
14123 (ceil_test_data): Likewise.
14124 (cexp_test_data): Likewise.
14125 (cimag_test_data): Likewise.
14126 (clog_test_data): Likewise.
14127 (clog10_test_data): Likewise.
14128 (conj_test_data): Likewise.
14129 (copysign_test_data): Likewise.
14130 (cos_test_data): Likewise.
14131 (cos_tonearest_test_data): Likewise.
14132 (cos_towardzero_test_data): Likewise.
14133 (cos_downward_test_data): Likewise.
14134 (cos_upward_test_data): Likewise.
14135 (cosh_test_data): Likewise.
14136 (cosh_tonearest_test_data): Likewise.
14137 (cosh_towardzero_test_data): Likewise.
14138 (cosh_downward_test_data): Likewise.
14139 (cosh_upward_test_data): Likewise.
14140 (cpow_test_data): Likewise.
14141 (cproj_test_data): Likewise.
14142 (creal_test_data): Likewise.
14143 (csin_test_data): Likewise.
14144 (csinh_test_data): Likewise.
14145 (csqrt_test_data): Likewise.
14146 (ctan_test_data): Likewise.
14147 (ctan_tonearest_test_data): Likewise.
14148 (ctan_towardzero_test_data): Likewise.
14149 (ctan_downward_test_data): Likewise.
14150 (ctan_upward_test_data): Likewise.
14151 (ctanh_test_data): Likewise.
14152 (ctanh_tonearest_test_data): Likewise.
14153 (ctanh_towardzero_test_data): Likewise.
14154 (ctanh_downward_test_data): Likewise.
14155 (ctanh_upward_test_data): Likewise.
14156 (erf_test_data): Likewise.
14157 (erfc_test_data): Likewise.
14158 (exp_test_data): Likewise.
14159 (exp_tonearest_test_data): Likewise.
14160 (exp_towardzero_test_data): Likewise.
14161 (exp_downward_test_data): Likewise.
14162 (exp_upward_test_data): Likewise.
14163 (exp10_test_data): Likewise.
14164 (exp2_test_data): Likewise.
14165 (expm1_test_data): Likewise.
14166 (fabs_test_data): Likewise.
14167 (fdim_test_data): Likewise.
14168 (finite_test_data): Likewise.
14169 (floor_test_data): Likewise.
14170 (fma_test_data): Likewise.
14171 (fma_towardzero_test_data): Likewise.
14172 (fma_downward_test_data): Likewise.
14173 (fma_upward_test_data): Likewise.
14174 (fmax_test_data): Likewise.
14175 (fmin_test_data): Likewise.
14176 (fmod_test_data): Likewise.
14177 (fpclassify_test_data): Likewise.
14178 (frexp_test_data): Likewise.
14179 (gamma_test_data): Likewise.
14180 (hypot_test_data): Likewise.
14181 (ilogb_test_data): Likewise.
14182 (isfinite_test_data): Likewise.
14183 (isgreater_test_data): Likewise.
14184 (isgreaterequal_test_data): Likewise.
14185 (isinf_test_data): Likewise.
14186 (isless_test_data): Likewise.
14187 (islessequal_test_data): Likewise.
14188 (islessgreater_test_data): Likewise.
14189 (isnan_test_data): Likewise.
14190 (isnormal_test_data): Likewise.
14191 (issignaling_test_data): Likewise.
14192 (isunordered_test_data): Likewise.
14193 (j0_test_data): Likewise.
14194 (j1_test_data): Likewise.
14195 (jn_test_data): Likewise.
14196 (ldexp_test_data): Likewise.
14197 (lgamma_test_data): Likewise.
14198 (lrint_test_data): Likewise.
14199 (lrint_tonearest_test_data): Likewise.
14200 (lrint_towardzero_test_data): Likewise.
14201 (lrint_downward_test_data): Likewise.
14202 (lrint_upward_test_data): Likewise.
14203 (llrint_test_data): Likewise.
14204 (llrint_tonearest_test_data): Likewise.
14205 (llrint_towardzero_test_data): Likewise.
14206 (llrint_downward_test_data): Likewise.
14207 (llrint_upward_test_data): Likewise.
14208 (log_test_data): Likewise.
14209 (log10_test_data): Likewise.
14210 (log1p_test_data): Likewise.
14211 (log2_test_data): Likewise.
14212 (logb_test_data): Likewise.
14213 (logb_downward_test_data): Likewise.
14214 (lround_test_data): Likewise.
14215 (llround_test_data): Likewise.
14216 (modf_test_data): Likewise.
14217 (nearbyint_test_data): Likewise.
14218 (nextafter_test_data): Likewise.
14219 (nexttoward_test_data): Likewise.
14220 (pow_test_data): Likewise.
14221 (pow_tonearest_test_data): Likewise.
14222 (pow_towardzero_test_data): Likewise.
14223 (pow_downward_test_data): Likewise.
14224 (pow_upward_test_data): Likewise.
14225 (remainder_test_data): Likewise.
14226 (remainder_tonearest_test_data): Likewise.
14227 (remainder_towardzero_test_data): Likewise.
14228 (remainder_downward_test_data): Likewise.
14229 (remainder_upward_test_data): Likewise.
14230 (remquo_test_data): Likewise.
14231 (rint_test_data): Likewise.
14232 (rint_tonearest_test_data): Likewise.
14233 (rint_towardzero_test_data): Likewise.
14234 (rint_downward_test_data): Likewise.
14235 (rint_upward_test_data): Likewise.
14236 (round_test_data): Likewise.
14237 (scalb_test_data): Likewise.
14238 (scalbn_test_data): Likewise.
14239 (scalbln_test_data): Likewise.
14240 (signbit_test_data): Likewise.
14241 (sin_test_data): Likewise.
14242 (sin_tonearest_test_data): Likewise.
14243 (sin_towardzero_test_data): Likewise.
14244 (sin_downward_test_data): Likewise.
14245 (sin_upward_test_data): Likewise.
14246 (sincos_test_data): Likewise.
14247 (sinh_test_data): Likewise.
14248 (sinh_tonearest_test_data): Likewise.
14249 (sinh_towardzero_test_data): Likewise.
14250 (sinh_downward_test_data): Likewise.
14251 (sinh_upward_test_data): Likewise.
14252 (sqrt_test_data): Likewise.
14253 (tan_test_data): Likewise.
14254 (tan_tonearest_test_data): Likewise.
14255 (tan_towardzero_test_data): Likewise.
14256 (tan_downward_test_data): Likewise.
14257 (tan_upward_test_data): Likewise.
14258 (tanh_test_data): Likewise.
14259 (tgamma_test_data): Likewise.
14260 (trunc_test_data): Likewise.
14261 (y0_test_data): Likewise.
14262 (y1_test_data): Likewise.
14263 (yn_test_data): Likewise.
14264 (significand_test_data): Likewise.
14265
b679a606
JM
14266 * math/gen-libm-test.pl (@functions): Remove variable.
14267 (generate_testfile): Don't handle START and END lines.
14268 * math/libm-test.inc (START): New macro.
14269 (END): Likewise.
14270 (END_COMPLEX): Likewise.
14271 (acos_test): Use END macro without arguments.
14272 (acos_test_tonearest): Likewise.
14273 (acos_test_towardzero): Likewise.
14274 (acos_test_downward): Likewise.
14275 (acos_test_upward): Likewise.
14276 (acosh_test): Likewise.
14277 (asin_test): Likewise.
14278 (asin_test_tonearest): Likewise.
14279 (asin_test_towardzero): Likewise.
14280 (asin_test_downward): Likewise.
14281 (asin_test_upward): Likewise.
14282 (asinh_test): Likewise.
14283 (atan_test): Likewise.
14284 (atanh_test): Likewise.
14285 (atan2_test): Likewise.
14286 (cabs_test): Likewise.
14287 (cacos_test): Use END_COMPLEX macro without arguments.
14288 (cacosh_test): Likewise.
14289 (carg_test): Use END macro without arguments.
14290 (casin_test): Use END_COMPLEX macro without arguments.
14291 (casinh_test): Likewise.
14292 (catan_test): Likewise.
14293 (catanh_test): Likewise.
14294 (cbrt_test): Use END macro without arguments.
14295 (ccos_test): Use END_COMPLEX macro without arguments.
14296 (ccosh_test): Likewise.
14297 (ceil_test): Use END macro without arguments.
14298 (cexp_test): Use END_COMPLEX macro without arguments.
14299 (cimag_test): Use END macro without arguments.
14300 (clog_test): Use END_COMPLEX macro without arguments.
14301 (clog10_test): Likewise.
14302 (conj_test): Likewise.
14303 (copysign_test): Use END macro without arguments.
14304 (cos_test): Likewise.
14305 (cos_test_tonearest): Likewise.
14306 (cos_test_towardzero): Likewise.
14307 (cos_test_downward): Likewise.
14308 (cos_test_upward): Likewise.
14309 (cosh_test): Likewise.
14310 (cosh_test_tonearest): Likewise.
14311 (cosh_test_towardzero): Likewise.
14312 (cosh_test_downward): Likewise.
14313 (cosh_test_upward): Likewise.
14314 (cpow_test): Use END_COMPLEX macro without arguments.
14315 (cproj_test): Likewise.
14316 (creal_test): Use END macro without arguments.
14317 (csin_test): Use END_COMPLEX macro without arguments.
14318 (csinh_test): Likewise.
14319 (csqrt_test): Likewise.
14320 (ctan_test): Likewise.
14321 (ctan_test_tonearest): Likewise.
14322 (ctan_test_towardzero): Likewise.
14323 (ctan_test_downward): Likewise.
14324 (ctan_test_upward): Likewise.
14325 (ctanh_test): Likewise.
14326 (ctanh_test_tonearest): Likewise.
14327 (ctanh_test_towardzero): Likewise.
14328 (ctanh_test_downward): Likewise.
14329 (ctanh_test_upward): Likewise.
14330 (erf_test): Use END macro without arguments.
14331 (erfc_test): Likewise.
14332 (exp_test): Likewise.
14333 (exp_test_tonearest): Likewise.
14334 (exp_test_towardzero): Likewise.
14335 (exp_test_downward): Likewise.
14336 (exp_test_upward): Likewise.
14337 (exp10_test): Likewise.
14338 (exp2_test): Likewise.
14339 (expm1_test): Likewise.
14340 (fabs_test): Likewise.
14341 (fdim_test): Likewise.
14342 (finite_test): Likewise.
14343 (floor_test): Likewise.
14344 (fma_test): Likewise.
14345 (fma_test_towardzero): Likewise.
14346 (fma_test_downward): Likewise.
14347 (fma_test_upward): Likewise.
14348 (fmax_test): Likewise.
14349 (fmin_test): Likewise.
14350 (fmod_test): Likewise.
14351 (fpclassify_test): Likewise.
14352 (frexp_test): Likewise.
14353 (gamma_test): Likewise.
14354 (hypot_test): Likewise.
14355 (ilogb_test): Likewise.
14356 (isfinite_test): Likewise.
14357 (isgreater_test): Likewise.
14358 (isgreaterequal_test): Likewise.
14359 (isinf_test): Likewise.
14360 (isless_test): Likewise.
14361 (islessequal_test): Likewise.
14362 (islessgreater_test): Likewise.
14363 (isnan_test): Likewise.
14364 (isnormal_test): Likewise.
14365 (issignaling_test): Likewise.
14366 (isunordered_test): Likewise.
14367 (j0_test): Likewise.
14368 (j1_test): Likewise.
14369 (jn_test): Likewise.
14370 (ldexp_test): Likewise.
14371 (lgamma_test): Likewise.
14372 (lrint_test): Likewise.
14373 (lrint_test_tonearest): Likewise.
14374 (lrint_test_towardzero): Likewise.
14375 (lrint_test_downward): Likewise.
14376 (lrint_test_upward): Likewise.
14377 (llrint_test): Likewise.
14378 (llrint_test_tonearest): Likewise.
14379 (llrint_test_towardzero): Likewise.
14380 (llrint_test_downward): Likewise.
14381 (llrint_test_upward): Likewise.
14382 (log_test): Likewise.
14383 (log10_test): Likewise.
14384 (log1p_test): Likewise.
14385 (log2_test): Likewise.
14386 (logb_test): Likewise.
14387 (logb_test_downward): Likewise.
14388 (lround_test): Likewise.
14389 (llround_test): Likewise.
14390 (modf_test): Likewise.
14391 (nearbyint_test): Likewise.
14392 (nextafter_test): Likewise.
14393 (nexttoward_test): Likewise.
14394 (pow_test): Likewise.
14395 (pow_test_tonearest): Likewise.
14396 (pow_test_towardzero): Likewise.
14397 (pow_test_downward): Likewise.
14398 (pow_test_upward): Likewise.
14399 (remainder_test): Likewise.
14400 (remainder_test_tonearest): Likewise.
14401 (remainder_test_towardzero): Likewise.
14402 (remainder_test_downward): Likewise.
14403 (remainder_test_upward): Likewise.
14404 (remquo_test): Likewise.
14405 (rint_test): Likewise.
14406 (rint_test_tonearest): Likewise.
14407 (rint_test_towardzero): Likewise.
14408 (rint_test_downward): Likewise.
14409 (rint_test_upward): Likewise.
14410 (round_test): Likewise.
14411 (scalb_test): Likewise.
14412 (scalbn_test): Likewise.
14413 (scalbln_test): Likewise.
14414 (signbit_test): Likewise.
14415 (sin_test): Likewise.
14416 (sin_test_tonearest): Likewise.
14417 (sin_test_towardzero): Likewise.
14418 (sin_test_downward): Likewise.
14419 (sin_test_upward): Likewise.
14420 (sincos_test): Likewise.
14421 (sinh_test): Likewise.
14422 (sinh_test_tonearest): Likewise.
14423 (sinh_test_towardzero): Likewise.
14424 (sinh_test_downward): Likewise.
14425 (sinh_test_upward): Likewise.
14426 (sqrt_test): Likewise.
14427 (tan_test): Likewise.
14428 (tan_test_tonearest): Likewise.
14429 (tan_test_towardzero): Likewise.
14430 (tan_test_downward): Likewise.
14431 (tan_test_upward): Likewise.
14432 (tanh_test): Likewise.
14433 (tgamma_test): Likewise.
14434 (trunc_test): Likewise.
14435 (y0_test): Likewise.
14436 (y1_test): Likewise.
14437 (yn_test): Likewise.
14438 (significand_test): Likewise.
14439
bae143d2
OB
144402013-05-24 Ondřej Bílka <neleai@seznam.cz>
14441
14442 [BZ #15381]
14443 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14444
9323d39b
EM
144452013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14446
d4ea44a0 14447 [BZ #14894]
9323d39b
EM
14448 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14449 __ppc_mdoio and __ppc_mdoom.
14450 * manual/platform.texi: Document new functions __ppc_yield,
14451 __ppc_mdoio and __ppc_mdoom.
14452
13e23af7
CD
144532013-05-22 Carlos O'Donell <carlos@redhat.com>
14454
14455 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14456 (main): Mention "tls" pseudo-hwcap is legacy.
14457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14458
351fe550
JM
144592013-05-22 Joseph Myers <joseph@codesourcery.com>
14460
14461 * math/gen-libm-test.pl (parse_args): Output only string of
14462 arguments as text for test name, not full call or descriptions of
14463 tests for extra outputs.
14464 (generate_testfile): Do not pass function name to parse_args.
14465 Generate this_func variable from START.
14466 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14467 field to arg_str.
14468 (struct test_ff_f_data): Likewise.
14469 (test_ff_f_data_nexttoward): Likewise.
14470 (struct test_fi_f_data): Likewise.
14471 (struct test_fl_f_data): Likewise.
14472 (struct test_if_f_data): Likewise.
14473 (struct test_fff_f_data): Likewise.
14474 (struct test_c_f_data): Likewise.
14475 (struct test_f_f1_data): Likewise. Remove field extra_name.
14476 (struct test_fF_f1_data): Likewise.
14477 (struct test_ffI_f1_data): Likewise.
14478 (struct test_c_c_data): Rename test_name field to arg_str.
14479 (struct test_cc_c_data): Likewise.
14480 (struct test_f_i_data): Likewise.
14481 (struct test_ff_i_data): Likewise.
14482 (struct test_f_l_data): Likewise.
14483 (struct test_f_L_data): Likewise.
14484 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14485 and extra2_name.
14486 (COMMON_TEST_SETUP): New macro.
14487 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14488 (COMMON_TEST_CLEANUP): Likewise.
14489 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14490 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14491 macros.
14492 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14493 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14494 macros.
14495 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14496 (RUN_TEST_fff_f): Take argument string. Call new setup and
14497 cleanup macros.
14498 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14499 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14500 macros.
14501 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14502 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14503 macros.
14504 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14505 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14506 cleanup macros.
14507 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14508 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14509 cleanup macros.
14510 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14511 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14512 cleanup macros.
14513 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14514 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14515 macros.
14516 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14517 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14518 macros.
14519 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14520 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14521 macros.
14522 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14523 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14524 cleanup macros.
14525 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14526 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14527 cleanup macros.
14528 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14529 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14530 macros.
14531 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14532 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14533 cleanup macros.
14534 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14535 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14536 macros.
14537 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14538 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14539 macros.
14540 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14541 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14542 cleanup macros.
14543 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14544
85118d4d
EBM
145452013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14546
14547 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14548 to _sifields.sigfault.
14549 (si_addr_lsb): Define new macro.
14550 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14551 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14553
7a44c18f
CD
145542013-05-03 Carlos O'Donell <carlos at redhat.com>
14555
14556 [BZ #15441]
14557 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14558 returns -1.
14559 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14560 null return -1.
14561 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14562 loading the domain.
14563
b50a7181
JM
145642013-05-22 Joseph Myers <joseph@codesourcery.com>
14565
14566 * math/gen-libm-test.pl (parse_args): Do not include expected
14567 result in test name.
14568 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14570 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14574
051063c8
SP
145752013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14576
3ce9e010
SP
14577 * benchtests/Makefile: Sort function entries.
14578
051063c8
SP
14579 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14580 tanh, asinh, acosh, atanh.
14581 * benchtests/acos-inputs: New file.
14582 * benchtests/acosh-inputs: New file.
14583 * benchtests/asin-inputs: New file.
14584 * benchtests/asinh-inputs: New file.
14585 * benchtests/atanh-inputs: New file.
14586 * benchtests/cosh-inputs: New file.
14587 * benchtests/log-inputs: New file.
14588 * benchtests/sinh-inputs: New file.
14589 * benchtests/tanh-inputs: New file.
14590
47c22455
DL
145912013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14592
14593 [BZ #15339]
14594 * posix/tst-getaddrinfo4.c: New test.
14595 * posix/Makefile (tests): Add it.
14596
3d04f5db
SP
145972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14598
14599 [BZ #15339]
14600 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14601 when no services were used.
14602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14603 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14604
d5dd6189
AS
146052013-05-21 Andreas Schwab <schwab@suse.de>
14606
14607 [BZ #15014]
14608 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14609 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14610 successful.
14611 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14612 redundant variable declarations and reallocation of buffer when
14613 parsing as IPv6 address. Always set NSS status when called from
14614 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14615 buffer too small. Correct computation of needed size.
14616 * nss/Makefile (tests): Add test-digits-dots.
14617 * nss/test-digits-dots.c: New test.
14618
fef94eab
SP
146192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14620
14621 * benchtests/Makefile: Remove instructions for adding
14622 benchmark tests.
14623 * benchtests/README: New file to explain how to execute and
14624 enhance the benchmark tests.
14625
e39adf43
AS
146262013-05-21 Andreas Schwab <schwab@suse.de>
14627
14628 [BZ #15493]
14629 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14630 * setjmp/tst-sigsetjmp.c: New test.
14631
b2b671b6
OB
146322013-05-20 Ondřej Bílka <neleai@seznam.cz>
14633
14634 * sysdeps/x86_64/memset.S (memset): New implementation.
14635 (__bzero): Likewise.
14636 (__memset_tail): New function.
14637
2d48b41c
OB
146382013-05-20 Ondřej Bílka <neleai@seznam.cz>
14639
14640 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14641 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14642 __memcpy_sse2_unaligned ifunc selection.
14643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14644 Add memcpy-sse2-unaligned.S.
14645 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14646 Add: __memcpy_sse2_unaligned.
14647
f16cc3eb
JM
146482013-05-19 Joseph Myers <joseph@codesourcery.com>
14649
3e694268
JM
14650 [BZ #15490]
14651 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14652 math_force_eval before restoring floating-point envrionment.
14653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14655 Likewise.
14656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14657 <math_private.h>.
14658 (__nearbyintl): Use math_force_eval before restoring
14659 floating-point environment.
14660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14661
db62a907
JM
14662 * math/gen-libm-test.pl (special_functions): Remove.
14663 (parse_args): Don't handle TEST_extra. Handle functions with no
14664 return value.
14665 * math/libm-test.inc (struct test_sincos_data): Replace with
14666 struct test_fFF_11_data.
14667 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14668 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14669 (sincos_test_data): Change element type to struct
14670 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14671 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14672 RUN_TEST_LOOP_sincos.
14673 * math/README.libm-test: Don't mention special handling of
14674 individual functions.
14675 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14676 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14677 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14678 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681
f16cc3eb
JM
14682 * math/gen-libm-test.pl (get_variable): Remove function.
14683 (parse_args): Don't show pointer parameters to call in test
14684 names. Use "extra output N" in test names for extra outputs
14685 rather than naming variables.
14686
3779b5b6
JM
146872013-05-18 Joseph Myers <joseph@codesourcery.com>
14688
2ee094ff
JM
14689 [BZ #15488]
14690 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14691 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14692 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14693 double tests.
14694 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14695 disable.
14696 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14697 check_long_double.
14698
3779b5b6
JM
14699 * math/gen-libm-test.pl (@tests): Remove variable.
14700 ($count): Likewise.
14701 (new_test): Remove function.
14702 (show_exceptions): New function.
14703 (special_functions): Use show_exceptions instead of new_test.
14704 (parse_args): Likewise.
14705 (generate_testfile): Pass only function name in generated call to
14706 print_max_error or print_complex_max_error.
14707 (get_ulps): Do not handle complex tests specially.
14708 (output_test): Rename to ...
14709 (get_all_ulps_for_test): ... this. Return a string rather than
14710 printing to a file. Require ulps to be present.
14711 (output_ulps): Generate arrays rather than #defines.
14712 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14713 (struct ulp_data): New type.
14714 (BUILD_COMPLEX_ULP): Remove macro.
14715 (compare_ulp_data): New function.
14716 (find_ulps): Likewise.
14717 (find_test_ulps): Likewise.
14718 (find_function_ulps): Likewise.
14719 (find_complex_function_ulps): Likewise.
14720 (print_max_error): Determine allowed ulps using
14721 find_function_ulps.
14722 (print_complex_max_error): Determine allowed ulps using
14723 find_complex_function_ulps.
14724 (check_float_internal): Determine max ulps using find_test_ulps.
14725 (check_float): Do not take max_ulp parameter. Update call to
14726 check_float_internal.
14727 (check_complex): Likewise.
14728 (check_int): Do not take max_ulp parameter.
14729 (check_long): Likewise.
14730 (check_bool): Likewise.
14731 (check_longlong): Likewise.
14732 (struct test_f_f_data): Remove max_ulp field.
14733 (struct test_ff_f_data): Likewise.
14734 (struct test_ff_f_data_nexttoward): Likewise.
14735 (struct test_fi_f_data): Likewise.
14736 (struct test_fl_f_data): Likewise.
14737 (struct test_if_f_data): Likewise.
14738 (struct test_fff_f_data): Likewise.
14739 (struct test_c_f_data): Likewise.
14740 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14741 (struct test_fF_f1_data): Likewise.
14742 (struct test_ffI_f1_data): Likewise.
14743 (struct test_c_c_data): Remove max_ulp field.
14744 (struct test_cc_c_data): Likewise.
14745 (struct test_f_i_data): Likewise.
14746 (struct test_ff_i_data): Likewise.
14747 (struct test_f_l_data): Likewise.
14748 (struct test_f_L_data): Likewise.
14749 (struct test_sincos_data): Likewise.
14750 (RUN_TEST_f_f): Do not handle ulps.
14751 (RUN_TEST_LOOP_f_f): Likewise.
14752 (RUN_TEST_2_f): Likewise.
14753 (RUN_TEST_LOOP_2_f): Likewise.
14754 (RUN_TEST_fff_f): Likewise.
14755 (RUN_TEST_LOOP_fff_f): Likewise.
14756 (RUN_TEST_c_f): Likewise.
14757 (RUN_TEST_LOOP_c_f): Likewise.
14758 (RUN_TEST_f_f1): Likewise.
14759 (RUN_TEST_LOOP_f_f1): Likewise.
14760 (RUN_TEST_fF_f1): Likewise.
14761 (RUN_TEST_LOOP_fF_f1): Likewise.
14762 (RUN_TEST_fI_f1): Likewise.
14763 (RUN_TEST_LOOP_fI_f1): Likewise.
14764 (RUN_TEST_ffI_f1): Likewise.
14765 (RUN_TEST_LOOP_ffI_f1): Likewise.
14766 (RUN_TEST_c_c): Likewise.
14767 (RUN_TEST_LOOP_c_c): Likewise.
14768 (RUN_TEST_cc_c): Likewise.
14769 (RUN_TEST_LOOP_cc_c): Likewise.
14770 (RUN_TEST_f_i): Likewise.
14771 (RUN_TEST_LOOP_f_i): Likewise.
14772 (RUN_TEST_f_i_tg): Likewise.
14773 (RUN_TEST_LOOP_f_i_tg): Likewise.
14774 (RUN_TEST_ff_i_tg): Likewise.
14775 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14776 (RUN_TEST_f_b): Likewise.
14777 (RUN_TEST_LOOP_f_b): Likewise.
14778 (RUN_TEST_f_b_tg): Likewise.
14779 (RUN_TEST_LOOP_f_b_tg): Likewise.
14780 (RUN_TEST_f_l): Likewise.
14781 (RUN_TEST_LOOP_f_l): Likewise.
14782 (RUN_TEST_f_L): Likewise.
14783 (RUN_TEST_LOOP_f_L): Likewise.
14784 (RUN_TEST_sincos): Likewise.
14785 (RUN_TEST_LOOP_sincos): Likewise.
14786
8269107f
JM
147872013-05-17 Joseph Myers <joseph@codesourcery.com>
14788
bb38759d
JM
14789 [BZ #15480]
14790 [BZ #15485]
14791 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14792 main case of finite arguments, set rounding mode to FE_TONEAREST
14793 and discard exceptions.
14794 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14795 exceptions.
14796 (remainder_tonearest_test_data): New variable.
14797 (remainder_test_tonearest): New function.
14798 (remainder_towardzero_test_data): New variable.
14799 (remainder_test_towardzero): New function.
14800 (remainder_downward_test_data): New variable.
14801 (remainder_test_downward): New function.
14802 (remainder_upward_test_data): New variable.
14803 (remainder_test_upward): New function.
14804 (main): Call the new test functions.
14805
a00bdcf0
JM
14806 * math/libm-test.inc (struct test_f_f1_data): Remove field
14807 extra_init.
14808 (struct test_fF_f1_data): Likewise.
14809 (struct test_ffI_f1_data): Likewise.
14810 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14811 based on value of EXTRA_EXPECTED.
14812 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14813 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14814 EXTRA_VAR based on value of EXTRA_EXPECTED.
14815 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14816 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14817 EXTRA_VAR based on value of EXTRA_EXPECTED.
14818 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14819 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14820 EXTRA_VAR based on value of EXTRA_EXPECTED.
14821 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14822 * math/gen-libm-test.pl (parse_args): Don't output initializers
14823 for extra output values.
14824
de407f79
JM
14825 * math/libm-test.inc (check_int): Expect result to be exactly
14826 equal to expected value and do not handle ulps.
14827 (check_long): Likewise.
14828 (check_longlong): Likewise.
14829
8269107f
JM
14830 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14831 exceptions.
14832 (cimag_test_data): Likewise.
14833 (conj_test_data): Likewise.
14834 (copysign_test_data): Likewise.
14835 (cproj_test_data): Likewise.
14836 (creal_test_data): Likewise.
14837 (fabs_test_data): Likewise.
14838 (fdim_test_data): Likewise.
14839 (finite_test_data): Likewise.
14840 (floor_test_data): Likewise.
14841 (fmax_test_data): Likewise.
14842 (fmin_test_data): Likewise.
14843 (fmod_test_data): Likewise.
14844 (fpclassify_test_data): Likewise.
14845 (frexp_test_data): Likewise.
14846 (ilogb_test_data): Likewise.
14847 (isfinite_test_data): Likewise.
14848 (isgreater_test_data): Likewise.
14849 (isgreaterequal_test_data): Likewise.
14850 (isinf_test_data): Likewise.
14851 (isless_test_data): Likewise.
14852 (islessequal_test_data): Likewise.
14853 (islessgreater_test_data): Likewise.
14854 (isnan_test_data): Likewise.
14855 (isnormal_test_data): Likewise.
14856 (issignaling_test_data): Likewise.
14857 (isunordered_test_data): Likewise.
14858 (ldexp_test_data): Likewise.
14859 (lrint_test_data): Likewise.
14860 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14861 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14862 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14863 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14864 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14865 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14866 test input.
14867 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14868 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14869 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14870 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14871 that test input.
14872 (lrint_downward_test_data): Test for "inexact" exceptions.
14873 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14874 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14875 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14876 test input.
14877 (lrint_upward_test_data): Test for "inexact" exceptions.
14878 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14879 test input.
14880 (llrint_test_data): Test for "inexact" exceptions.
14881 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14882 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14883 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14884 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14885 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14886 (llrint_downward_test_data): Test for "inexact" exceptions.
14887 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14888 (llrint_upward_test_data): Test for "inexact" exceptions.
14889 (logb_test_data): Likewise.
14890 (logb_downward_test_data): Likewise.
14891 (nextafter_test_data): Likewise.
14892 (nexttoward_test_data): Likewise.
14893 (remainder_test_data): Likewise.
14894 (remquo_test_data): Likewise.
14895 (scalbn_test_data): Likewise.
14896 (scalbln_test_data): Likewise.
14897 (signbit_test_data): Likewise.
14898 (sqrt_test_data): Likewise.
14899 (significand_test_data): Likewise.
14900
48a18de1
SP
149012013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14902
14903 [BZ #15424]
14904 * benchtests/bench-modf.c (struct args): Mark arg0 as
14905 volatile.
14906 * scripts/bench.pl: Mark members of struct args as volatile.
14907
13d3b41a
AZ
149082013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14909
68191c1d 14910 [BZ # 15497]
13d3b41a
AZ
14911 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14912 negative infinity on POWER6 or lower.
14913 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14914
2848b105
MR
149152013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14916
14917 [BZ #15442]
14918 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14919 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14920 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14921 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14922 (_FP_SETQNAN): New macro.
14923 (_FP_SETQNAN_SEMIRAW): Likewise.
14924 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14925 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14926 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14927 (FP_EXTEND): Use _FP_FRAC_SNANP.
14928 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14929 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14930 into account.
14931 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14932 New macro.
14933 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14934 Likewise.
14935
323e5cb7
JM
149362013-05-16 Joseph Myers <joseph@codesourcery.com>
14937
c58b274f
JM
14938 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14939 with DIVIDE_BY_ZERO_EXCEPTION.
14940 (gamma_test_data): Likewise.
14941 (lgamma_test_data): Likewise.
14942 (log_test_data): Likewise.
14943 (log10_test_data): Likewise.
14944 (log2_test_data): Likewise.
14945 (tgamma_test_data): Likewise.
14946
0ab34904
JM
14947 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14948 (acos_test_tonearest): Likewise.
14949 (acos_test_towardzero): Likewise.
14950 (acos_test_downward): Likewise.
14951 (acos_test_upward): Likewise.
14952 (acosh_test): Likewise.
14953 (asin_test): Likewise.
14954 (asin_test_tonearest): Likewise.
14955 (asin_test_towardzero): Likewise.
14956 (asin_test_downward): Likewise.
14957 (asin_test_upward): Likewise.
14958 (asinh_test): Likewise.
14959 (atan_test): Likewise.
14960 (atanh_test): Likewise.
14961 (atan2_test): Likewise.
14962 (cabs_test): Likewise.
14963 (cacos_test): Likewise.
14964 (cacosh_test): Likewise.
14965 (casin_test): Likewise.
14966 (casinh_test): Likewise.
14967 (catan_test): Likewise.
14968 (catanh_test): Likewise.
14969 (cbrt_test): Likewise.
14970 (ccos_test): Likewise.
14971 (ccosh_test): Likewise.
14972 (cexp_test): Likewise.
14973 (clog_test): Likewise.
14974 (clog10_test): Likewise.
14975 (cos_test): Likewise.
14976 (cos_test_tonearest): Likewise.
14977 (cos_test_towardzero): Likewise.
14978 (cos_test_downward): Likewise.
14979 (cos_test_upward): Likewise.
14980 (cosh_test): Likewise.
14981 (cosh_test_tonearest): Likewise.
14982 (cosh_test_towardzero): Likewise.
14983 (cosh_test_downward): Likewise.
14984 (cosh_test_upward): Likewise.
14985 (cpow_test): Likewise.
14986 (csin_test): Likewise.
14987 (csinh_test): Likewise.
14988 (csqrt_test): Likewise.
14989 (ctan_test): Likewise.
14990 (ctan_test_tonearest): Likewise.
14991 (ctan_test_towardzero): Likewise.
14992 (ctan_test_downward): Likewise.
14993 (ctan_test_upward): Likewise.
14994 (ctanh_test): Likewise.
14995 (ctanh_test_tonearest): Likewise.
14996 (ctanh_test_towardzero): Likewise.
14997 (ctanh_test_downward): Likewise.
14998 (ctanh_test_upward): Likewise.
14999 (erf_test): Likewise.
15000 (erfc_test): Likewise.
15001 (exp_test): Likewise.
15002 (exp_test_tonearest): Likewise.
15003 (exp_test_towardzero): Likewise.
15004 (exp_test_downward): Likewise.
15005 (exp_test_upward): Likewise.
15006 (exp10_test): Likewise.
15007 (exp2_test): Likewise.
15008 (expm1_test): Likewise.
15009 (fmod_test): Likewise.
15010 (gamma_test): Likewise.
15011 (hypot_test): Likewise.
15012 (j0_test): Likewise.
15013 (j1_test): Likewise.
15014 (jn_test): Likewise.
15015 (lgamma_test): Likewise.
15016 (log_test): Likewise.
15017 (log10_test): Likewise.
15018 (log1p_test): Likewise.
15019 (log2_test): Likewise.
15020 (logb_test_downward): Likewise.
15021 (pow_test): Likewise.
15022 (pow_test_tonearest): Likewise.
15023 (pow_test_towardzero): Likewise.
15024 (pow_test_downward): Likewise.
15025 (pow_test_upward): Likewise.
15026 (remainder_test): Likewise.
15027 (remquo_test): Likewise.
15028 (sin_test): Likewise.
15029 (sin_test_tonearest): Likewise.
15030 (sin_test_towardzero): Likewise.
15031 (sin_test_downward): Likewise.
15032 (sin_test_upward): Likewise.
15033 (sincos_test): Likewise.
15034 (sinh_test): Likewise.
15035 (sinh_test_tonearest): Likewise.
15036 (sinh_test_towardzero): Likewise.
15037 (sinh_test_downward): Likewise.
15038 (sinh_test_upward): Likewise.
15039 (sqrt_test): Likewise.
15040 (tan_test): Likewise.
15041 (tan_test_tonearest): Likewise.
15042 (tan_test_towardzero): Likewise.
15043 (tan_test_downward): Likewise.
15044 (tan_test_upward): Likewise.
15045 (tanh_test): Likewise.
15046 (tgamma_test): Likewise.
15047 (y0_test): Likewise.
15048 (y1_test): Likewise.
15049 (yn_test): Likewise.
15050
323e5cb7
JM
15051 * math/gen-libm-test.pl (adjust_arg): Remove function.
15052 (special_function): Remove argument $in_func. Only handle
15053 generating output for tables of tests, not inside functions.
15054 (parse_args): Likewise.
15055 (generate_testfile): Remove variable $in_func. Update call to
15056 parse_args.
15057 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15058 (MINUS_ZERO_INIT): Rename macro to minus_zero.
15059 (PLUS_INFTY_INIT): Rename macro to plus_infty.
15060 (MINUS_INFTY_INIT): Rename macro to minus_infty.
15061 (QNAN_VALUE_INIT): Rename macro to qnan_value.
15062 (MAX_VALUE_INIT): Rename macro to max_value.
15063 (MIN_VALUE_INIT): Rename macro to min_value.
15064 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15065 (plus_zero): Remove variable.
15066 (minus_zero): Likewise.
15067 (plus_infty): Likewise.
15068 (minus_infty): Likewise.
15069 (qnan_value): Likewise.
15070 (max_value): Likewise.
15071 (min_value): Likewise.
15072 (min_subnorm_value): Likewise.
15073
e054f494
RA
150742013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15075
15076 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15077 uint64_t or uint32_t usage.
15078 * crypt/sha256-block.c: Likewise.
15079 * crypt/sha256-crypt.c: Likewise.
15080 * crypt/sha256.c: Likewise.
15081 * crypt/sha512-block.c: Likewise.
15082 * crypt/sha512-crypt.c: Likewise.
15083 * crypt/sha512.c: Likewise.
15084 * debug/backtrace-tst.c: Likewise.
15085 * debug/pcprofiledump.c: Likewise.
15086 * elf/cache.c: Likewise.
15087 * elf/dl-cache.c: Likewise.
15088 * elf/dl-misc.c: Likewise.
15089 * elf/dl-profile.c: Likewise.
15090 * elf/dl-support.c: Likewise.
15091 * elf/ldconfig.c: Likewise.
15092 * elf/sprof.c: Likewise.
15093 * iconv/dummy-repertoire.c: Likewise.
15094 * iconv/iconv_charmap.c: Likewise.
15095 * iconv/skeleton.c: Likewise.
15096 * iconvdata/8bit-generic.c: Likewise.
15097 * iconvdata/cp737.h: Likewise.
15098 * iconvdata/cp775.h: Likewise.
15099 * iconvdata/ibm1008.h: Likewise.
15100 * iconvdata/ibm1025.h: Likewise.
15101 * iconvdata/ibm1046.h: Likewise.
15102 * iconvdata/ibm1097.h: Likewise.
15103 * iconvdata/ibm1112.h: Likewise.
15104 * iconvdata/ibm1122.h: Likewise.
15105 * iconvdata/ibm1123.h: Likewise.
15106 * iconvdata/ibm1124.h: Likewise.
15107 * iconvdata/ibm1129.h: Likewise.
15108 * iconvdata/ibm1130.h: Likewise.
15109 * iconvdata/ibm1132.h: Likewise.
15110 * iconvdata/ibm1133.h: Likewise.
15111 * iconvdata/ibm1137.h: Likewise.
15112 * iconvdata/ibm1140.h: Likewise.
15113 * iconvdata/ibm1141.h: Likewise.
15114 * iconvdata/ibm1142.h: Likewise.
15115 * iconvdata/ibm1143.h: Likewise.
15116 * iconvdata/ibm1144.h: Likewise.
15117 * iconvdata/ibm1145.h: Likewise.
15118 * iconvdata/ibm1146.h: Likewise.
15119 * iconvdata/ibm1147.h: Likewise.
15120 * iconvdata/ibm1148.h: Likewise.
15121 * iconvdata/ibm1149.h: Likewise.
15122 * iconvdata/ibm1153.h: Likewise.
15123 * iconvdata/ibm1154.h: Likewise.
15124 * iconvdata/ibm1155.h: Likewise.
15125 * iconvdata/ibm1156.h: Likewise.
15126 * iconvdata/ibm1157.h: Likewise.
15127 * iconvdata/ibm1158.h: Likewise.
15128 * iconvdata/ibm1160.h: Likewise.
15129 * iconvdata/ibm1161.h: Likewise.
15130 * iconvdata/ibm1162.h: Likewise.
15131 * iconvdata/ibm1163.h: Likewise.
15132 * iconvdata/ibm1164.h: Likewise.
15133 * iconvdata/ibm1166.h: Likewise.
15134 * iconvdata/ibm1167.h: Likewise.
15135 * iconvdata/ibm12712.h: Likewise.
15136 * iconvdata/ibm1390.h: Likewise.
15137 * iconvdata/ibm1399.h: Likewise.
15138 * iconvdata/ibm16804.h: Likewise.
15139 * iconvdata/ibm4517.h: Likewise.
15140 * iconvdata/ibm4899.h: Likewise.
15141 * iconvdata/ibm4909.h: Likewise.
15142 * iconvdata/ibm4971.h: Likewise.
15143 * iconvdata/ibm5347.h: Likewise.
15144 * iconvdata/ibm803.h: Likewise.
15145 * iconvdata/ibm856.h: Likewise.
15146 * iconvdata/ibm901.h: Likewise.
15147 * iconvdata/ibm902.h: Likewise.
15148 * iconvdata/ibm9030.h: Likewise.
15149 * iconvdata/ibm9066.h: Likewise.
15150 * iconvdata/ibm921.h: Likewise.
15151 * iconvdata/ibm922.h: Likewise.
15152 * iconvdata/ibm9448.h: Likewise.
15153 * iconvdata/isiri-3342.h: Likewise.
15154 * iconvdata/jis0201.h: Likewise.
15155 * include/link.h: Likewise.
15156 * include/netdb.h: Likewise.
15157 * inet/check_native.c: Likewise.
15158 * inet/check_pf.c: Likewise.
15159 * inet/getipv4sourcefilter.c: Likewise.
15160 * inet/getnameinfo.c: Likewise.
15161 * inet/getsourcefilter.c: Likewise.
15162 * inet/htonl.c: Likewise.
15163 * inet/setipv4sourcefilter.c: Likewise.
15164 * inet/setsourcefilter.c: Likewise.
15165 * inet/test-inet6_opt.c: Likewise.
15166 * inet/tst-network.c: Likewise.
15167 * locale/C-collate.c: Likewise.
15168 * locale/C-ctype.c: Likewise.
15169 * locale/C-time.c: Likewise.
15170 * locale/C-translit.h: Likewise.
15171 * locale/loadarchive.c: Likewise.
15172 * locale/programs/3level.h: Likewise.
15173 * locale/programs/charmap.c: Likewise.
15174 * locale/programs/charmap.h: Likewise.
15175 * locale/programs/ld-address.c: Likewise.
15176 * locale/programs/ld-collate.c: Likewise.
15177 * locale/programs/ld-ctype.c: Likewise.
15178 * locale/programs/ld-identification.c: Likewise.
15179 * locale/programs/ld-measurement.c: Likewise.
15180 * locale/programs/ld-messages.c: Likewise.
15181 * locale/programs/ld-monetary.c: Likewise.
15182 * locale/programs/ld-name.c: Likewise.
15183 * locale/programs/ld-numeric.c: Likewise.
15184 * locale/programs/ld-paper.c: Likewise.
15185 * locale/programs/ld-telephone.c: Likewise.
15186 * locale/programs/ld-time.c: Likewise.
15187 * locale/programs/linereader.c: Likewise.
15188 * locale/programs/locale.c: Likewise.
15189 * locale/programs/locarchive.c: Likewise.
15190 * locale/programs/locfile.h: Likewise.
15191 * locale/programs/repertoire.c: Likewise.
15192 * locale/programs/simple-hash.c: Likewise.
15193 * locale/programs/simple-hash.h: Likewise.
15194 * malloc/memusage.c: Likewise.
15195 * malloc/memusagestat.c: Likewise.
15196 * nis/nis_defaults.c: Likewise.
15197 * nis/nis_hash.c: Likewise.
15198 * nis/nis_print.c: Likewise.
15199 * nis/nis_xdr.c: Likewise.
15200 * nscd/connections.c: Likewise.
15201 * nscd/hstcache.c: Likewise.
15202 * nscd/nscd_gethst_r.c: Likewise.
15203 * nscd/nscd_getserv_r.c: Likewise.
15204 * nscd/nscd_helper.c: Likewise.
15205 * nscd/servicescache.c: Likewise.
15206 * nss/makedb.c: Likewise.
15207 * nss/nss_db/db-XXX.c: Likewise.
15208 * nss/nss_db/db-initgroups.c: Likewise.
15209 * nss/nss_db/db-netgrp.c: Likewise.
15210 * nss/nss_files/files-network.c: Likewise.
15211 * nss/nss_files/files-parse.c: Likewise.
15212 * posix/bug-regex5.c: Likewise.
15213 * posix/fnmatch_loop.c: Likewise.
15214 * posix/regcomp.c: Likewise.
15215 * posix/regexec.c: Likewise.
15216 * posix/tst-rfc3484-2.c: Likewise.
15217 * posix/tst-rfc3484-3.c: Likewise.
15218 * posix/tst-rfc3484.c: Likewise.
15219 * resolv/nss_dns/dns-canon.c: Likewise.
15220 * resolv/nss_dns/dns-network.c: Likewise.
15221 * resolv/res_init.c: Likewise.
15222 * resolv/res_mkquery.c: Likewise.
15223 * resolv/tst-aton.c: Likewise.
15224 * stdlib/cxa_atexit.c: Likewise.
15225 * stdlib/cxa_finalize.c: Likewise.
15226 * stdlib/gen-fpioconst.c: Likewise.
15227 * stdlib/strtol_l.c: Likewise.
15228 * string/tst-endian.c: Likewise.
15229 * sunrpc/auth_des.c: Likewise.
15230 * sunrpc/clnt_udp.c: Likewise.
15231 * sunrpc/rtime.c: Likewise.
15232 * sunrpc/svcauth_des.c: Likewise.
15233 * sunrpc/xdr.c: Likewise.
15234 * sunrpc/xdr_intXX_t.c: Likewise.
15235 * sunrpc/xdr_rec.c: Likewise.
15236 * sysdeps/generic/ldconfig.h: Likewise.
15237 * sysdeps/generic/ldsodefs.h: Likewise.
15238 * sysdeps/generic/memusage.h: Likewise.
15239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15245 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15246 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15249 * sysdeps/posix/getaddrinfo.c: Likewise.
15250 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15251 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15252 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15253 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15254 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15255 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15256 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15257 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15258 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15260 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15262 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15263 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15265 * sysdeps/x86_64/dl-tls.h: Likewise.
15266 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15267 * time/alt_digit.c: Likewise.
15268 * time/era.c: Likewise.
15269 * wcsmbs/tst-c16c32-1.c: Likewise.
15270
8c75f674
JM
152712013-05-16 Joseph Myers <joseph@codesourcery.com>
15272
15273 * math/libm-test.inc (struct test_sincos_data): New type.
15274 (RUN_TEST_LOOP_sincos): New macro.
15275 (sincos_test_data): New variable.
15276 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15277
e6e49e59
RH
152782013-05-16 Richard Henderson <rth@redhat.com>
15279
15280 * math/atest-exp2.c (LIMB64): New macro.
15281 (CONSTSZ): New macro.
15282 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15283 (hexdig): Move ...
15284 (print_mpn_fp): ... to function scope.
15285 (read_mpn_hex): Remove.
15286 (get_log2): Remove.
15287 (exp2_mpn): Use mp_log2.
15288 (main): Use mp_exp1.
15289
15c7c18d
JM
152902013-05-16 Joseph Myers <joseph@codesourcery.com>
15291
105a07df
JM
15292 * math/libm-test.inc: Remove comment about not testing "inexact"
15293 exceptions.
15294 (INEXACT_EXCEPTION): New macro.
15295 (NO_INEXACT_EXCEPTION): Likewise.
15296 (INVALID_EXCEPTION_OK): Update value.
15297 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15298 (OVERFLOW_EXCEPTION_OK): Likewise.
15299 (UNDERFLOW_EXCEPTION_OK): Likewise.
15300 (IGNORE_ZERO_INF_SIGN): Likewise.
15301 (ERRNO_UNCHANGED): Likewise.
15302 (ERRNO_EDOM): Likewise.
15303 (ERRNO_ERANGE): Likewise.
15304 (test_exceptions): Handle testing "inexact" exceptions.
15305 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15306 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15307 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15308 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15309 INEXACT_EXCEPTION.
15310 (rint_towardzero_test_data): Likewise.
15311 (rint_downward_test_data): Likewise.
15312 (rint_upward_test_data): Likewise.
15313
e9eee333
JM
15314 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15315 with OVERFLOW_EXCEPTION.
15316 (exp10_test_data): Likewise.
15317 (exp2_test_data): Likewise.
15318 (expm1_test_data): Likewise.
15319 (lgamma_test_data): Likewise.
15320 (pow_test_data): Likewise.
15321 (tgamma_test_data): Likewise.
15322 (yn_test_data): Remove duplicate test of overflow.
15323
1c38ff73
JM
15324 * math/libm-test.inc (struct test_cc_c_data): New type.
15325 (RUN_TEST_LOOP_cc_c): New macro.
15326 (cpow_test_data): New variable.
15327 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15328
15c7c18d
JM
15329 * math/libm-test.inc (struct test_f_L_data): New type.
15330 (RUN_TEST_LOOP_f_L): New macro.
15331 (llrint_test_data): New variable.
15332 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15333 (llrint_tonearest_test_data): New variable.
15334 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15335 (llrint_towardzero_test_data): New variable.
15336 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15337 (llrint_downward_test_data): New variable.
15338 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15339 (llrint_upward_test_data): New variable.
15340 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15341 (llround_test_data): New variable.
15342 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15343
f137ff13
PC
153442013-05-13 Peter Collingbourne <pcc@google.com>
15345
15346 * math/atest-exp2.c (get_log2): Remove const attribute.
15347
3608cb24
JM
153482013-05-15 Joseph Myers <joseph@codesourcery.com>
15349
15350 * math/libm-test.inc (struct test_f_l_data): New type.
15351 (RUN_TEST_LOOP_f_l): New macro.
15352 (lrint_test_data): New variable.
15353 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15354 (lrint_tonearest_test_data): New variable.
15355 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15356 (lrint_towardzero_test_data): New variable.
15357 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15358 (lrint_downward_test_data): New variable.
15359 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15360 (lrint_upward_test_data): New variable.
15361 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15362 (lround_test_data): New variable.
15363 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15364
39b1f617
PC
153652013-05-15 Peter Collingbourne <pcc@google.com>
15366
1deff3dc
PC
15367 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15368 (EXTRACT_WORDS64) Use where appropriate.
15369 (INSERT_WORDS64) Likewise.
15370
791f3ba0
PC
15371 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15372 constraints with x constraints.
15373 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15374
39b1f617
PC
15375 * malloc/obstack.c (_obstack_compat): Add initializer.
15376
12fba011
EM
153772013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15378
15379 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15380 si_trapno and add si_addr_lsb to _sifields.sigfault.
15381 (si_trapno): Remove macro.
15382 (si_addr_lsb): Define new macro.
15383 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15384
d369f531
JM
153852013-05-15 Joseph Myers <joseph@codesourcery.com>
15386
b861c6c4
JM
15387 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15388 instead of TEST_f_l.
15389 (llrint_test_tonearest): Likewise.
15390 (llrint_test_towardzero): Likewise.
15391 (llrint_test_downward): Likewise.
15392 (llrint_test_upward): Likewise.
15393 (llround_test): Likewise.
15394
7abeee12
JM
15395 * math/libm-test.inc (struct test_f_i_data): Add comment.
15396 (RUN_TEST_LOOP_f_b): New macro.
15397 (RUN_TEST_LOOP_f_b_tg): Likewise.
15398 (finite_test_data): New variable.
15399 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15400 (isfinite_test_data): New variable.
15401 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15402 (isinf_test_data): New variable.
15403 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15404 (isnan_test_data): New variable.
15405 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15406 (isnormal_test_data): New variable.
15407 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15408 (issignaling_test_data): New variable.
15409 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15410 (signbit_test_data): New variable.
15411 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15412
cbe8c4d3
JM
15413 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15414 with INVALID_EXCEPTION.
15415 (acosh_test_data): Likewise.
15416 (asin_test_data): Likewise.
15417 (atanh_test_data): Likewise.
15418 (fmod_test_data): Likewise.
15419 (log_test_data): Likewise.
15420 (log10_test_data): Likewise.
15421 (log2_test_data): Likewise.
15422 (pow_test_data): Likewise.
15423 (sqrt_test_data): Likewise.
15424 (y0_test_data): Likewise.
15425 (y1_test_data): Likewise.
15426 (yn_test_data): Likewise.
15427
5575c0e5
JM
15428 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15429 function contents.
15430
d369f531
JM
15431 * math/libm-test.inc (struct test_ff_i_data): New type.
15432 (RUN_TEST_LOOP_ff_i_tg): New macro.
15433 (isgreater_test_data): New variable.
15434 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15435 (isgreaterequal_test_data): New variable.
15436 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15437 (isless_test_data): New variable.
15438 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15439 (islessequal_test_data): New variable.
15440 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15441 (islessgreater_test_data): New variable.
15442 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15443 (isunordered_test_data): New variable.
15444 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15445
781fd748
DM
154462013-05-14 David S. Miller <davem@davemloft.net>
15447
15448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15449
87aa21df
JM
154502013-05-14 Joseph Myers <joseph@codesourcery.com>
15451
5e908270
JM
15452 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15453
f71172e5
JM
15454 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15455 extra_test to int.
15456 (struct test_f_i_data): Change type of max_ulp to int.
15457
8cfa635a
JM
15458 * math/libm-test.inc (test_ffI_f1_data): New type.
15459 (RUN_TEST_LOOP_ffI_f1): New macro.
15460 (remquo_test_data): New variable.
15461 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15462
2bcb36b2
JM
15463 * setjmp/tst-setjmp-fp.c: New file.
15464 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15465 (link-libm): New variable.
15466 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15467
acbd839a
JM
15468 * math/libm-test.inc (struct test_f_i_data): New type.
15469 (RUN_TEST_LOOP_f_i): New macro.
15470 (RUN_TEST_LOOP_f_i_tg): Likewise.
15471 (fpclassify_test_data): New variable.
15472 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15473 (ilogb_test_data): New variable.
15474 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15475
e414d745
JM
15476 * math/libm-test.inc (scalbln_test): Correct function name in END
15477 call.
15478
d9c2a0fd
JM
15479 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15480 (RUN_TEST_LOOP_fI_f1): New macro.
15481 (frexp_test_data): New variable.
15482 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15483
9dc9095d
JM
15484 * math/libm-test.inc (struct test_fF_f1_data): New type.
15485 (RUN_TEST_LOOP_fF_f1): New macro.
15486 (modf_test_data): New variable.
15487 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15488
87aa21df
JM
15489 * math/libm-test.inc (struct test_f_f1_data): New type.
15490 (RUN_TEST_LOOP_f_f1): New macro.
15491 (gamma_test_data): New variable.
15492 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15493 (lgamma_test_data): New variable.
15494 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15495
141af660
CD
154962013-05-13 Carlos O'Donell <carlos@redhat.com>
15497
15498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15499 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15500 (main): Comment "tls" pseudo-hwcap.
15501
6d33265c
JM
155022013-05-13 Joseph Myers <joseph@codesourcery.com>
15503
68fc074c
JM
15504 * math/libm-test.inc (struct test_fl_f_data): New type.
15505 (RUN_TEST_LOOP_fl_f): New variable.
15506 (scalbln_test_data): New variable.
15507 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15508
243216e1
JM
15509 * math/libm-test.inc (struct test_fi_f_data): New type.
15510 (RUN_TEST_LOOP_fi_f): New macro.
15511 (ldexp_test_data): New variable.
15512 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15513 (scalbn_test_data): New variable.
15514 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15515
6a1992e2
JM
15516 * math/libm-test.inc (struct test_c_f_data): New type.
15517 (RUN_TEST_LOOP_c_f): New macro.
15518 (cabs_test_data): New variable.
15519 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15520 (carg_test_data): New variable.
15521 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15522 (cimag_test_data): New variable.
15523 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15524 (creal_test_data): New variable.
15525 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15526
0e400df5
JM
15527 * math/libm-test.inc (struct test_if_f_data): New type.
15528 (RUN_TEST_LOOP_if_f): New macro.
15529 (jn_test_data): New variable.
15530 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15531 (yn_test_data): New variable.
15532 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15533
6d33265c
JM
15534 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15535
f98ece5f
AZ
155362013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15537
15538 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15539 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15540
0f7d347b
SP
155412013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15542
43fe811b
SP
15543 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15544 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15545 (bench-deps): Add bench-timing.h.
15546 * benchtests-bench-skeleton.c: Include bench-timing.h.
15547 (main): Use TIMING_* macros instead of clock_gettime.
15548 * benchtests/bench-timing.h: New file.
15549
0f7d347b
SP
15550 [BZ #14582]
15551 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15552 Renamed from _LIB_VERSION.
15553 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15554
601a3a5f
JM
155552013-05-12 Joseph Myers <joseph@codesourcery.com>
15556
4f184d30
JM
15557 * math/libm-test.inc (struct test_fff_f_data): New type.
15558 (RUN_TEST_LOOP_fff_f): New macro.
15559 (fma_test_data): New variable.
15560 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15561 (fma_towardzero_test_data): New variable.
15562 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15563 (fma_downward_test_data): New variable.
15564 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15565 (fma_upward_test_data): New variable.
15566 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15567
08198877
JM
15568 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15569 (struct test_c_c_data): New type.
15570 (RUN_TEST_LOOP_c_c): New macro.
15571 (cacos_test_data): New variable.
15572 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15573 (cacosh_test_data): New variable.
15574 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15575 (casin_test_data): New variable.
15576 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15577 (casinh_test_data): New variable.
15578 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15579 (catan_test_data): New variable.
15580 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15581 (catanh_test_data): New variable.
15582 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15583 (ccos_test_data): New variable.
15584 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15585 (ccosh_test_data): New variable.
15586 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15587 (cexp_test_data): New variable.
15588 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15589 (clog_test_data): New variable.
15590 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15591 (clog10_test_data): New variable.
15592 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15593 (conj_test_data): New variable.
15594 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15595 (cproj_test_data): New variable.
15596 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15597 (csin_test_data): New variable.
15598 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15599 (csinh_test_data): New variable.
15600 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15601 (csqrt_test_data): New variable.
15602 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15603 (ctan_test_data): New variable.
15604 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15605 (ctan_tonearest_test_data): New variable.
15606 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15607 (ctan_towardzero_test_data): New variable.
15608 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15609 (ctan_downward_test_data): New variable.
15610 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15611 (ctan_upward_test_data): New variable.
15612 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15613 (ctanh_test_data): New variable.
15614 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15615 (ctanh_tonearest_test_data): New variable.
15616 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15617 (ctanh_towardzero_test_data): New variable.
15618 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15619 (ctanh_downward_test_data): New variable.
15620 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15621 (ctanh_upward_test_data): New variable.
15622 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15623 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15624 of BUILD_COMPLEX.
15625
601a3a5f
JM
15626 * math/libm-test.inc (struct test_ff_f_data): New type.
15627 (struct test_ff_f_data_nexttoward): Likewise.
15628 (RUN_TEST_LOOP_2_f): New macro.
15629 (RUN_TEST_LOOP_ff_f): Likewise.
15630 (atan2_test_data): New variable.
15631 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15632 (copysign_test_data): New variable.
15633 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15634 (fdim_test_data): New variable.
15635 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15636 (fmax_test_data): New variable.
15637 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15638 (fmin_test_data): New variable.
15639 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15640 (fmod_test_data): New variable.
15641 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15642 (hypot_test_data): New variable.
15643 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15644 (nextafter_test_data): New variable.
15645 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15646 (nexttoward_test_data): New variable.
15647 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15648 (pow_test_data): New variable.
15649 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15650 (pow_tonearest_test_data): New variable.
15651 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15652 (pow_towardzero_test_data): New variable.
15653 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15654 (pow_downward_test_data): New variable.
15655 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15656 (pow_upward_test_data): New variable.
15657 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15658 (remainder_test_data): New variable.
15659 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15660 (scalb_test_data): New variable.
15661 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15662 * sysdeps/i386/fpu/libm-test-ulps: Update.
15663
74c57478
JM
156642013-05-11 Joseph Myers <joseph@codesourcery.com>
15665
8329e4da
JM
15666 * math/libm-test.inc (fma_test): Use max_value instead of local
15667 variable fltmax.
15668 (nextafter_test): Likewise.
15669
74c57478
JM
15670 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15671 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15672 (acos_downward_test_data): New variable.
15673 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15674 (acos_upward_test_data): New variable.
15675 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15676 (acosh_test_data): New variable.
15677 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15678 (asin_test_data): New variable.
15679 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15680 (asin_tonearest_test_data): New variable.
15681 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15682 (asin_towardzero_test_data): New variable.
15683 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15684 (asin_downward_test_data): New variable.
15685 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15686 (asin_upward_test_data): New variable.
15687 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15688 (asinh_test_data): New variable.
15689 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15690 (atan_test_data): New variable.
15691 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15692 (atanh_test_data): New variable.
15693 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15694 (cbrt_test_data): New variable.
15695 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15696 (ceil_test_data): New variable.
15697 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15698 (cos_test_data): New variable.
15699 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15700 (cos_tonearest_test_data): New variable.
15701 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15702 (cos_towardzero_test_data): New variable.
15703 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15704 (cos_downward_test_data): New variable.
15705 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15706 (cos_upward_test_data): New variable.
15707 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15708 (cosh_test_data): New variable.
15709 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15710 (cosh_tonearest_test_data): New variable.
15711 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15712 (cosh_towardzero_test_data): New variable.
15713 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15714 (cosh_downward_test_data): New variable.
15715 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15716 (cosh_upward_test_data): New variable.
15717 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15718 (erf_test_data): New variable.
15719 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15720 (erfc_test_data): New variable.
15721 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15722 (exp_test_data): New variable.
15723 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15724 (exp_tonearest_test_data): New variable.
15725 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15726 (exp_towardzero_test_data): New variable.
15727 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15728 (exp_downward_test_data): New variable.
15729 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15730 (exp_upward_test_data): New variable.
15731 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15732 (exp10_test_data): New variable.
15733 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15734 (exp2_test_data): New variable.
15735 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15736 (expm1_test_data): New variable.
15737 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15738 (fabs_test_data): New variable.
15739 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15740 (floor_test_data): New variable.
15741 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15742 (j0_test_data): New variable.
15743 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15744 (j1_test_data): New variable.
15745 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15746 (log_test_data): New variable.
15747 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15748 (log10_test_data): New variable.
15749 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15750 (log1p_test_data): New variable.
15751 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15752 (log2_test_data): New variable.
15753 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15754 (logb_test_data): New variable.
15755 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15756 (logb_downward_test_data): New variable.
15757 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15758 (nearbyint_test_data): New variable.
15759 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15760 (rint_test_data): New variable.
15761 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15762 (rint_tonearest_test_data): New variable.
15763 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15764 (rint_towardzero_test_data): New variable.
15765 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15766 (rint_downward_test_data): New variable.
15767 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15768 (rint_upward_test_data): New variable.
15769 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15770 (round_test_data): New variable.
15771 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15772 (sin_test_data): New variable.
15773 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15774 (sin_tonearest_test_data): New variable.
15775 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15776 (sin_towardzero_test_data): New variable.
15777 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15778 (sin_downward_test_data): New variable.
15779 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15780 (sin_upward_test_data): New variable.
15781 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15782 (sinh_test_data): New variable.
15783 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15784 (sinh_tonearest_test_data): New variable.
15785 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15786 (sinh_towardzero_test_data): New variable.
15787 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15788 (sinh_downward_test_data): New variable.
15789 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15790 (sinh_upward_test_data): New variable.
15791 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15792 (sqrt_test_data): New variable.
15793 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15794 (tan_test_data): New variable.
15795 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15796 (tan_tonearest_test_data): New variable.
15797 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15798 (tan_towardzero_test_data): New variable.
15799 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15800 (tan_downward_test_data): New variable.
15801 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15802 (tan_upward_test_data): New variable.
15803 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15804 (tanh_test_data): New variable.
15805 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15806 (tgamma_test_data): New variable.
15807 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15808 (trunc_test_data): New variable.
15809 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15810 (y0_test_data): New variable.
15811 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15812 (y1_test_data): New variable.
15813 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15814 (significand_test_data): New variable.
15815 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15816
7187d844
CG
158172013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15818
15819 [BZ #12387]
15820 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15821
f63fae73
PT
158222013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15823
15824 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15825
8a67a4b3
AJ
158262013-05-10 Andreas Jaeger <aj@suse.de>
15827
15828 [BZ #15448]
15829 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15830 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15831
51df539d
JM
158322013-05-10 Joseph Myers <joseph@codesourcery.com>
15833
15834 * math/gen-libm-test.pl (adjust_arg): New function.
15835 (special_functions): Handle generating output in both functions
15836 and arrays.
15837 (parse_args): Likewise.
15838 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15839 $in_func argument to parse_args.
15840 * math/libm-test.inc (struct test_f_f_data): New type.
15841 (IF_ROUND_INIT_): New macro.
15842 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15843 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15844 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15845 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15846 (ROUND_RESTORE_): Likewise.
15847 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15848 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15849 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15850 (ROUND_RESTORE_FE_UPWARD): Likewise.
15851 (RUN_TEST_LOOP_f_f): New macro.
15852 (acos_test_data): New variable.
15853 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15854 (acos_tonearest_test_data): New variable.
15855 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15856
5c637fe5
SP
158572013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15858
15859 * benchtests/bench-skeleton.c (startup): Fix coding style.
15860
ab2b9461
JM
158612013-05-10 Joseph Myers <joseph@codesourcery.com>
15862
15863 [BZ #6809]
15864 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15865 negative infinity argument.
15866 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15867 negative infinity argument.
15868 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15869 negative infinity argument.
15870 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15871 domain errors.
15872
4c0fe6fe
FW
158732013-05-10 Florian Weimer <fweimer@redhat.com>
15874
15875 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15876 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15877 * iconv/iconv_prog.c (main): Likewise.
15878 * locale/programs/charmap-dir.c (charmap_readdir)
15879 (fopen_uncompressed): Likewise.
15880 * locale/programs/locfile.c (siblings_uncached)
15881 (write_locale_data): Use lstat64 instead of lstat.
15882 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15883 stat.
15884
a3375d29
AJ
158852013-05-10 Andreas Jaeger <aj@suse.de>
15886
15887 [BZ #15395]
15888 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15889 localization.
15890 Include <locale.h>.
15891
36129722
CD
158922013-05-09 Carlos O'Donell <carlos@redhat.com>
15893
15894 * elf/dl-close.c (_dl_close_worker): Add comments.
15895
faa7f811
JM
158962013-05-09 Joseph Myers <joseph@codesourcery.com>
15897
ed41ffef
JM
15898 [BZ #15359]
15899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15900 high part of pi/2.
15901 (__ieee754_rem_pio2l): Update comments.
15902
d0213cd0
JM
15903 [BZ #15429]
15904 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15905 high part of pi/2.
15906 (__ieee754_rem_pio2l): Update comments.
15907
0d3e777a
JM
15908 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15909 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15910
24f56066
JM
15911 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15912 M_PI_4l.
15913
faa7f811
JM
15914 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15915 (M_PI_34_LOG10El): Likewise.
15916 (M_PI2_LOG10El): Likewise.
15917 (M_PI4_LOG10El): Likewise.
15918 (M_PI_LOG10El): Likewise.
15919
e9a5e0fd
AZ
159202013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15921
15922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15923
d8cd06db
JM
159242013-05-08 Joseph Myers <joseph@codesourcery.com>
15925
a0d9f9d7
JM
15926 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15927 (MINUS_ZERO_INIT): Likewise.
15928 (PLUS_INFTY_INIT): Likewise.
15929 (MINUS_INFTY_INIT): Likewise.
15930 (QNAN_VALUE_INIT): Likewise.
15931 (MAX_VALUE_INIT): Likewise.
15932 (MIN_VALUE_INIT): Likewise.
15933 (MIN_SUBNORM_VALUE_INIT): Likewise.
15934 (plus_zero): Initialize with PLUS_ZERO_INIT.
15935 (minus_zero): Initialize with MINUS_ZERO_INIT.
15936 (plus_infty): Initialize with PLUS_INFTY_INIT.
15937 (minus_infty): Initialize with MINUS_INFTY_INIT.
15938 (qnan_value): Initialize with QNAN_VALUE_INIT.
15939 (max_value): Initialize with MAX_VALUE_INIT.
15940 (min_value): Initialize with MIN_VALUE_INIT.
15941 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15942
ae08db3b
JM
15943 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15944 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15945 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15946 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15947
f44bf14a
JM
15948 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15949 (RUN_TEST_2_f): Likewise.
15950 (RUN_TEST_ff_f): Likewise.
15951 (RUN_TEST_fi_f): Likewise.
15952 (RUN_TEST_fl_f): Likewise.
15953 (RUN_TEST_fff_f): Likewise.
15954 (RUN_TEST_c_f): Likewise.
15955 (RUN_TEST_f_f1): Likewise.
15956 (RUN_TEST_fF_f1): Likewise.
15957 (RUN_TEST_fI_f1): Likewise.
15958 (RUN_TEST_ffI_f1): Likewise.
15959 (RUN_TEST_c_c): Likewise.
15960 (RUN_TEST_cc_c): Likewise.
15961 (RUN_TEST_f_i): Likewise.
15962 (RUN_TEST_f_i_tg): Likewise.
15963 (RUN_TEST_ff_i_tg): Likewise.
15964 (RUN_TEST_f_b): Likewise.
15965 (RUN_TEST_f_b_tg): Likewise.
15966 (RUN_TEST_f_l): Likewise.
15967 (RUN_TEST_f_L): Likewise.
15968 (RUN_TEST_sincos): Likewise.
15969 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15970 whether to show exceptions. Do not include ");\n" in return
15971 value.
15972 (special_functions): Output call to RUN_TEST_sincos instead of
15973 check_float calls. Update calls to new_test.
15974 (parse_args): Output call to single RUN_TEST_* macro instead of
15975 check_* calls and other assignments. Update calls to new_test.
15976
d8cd06db
JM
15977 [BZ #2546]
15978 [BZ #2560]
15979 [BZ #5159]
15980 [BZ #15426]
15981 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15982 input to result for tgamma overflow.
15983 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15984 (gamma_coeff): New variable.
15985 (NCOEFF): New macro.
15986 (gamma_positive): New function.
15987 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15988 underflow here. Use gamma_positive instead of exp (lgamma) for
15989 other arguments.
15990 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15991 (gamma_coeff): New variable.
15992 (NCOEFF): New macro.
15993 (gammaf_positive): New function.
15994 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15995 underflow here. Use gamma_positive instead of exp (lgamma) for
15996 other arguments.
15997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15998 (gamma_coeff): New variable.
15999 (NCOEFF): New macro.
16000 (gammal_positive): New function.
16001 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16002 underflow here. Use gamma_positive instead of exp (lgamma) for
16003 other arguments.
16004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16005 (gamma_coeff): New variable.
16006 (NCOEFF): New macro.
16007 (gammal_positive): New function.
16008 (__ieee754_gammal_r): Handle positive infinity, overflow and
16009 underflow here. Handle NaN the same as positive infinity. Remove
16010 check x < 0xffffffff for negative integers. Use gamma_positive
16011 instead of exp (lgamma) for other arguments.
16012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16013 (gamma_coeff): New variable.
16014 (NCOEFF): New macro.
16015 (gammal_positive): New function.
16016 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16017 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16021 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16022 * sysdeps/generic/math_private.h (__gamma_productf): New
16023 prototype.
16024 (__gamma_product): Likewise.
16025 (__gamma_productl): Likewise.
16026 * math/Makefile (libm-calls): Add gamma_product.
16027 * math/libm-test.inc (tgamma_test): Add more tests.
16028 * sysdeps/i386/fpu/libm-test-ulps: Update.
16029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16030
bb7cf681
OB
160312013-05-08 Ondřej Bílka <neleai@seznam.cz>
16032
16033 * benchtests/bench-skeleton.c (main): Preheat CPU.
16034
ba853947
AJ
160352013-05-07 Aurelien Jarno <aurelien@aurel32.net>
16036
16037 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16038
8347c74c
RM
160392013-05-07 Roland McGrath <roland@hack.frob.com>
16040
16041 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16042 and _dl_skip_args_internal.
16043
e8dd4791
CD
160442013-05-07 Carlos O'Donell <carlos@redhat.com>
16045
16046 * manual/message.texi (Message Translation): Talk about users.
16047 Message to key mapping impacts design.
16048
c7405830
RM
160492013-05-06 Roland McGrath <roland@hack.frob.com>
16050
a9173057
RM
16051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16052
976e2f03
RM
16053 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16054
9723ffc5
RM
16055 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16056 * sysdeps/wordsize-64/glob64.c: ... here.
16057
962e6658
RM
16058 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16059 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16060 New macros.
16061
ee586a6d
RM
16062 * debug/getlogin_r_chk.c: Moved to ...
16063 * login/getlogin_r_chk.c: ... here.
16064 * debug/Makefile (routines): Move getlogin_r_chk to ...
16065 * login/Makefile (routines): ... here.
16066 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16067 * login/Versions (libc: GLIBC_2.4): ... here.
16068
355f9165
RM
16069 * io/poll.c (__poll): Renamed from poll.
16070 Add libc_hidden_def.
16071 (poll): Define as weak alias.
16072
bd9ffde6
RM
16073 * debug/ptsname_r_chk.c: Moved to ...
16074 * login/ptsname_r_chk.c: ... here.
16075 * debug/Makefile (routines): Move ptsname_r_chk to ...
16076 * login/Makefile (routines): ... here.
16077 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16078 * login/Versions (libc: GLIBC_2.4): ... here.
16079
8fb16a04
RM
16080 * posix/getlogin.c: Moved to ...
16081 * login/getlogin.c: ... here.
16082 * posix/getlogin_r.c: Moved to ...
16083 * login/getlogin_r.c: ... here.
16084 * posix/getlogin_r.c: Moved to ...
16085 * login/getlogin_r.c: ... here.
16086 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16087 * login/Makefile (routines): ... here.
16088 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16089 * login/Versions (libc: GLIBC_2.0): ... here.
16090
b99b892f
RM
16091 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16092 (setrlimit): Define as weak alias.
16093
c7405830
RM
16094 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16095 Call __ names for open, ftruncate, and close.
16096 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16097 (truncate): Define as weak alias.
16098
5bf96de5
JM
160992013-05-06 Joseph Myers <joseph@codesourcery.com>
16100
9ea3513c
JM
16101 * math/gen-libm-test.pl (parse_args): Initialize x before each
16102 test of frexp, modf and remquo.
16103
5bf96de5
JM
16104 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16105 test signgam value.
16106
16e616a7
AZ
161072013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16108
16109 [BZ #15418]
16110 [BZ #15419]
16111 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16112 internal tests.
16113 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16114
d5e82754
RM
161152013-05-06 Roland McGrath <roland@hack.frob.com>
16116
16117 * elf/dl-writev.h: New file.
16118 * elf/dl-misc.c: Include it.
16119 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16120 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16121
a7548d41
JM
161222013-05-04 Joseph Myers <joseph@codesourcery.com>
16123
b7dab1e4
JM
16124 * math/libm-test.inc (noXFails): Remove variable.
16125 (noXPasses): Likewise.
16126 (BUILD_COMPLEX_INT): Remove macro.
16127 (print_screen): Remove xfail argument.
16128 (print_screen_max_error): Likewise.
16129 (update_stats): Likewise.
16130 (print_max_error): Likewise. Update calls to other affected
16131 functions.
16132 (print_complex_max_error): Likewise.
16133 (test_single_exception): Update calls to print_screen.
16134 (test_single_errno): Likewise.
16135 (check_float_internal): Remove xfail argument. Update calls to
16136 other affected functions.
16137 (check_float): Likewise.
16138 (check_complex): Likewise.
16139 (check_int): Likewise.
16140 (check_long): Likewise.
16141 (check_bool): Likewise.
16142 (check_longlong): Likewise.
16143 (main): Don't print noXFails and noXPasses.
16144 * math/gen-libm-test.pl (top level): Don't mention expected
16145 failure handling in comment.
16146 (new_test): Don't handle expected failures.
16147 (parse_args): Don't mention expected failure handling in comment.
16148 (generate_testfile): Don't handle expected failures.
16149 (parse_ulps): Likewise.
16150 (print_ulps_file): Likewise.
16151 (get_failure): Remove function.
16152 (output_test): Don't handle expected failures.
16153 * make/README.libm-test: Don't mention expected failure handling.
16154
a7548d41
JM
16155 * math/libm-test.inc (plus_zero): Make const. Add initializer.
16156 (minus_zero): Likewise.
16157 (plus_infty): Likewise.
16158 (minus_infty): Likewise.
16159 (qnan_value): Likewise.
16160 (max_value): Likewise.
16161 (min_value): Likewise.
16162 (min_subnorm_value): Likewise.
16163 (initialize): Do not initialize those variables dynamically.
16164
60bfd54c
RM
161652013-05-03 Roland McGrath <roland@hack.frob.com>
16166
cc0e6ed8
RM
16167 * io/open.c (__open_2): Moved to ...
16168 * io/open_2.c: ... this new file.
16169 * io/open64.c (__open64_2): Moved to ...
16170 * io/open64_2.c: ... this new file.
16171 * io/openat.c (__openat_2): Moved to ...
16172 * io/openat_2.c: ... this new file.
16173 * io/openat64.c (__openat64_2): Moved to ...
16174 * io/openat64_2.c: ... this new file.
16175 * io/Makefile (routines): Add them.
16176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16177 * sysdeps/unix/sysv/linux/open_2.c: File removed.
16178 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16179 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16180 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16181 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16182 (__openat64): Add hidden_ver.
16183 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16184 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16185
60bfd54c
RM
16186 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16187 Separately conditionalize setting of GLRO(dl_sysinfo) so
16188 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16189 as well, but the actual setting is only under [NEED_DL_SYSINFO].
16190
83e7640f
AZ
161912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16192
16193 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16195 definition.
16196 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16197 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16198 (_libc_vdso_platform_setup): Add __vdso_time initialization.
16199 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16200 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16201
d5dc2af3
JM
162022013-05-03 Joseph Myers <joseph@codesourcery.com>
16203
c31a5b1e
JM
16204 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16205 test signgam value.
16206
d5dc2af3
JM
16207 * math/libm-test.inc (hypot_test): Do not use
16208 IGNORE_ZERO_INF_SIGN.
16209
164fd39d
AJ
162102013-05-03 Andreas Jaeger <aj@suse.de>
16211
16212 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16213 Linux 3.9.
16214 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16215 (PF_MAX): Adjust for VSOCK change.
16216
8237f48c
AZ
162172013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16218
16219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16220
9df02941
CD
162212013-05-02 Carlos O'Donell <carlos@redhat.com>
16222
16223 [BZ #15264]
16224 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16225 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16226 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16227
d422395e
DM
162282013-05-02 David S. Miller <davem@davemloft.net>
16229
16230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16231
a07c5731
OB
162322013-05-01 Ondřej Bílka <neleai@seznam.cz>
16233
16234 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16235
1324e37f
RM
162362013-05-01 Roland McGrath <roland@hack.frob.com>
16237
16238 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16239
0695940b
RS
162402013-05-01 Richard Smith <richard@metafoo.co.uk>
16241
bb5f27ad 16242 [BZ #14952]
0695940b
RS
16243 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16244 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16245 Use __attribute__ ((__gnu_inline__)).
16246 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16247 Don't use __attribute__ ((__gnu_inline__)).
16248
10de07f5
JM
162492013-05-01 Joseph Myers <joseph@codesourcery.com>
16250
16251 [BZ #15423]
16252 * math/s_catan.c (__catan): Handle small real or imaginary part of
16253 input specially to avoid spurious underflow.
16254 * math/s_catanf.c (__catanf): Likewise.
16255 * math/s_catanh.c (__catanh): Likewise.
16256 * math/s_catanhf.c (__catanhf): Likewise.
16257 * math/s_catanhl.c (__catanhl): Likewise.
16258 * math/s_catanl.c (__catanl): Likewise.
16259 * math/libm-test.inc (catan_test): Add more tests.
16260 (catanh_test): Likewise.
16261 * sysdeps/i386/fpu/libm-test-ulps: Update.
16262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16263
cb4d5414
AZ
162642013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16265
16266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16267
caf84319
JM
162682013-04-30 Joseph Myers <joseph@codesourcery.com>
16269
16270 [BZ #15416]
16271 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16272 accurately for denominator in atan2.
16273 * math/s_catanf.c (__catanf): Likewise.
16274 * math/s_catanh.c (__catanh): Likewise.
16275 * math/s_catanhf.c (__catanhf): Likewise.
16276 * math/s_catanhl.c (__catanhl): Likewise.
16277 * math/s_catanl.c (__catanl): Likewise.
16278 * math/libm-test.inc (catan_test): Add more tests.
16279 (catanh_test): Likewise.
16280 * sysdeps/i386/fpu/libm-test-ulps: Update.
16281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16282
d569c6ee
SP
162832013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16284
6dbe713d
SP
16285 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16286
f0ee064b
SP
16287 * benchtests/Makefile (bench): Remove slow benchmarks.
16288 * benchtests/atan-inputs: Add slow benchmark inputs.
16289 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16290 (BENCH_FUNC): Accept variant offset.
16291 (VARIANT): Define.
16292 * benchtests/bench-skeleton.c (main): Run benchmark for each
16293 variant.
16294 * benchtests/cos-inputs: Add slow benchmark inputs.
16295 * benchtests/exp-inputs: Likewise.
16296 * benchtests/pow-inputs: Likewise.
16297 * benchtests/sin-inputs: Likewise.
16298 * benchtests/slowatan-inputs: Remove.
16299 * benchtests/slowatan.c: Remove.
16300 * benchtests/slowcos-inputs: Remove.
16301 * benchtests/slowcos.c: Remove.
16302 * benchtests/slowexp-inputs: Remove.
16303 * benchtests/slowexp.c: Remove.
16304 * benchtests/slowpow-inputs: Remove.
16305 * benchtests/slowpow.c: Remove.
16306 * benchtests/slowsin-inputs: Remove.
16307 * benchtests/slowsin.c: Remove.
16308 * benchtests/slowtan-inputs: Remove.
16309 * benchtests/slowtan.c: Remove.
16310 * benchtests/tan-inputs: Add slow benchmark inputs.
16311 * scripts/bench.pl: Parse comments and directives.
16312
d569c6ee
SP
16313 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16314 in CPPFLAGS.
16315 ($(objpfx)bench-%.c): Remove *-ITER.
16316 * benchtests/bench-modf.c: Remove definition of ITER.
16317 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16318 (main): Loop for DURATION seconds instead of fixed number of
16319 iterations.
16320 * scripts/bench.pl: Don't expect iterations in parameters.
16321
a6a242fe
RM
163222013-04-29 Roland McGrath <roland@hack.frob.com>
16323
16324 * io/fchdir.c (__fchdir): Renamed from fchdir.
16325 (fchdir): Define as weak alias.
16326
f2da7793
JM
163272013-04-29 Joseph Myers <joseph@codesourcery.com>
16328
16329 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16330 (ERRNO_EDOM): Likewise.
16331 (ERRNO_ERANGE): Likewise.
16332 (noErrnoTests): New variable.
16333 (init_max_error): Set errno to 0.
16334 (test_single_errno): New function.
16335 (test_errno): Likewise.
16336 (check_float_internal): Call test_errno. Set errno to 0.
16337 (check_complex): Refer to errno tests in comment.
16338 (check_int): Call test_errno. Set errno to 0.
16339 (check_long): Likewise.
16340 (check_bool): Likewise.
16341 (check_longlong): Likewise.
16342 (cos_test): Use ERRNO_* flags for errno tests instead of
16343 check_int.
16344 (expm1_test): Likewise.
16345 (fmod_test): Likewise.
16346 (ilogb_test): Likewise.
16347 (lgamma_test): Likewise.
16348 (pow_test): Likewise.
16349 (remainder_test): Likewise.
16350 (sin_test): Likewise.
16351 (tan_test): Likewise.
16352 (yn_test): Likewise.
16353 (initialize): Set errno to 0.
16354 (main): Print number of errno tests.
16355 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16356
b1a36ceb
AJ
163572013-04-29 Andreas Jaeger <aj@suse.de>
16358
c3ed8088
AJ
16359 [BZ #15084]
16360 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16361 and RES_USEVC.
16362
f1a24198
AJ
16363 [BZ #15085]
16364 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16365 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16366 unimplemented.
16367
9ce3b2cb
AJ
16368 [BZ #15380]
16369 * stdlib/random.c (__initstate): Return NULL if
16370 __initstate fails.
16371
f1a24198 16372 [BZ #15086]
b1a36ceb
AJ
16373 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16374 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16375 RES_SNGLKUPREOP.
16376
7e7b6f36
AZ
163772013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16378
16379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16380
4d14f449
JM
163812013-04-29 Joseph Myers <joseph@codesourcery.com>
16382
16383 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16384 of individual tests.
16385 (casin_test): Likewise.
16386 (casinh_test): Likewise.
16387
5b4217d7
JM
163882013-04-27 Joseph Myers <joseph@codesourcery.com>
16389
16390 [BZ #15409]
16391 * math/s_catan.c (__catan): Handle arguments with large real or
16392 imaginary part separately without squaring.
16393 * math/s_catanf.c (__catanf): Likewise.
16394 * math/s_catanh.c (__catanh): Likewise.
16395 * math/s_catanhf.c (__catanhf): Likewise.
16396 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16397 and redefine.
16398 (__catanhl): Handle arguments with large real or imaginary part
16399 separately without squaring.
16400 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16401 and redefine.
16402 (__catanl): Handle arguments with large real or imaginary part
16403 separately without squaring.
16404 * math/libm-test.inc (catan_test): Add more tests.
16405 (catanh_test): Likewise.
16406 * sysdeps/i386/fpu/libm-test-ulps: Update.
16407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408
4220c3ef
AJ
164092013-04-27 Andreas Jaeger <aj@suse.de>
16410
16411 [BZ #15007]
16412 * stdlib/stdlib.h: Update guards for qecvt.
16413 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16414 <stdlib.h>.
16415
4721b2d1
AM
164162013-04-27 Allan McRae <allan@archlinux.org>
16417
16418 * sysdeps/i386/fpu/libm-test-ulps: Update.
16419
f0302940
JM
164202013-04-26 Joseph Myers <joseph@codesourcery.com>
16421
9457fd95
JM
16422 [BZ #15406]
16423 * math/s_catan.c: Include <float.h>.
16424 (__catan): Ensure underflow exception occurs for underflowed
16425 result.
16426 * math/s_catanf.c: Include <float.h>.
16427 (__catanf): Ensure underflow exception occurs for underflowed
16428 result.
16429 * math/s_catanh.c: Include <float.h>.
16430 (__catanh): Ensure underflow exception occurs for underflowed
16431 result.
16432 * math/s_catanhf.c: Include <float.h>.
16433 (__catanhf): Ensure underflow exception occurs for underflowed
16434 result.
16435 * math/s_catanhl.c: Include <float.h>.
16436 (__catanhl): Ensure underflow exception occurs for underflowed
16437 result.
16438 * math/s_catanl.c: Include <float.h>.
16439 (__catanl): Ensure underflow exception occurs for underflowed
16440 result.
16441 * math/libm-test.inc (catan_test): Add more tests.
16442 (catanh_test): Likewise.
16443
f0302940
JM
16444 [BZ #15405]
16445 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16446 underflowed result.
16447 * math/s_ccoshf.c (__ccoshf): Likewise.
16448 * math/s_ccoshl.c (__ccoshl): Likewise.
16449 * math/s_csin.c (__csin): Likewise.
16450 * math/s_csinf.c (__csinf): Likewise.
16451 * math/s_csinh.c (__csinh): Likewise.
16452 * math/s_csinhf.c (__csinhf): Likewise.
16453 * math/s_csinhl.c (__csinhl): Likewise.
16454 * math/s_csinl.c (__csinl): Likewise.
16455 * math/libm-test.inc (ccos_test): Add more tests.
16456 (ccosh_test): Likewise.
16457 (csin_test): Likewise.
16458 (csinh_test): Likewise.
16459
aa630f59
AZ
164602013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461
16462 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16463 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16464 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16465 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16466 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16467 powerpc/power5+/fpu folders.
16468 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16469
16470
1b835983
MT
164712013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16472
16473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16474
73709b26
JM
164752013-04-25 Joseph Myers <joseph@codesourcery.com>
16476
16477 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16478 additions to variable.
16479 [$(config-machine) = x86_64] (modules-names): Likewise.
16480 ($(objpfx)tst-audit3): Remove dependency.
16481 ($(objpfx)tst-audit3.out): Likewise.
16482 ($(objpfx)tst-audit4): Likewise.
16483 ($(objpfx)tst-audit4.out): Likewise.
16484 ($(objpfx)tst-audit5): Likewise.
16485 ($(objpfx)tst-audit5.out): Likewise.
16486 ($(objpfx)tst-audit6): Likewise.
16487 ($(objpfx)tst-audit6.out): Likewise.
16488 ($(objpfx)tst-audit7): Likewise.
16489 ($(objpfx)tst-audit7.out): Likewise.
16490 (tst-audit3-ENV): Remove variable.
16491 (tst-audit4-ENV): Likewise.
16492 (tst-audit5-ENV): Likewise.
16493 (tst-audit6-ENV): Likewise.
16494 (tst-audit7-ENV): Likewise.
16495 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16496 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16497 addition to variable.
16498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16503 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16504 tst-audit3, tst-audit4 and tst-audit5.
16505 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16506 tst-audit6 and tst-audit7.
16507 [$(subdir) = elf] (modules-names): Add audit modules for those
16508 tests.
16509 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16510 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16511 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16512 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16513 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16514 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16515 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16516 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16517 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16518 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16519 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16520 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16521 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16522 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16523 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16524 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16525 Likewise.
16526 [$(subdir) = elf && $(config-cflags-avx) = yes]
16527 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16528 [$(subdir) = elf && $(config-cflags-avx) = yes]
16529 (CFLAGS-tst-auditmod4a.c): Likewise.
16530 [$(subdir) = elf && $(config-cflags-avx) = yes]
16531 (CFLAGS-tst-auditmod4b.c): Likewise.
16532 [$(subdir) = elf && $(config-cflags-avx) = yes]
16533 (CFLAGS-tst-auditmod6b.c): Likewise.
16534 [$(subdir) = elf && $(config-cflags-avx) = yes]
16535 (CFLAGS-tst-auditmod6c.c): Likewise.
16536 [$(subdir) = elf && $(config-cflags-avx) = yes]
16537 (CFLAGS-tst-auditmod7b.c): Likewise.
16538 * elf/tst-audit3.c: Move to ...
16539 * sysdeps/x86_64/tst-audit3.c: ... here.
16540 * elf/tst-audit4.c: Move to ...
16541 * sysdeps/x86_64/tst-audit4.c: ... here.
16542 * elf/tst-audit5.c: Move to ...
16543 * sysdeps/x86_64/tst-audit5.c: ... here.
16544 * elf/tst-audit6.c: Move to ...
16545 * sysdeps/x86_64/tst-audit6.c: ... here.
16546 * elf/tst-audit7.c: Move to ...
16547 * sysdeps/x86_64/tst-audit7.c: ... here.
16548 * elf/tst-auditmod3a.c: Move to ...
16549 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16550 * elf/tst-auditmod3b.c: Move to ...
16551 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16552 * elf/tst-auditmod4a.c: Move to ...
16553 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16554 * elf/tst-auditmod4b.c: Move to ...
16555 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16556 * elf/tst-auditmod5a.c: Move to ...
16557 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16558 * elf/tst-auditmod5b.c: Move to ...
16559 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16560 * elf/tst-auditmod6a.c: Move to ...
16561 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16562 * elf/tst-auditmod6b.c: Move to ...
16563 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16564 * elf/tst-auditmod6c.c: Move to ...
16565 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16566 * elf/tst-auditmod7a.c: Move to ...
16567 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16568 * elf/tst-auditmod7b.c: Move to ...
16569 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16570
1ef74943
PP
165712013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16572
16573 [BZ #15366]
16574 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16575 define unconditionally.
16576 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16577 define unconditionally.
16578 (INT8_C, INT16_C, etc.): Likewise.
16579
93fd48c5
MR
165802013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16581
ae9552cf
MR
16582 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16583 __ehdr_start with hidden visibility.
16584
93fd48c5
MR
16585 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16586
418601aa
CD
165872013-04-24 Carlos O'Donell <carlos@redhat.com>
16588
16589 * math/libm-test.inc (cos_test): Use accurate hex constants.
16590 (sincost_test): Likewise.
16591
2f38fbfe
JM
165922013-04-24 Joseph Myers <joseph@codesourcery.com>
16593
5e221800
JM
16594 * math/libm-test.inc (catan_test): Add more tests.
16595 (catanh_test): Likewise.
16596
77f143fd
JM
16597 * math/s_catanf.c (__catanf): Use suffixed floating-point
16598 constants.
16599 * math/s_catanhf.c (__catanhf): Likewise.
16600 * math/s_catanhl.c (__catanhl): Likewise.
16601 * math/s_catanl.c (__catanl): Likewise.
16602
2f38fbfe
JM
16603 [BZ #15394]
16604 * math/s_catan.c (__catan): Calculate imaginary part of result
16605 with log1p not log unless computing log of number close to 0.
16606 * math/s_catanf.c (__catanf): Likewise.
16607 * math/s_catanl.c (__catanl): Likewise.
16608 * math/s_catanh.c (__catanh): Calculate real part of result with
16609 log1p not log unless computing log of number close to 0.
16610 * math/s_catanhf.c (__catanhf): Likewise.
16611 * math/s_catanhl.c (__catanhl): Likewise.
16612 * math/libm-test.inc (catan_test): Add more tests.
16613 (catanh_test): Likewise.
16614 * sysdeps/i386/fpu/libm-test-ulps: Update.
16615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16616
45d69176
SP
166172013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16618
16619 * benchtests/Makefile: Mention files in which fast and slow
16620 paths of math functions are implemented.
16621
87f51853
RM
166222013-04-23 Roland McGrath <roland@hack.frob.com>
16623
16624 * sysdeps/posix/timespec_get.c: New file.
16625
3c026539
AZ
166262013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16627
16628 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16629 POWER.
16630 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16631 for POWER.
16632 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16633 powerpc/power5/fpu folders.
16634 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16635 * benchtests/Makefile: Add modf testcase.
16636 * benchtests/bench-modf.c: New file: Benchmark test for mo
16637
ff491d14
SP
166382013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16639
16640 [BZ #14888]
16641 * time/Makefile (tests): Add tst-strptime-whitespace.
16642 * time/strptime_l.c (get_number): Use ISSPACE.
16643 (__strptime_internal): Likewise.
16644 * time/tst-strptime-whitespace.c: New test case.
16645
7ed3f4e8
AS
166462013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16647
16648 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16649 member.
16650 (_nss_files_init): Set it here.
16651
5c95f7b6
HC
166522013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16653
16654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16655 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16656 unsigned.
16657
d34c9158
JBG
166582013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16659
16660 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16661
2169712d
SP
166622013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16663
16664 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16665 size just once.
16666
29c5de99
DM
166672013-04-21 David S. Miller <davem@davemloft.net>
16668
16669 * po/ru.po: Update Russion translation from translation project.
16670
ccdad15d
AC
166712013-04-17 Adam Conrad <adconrad@0c3.net>
16672
16673 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16674 and setfsgid.
16675
0f122b8d
CD
166762013-04-17 Carlos O'Donell <carlos@redhat.com>
16677
5c5b07da 16678 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 16679 * configure: Regenerate.
5c5b07da 16680 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
16681 Add example to error message.
16682 * sysdeps/i386/configure: Regenerate.
16683
037714dd
SP
166842013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16685
16686 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16687 slowtan.
16688 * benchtests/cos-inputs: New file.
16689 * benchtests/slowcos-inputs: New file.
16690 * benchtests/slowcos.c: New file.
16691 * benchtests/slowtan-inputs: New file.
16692 * benchtests/slowtan.c: New file.
16693 * benchtests/tan-inputs: New file.
16694
e913141d
RM
166952013-04-16 Roland McGrath <roland@hack.frob.com>
16696
16697 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16698 considered kosher.
16699
a2964074
SP
167002013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16701
4856bcd2
SP
16702 * benchtests/Makefile: Include cppflags-iterator.mk to add
16703 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16704
a2964074
SP
16705 * Makefile.in (bench-clean): New target.
16706 * benchtests/Makefile (bench-clean): Likewise.
16707
9fbf9aca
DH
167082013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16709
16710 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16711
207d1e2a
TS
167122013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16713
16714 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16715
306dfba9
AS
167162013-04-15 Andreas Schwab <schwab@suse.de>
16717
16718 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16719 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16720 * nscd/pwdcache.c (cache_addpw): Likewise.
16721 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16722 more than recsize.
16723
206a6699
SP
167242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16725
16726 * benchtests/Makefile (bench): Write all output to
16727 bench-out.tmp together.
16728
0582f6b3
AS
167292013-04-15 Andreas Schwab <schwab@suse.de>
16730
16731 * nscd/nscd.c (main): Don't fork again after closing files.
16732
acb4325f
SP
167332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16734
5cb26d0a
SP
16735 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16736
acb4325f
SP
16737 * benchtests/Rules (bench-deps): Collect dependencies into a
16738 single variable. Add Makefile to dependencies.
16739 ($(objpfx)bench-%.c): Depend on bench-deps.
16740
47792506
RM
167412013-04-12 Roland McGrath <roland@hack.frob.com>
16742 Xavier Roche <roche+kml2@exalead.com>
16743
16744 [BZ #15361]
16745 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16746 just that it's a file descriptor.
16747 * manual/llio.texi (Synchronizing AIO Operations): Update description
16748 for EBADF error from aio_fsync.
16749
8fc1bee5
SP
167502013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16751
16752 * Rules (bench): Move target definition...
16753 * benchtests/Makefile: ... here.
16754
aba5e333
CD
167552013-04-11 Carlos O'Donell <carlos@redhat.com>
16756
16757 * math/libm-test.inc (cos_test): Fix PI/2 test.
16758 (sincos_test): Likewise.
16759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16760 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16761
273cdee8
AS
167622013-04-11 Andreas Schwab <schwab@suse.de>
16763
6ecec3b6
AS
16764 [BZ #13988]
16765 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16766 accept exponent character only when digits were seen.
16767 * stdio-common/Makefile (tests): Add bug26.
16768 * stdio-common/bug26.c: New file.
16769
273cdee8
AS
16770 [BZ #14293]
16771 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16772 non-freeable.
16773
8da491f5
SP
167742013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16775
01dc6df9
SP
16776 * Makeconfig (rtld-prefix): Define built linker prefix.
16777 * Rules (run-bench): Use it.
16778 * math/Makefile (run-regen-ulps): Likewise.
16779
8da491f5
SP
16780 * Rules (bench): Remove eval.
16781
abe7f530
SP
167822013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16783 Roland McGrath <roland@hack.frob.com>
16784 Ondrej Bilka <neleai@seznam.cz>
16785
16786 [BZ #15346]
16787 * time/getdate.c: Include ctype.h and alloca.h.
16788 (__getdate_r): Trim leading and trailing spaces of input.
16789 * time/tst-getdate.c (tests): Add tests with leading and
16790 trailing spaces.
16791
61c23e62
RM
167922013-04-08 Roland McGrath <roland@hack.frob.com>
16793
16794 [BZ #14280]
16795 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16796 when computing value.
16797
7208a313
CD
167982013-04-06 Carlos O'Donell <carlos@redhat.com>
16799
085b2d41
CD
16800 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16801 Use testrun.sh to run libm tests.
16802
7208a313
CD
16803 [BZ #15309]
16804 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16805
872c0acd
MM
168062013-04-06 Marko Myllynen <myllynen@redhat.com>
16807
16808 [BZ #15264]
16809 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16810
26510bdd
CD
168112013-04-06 Carlos O'Donell <carlos@redhat.com>
16812
16813 * Makefile.in (regen-ulps): New target.
16814 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16815 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16816 [ifneq (no,$(PERL)] (regen-ulps): New target.
16817 [ifeq (no,$(PERL)] (regen-ulps): New target.
16818 * math/libm-test.inc (ulps_file_name): Define.
16819 (output_dir): New variable.
16820 (options): Add "output-dir" option.
16821 (parse_opt): Handle 'o' case.
16822 (main): If output_dir is non-NULL use it as a prefix
16823 otherwise use "".
16824 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16825
a01f19c8
CD
168262013-04-06 Carlos O'Donell <carlos@redhat.com>
16827
16828 [BZ #10060, #10062]
16829 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16830 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16831 fail configure if __sync_val_compare_and_swap is not inlined.
16832 * sysdeps/i386/configure: Regenerate.
16833 * configure.in: Build for i686 when configured for i386.
16834 * configure: Regenerate.
16835 * README: Remove i386 reference.
16836
b7a329a5
CD
168372013-04-06 Carlos O'Donell <carlos@redhat.com>
16838
16839 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16841
bf0f50df
TS
168422013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16843
ee091edf
TS
16844 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16845 (lmsnanval): New variables.
16846 (F): Add conversion tests.
16847 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16848 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16849
a8b792d6
TS
16850 * stdio-common/tstdiomisc.c (F): Properly collect individual
16851 tests' results.
16852
a1cbf437
TS
16853 [BZ #14686, #15336]
16854 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16855 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16856 Instead, use input NaN values or generate a qNaN by arithmetic
16857 operation. Also fix bugs to comply with the standard.
16858 * math/libm-test.inc (remainder_test): Add more tests.
16859
8b43a0c9
TS
16860 [BZ #15335, #15342]
16861 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16863 input NaN values or generate a qNaN by arithmetic operation.
16864
d91da4ce
TS
16865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16866 unreachable code.
16867
bf0f50df
TS
16868 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16869 definitions.
16870
05e166c8
JM
168712013-04-03 Joseph Myers <joseph@codesourcery.com>
16872
16873 [BZ #14478]
16874 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16875 underflowed result.
16876 * math/s_cexpf.c (__cexpf): Likewise.
16877 * math/s_cexpl.c (__cexpl): Likewise.
16878 * math/libm-test.inc (cexp_test): Add more tests.
16879
1cef1b19
AS
168802013-04-03 Andreas Schwab <schwab@suse.de>
16881
16882 [BZ #15330]
16883 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16884 order arrays from heap if bigger than alloca cutoff.
16885
74d87055
TS
168862013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16887
16888 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16889 (SNAN_TESTS_double): Refer to GCC PR56831.
16890 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16891 GCC PR56828.
16892
d755bba4
SP
168932013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16894
90d5d5bb
SP
16895 * Rules (bench): Move bench.out after the run is complete.
16896
73e0cd5d
SP
16897 * Rules (bench): Echo currently running benchmark.
16898
64aabd4b
SP
16899 * benchtests/Makefile (bench): Add atan and slowatan.
16900 * benchtests/atan-inputs: New file.
16901 * benchtests/slowatan-inputs: New file.
16902 * benchtests/slowatan.c: New file.
16903
c871eccd
SP
16904 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16906 its value.
16907
d755bba4
SP
16908 [BZ #15305]
16909 * sysdeps/unix/sysv/linux/kernel-features.h
16910 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16911 __ASSUME_XFS_RESTRICTED_CHOWN.
16912 * sysdeps/unix/sysv/linux/pathconf.c
16913 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16914 Save and restore errno.
16915
52ce4860
JM
169162013-04-02 Joseph Myers <joseph@codesourcery.com>
16917
16918 [BZ #15327]
16919 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16920 arguments using __kernel_casinh.
16921 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16922 arguments using __kernel_casinhf.
16923 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16924 arguments using __kernel_casinhl.
16925 * math/libm-test.inc (cacosh_test): Add more tests.
16926 * sysdeps/i386/fpu/libm-test-ulps: Update.
16927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16928
81f311c2
SP
169292013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16930
e7906a47
SP
16931 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16933
92e3664b
SP
16934 * bench/Makefile (bench): Add sin and slowsin.
16935 * benchtests/sin-inputs: New file.
16936 * benchtests/slowsin-inputs: New file.
16937 * benchtests/slowsin.c: New file.
16938
81f311c2
SP
16939 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16940 (bench): Add slowexp and slowpow.
16941 (exp-ITER): Increase iterations.
16942 (pow-ITER): Likewise.
16943 * benchtests/exp-inputs: Change input.
16944 * benchtests/pow-inputs: Likewise.
16945 * benchtests/slowexp-inputs: New file.
16946 * benchtests/slowexp.c: New file.
16947 * benchtests/slowpow-inputs: New file.
16948 * benchtests/slowpow.c: New file.
16949
ab0f1aa9
AZ
169502013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16951
16952 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16953 instructions.
16954 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16955 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16956 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16957 * benchtests/Makefile: Add rint benchtest.
16958 * benchtests/rint-inputs: Input for rint benchtest.
16959
57267616
TS
169602013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16961
16962 * Versions.def (libm): Add GLIBC_2.18.
16963 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16964 hidden libm prototypes.
16965 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16966 * math/Makefile (libm-calls): Add s_issignaling.
16967 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16968 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16969 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16970 declaration.
16971 * math/math.h [__USE_GNU] (issignaling): New macro.
16972 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16973 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16975 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16977 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16978 * manual/arith.texi (issignaling): New section.
16979 * manual/libm-err-tab.pl (@all_functions): Update comment.
16980 * math/gen-libm-test.pl (parse_args): Apply special handling for
16981 issignaling.
16982 * math/libm-test.inc (print_float, issignaling_test): New
16983 functions.
16984 (check_float_internal): Add issignaling checks.
16985 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16986 default definition.
16987 * sysdeps/powerpc/math-tests.h: New file.
16988 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16989 tests.
16990 * math/test-snan.c (TEST_FUNC): Likewise.
16991
6142896d
DM
169922013-03-30 David S. Miller <davem@davemloft.net>
16993
16994 * po/de.po: Update from translation team.
16995
ccc8cadf
JM
169962013-03-30 Joseph Myers <joseph@codesourcery.com>
16997
16998 [BZ #10357]
16999 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17000 imaginary part less than 1.0 and real part less than 0.5
17001 specially.
17002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17005 (cacos_test): Add more tests.
17006 (casin_test): Likewise.
17007 (casinh_test): Likewise.
17008 * sysdeps/i386/fpu/libm-test-ulps: Update.
17009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17010
0f6a8d4b
SP
170112013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17012
0d1029de
SP
17013 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17014 ONE with its value.
17015
c2d94018
SP
17016 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17017 (__pow_mp): Replace ONE and MONE with their values.
17018 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17021 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17022 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17024
27ec37f1
SP
17025 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17026
a64d7e0e
SP
17027 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17028 (__pow_mp): Replace ZERO and MZERO with their values.
17029 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17030 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17033 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17034 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17035 (__sqr): Likewise.
17036
d26dd3eb
SP
17037 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17038
0f6a8d4b
SP
17039 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17040
e57b0c61
RM
170412013-03-28 Roland McGrath <roland@hack.frob.com>
17042
17043 * include/stdlib.h [!SHARED] (__call_tls_dtors):
17044 Declare with __attribute__ ((weak)).
17045 * stdlib/exit.c (__libc_atexit) [!SHARED]:
17046 Call __call_tls_dtors only if it's not NULL.
17047
356b3480
RM
170482013-03-28 Roland McGrath <roland@hack.frob.com>
17049
288f7d79
RM
17050 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17051 didn't do it already, then set _dl_phdr and _dl_phnum based on the
17052 magic __ehdr_start linker symbol if it's defined.
17053 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17054 them up here if it was already done.
17055
dc0a0263
RM
17056 * elf/dl-support.c (_dl_phdr): Make pointer to const.
17057 (_dl_aux_init): Use const in cast when setting it.
17058 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17059 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17060 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17061
3d3436ae
RM
17062 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17063 Declare them here.
17064 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17065 * csu/libc-tls.c: Nor here.
17066 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17067
356b3480
RM
17068 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17069 (__libc_message): Never call vsyslog.
17070
b0f1246a
AM
170712013-03-28 Alan Modra <amodra@gmail.com>
17072
17073 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17074 Define as empty.
17075 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17076 Likewise.
17077
fbbe2b9a
AZ
170782013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17079
17080 [BZ #15214]
17081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17082 underflow.
17083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17084
1728ab37
SP
170852013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17086
7a86be6e
SP
17087 [BZ #15304]
17088 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17089 Don't add gid passed as argument.
17090
1728ab37
SP
17091 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17092
3a7182a1
JM
170932013-03-27 Joseph Myers <joseph@codesourcery.com>
17094
17095 [BZ #15307]
17096 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17097 imaginary part between 1.0 and 1.5 and real part less than 0.5
17098 specially.
17099 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17100 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17101 * math/libm-test.inc (cacos_test): Add more tests.
17102 (casin_test): Likewise.
17103 (casinh_test): Likewise.
17104 * sysdeps/i386/fpu/libm-test-ulps: Update.
17105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17106
6f2e90e7
SP
171072013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17108
5739f705
SP
17109 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17110 constants.
17111 (norm): Likewise.
17112 (denorm): Likewise.
17113 (__dbl_mp): Likewise.
17114 (add_magnitudes): Likewise.
17115 (sub_magnitudes): Likewise.
17116 (__add): Likewise.
17117 (__sub): Likewise.
17118 (__mul): Likewise.
17119 (__sqr): Likewise.
17120 (__inv): Likewise.
17121 (__dvd): Likewise.
17122
e375e83d
SP
17123 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17124 commented code.
17125 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17126 (__dubcos): Likewise.
17127 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17128 (__ieee754_acos): Likewise.
17129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17130 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17131 (__exp1): Likewise.
17132 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17134 (log1): Likewise.
17135 (my_log2): Likewise.
17136 (checkint): Likewise.
17137 * sysdeps/ieee754/dbl-64/e_remainder.c
17138 (__ieee754_remainder): Likewise.
17139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17141 (bsloww): Likewise.
17142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17143
6f2e90e7
SP
17144 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17145 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17146 MANTISSA_STORE_T to store computations on mantissa. Use
17147 macros for rounding and division.
17148 (denorm): Likewise.
17149 (__dbl_mp): Likewise.
17150 (add_magnitudes): Likewise.
17151 (sub_magnitudes): Likewise.
17152 (__mul): Likewise.
17153 (__sqr): Likewise.
17154 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17155 powers of two in terms of TWOPOW macro.
17156 (mp_no): Make type of mantissa as MANTISSA_T.
17157 [!RADIXI]: Define RADIXI.
17158 [!TWO52]: Define TWO52.
17159 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17160
fce14d4e
AZ
171612013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162
17163 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17164 llroundl symbol when building for PPC32.
17165
9ad027fb
MW
171662013-03-24 Mark H Weaver <mhw@netris.org>
17167
17168 * manual/arith.texi (Normalization Functions): Fix prototypes for
17169 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17170
e42a38dd
AZ
171712013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17172
17173 [BZ #13889]
17174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17175 high value to check if expl overflow.
17176 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17177 to check for underflow and overflow.
17178 * math/libm-test.inc: Add exp test.
17179
2e0fb521
DL
171802013-03-21 Dmitry V. Levin <ldv@altlinux.org>
17181
17182 [BZ #11120]
17183 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17184 with NOT_IN_libc.
17185
b5784d95
AZ
171862013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17187
17188 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17189 symbol.
17190
5aa4a1a1
TS
171912013-03-21 Thomas Schwinge <thomas@codesourcery.com>
17192
bdef0be7
TS
17193 * math/gen-libm-test.pl (parse_args, special_functions): Properly
17194 wrap blocks consisting of several statements.
17195
5aa4a1a1
TS
17196 * sysdeps/generic/math-tests.h: New file.
17197 * sysdeps/i386/fpu/math-tests.h: Likewise.
17198 * math/test-snan.c: Include it.
17199 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17200
98c48fe5
JM
172012013-03-21 Joseph Myers <joseph@codesourcery.com>
17202
17203 [BZ #15285]
17204 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17205 (__ieee754_j0l): Do not improve calculations using cos of twice
17206 input for inputs above LDBL_MAX / 2.0L.
17207 (__ieee754_y0l): Likewise.
17208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17209 (__ieee754_j1l): Do not improve calculations using cos of twice
17210 input for inputs above LDBL_MAX / 2.0L.
17211 (__ieee754_y1l): Likewise.
17212 * math/libm-test.inc (j0_test): Add another test.
17213 (j1_test): Likewise.
17214 (y0_test): Likewise.
17215 (y1_test): Likewise.
17216 * sysdeps/i386/fpu/libm-test-ulps: Update.
17217
3775a8bc
SP
172182013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17219
17220 * Rules ($(objpfx)bench-%.c): Include code from a C source
17221 file.
17222
0a1b2ae6
JM
172232013-03-21 Joseph Myers <joseph@codesourcery.com>
17224
17225 [BZ #15287]
17226 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17227 imaginary part 1.0 and real part less than 0.5 specially.
17228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17230 * math/libm-test.inc (cacos_test): Add more tests.
17231 (casin_test): Likewise.
17232 (casinh_test): Likewise.
17233 * sysdeps/i386/fpu/libm-test-ulps: Update.
17234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17235
b33d4ce4
SP
172362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17237
17238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17239 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17240
bef0b507
JM
172412013-03-20 Joseph Myers <joseph@codesourcery.com>
17242
17243 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17244 * config.make.in (config-cflags-sse4): Remove variable.
17245 (config-cflags-avx): Likewise.
17246 (config-cflags-sse2avx): Likewise.
17247 (config-cflags-novzeroupper): Likewise.
17248 (config-asflags-i686): Likewise.
17249 (have-mfma4): Likewise.
17250 (have-as-vis3): Likewise.
17251 (MIG): Likewise.
17252 * configure.in (MIG): Do not AC_SUBST.
17253 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17254 (libc_cv_cc_sse4): Do not AC_SUBST.
17255 (libc_cv_cc_avx): Likewise.
17256 (libc_cv_cc_sse2avx): Likewise.
17257 (libc_cv_cc_novzeroupper): Likewise.
17258 (libc_cv_cc_fma4): Likewise.
17259 (libc_cv_as_i686): Likewise.
17260 (libc_cv_sparc_as_vis3): Likewise.
17261 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17262 LIBC_CONFIG_VAR.
17263 (config-asflags-i686): Likewise.
17264 (config-cflags-avx): Likewise.
17265 (config-cflags-sse2avx): Likewise.
17266 (have-mfma4): Likewise.
17267 (config-cflags-novzeroupper): Likewise.
17268 * sysdeps/mach/configure.in (MIG): Likewise.
17269 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17270 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17271 LIBC_CONFIG_VAR.
17272 (config-cflags-avx): Likewise.
17273 (config-cflags-sse2avx): Likewise.
17274 (have-mfma4): Likewise.
17275 (config-cflags-novzeroupper): Likewise.
17276 * configure: Regenerated.
17277 * sysdeps/i386/configure: Likewise.
17278 * sysdeps/mach/configure: Likewise.
17279 * sysdeps/sparc/configure: Likewise.
17280 * sysdeps/x86_64/configure: Likewise.
17281
912cc4b3
RM
172822013-03-20 Roland McGrath <roland@hack.frob.com>
17283
17284 [BZ #14812]
17285 * locale/programs/localedef.c (options): Put N_ translation marker
17286 on argument names, not just descriptions.
17287
04eed2b0
MS
172882013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17289
17290 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17291
a065ceff
OB
172922013-03-20 Ondřej Bílka <neleai@seznam.cz>
17293
9bb2a810 17294 [BZ #14176]
a065ceff
OB
17295 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17296
a600e5ce
RM
172972013-03-19 Roland McGrath <roland@hack.frob.com>
17298
17299 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17300 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17301 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17302 [!BEFORE_ABORT] (before_abort): New function.
17303 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17304 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17305 (writev_for_fatal): New function.
17306 (WRITEV_FOR_FATAL): New macro; call that.
17307 (backtrace_and_maps): New function.
17308 (BEFORE_ABORT): New macro; call that.
17309 (struct str_list): Type removed.
17310 (__libc_message, __libc_fatal): Functions removed.
17311 Include <sysdeps/posix/libc_fatal.c> instead.
17312
6b18bea6
JM
173132013-03-19 Joseph Myers <joseph@codesourcery.com>
17314
17315 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17316 constants.
17317 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17318 double constants.
17319
aaa8cb4b
AS
173202013-03-19 Andreas Schwab <schwab@suse.de>
17321
44673770
AS
17322 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17323 * sysdeps/gnu/configure: Regenerate.
17324
aaa8cb4b
AS
17325 * configure.in: Substitute libc_cv_rtlddir.
17326 * configure: Regenerate.
17327 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17328 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17329 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17330 * elf/Makefile (install-others, CFLAGS-interp.c)
17331 (ldso_install, common-ldd-rewrite): Likewise.
17332 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17333 $(inst_slibdir)/$(rtld-installed-name).
17334 * scripts/rellns-sh: Add -p option.
17335 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17336 for source.
17337
d3cfc668
SP
173382013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17339
17340 * manual/nptl.texi: Renamed to ...
17341 * manual/threads.texi: ... this.
17342 * manual/Makefile (chapters): Update.
17343
0e2b9cdd
RM
173442013-03-18 Roland McGrath <roland@hack.frob.com>
17345
17346 [BZ #14812]
17347 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17348 on argument names, not just descriptions.
0e2b9cdd
RM
17349 * malloc/memusagestat.c (options): Likewise.
17350 * nss/getent.c (options): Likewise.
63270c24
RM
17351
173522013-03-18 Benno Schulenberg <bensberg@justemail.net>
17353
17354 [BZ #14812]
17355 * iconv/iconv_prog.c (options): Put N_ translation marker
17356 on argument names, not just descriptions.
17357 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 17358
b2e1393c
OB
173592013-03-18 Ondrej Bilka <neleai@seznam.cz>
17360
17361 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17362 implementation which is faster on all x86_64 architectures.
17363 Tested on AMD, Intel Nehalem, SNB, IVB.
17364 * sysdeps/x86_64/strnlen.S: Likewise.
17365
17366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17367 Remove all multiarch strlen and strnlen versions.
17368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17369 Remove strlen and strnlen related parts.
17370
17371 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17372 Inline strlen part.
17373 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17374
17375 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17376 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17378 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17379 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17380 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17381
ec4ff04d
CD
173822013-03-17 Carlos O'Donell <carlos@redhat.com>
17383
17384 * manual/memory.texi (Malloc Tunable Parameters):
17385 Sort parameters alphabetically. Add comments for missing entries.
17386
cd18e90a
DM
173872013-03-17 David S. Miller <davem@davemloft.net>
17388
17389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17390
2a185d32
JM
173912013-03-16 Joseph Myers <joseph@codesourcery.com>
17392
d2f9799e
JM
17393 [BZ #15283]
17394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17395 for arguments at most half maximum finite value.
17396 * math/libm-test.inc (j0_test): Add more tests.
17397 (j1_test): Likewise.
17398 (y0_test): Likewise.
17399 (y1_test): Likewise.
17400 * sysdeps/i386/fpu/libm-test-ulps: Update.
17401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17402
2a185d32
JM
17403 [BZ #14155]
17404 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17405 1 / x and functions P and Q for arguments above 0x1p256L.
17406 (__ieee754_y0l): Likewise.
17407 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17408 (__ieee754_y1l): Likewise.
17409 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17410 (j1_test): Likewise.
17411 (y0_test): Likewise.
17412 (y1_test): Likewise.
17413
6cbec759
TS
174142013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17415
17416 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17417 variable.
17418
bc16e260
RM
174192013-03-15 Roland McGrath <roland@hack.frob.com>
17420
aefc9b8c
RM
17421 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17422 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17423 zero since it's initialized to EXEC_PAGESIZE.
17424
bc16e260
RM
17425 * sysdeps/unix/sysv/linux/ldsodefs.h
17426 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17427 * sysdeps/generic/ldsodefs.h: ... here.
17428
a57da955
TS
174292013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17430
af00a34d
TS
17431 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17432
495ded2c
TS
17433 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17434 math/test-snan.c.
17435 * math/test-snan.c: Renamed from
17436 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17437 * math/Makefile (tests): Add test-snan.
17438 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17439 test-powerpc-snan.
17440
777b0332
TS
17441 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17442 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17443 functions.
17444 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17445 __builtin_nan family of functions.
17446 * math/libm-test.inc (initialize): Initialize qnan_value with
17447 __builtin_nan family of functions.
17448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17449 Remove variables.
17450 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17451 Remove functions.
17452 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17453 storage class. Initialize qNaN_var and sNaN_var with
17454 __builtin_nan and __builtin_nans families of functions,
17455 respectively.
17456
64d063b8
TS
17457 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17458 (sqrt_test): Remove duplicate test with qNaN input.
17459 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17460 (round_test, signbit_test, significand_test): Note missing +/-Inf
17461 as well as qNaN tests.
17462
67e971f1
TS
17463 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17464 qNaN_var. Fix a few strings, too.
17465 * math/libm-test.inc (nan_value): Rename to qnan_value.
17466 * math/gen-libm-test.pl (%beautify): Adjust to that.
17467 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17468 * math/test-misc.c (main): Likewise.
17469 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17470 to __qnan_bytes, and __qnan_union, respectively.
17471 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17472 Likewise.
17473 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17474 and lqnanval, respectively.
17475 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17476 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17477 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17478 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17479
64487e12
TS
17480 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17481 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17482 doubles.
17483
e015e27b
TS
17484 * math/test-misc.c (main): Fix copy'n'pastos.
17485 * misc/tst-efgcvt.c (special): Likewise.
17486
a57da955
TS
17487 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17488 Remove declarations.
17489
1e380345
SP
174902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17491
17492 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17493 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17494 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17495 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17496
ef26eece
AZ
174972013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17498
17499 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17500 macro to return vdso values correctly in IFUNC implementations.
17501 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17502 Optimization by using IFUNC.
17503
8cfdb7e0
SP
175042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17505 Richard Henderson <rth@redhat.com>
17506 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17507
17508 * Makefile.in (bench): New target.
17509 * NEWS: Mention the benchmark framework.
17510 * Rules (bench): Likewise.
17511 (binaries-bench): Generate binaries for functions to
17512 benchmark.
17513 * benchtests/Makefile: New makefile for benchmark tests.
17514 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17515 programs.
17516 * benchtests/exp-inputs: New input file for EXP function.
17517 * benchtests/pow-inputs: New input file for POW function.
17518 * scripts/bench.pl: New script to generate source files for
17519 benchmark programs.
17520
bcda9880
SP
175212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17522
d22ca8cd
SP
17523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17525 computations on mantissa. Use macros for rounding and
17526 division.
17527 (denorm): Likewise.
17528 (__dbl_mp): Likewise.
17529 (add_magnitudes): Likewise.
17530 (sub_magnitudes): Likewise.
17531 (__mul): Likewise.
17532 (__sqr): Likewise.
17533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17534 powers of two in terms of TWOPOW macro.
17535 (mp_no): Make type of mantissa as MANTISSA_T.
17536 [!RADIXI]: Define RADIXI.
17537 [!TWO52]: Define TWO52.
17538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17539
bcda9880
SP
17540 * manual/nptl.texi (cindex): Modify threads to pthreads.
17541
06d5adfb
JM
175422013-03-15 Joseph Myers <joseph@codesourcery.com>
17543
17544 * sysdeps/x86_64/preconfigure: Regenerated.
17545
41c7328e
JM
175462013-03-14 Joseph Myers <joseph@codesourcery.com>
17547
17548 [BZ #14155]
17549 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17550 0x1p28 and above.
17551 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17552 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17553 0x1p28 and above.
17554 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17555 * math/libm-test.inc (j0_test): Do not allow one spurious
17556 underflow exception.
17557 (y1_test): Likewise.
17558
e25cfa60
SP
175592013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17560
0409959c
SP
17561 * manual/Makefile (chapters): Add nptl.
17562 * manual/debug.texi (Debugging Support): Add link to Threads
17563 chapter.
17564 * manual/nptl.texi: New file.
17565
e25cfa60
SP
17566 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17567
58a1335e
PB
175682013-03-14 Petr Baudis <pasky@ucw.cz>
17569
17570 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17571 for non-NULL pointer before the memory validity test. Pointed
17572 out by Holger Brunck <holger.brunck@keymile.com>.
17573
9dc7c64f
AS
175742013-03-13 Andreas Schwab <schwab@suse.de>
17575
17576 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17577 instead of .os.
17578
54206aa6
JM
175792013-03-13 Joseph Myers <joseph@codesourcery.com>
17580
17581 * timezone/zic.c: Update from tzcode 2013b.
17582
e98cdb38
CD
175832013-03-12 Carlos O'Donell <carlos@redhat.com>
17584
17585 * manual/install.texi (Configuring and compiling):
17586 Mention i686 and i586.
17587 * INSTALL: Regenerate.
17588
9967e003
RM
175892013-03-12 Roland McGrath <roland@hack.frob.com>
17590
17591 * sysdeps/init_array/elf-init.c: New file.
17592 * csu/elf-init.c
17593 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17594 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17595
17596 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17597 __gmon_start__ as global, but as static with a .preinit_array pointer.
17598 * sysdeps/init_array/gmon-start.c: New file. Use that.
17599 * sysdeps/init_array/crti.S: New file, empty except for comments.
17600 * sysdeps/init_array/crtn.S: Likewise.
17601
e6b5a293 176022013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
17603
17604 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17605 definining bcopy.
80f844c9
OB
17606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17607 Remove Prefer_SSE_for_memop.
17608 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17609 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17610 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
17611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17612 memset-x86-64.
80f844c9 17613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 17614 Remove bzero, memset ifunc support.
80f844c9
OB
17615 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17617 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17618 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17619
fb6b0fcb
AS
176202013-03-11 Andreas Schwab <schwab@suse.de>
17621
17622 [BZ #15234]
17623 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17624 by SHLIB_COMPAT.
17625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17626 (GLIBC_2.16): Remove pthread_atfork.
17627
3e6bd4b1
PP
176282013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17629
17630 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17631 (ptestcases.h): Likewise.
17632
222d7f00
RM
176332013-03-08 Roland McGrath <roland@hack.frob.com>
17634
17635 * Makeconfig ($(common-objpfx)config.status): Depend on
17636 sysdeps/*/preconfigure{,.in} too.
17637
1ba4f030
JM
176382013-03-08 Joseph Myers <joseph@codesourcery.com>
17639
a222d91a
JM
17640 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17641 (__free_hook): Use void * instead of __malloc_ptr_t.
17642 (__malloc_hook): Likewise.
17643 (__realloc_hook): Likewise.
17644 (__memalign_hook): Likewise.
17645 (__after_morecore_hook): Likewise.
17646 * malloc/arena.c (save_malloc_hook): Likewise.
17647 (save_free_hook): Likewise.
17648 * malloc/hooks.c (malloc_hook_ini): Likewise.
17649 (realloc_hook_ini): Likewise.
17650 (memalign_hook_ini): Likewise.
17651 * malloc/malloc.c (malloc_hook_ini): Likewise.
17652 (realloc_hook_ini): Likewise.
17653 (memalign_hook_ini): Likewise.
17654 (__free_hook): Likewise.
17655 (__malloc_hook): Likewise.
17656 (__realloc_hook): Likewise.
17657 (__memalign_hook): Likewise.
17658 (__libc_malloc): Likewise.
17659 (__libc_free): Likewise.
17660 (__libc_realloc): Likewise.
17661 (__libc_memalign): Likewise.
17662 (__libc_valloc): Likewise.
17663 (__libc_pvalloc): Likewise.
17664 (__libc_calloc): Likewise.
17665 (__posix_memalign): Likewise.
17666 * malloc/morecore.c (__sbrk): Likewise.
17667 (__default_morecore): Likewise.
17668
5cc45e10
JM
17669 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17670
dd54b864
JM
17671 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17672 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17673 __malloc_ptrdiff_t.
17674
1ba4f030
JM
17675 * malloc/malloc.h (__malloc_size_t): Remove macro.
17676 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17677 __malloc_size_t.
17678 (old_memalign_hook): Likewise.
17679 (old_realloc_hook): Likewise.
17680 (struct hdr): Likewise.
17681 (flood): Likewise.
17682 (mallochook): Likewise.
17683 (memalignhook): Likewise.
17684 (reallochook): Likewise.
17685 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17686 (tr_old_realloc_hook): Likewise.
17687 (tr_old_memalign_hook): Likewise.
17688 (tr_mallochook): Likewise.
17689 (tr_reallochook): Likewise.
17690 (tr_memalignhook): Likewise.
17691
edf66e57
AZ
176922013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17693
17694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17695 default_ldbl_pack and using as default implementation.
17696 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17697 implementation.
17698 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17699 redundant definition.
17700 (ldbl_insert_mantissa): Likewise.
17701 (ldbl_canonicalize): Likewise.
17702 (ldbl_nearbyint): Likewise.
17703 (ldbl_pack): Rename to ldbl_pack_ppc.
17704 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17705 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17706 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17707
6d9145d8
SP
177082013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17709
17710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17711 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17712 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17713 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17716 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17717 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17718
4dd4e157
AJ
177192013-03-07 Andreas Jaeger <aj@suse.de>
17720
17721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17722 bits/mman-linux.h.
17723
adbb8027
SP
177242013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17725
ce544b5b
SP
17726 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17727 Include mpa.h and declare __MPEXP.
17728 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17730 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17733 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17734 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17735
4cc149fd
SP
17736 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17737 (__slowpow): Use long double EXPL and LOGL functions to
17738 compute POW.
17739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17740 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17741 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17743 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17744 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17745
e6ebd4a7
SP
17746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17747 intermediate variable to calculate exponent.
17748 (__sqr): Likewise.
17749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17750 Likewise.
17751 (__sqr): Likewise.
17752
82a9811d
SP
17753 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17754 [!NO__SQR]: Define __sqr.
17755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17756 and NO__SQR. Remove all code except __mul and __sqr. Include
17757 sysdeps/ieee754/dbl-64/mpa.c.
17758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17759
adbb8027
SP
17760 [BZ #12723]
17761 * posix/Makefile (tests): Add tst-pathconf.
17762 * posix/tst-pathconf.c: New test case.
17763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17764 _PC_PIPE_BUF.
17765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17766
39120df9
PF
177672013-03-06 Patsy Franklin <pfrankli@redhat.com>
17768
17769 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17770
67525cb8
AJ
177712013-03-06 Andreas Jaeger <aj@suse.de>
17772
664a9ce4
AJ
17773 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17774 definition via __MAP_ANONYMOUS.
17775
8e39047d
AJ
17776 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17777 it's not part of Linux headers.
17778
67525cb8
AJ
17779 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17780 (MAP_HUGE_MASK): Define.
17781
17782 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17783 Define.
17784 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17786 Define.
17787 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17788 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17789 Define.
17790 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17792 Define.
17793 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17794
17795 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17796 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17797 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17798 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17799 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17800 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17801
17802 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17803 Handle f2fs.
17804
17805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17806 Handle f2fs and efivarfs.
17807
17808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17809 f2fs.
17810
17811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17812 (EFIVARFS_MAGIC): Add.
17813 (F2FS_LINK_MAX): Add.
17814
e1b42695
PP
178152013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17816
17817 * stdio-common/vfprintf.c: Replace __builtin_expect with
17818 __glibc_unlikely.
17819
2d67d91a
JM
178202013-03-06 Joseph Myers <joseph@codesourcery.com>
17821
17822 [BZ #13550]
17823 * sysdeps/generic/bp-sym.h: Remove file.
17824 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17825 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17826 <bp-sym.h> and <bp-asm.h>.
17827 (__longjmp): Don't use BP_SYM.
17828 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17829 and <bp-asm.h>.
17830 (memcpy): Don't use BP_SYM.
17831 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17832 <bp-sym.h> and <bp-asm.h>.
17833 (memcpy): Don't use BP_SYM.
17834 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17835 <bp-asm.h>.
17836 (memcpy): Don't use BP_SYM.
17837 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17838 <bp-asm.h>.
17839 (memset): Don't use BP_SYM.
17840 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17841 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17842 (__bzero): Don't use BP_SYM.
17843 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17844 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17846 <bp-sym.h> and <bp-asm.h>.
17847 (memcmp): Don't use BP_SYM. Remove comment about bounded
17848 pointers.
17849 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17850 <bp-sym.h> and <bp-asm.h>.
17851 (memcpy): Don't use BP_SYM.
17852 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17853 <bp-sym.h> and <bp-asm.h>.
17854 (memset): Don't use BP_SYM.
17855 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17856 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17857 (__bzero): Don't use BP_SYM.
17858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17861 <bp-sym.h> and <bp-asm.h>.
17862 (strncmp): Don't use BP_SYM. Remove comment about bounded
17863 pointers.
17864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17865 <bp-sym.h> and <bp-asm.h>.
17866 (memcpy): Don't use BP_SYM.
17867 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17868 <bp-sym.h> and <bp-asm.h>.
17869 (memset): Don't use BP_SYM.
17870 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17871 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17872 (__bzero): Don't use BP_SYM.
17873 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17874 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17876 <bp-sym.h> and <bp-asm.h>.
17877 (__memchr): Don't use BP_SYM.
17878 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17879 <bp-sym.h> and <bp-asm.h>.
17880 (memcmp): Don't use BP_SYM. Remove comment about bounded
17881 pointers.
17882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17883 <bp-sym.h> and <bp-asm.h>.
17884 (memcpy): Don't use BP_SYM.
17885 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17886 <bp-sym.h> and <bp-asm.h>.
17887 (__mempcpy): Don't use BP_SYM.
17888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17889 <bp-sym.h> and <bp-asm.h>.
17890 (__memrchr): Don't use BP_SYM.
17891 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17892 <bp-sym.h> and <bp-asm.h>.
17893 (memset): Don't use BP_SYM.
17894 (__bzero): Likewise.
17895 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17896 <bp-sym.h> and <bp-asm.h>.
17897 (__rawmemchr): Don't use BP_SYM.
17898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17899 <bp-sym.h> and <bp-asm.h>.
17900 (__STRCMP): Don't use BP_SYM.
17901 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17902 <bp-sym.h> and <bp-asm.h>.
17903 (strchr): Don't use BP_SYM.
17904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17905 <bp-sym.h> and <bp-asm.h>.
17906 (__strchrnul): Don't use BP_SYM.
17907 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17908 <bp-sym.h> and <bp-asm.h>.
17909 (strlen): Don't use BP_SYM.
17910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17911 <bp-sym.h> and <bp-asm.h>.
17912 (strncmp): Don't use BP_SYM. Remove comment about bounded
17913 pointers.
17914 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17915 <bp-sym.h> and <bp-asm.h>.
17916 (__strnlen): Don't use BP_SYM.
17917 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17918 <bp-sym.h> and <bp-asm.h>.
17919 (__GI__setjmp): Don't use BP_SYM.
17920 (_setjmp): Likewise.
17921 (__sigsetjmp): Likewise.
17922 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17923 (L(start_addresses)): Don't use BP_SYM.
17924 (_start): Likewise.
17925 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17926 <bp-asm.h>.
17927 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17928 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17929 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17930 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17931 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17932 <bp-asm.h>.
17933 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17934 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17935 about bounded pointers.
17936 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17937 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17938 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17939 <bp-asm.h>.
17940 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17941 about bounded pointers. Remove GKM FIXME comments.
17942 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17943 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17944 <bp-asm.h>.
17945 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17946 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17947 Remove GKM FIXME comments.
17948 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17949 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17950 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17951 <bp-asm.h>.
17952 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17953 about bounded pointers. Remove GKM FIXME comment.
17954 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17955 and <bp-asm.h>.
17956 (strncmp): Don't use BP_SYM. Remove comment about bounded
17957 pointers.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17959 <bp-sym.h> and <bp-asm.h>.
17960 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17962 <bp-sym.h> and <bp-asm.h>.
17963 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17964 comment.
17965
cdcf361f
PP
179662013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17967
17968 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17969 call free(NULL).
17970
3c4a2b15
DM
179712013-03-05 David S. Miller <davem@davemloft.net>
17972
17973 * po/es.po: Update from translation team.
17974
cdcf361f 179752013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17976
17977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17978 <bits/mman-linux.h>.
17979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17980 is fine.
17981 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17982 <bits/mman-linux.h> to end of file.
17983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17984 is fine.
17985 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17986 <bits/mman-linux.h> to end of file.
17987 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17988 is fine.
17989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17990 <bits/mman-linux.h> to end of file.
17991
17992 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17993 (MCL_CURRENT, MCL_FUTURE): Define here.
17994
5f67c04f
AK
179952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17996
8a4473cc 17997 [BZ #15232]
5f67c04f
AK
17998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17999 attribute_hidden.
18000 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18001
c3e94a95
AK
180022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18003
18004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18005 fourth parameter needed for rt_sigprocmask syscall.
18006 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18007 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18009 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18010 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18011 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18012
cfb6382a
JM
180132013-03-04 Joseph Myers <joseph@codesourcery.com>
18014
18015 [BZ #13550]
18016 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18017 comment about bounded pointers.
18018 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18019 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18020
539d8e01
AJ
180212013-03-04 Andreas Jaeger <aj@suse.de>
18022
18023 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18024 common definitions.
18025
18026 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18027 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18030 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
18031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18032
2e167a70 180332013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
18034
18035 [BZ #15055]
18036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18037 __ieee754_sqrl instead of __sqrl.
18038
68508633
JM
180392013-03-01 Joseph Myers <joseph@codesourcery.com>
18040
18041 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18042 * sysdeps/powerpc/fpu_control.h: ... here.
18043 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18044 * sysdeps/powerpc/bits/fenvinline.h: ... here.
18045 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18046 * sysdeps/powerpc/bits/mathinline.h: ... here.
18047
7775448e
RM
180482013-03-01 Roland McGrath <roland@hack.frob.com>
18049
18050 * elf/dl-hwcaps.c (_dl_important_hwcaps):
18051 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18052 to just [NEED_DL_SYSINFO_DSO].
18053 * elf/dl-support.c: Likewise.
18054 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18055 * elf/rtld.c (dl_main): Likewise.
18056 * elf/setup-vdso.h (setup_vdso): Likewise.
18057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18058 * sysdeps/unix/sysv/linux/dl-sysdep.c
18059 (_dl_discover_osversion): Likewise.
18060
4e9b5995
CD
180612013-03-01 Carlos O'Donell <carlos@redhat.com>
18062
18063 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18064 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18065
e23872c8
SP
180662013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18067
e5c74c63
SP
18068 * NEWS: Mention libm performance improvements and non-x86 PI
18069 futex support.
18070
e23872c8
SP
18071 * csu/libc-start.c (__pthread_initialize_minimal): Change
18072 function arguments.
18073 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18074
b5510883
JM
180752013-02-28 Joseph Myers <joseph@codesourcery.com>
18076
18077 [BZ #13550]
18078 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18079 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18080 <bp-sym.h> and <bp-asm.h>.
18081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18082 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18083 and <bp-asm.h>.
18084 (memcpy): Don't use BP_SYM.
18085 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18086 <bp-asm.h>.
18087 (__mpn_add_n): Don't use BP_SYM.
18088 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18089 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18090 and <bp-asm.h>.
18091 (__mpn_addmul_1): Don't use BP_SYM.
18092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18093 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18094 <bp-sym.h>.
18095 (_setjmp): Don't use BP_SYM.
18096 (__novmx_setjmp): Likewise.
18097 (__GI__setjmp): Likewise.
18098 (__vmx_setjmp): Likewise.
18099 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18100 <bp-sym.h>.
18101 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18102 (__bzero): Don't use BP_SYM.
18103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18105 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18106 <bp-sym.h> and <bp-asm.h>.
18107 (memcpy): Don't use BP_SYM.
18108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18109 <bp-sym.h> and <bp-asm.h>.
18110 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18112 <bp-sym.h> and <bp-asm.h>.
18113 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18114 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18115 <bp-asm.h>.
18116 (__mpn_lshift): Don't use BP_SYM.
18117 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18118 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18119 <bp-asm.h>.
18120 (memset): Don't use BP_SYM.
18121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18123 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18124 <bp-asm.h>.
18125 (__mpn_mul_1): Don't use BP_SYM.
18126 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18128 <bp-sym.h> and <bp-asm.h>.
18129 (memcmp): Don't use BP_SYM.
18130 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18131 <bp-sym.h> and <bp-asm.h>.
18132 (memcpy): Don't use BP_SYM.
18133 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18134 <bp-sym.h> and <bp-asm.h>.
18135 (memset): Don't use BP_SYM.
18136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18137 <bp-sym.h> and <bp-asm.h>.
18138 (strncmp): Don't use BP_SYM.
18139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18140 <bp-sym.h> and <bp-asm.h>.
18141 (memcpy): Don't use BP_SYM.
18142 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18143 <bp-sym.h> and <bp-asm.h>.
18144 (memset): Don't use BP_SYM.
18145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18146 <bp-sym.h> and <bp-asm.h>.
18147 (__memchr): Don't use BP_SYM.
18148 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18149 <bp-sym.h> and <bp-asm.h>.
18150 (memcmp): Don't use BP_SYM.
18151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18152 <bp-sym.h> and <bp-asm.h>.
18153 (memcpy): Don't use BP_SYM.
18154 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18155 <bp-sym.h> and <bp-asm.h>.
18156 (__mempcpy): Don't use BP_SYM.
18157 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18158 <bp-sym.h> and <bp-asm.h>.
18159 (__memrchr): Don't use BP_SYM.
18160 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18161 <bp-sym.h> and <bp-asm.h>.
18162 (memset): Don't use BP_SYM.
18163 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18164 <bp-sym.h> and <bp-asm.h>.
18165 (__rawmemchr): Don't use BP_SYM.
18166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18167 <bp-sym.h> and <bp-asm.h>.
18168 (__STRCMP): Don't use BP_SYM.
18169 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18170 <bp-sym.h> and <bp-asm.h>.
18171 (strchr): Don't use BP_SYM.
18172 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18173 <bp-sym.h> and <bp-asm.h>.
18174 (__strchrnul): Don't use BP_SYM.
18175 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18176 <bp-sym.h> and <bp-asm.h>.
18177 (strlen): Don't use BP_SYM.
18178 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18179 <bp-sym.h> and <bp-asm.h>.
18180 (strncmp): Don't use BP_SYM.
18181 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18182 <bp-sym.h> and <bp-asm.h>.
18183 (__strnlen): Don't use BP_SYM.
18184 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18185 <bp-asm.h>.
18186 (__mpn_rshift): Don't use BP_SYM.
18187 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18188 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18189 <bp-sym.h> and <bp-asm.h>.
18190 (__sigsetjmp): Don't use BP_SYM.
18191 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18192 (L(start_addresses)): Don't use BP_SYM.
18193 (_start): Likewise.
18194 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18195 <bp-asm.h>.
18196 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18197 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18198 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18199 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18200 <bp-asm.h>.
18201 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18202 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18203 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18204 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18205 <bp-asm.h>.
18206 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18207 comments.
18208 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18209 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18210 <bp-asm.h>.
18211 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18212 FIXME comments.
18213 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18214 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18215 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18216 <bp-asm.h>.
18217 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18218 comment.
18219 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18220 and <bp-asm.h>.
18221 (strncmp): Don't use BP_SYM,
18222 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18223 <bp-asm.h>.
18224 (__mpn_sub_n): Don't use BP_SYM.
18225 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18226 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18227 and <bp-asm.h>.
18228 (__mpn_submul_1): Don't use BP_SYM.
18229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18231 <bp-sym.h> and <bp-asm.h>.
18232 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18234 <bp-sym.h> and <bp-asm.h>.
18235 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18236 comment.
18237
8d19fe64
SP
182382013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18239
18240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18241 Use ZK to minimize writes to Z.
18242 (sub_magnitudes): Simplify code a bit.
18243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18244 Use ZK to minimize writes to Z.
18245 (sub_magnitudes): Simplify code a bit.
18246
85bd816a
RM
182472013-02-27 Roland McGrath <roland@hack.frob.com>
18248
18249 * csu/gmon-start.c: Add special exception to license text.
18250
b5977bf2
RH
182512013-02-27 Richard Henderson <rth@redhat.com>
18252
18253 * scripts/config.guess: Update from config.git.
18254 * scripts/config.sub: Likewise.
18255
11d6e2f2
SP
182562013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18257
09c14ed2
SP
18258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18259
a688864e
SP
18260 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18261
6295157a
SP
18262 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18263
b8de2202
SP
18264 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18265
11d6e2f2
SP
18266 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18267
7e80ddb8
RM
182682013-02-26 Roland McGrath <roland@hack.frob.com>
18269
18270 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18271 [$(build-shared = yes].
7e80ddb8 18272
7da6d9ed
SP
182732013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18274
45f05884
SP
18275 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18276 (__mul): Reduce iterations for calculating mantissa.
18277
2236d359
SP
18278 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18279 MPTWO.
18280 (__mpranred): Likewise.
18281
7da6d9ed
SP
18282 [BZ #15160]
18283 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18284 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18285
b7688c42
PE
182862013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18287
18288 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18289 Define __attribute__.
18290
53a5c423
SP
182912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18292
18293 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18294 unused.
18295 * posix/regex_internal.h (__attribute): Remove.
18296 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18297 (re_string_context_at): Likewise.
18298 (bitset_not): Use __attribute__ and mark function as possibly
18299 unused.
18300 (bitset_merge): Likewise.
18301 (bitset_mask): Likewise.
18302 (re_string_char_size_at): Likewise.
18303 (re_string_wchar_at): Likewise.
18304 (re_string_elem_size_at): Likewise.
18305
60f5a8b5
SP
183062013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18307
2a983a2e
SP
18308 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18309 code.
18310 (cc32): Likewise.
18311
e69804d1
SP
18312 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18313 (__acr): Likewise.
18314 (__cpy): Likewise.
18315 (norm): Likewise.
18316 (denorm): Likewise.
18317 (__dbl_mp): Likewise.
18318 (add_magnitudes): Likewise.
18319 (sub_magnitudes): Likewise.
18320 (__mul): Likewise.
18321 (__inv): Likewise.
18322
2f22a1e8
SP
18323 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18324 style.
18325
8930ddc7
SP
18326 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18327 style.
18328
dc60cb11
SP
18329 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18330 code.
18331
60f5a8b5
SP
18332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18333 up changes with default code.
18334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18335 Likewise.
18336
b4d1fd33
AM
183372013-02-24 Allan McRae <allan@archlinux.org>
18338
faf6f8bc
AM
18339 * manual/socket.texi (The Internet Namespace): Order menu items
18340 to match that in the file.
18341
b4d1fd33
AM
18342 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18343 node listing of the info page menu.
18344
2366713d
JM
183452013-02-21 Joseph Myers <joseph@codesourcery.com>
18346
18347 [BZ #13550]
18348 * sysdeps/i386/bp-asm.h: Remove file.
18349 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18350 (PARMS): Do not use macros from bp-asm.h.
18351 (S1): Likewise.
18352 (S2): Likewise.
18353 (SIZE): Likewise.
18354 (__mpn_add_n): Do not use BP_SYM
18355 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18356 "bp-asm.h".
18357 (PARMS): Do not use macros from bp-asm.h.
18358 (S1): Likewise.
18359 (SIZE): Likewise.
18360 (__mpn_addmul_1): Do not use BP_SYM
18361 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18362 "bp-asm.h".
18363 (PARMS): Do not use macros from bp-asm.h.
18364 (SIGMSK): Likewise.
18365 (_setjmp): Likewise. Do not use BP_SYM.
18366 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18367 "bp-asm.h".
18368 (PARMS): Do not use macros from bp-asm.h.
18369 (SIGMSK): Likewise.
18370 (setjmp): Likewise. Do not use BP_SYM.
18371 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18372 "bp-asm.h".
18373 (PARMS): Do not use macros from bp-asm.h.
18374 (__frexp): Do not use BP_SYM.
18375 (frexp): Likewise.
18376 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18377 "bp-asm.h".
18378 (PARMS): Do not use macros from bp-asm.h.
18379 (__frexpf): Do not use BP_SYM.
18380 (frexpf): Likewise.
18381 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18382 "bp-asm.h".
18383 (PARMS): Do not use macros from bp-asm.h.
18384 (__frexpl): Do not use BP_SYM.
18385 (frexpl): Likewise.
18386 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18387 "bp-asm.h".
18388 (PARMS): Do not use macros from bp-asm.h.
18389 (__remquo): Do not use BP_SYM.
18390 (remquo): Likewise.
18391 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18392 "bp-asm.h".
18393 (PARMS): Do not use macros from bp-asm.h.
18394 (__remquof): Do not use BP_SYM.
18395 (remquof): Likewise.
18396 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18397 "bp-asm.h".
18398 (PARMS): Do not use macros from bp-asm.h.
18399 (__remquol): Do not use BP_SYM.
18400 (remquol): Likewise.
18401 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18402 "bp-asm.h".
18403 (PARMS): Do not use macros from bp-asm.h.
18404 (DEST): Likewise.
18405 (SRC): Likewise.
18406 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18407 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18408 "bp-asm.h".
18409 (PARMS): Do not use macros from bp-asm.h.
18410 (strlen): Do not use BP_SYM.
18411 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18412 "bp-asm.h".
18413 (PARMS): Do not use macros from bp-asm.h.
18414 (S1): Likewise.
18415 (S2): Likewise.
18416 (SIZE): Likewise.
18417 (__mpn_add_n): Do not use BP_SYM.
18418 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18419 "bp-asm.h".
18420 (PARMS): Do not use macros from bp-asm.h.
18421 (S1): Likewise.
18422 (SIZE): Likewise.
18423 (__mpn_addmul_1): Do not use BP_SYM.
18424 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18425 weak_alias.
18426 (bzero): Likewise.
18427 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18428 "bp-asm.h".
18429 (PARMS): Do not use macros from bp-asm.h.
18430 (S): Likewise.
18431 (SIZE): Likewise.
18432 (__mpn_lshift): Do not use BP_SYM.
18433 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18434 "bp-asm.h".
18435 (PARMS): Do not use macros from bp-asm.h.
18436 (DEST): Likewise.
18437 (SRC): Likewise.
18438 (LEN): Likewise.
18439 (memcpy): Likewise. Do not use BP_SYM.
18440 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18441 libc_hidden_def and weak_alias.
18442 (mempcpy): Do not use BP_SYM in weak_alias.
18443 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18444 "bp-asm.h".
18445 (PARMS): Do not use macros from bp-asm.h.
18446 (DEST): Likewise.
18447 (LEN): Likewise.
18448 [!BZERO_P] (CHR): Likewise.
18449 (memset): Likewise. Do not use BP_SYM.
18450 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18451 "bp-asm.h".
18452 (PARMS): Do not use macros from bp-asm.h.
18453 (S1): Likewise.
18454 (SIZE): Likewise.
18455 (__mpn_mul_1): Do not use BP_SYM.
18456 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18457 "bp-asm.h".
18458 (PARMS): Do not use macros from bp-asm.h.
18459 (S): Likewise.
18460 (SIZE): Likewise.
18461 (__mpn_rshift): Do not use BP_SYM.
18462 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18463 "bp-asm.h".
18464 (PARMS): Do not use macros from bp-asm.h.
18465 (STR): Likewise.
18466 (CHR): Likewise.
18467 (strchr): Likewise. Do not use BP_SYM.
18468 (index): Do not use BP_SYM in weak_alias.
18469 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18470 "bp-asm.h".
18471 (PARMS): Do not use macros from bp-asm.h.
18472 (DEST): Likewise.
18473 (SRC): Likewise.
18474 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18475 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18476 "bp-asm.h".
18477 (PARMS): Do not use macros from bp-asm.h.
18478 (strlen): Do not use BP_SYM.
18479 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18480 "bp-asm.h".
18481 (PARMS): Do not use macros from bp-asm.h.
18482 (S1): Likewise.
18483 (S2): Likewise.
18484 (SIZE): Likewise.
18485 (__mpn_sub_n): Do not use BP_SYM.
18486 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18487 "bp-asm.h".
18488 (PARMS): Do not use macros from bp-asm.h.
18489 (S1): Likewise.
18490 (SIZE): Likewise.
18491 (__mpn_submul_1): Do not use BP_SYM.
18492 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18493 "bp-asm.h".
18494 (PARMS): Do not use macros from bp-asm.h.
18495 (S1): Likewise.
18496 (S2): Likewise.
18497 (SIZE): Likewise.
18498 (__mpn_add_n): Do not use BP_SYM.
18499 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18500 weak_alias.
18501 (bzero): Likewise.
18502 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18503 "bp-asm.h".
18504 (PARMS): Do not use macros from bp-asm.h.
18505 (BLK2): Likewise.
18506 (LEN): Likewise.
18507 (memcmp): Do not use BP_SYM.
18508 (bcmp): Do not use BP_SYM in weak_alias.
18509 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18510 "bp-asm.h".
18511 (PARMS): Do not use macros from bp-asm.h.
18512 (DEST): Likewise.
18513 (SRC): Likewise.
18514 (LEN): Likewise.
18515 (memcpy): Likewise. Do not use BP_SYM.
18516 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18517 "bp-asm.h".
18518 (PARMS): Do not use macros from bp-asm.h.
18519 (DEST): Likewise.
18520 (SRC): Likewise.
18521 (LEN): Likewise.
18522 (memmove): Likewise. Do not use BP_SYM.
18523 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18524 "bp-asm.h".
18525 (PARMS): Do not use macros from bp-asm.h.
18526 (DEST): Likewise.
18527 (SRC): Likewise.
18528 (LEN): Likewise.
18529 (__mempcpy): Likewise. Do not use BP_SYM.
18530 (mempcpy): Do not use BP_SYM in weak_alias.
18531 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18532 "bp-asm.h".
18533 (PARMS): Do not use macros from bp-asm.h.
18534 (DEST): Likewise.
18535 (LEN): Likewise.
18536 [!BZERO_P] (CHR): Likewise.
18537 (memset): Likewise. Do not use BP_SYM.
18538 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18539 "bp-asm.h".
18540 (PARMS): Do not use macros from bp-asm.h.
18541 (STR2): Likewise.
18542 (strcmp): Do not use BP_SYM.
18543 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18544 "bp-asm.h".
18545 (PARMS): Do not use macros from bp-asm.h.
18546 (STR): Likewise.
18547 (DELIM): Likewise.
18548 [USE_AS_STRTOK_R] (SAVE): Likewise.
18549 (FUNCTION): Likewise. Do not use BP_SYM.
18550 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18551 aliases.
18552 (strtok_r): Likewise.
18553 (__GI___strtok_r): Likewise.
18554 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18555 (PARMS): Do not use macros from bp-asm.h.
18556 (S): Likewise.
18557 (SIZE): Likewise.
18558 (__mpn_lshift): Do not use BP_SYM.
18559 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18560 (PARMS): Do not use macros from bp-asm.h.
18561 (STR): Likewise.
18562 (CHR): Likewise.
18563 (__memchr): Do not use BP_SYM.
18564 (memchr): Do not use BP_SYM in weak_alias.
18565 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18566 (PARMS): Do not use macros from bp-asm.h.
18567 (BLK2): Likewise.
18568 (LEN): Likewise.
18569 (memcmp): Do not use BP_SYM.
18570 (bcmp): Do not use BP_SYM in weak_alias.
18571 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18572 (PARMS): Do not use macros from bp-asm.h.
18573 (S1): Likewise.
18574 (SIZE): Likewise.
18575 (__mpn_mul_1): Do not use BP_SYM.
18576 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18577 "bp-asm.h".
18578 (PARMS): Do not use macros from bp-asm.h.
18579 (STR): Likewise.
18580 (CHR): Likewise.
18581 (__rawmemchr): Do not use BP_SYM.
18582 (rawmemchr): Do not use BP_SYM in weak_alias.
18583 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18584 (PARMS): Do not use macros from bp-asm.h.
18585 (S): Likewise.
18586 (SIZE): Likewise.
18587 (__mpn_rshift): Do not use BP_SYM.
18588 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18589 (PARMS): Do not use macros from bp-asm.h.
18590 (SIGMSK): Likewise.
18591 (__sigsetjmp): Likewise. Do not use BP_SYM.
18592 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18593 (_start): Do not use BP_SYM.
18594 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18595 (PARMS): Do not use macros from bp-asm.h.
18596 (DEST): Likewise.
18597 (SRC): Likewise.
18598 (__stpcpy): Likewise. Do not use BP_SYM.
18599 (stpcpy): Do not use BP_SYM in weak_alias.
18600 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18601 "bp-asm.h".
18602 (PARMS): Do not use macros from bp-asm.h.
18603 (DEST): Likewise.
18604 (SRC): Likewise.
18605 (LEN): Likewise.
18606 (__stpncpy): Likewise. Do not use BP_SYM.
18607 (stpncpy): Do not use BP_SYM in weak_alias.
18608 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18609 (PARMS): Do not use macros from bp-asm.h.
18610 (STR): Likewise.
18611 (CHR): Likewise.
18612 (strchr): Likewise. Do not use BP_SYM.
18613 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18614 "bp-asm.h".
18615 (PARMS): Do not use macros from bp-asm.h.
18616 (STR): Likewise.
18617 (CHR): Likewise.
18618 (__strchrnul): Likewise. Do not use BP_SYM.
18619 (strchrnul): Do not use BP_SYM in weak_alias.
18620 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18621 "bp-asm.h".
18622 (PARMS): Do not use macros from bp-asm.h.
18623 (STOP): Likewise.
18624 (strcspn): Do not use BP_SYM.
18625 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18626 "bp-asm.h".
18627 (PARMS): Do not use macros from bp-asm.h.
18628 (STR): Likewise.
18629 (STOP): Likewise.
18630 (strpbrk): Likewise. Do not use BP_SYM.
18631 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18632 "bp-asm.h".
18633 (PARMS): Do not use macros from bp-asm.h.
18634 (STR): Likewise.
18635 (CHR): Likewise.
18636 (strrchr): Likewise. Do not use BP_SYM.
18637 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18638 (PARMS): Do not use macros from bp-asm.h.
18639 (SKIP): Likewise.
18640 (strspn): Do not use BP_SYM.
18641 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18642 (PARMS): Do not use macros from bp-asm.h.
18643 (STR): Likewise.
18644 (DELIM): Likewise.
18645 (SAVE): Likewise.
18646 (FUNCTION): Likewise. Do not use BP_SYM.
18647 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18648 aliases.
18649 (strtok_r): Likewise.
18650 (__GI___strtok_r): Likewise.
18651 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18652 (PARMS): Do not use macros from bp-asm.h.
18653 (S1): Likewise.
18654 (S2): Likewise.
18655 (SIZE): Likewise.
18656 (__mpn_sub_n): Do not use BP_SYM.
18657 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18658 "bp-asm.h".
18659 (PARMS): Do not use macros from bp-asm.h.
18660 (S1): Likewise.
18661 (SIZE): Likewise.
18662 (__mpn_submul_1): Do not use BP_SYM.
18663 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18664 <bp-sym.h>.
18665 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18666 and <bp-asm.h>.
18667 (PARMS): Do not use macros from bp-asm.h.
18668 (FLAGS): Likewise.
18669 (PTID): Likewise.
18670 (TLS): Likewise.
18671 (CTID): Likewise.
18672 (__clone): Do not use BP_SYM.
18673 (clone): Do not use BP_SYM in weak_alias.
18674 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18675 and <bp-asm.h>.
18676 (PARMS): Do not use macros from bp-asm.h.
18677 (LEN): Likewise.
18678 (__mmap64): Do not use BP_SYM.
18679 (mmap64): Do not use BP_SYM in weak_alias.
18680 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18681 <bp-sym.h> and <bp-asm.h>.
18682 (PARMS): Do not use macros from bp-asm.h.
18683 (__posix_fadvise64_l64): Do not use BP_SYM.
18684 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18685 (PARMS): Do not use macros from bp-asm.h.
18686 (NSOPS): Likewise.
18687 (semtimedop): Do not use BP_SYM.
18688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18689 and <bp-asm.h>.
18690
582a3cff
AM
186912013-02-21 Allan McRae <allan@archlinux.org>
18692
18693 * manual/message.texi (Charset conversion in gettext):
18694 Move @end statement to beginning of line.
18695
bab8a695
SP
186962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18697
80945231
SP
18698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18699 static.
18700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18701 Likewise.
18702
bab8a695
SP
18703 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18704 (denorm): Likewise.
18705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18707
e21d7aa7
AK
187082013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18709
18710 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18711 tail-call to the resolved function if pltexit isn't needed.
18712
4c7a4263
SP
187132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18714
18715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18716 or Y being zero as being unlikely.
18717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18718 Likewise.
18719
41f49342
CD
187202013-02-20 Carlos O'Donell <carlos@redhat.com>
18721
18722 * manual/nss.texi (System Databases and Name Service Switch):
18723 Remove frobnicate @pxref.
18724
50022a93
TS
187252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18726
18727 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18728 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18729
08cbd996
PM
187302013-02-20 Petr Machata <pmachata@redhat.com>
18731
18732 * elf/elf.h (R_ARM_TARGET1): New macro.
18733 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18734 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18735 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18736 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18737 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18738 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18739 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18740 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18741 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18742 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18743 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18744 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18745 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18746 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18747 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18748 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18749 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18750 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18751 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18752 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18753 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18754 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18755 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18756 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18757 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18758 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18759 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18760 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18761 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18762 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18763 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18764 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18765 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18766 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18767 (R_ARM_THM_GOT_BREL12): Likewise.
18768 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18769 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18770 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18771 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18772 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18773 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18774 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18775 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18776 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18777
c7b275d6
TS
187782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18779
18780 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18781 __attribute_used__ to __attribute__ ((unused)).
18782
20cd7fb3
SP
187832013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18784
18785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18786 powerpc mpa.c.
18787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18788 comment formatting.
18789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18790
92945b52
JM
187912013-02-19 Joseph Myers <joseph@codesourcery.com>
18792
18793 [BZ #13550]
18794 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18795 Remove macro.
18796 (ENTER): Remove both macro definitions.
18797 (LEAVE): Likewise.
18798 (CHECK_BOUNDS_LOW): Likewise.
18799 (CHECK_BOUNDS_HIGH): Likewise.
18800 (CHECK_BOUNDS_BOTH): Likewise.
18801 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18802 (RETURN_BOUNDED_POINTER): Likewise.
18803 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18804 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18805 (POP_ERRNO_LOCATION_RETURN): Likewise.
18806 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18807 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18808 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18809 macros.
18810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18811 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18812 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18813 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18814 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18815 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18816 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18817 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18818 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18819 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18820 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18821 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18822 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18823 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18824 removed macros.
18825 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18826 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18827 macros.
18828 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18829 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18830 * sysdeps/i386/i586/memset.S (memset): Likewise.
18831 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18832 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18833 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18834 macros.
18835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18836 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18837 Change uses of L(2) to L(out).
18838 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18839 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18840 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18841 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18842 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18843 removed macros.
18844 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18845 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18846 macros.
18847 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18848 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18849 (RETURN): Do not use macro LEAVE.
18850 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18851 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18852 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18853 * sysdeps/i386/i686/memset.S (memset): Likewise.
18854 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18855 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18856 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18857 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18858 Likewise.
18859 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18860 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18861 L(1_2) and L(1_3) into L(1).
18862 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18863 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18864 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18865 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18866 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18867 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18868 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18869 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18870 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18871 macros.
18872 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18873 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18874 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18875 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18876 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18877 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18878 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18879 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18880 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18881 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18882 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18883 * sysdeps/i386/strspn.S (strspn): Likewise.
18884 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18885 conditional code.
18886 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18887 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18888 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18889 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18890 L(1_3) into L(1_1).
18891 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18893 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18894 macros.
18895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18896
2389741a
JJ
188972013-02-19 Jakub Jelinek <jakub@redhat.com>
18898
18899 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18900 macro.
18901
2016b3cd
SP
189022013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18903
e4f22324
SP
18904 * math/atest-exp.c (exp_mpn): Remove ROUND.
18905 * math/atest-exp2.c (exp_mpn): Likewise.
18906 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18907
2016b3cd
SP
18908 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18909 * stdlib/tst-tls-atexit-lib.c: Likewise.
18910 * stdlib/tst-tls-atexit.c: Likewise.
18911
4be9b544
MF
189122013-02-18 Mike Frysinger <vapier@gentoo.org>
18913
18914 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18915 and __attribute_alloc_size__.
18916
2f62b9ee
MF
189172013-02-18 Mike Frysinger <vapier@gentoo.org>
18918
18919 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18920 __attribute_alloc_size__.
18921 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18922 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18923
6ff444c4
MF
189242013-02-18 Mike Frysinger <vapier@gentoo.org>
18925
18926 * include/programs/xmalloc.h: New file.
18927 * catgets/gencat.c: Include it.
18928 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18929 * elf/pldd.c: Likewise.
18930 * iconv/iconv_charmap.c: Likewise.
18931 * iconv/iconvconfig.c: Likewise.
18932 * iconv/strtab.c: Likewise.
18933 * locale/programs/locale.c: Likewise.
18934 * locale/programs/localedef.h: Likewise.
18935 * locale/programs/simple-hash.c: Likewise.
18936 * nscd/nscd.h: Likewise.
18937 * nss/makedb.c: Likewise.
18938 * sysdeps/generic/ldconfig.h: Likewise.
18939
be179c8a
SP
189402013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18941
ba384f6e
SP
18942 * Versions.def: Add GLIBC_2.18.
18943 * include/link.h (struct link_map): New member l_tls_dtor_count.
18944 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18945 (__call_tls_dtors): Likewise.
18946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18947 __cxa_thread_atexit_impl.
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18949 Likewise.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18951 Likewise.
18952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18953 Likewise.
18954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18955 Likewise.
18956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18958 Likewise.
18959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18960 Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18963 Likewise.
18964 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18965 (tests): Add test case tst-tls-atexit.
18966 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18967 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18968 (GLIBC_PRIVATE): Add __call_tls_dtors.
18969 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18970 for libstdc++.
18971 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18972 * stdlib/tst-tls-atexit.c: New test case.
18973 * stdlib/tst-tls-atexit-lib.c: New test case.
18974
ffaa74cf 18975 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18976
be179c8a
SP
18977 * elf/Versions (ld): Add _dl_find_dso_for_object.
18978 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18979 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18980 (dl_open_worker): Use _dl_find_dso_for_object.
18981 * elf/dl-sym.c (do_sym): Likewise.
18982 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18983
f78b5caa
AK
189842013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18985
18986 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18987 Syntactic changes only.
18988 (_dl_runtime_profile): Do a tail-call to the resolved function.
18989
29691210
JM
189902013-02-17 Joseph Myers <joseph@codesourcery.com>
18991
18992 [BZ #13550]
18993 * sysdeps/x86_64/bp-asm.h: Remove file.
18994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18995 <bp-sym.h> and <bp-asm.h>.
18996 (__clone): Do not use BP_SYM.
18997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18998 <bp-sym.h> and <bp-asm.h>.
18999 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19000 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19001 "bp-asm.h".
19002 (_setjmp): Do not use BP_SYM.
19003 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19004 "bp-asm.h".
19005 (setjmp): Do not use BP_SYM.
19006 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19007 libc_hidden_def.
19008 (mempcpy): Do not use BP_SYM in weak_alias.
19009 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19010 "bp-asm.h".
19011 (strchr): Do not use BP_SYM.
19012 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19013 "bp-asm.h".
19014 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19015 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19016 (_start): Do not use BP_SYM.
19017 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19018 "bp-asm.h".
19019 (strcat): Do not use BP_SYM.
19020 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19021 "bp-asm.h".
19022 (STRCMP): Do not use BP_SYM.
19023 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19024 "bp-asm.h".
19025 (STRCPY): Do not use BP_SYM.
19026 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19027 "bp-asm.h".
19028 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19029 "bp-asm.h".
19030 (FUNCTION): Do not use BP_SYM.
19031 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19032 weak_alias.
19033 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19034
f238fd19
AJ
190352013-02-17 Andreas Jaeger <aj@suse.de>
19036
19037 * time/Versions: Sort entries.
19038 * string/Versions: Likewise.
19039 * resolv/Versions: Likewise.
19040 * posix/Versions: Likewise.
19041 * iconv/Versions: Likewise.
19042 * elf/Versions: Likewise.
19043 * wcsmbs/Versions: Likewise.
19044
bd07f23c 190452013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 19046
22af19f9
SP
19047 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19048 loop termination condition.
19049
4709fe76
SP
19050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19051 variable to calculate EZ.
19052 (__sqr): Likewise.
2d0e0f29
SP
19053
19054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19055 the lower precision input.
19056
daaa7713
JM
190572013-02-15 Joseph Myers <joseph@codesourcery.com>
19058
19059 [BZ #13550]
19060 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19061 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19062 (run-via-rtld-prefix): Do not handle %-bp tests.
19063 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19064 (all-object-suffixes): Remove .ob.
19065 (bppfx): Remove variable.
19066 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19067 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19068 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19069 [$(build-bounded) = yes] (libtype.ob): Likewise.
19070 * Makerules (elide-routines.ob): Remove variable.
19071 (do-tests-clean): Do not handle *-bp.out.
19072 (common-mostlyclean): Do not handle *-bp and *-bp.out.
19073 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19074 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19075 (tests): Do not include $(tests-bp.out).
19076 (xtests): Do not include $(xtests-bp.out).
19077 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19078 [$(build-bounded) = yes] ($(addprefix
19079 $(objpfx),$(binaries-bounded))): Remove rule.
19080 ($(objpfx)%-bp.out): Remove rule.
19081 * config.make.in (build-bounded): Remove variable.
19082 * crypt/Makefile [$(build-bounded) = yes]
19083 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19084 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19085 append to variable.
19086 [$(build-bounded) = yes] (install-lib): Likewise.
19087 [$(build-bounded) = yes] (generated): Likewise.
19088 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19089 Remove rule.
19090 * intl/Makefile [$(build-bounded) = yes]
19091 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19092 * math/Makefile [$(build-bounded) = yes]
19093 ($(tests:%=$(objpfx)%-bp): Likewise.
19094 * misc/Makefile [$(build-bounded) = yes]
19095 ($(objpfx)tst-tsearch-bp): Likewise.
19096 * nptl/Makeconfig (bounded-thread-library): Remove variable.
19097 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19098 Remove dependency.
19099 * string/Makefile (o-objects.ob): Remove variable.
19100 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19101 (CFLAGS-.ob): Remove variable.
19102 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19103 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19104 both definitions of variable.
19105 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19106 (ASFLAGS-.ob): Remove variable.
19107
e97ed6dd
JM
191082013-02-14 Joseph Myers <joseph@codesourcery.com>
19109
2bdd4ca6
JM
19110 [BZ #13550]
19111 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19112 Remove __BOUNDED_POINTERS__ from condition.
19113 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19114 * string/bits/string2.h [!__NO_STRING_INLINES &&
19115 !__BOUNDED_POINTERS__]: Likewise.
19116 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19117 Likewise.
19118 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19119 Remove conditional code.
19120 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19121 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19122 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19123 condition.
19124
e97ed6dd
JM
19125 [BZ #13550]
19126 * csu/libc-start.c: Do not include <bp-sym.h>.
19127 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19128 * elf/dl-open.c: Do not include <bp-sym.h>.
19129 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19130 * math/fegetenv.c: Do not include <bp-sym.h>.
19131 (fegetenv): Do not use BP_SYM in versioned symbols.
19132 * nptl/sysdeps/pthread/bits/libc-lockP.h
19133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19134 <bp-sym.h>.
19135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19136 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19138 (__pthread_mutex_destroy): Likewise.
19139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19140 (__pthread_mutex_lock): Likewise.
19141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19142 (__pthread_mutex_trylock): Likewise.
19143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19144 (__pthread_mutex_unlock): Likewise.
19145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19146 (__pthread_mutexattr_init): Likewise.
19147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19148 (__pthread_mutexattr_destroy): Likewise.
19149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19150 (__pthread_mutexattr_settype): Likewise.
19151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19152 (__pthread_rwlock_init): Likewise.
19153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19154 (__pthread_rwlock_destroy): Likewise.
19155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19156 (__pthread_rwlock_rdlock): Likewise.
19157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19158 (__pthread_rwlock_tryrdlock): Likewise.
19159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19160 (__pthread_rwlock_wrlock): Likewise.
19161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19162 (__pthread_rwlock_trywrlock): Likewise.
19163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19164 (__pthread_rwlock_unlock): Likewise.
19165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19166 (__pthread_key_create): Likewise.
19167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19168 (__pthread_setspecific): Likewise.
19169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19170 (__pthread_getspecific): Likewise.
19171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19172 Likewise.
19173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19174 (_pthread_cleanup_push_defer): Likewise.
19175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19176 (_pthread_cleanup_pop_restore): Likewise.
19177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19178 (pthread_setcancelstate): Likewise.
19179 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19180 <bp-sym.h>.
19181 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19182 (memchr): Do not use BP_SYM in weak_alias.
19183 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19184 (fegetenv): Do not use BP_SYM in versioned symbols.
19185 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19186 (fesetenv): Do not use BP_SYM in versioned symbols.
19187 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19188 (feupdateenv): Do not use BP_SYM in versioned symbols.
19189 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19190 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19191 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19192 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19193 (open64): Do not use BP_SYM in weak_alias.
19194 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19195 (fegetenv): Do not use BP_SYM in versioned symbols.
19196 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19197 (fesetenv): Do not use BP_SYM in versioned symbols.
19198 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19199 (feupdateenv): Do not use BP_SYM in versioned symbols.
19200 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19201 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19202 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19203 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19204 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19205 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19206 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19207 <bp-sym.h>.
19208 (__libc_start_main): Do not use BP_SYM.
19209
d6752ccd
SP
192102013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19211
cb57ce60
SP
19212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19213 redundant return line.
19214 (norm): Likewise.
19215 (denorm): Likewise.
19216 (dbl_mp): Likewise.
19217 (sub_magnitudes): Likewise.
19218 (__add): Likewise.
19219 (__sub): Likewise.
19220 (__mul): Likewise.
19221 (__inv): Likewise.
19222 (__dvd): Likewise.
19223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19224 (norm): Likewise.
19225 (denorm): Likewise.
19226 (dbl_mp): Likewise.
19227 (sub_magnitudes): Likewise.
19228 (__add): Likewise.
19229 (__sub): Likewise.
19230 (__mul): Likewise.
19231 (__inv): Likewise.
19232 (__dvd): Likewise.
19233
f414520d
SP
19234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19235 instead of __mul.
19236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19237 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19238 (cc32): Likewise.
19239
d6752ccd
SP
19240 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19241 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19243 of __mul for squares.
19244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19245 function
19246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19247 Likewise.
19248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19250
70d9946a
JM
192512013-02-13 Joseph Myers <joseph@codesourcery.com>
19252
19253 [BZ #13550]
19254 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19255 code.
19256 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19257 prototype or function definition. Rename ubp_* variables and
19258 parameters. Remove argv definitions conditional on
19259 [__BOUNDED_POINTERS__].
19260 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19261 * elf/dl-runtime.c (_dl_fixup): Likewise.
19262 * include/set-hooks.h (RUN_HOOK): Likewise.
19263 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19264 definition.
19265 * string/strcpy.c (strcpy): Do not use __unbounded.
19266 * sysdeps/generic/frame.h (struct layout): Likewise.
19267 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19268 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19269 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19270 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19271 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19272 (__backtrace): Likewise.
19273 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19274 use __ptrvalue.
19275 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19276 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19277 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19278 Likewise.
19279 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19280 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19282 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19283 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19284 Do not use __unbounded.
19285 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19286 Rename __unboundedrlimits parameter to rlimits in prototype.
19287 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19288 Do not use __unbounded.
19289 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19290 not use __ptrvalue.
19291 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19292 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19293 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19294 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19295 __ptrvalue or __unbounded.
19296 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19297 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19298 use __unbounded.
19299 (__new_msgctl): Do not use __ptrvalue.
19300 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19301 __unbounded.
19302 (__libc_msgrcv): Do not use __ptrvalue.
19303 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19304 startup_info): Do not use __unbounded.
19305 (__libc_start_main): Likewise. Rename ubp_* variables and
19306 parameters. Remove argv definitions conditional on
19307 [__BOUNDED_POINTERS__].
19308 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19309 __ptrvalue.
19310 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19311 use __unbounded.
19312 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19313 or __ptrvalue.
19314 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19315 use __unbounded.
19316 (__new_shmctl): Do not use __ptrvalue.
19317 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19318 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19319 Likewise.
19320 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19321 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19322 (__libc_sigaction): Likewise.
19323 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19325 Likewise.
19326 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19327
cc7834d6
OB
193282013-02-13 Ondřej Bílka <neleai@seznam.cz>
19329
ffb1ec7b 19330 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
19331
19332 * string/mempcpy.c: Implement by calling memcpy.
19333
bdf02814
SP
193342013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19335
c2af38aa
SP
19336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19337
4e92d59e
SP
19338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19339 evaluation.
19340
909279a5
SP
19341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19342 values in the mantissa.
19343
bdf02814
SP
19344 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19345 minimize writes to Z.
19346 (sub_magnitudes): Simplify code a bit.
19347
cd525923
RM
193482013-02-12 Roland McGrath <roland@hack.frob.com>
19349
19350 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19351 from the message. The linker prefixes all warnings with that already.
19352
7e2f0d2d
AS
193532013-02-12 Andreas Schwab <schwab@suse.de>
19354
a445af0b
AS
19355 [BZ #15078]
19356 * posix/regexec.c (extend_buffers): Add parameter min_len.
19357 (check_matching): Pass minimum needed length.
19358 (clean_state_log_if_needed): Likewise.
19359 (get_subexp): Likewise.
19360 * posix/Makefile (tests): Add bug-regex34.
19361 (bug-regex34-ENV): Define.
19362 * posix/bug-regex34.c: New file.
19363
7e2f0d2d
AS
19364 [BZ #11561]
19365 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19366 elements compare against the byte sequence of it, not its name.
19367 * posix/Makefile (tests): Add bug-regex35.
19368 (bug-regex35-ENV): Define.
19369 * posix/bug-regex35.c: New file.
19370
a175b684
TV
193712013-02-11 Tom de Vries <tom@codesourcery.com>
19372
19373 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19374 comment.
19375 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19376 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19377 (CHECK_EOL): Add undef.
19378
310998fe 193792013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
19380
19381 * bits/stdlib-bsearch.h: New file.
19382 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 19383 * stdlib/stdlib.h: Likewise.
41eda41d 19384
8ded91fb
RM
193852013-02-11 Roland McGrath <roland@hack.frob.com>
19386
19387 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19388 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19389 declaration.
19390 * manual/search.texi (Array Search Function): Add missing const in
19391 lfind prototype.
19392 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19393 declaration to use rlim_t.
19394 (Basic Scheduling Functions): Remove erroneous const from
19395 sched_getparam prototype. Remove erroneous * from
19396 sched_get_priority_max and sched_get_priority_min prototypes.
19397 (Resource Usage): Fix summary @comment on vtimes to refer to
19398 sys/vtimes.h rather than vtimes.h.
19399 Add missing *s in vtimes prototype.
19400 (Limits on Resources): Fix ulimit prototype to return long int.
19401 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19402 prototypes to use long int rather than double.
19403 (BSD Random): Fix initstate and setstate to use char *, not void *.
19404 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19405 prototype to make second argument 'struct aiocb64 *const[]'.
19406 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19407 (Status of AIO Operations): Remove erroneous const in aio_return and
19408 aio_return64 prototypes.
19409 (Synchronizing I/O): Fix sync prototype to return void.
19410 * manual/startup.texi (Suboptions): Remove an erroneous const in
19411 getsubopt prototype.
19412 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19413 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19414 use size_t rather than int.
19415 (Scanning All Users): Likewise for getpwent_r.
19416 (Setting Groups): Add missing const to setgroups prototype.
19417 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19418 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19419 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19420 'const void *' rather than 'const char *'.
19421 (Host Address Functions): Likewise for inet_ntop.
19422 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19423 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19424 ssize_t for return value.
19425 (Sending Data): Likewise for send, sendto, sendmsg.
19426 (Socket Option Functions): Add a missing const in setsockopt prototype.
19427 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19428 use wchar_t for the argument.
19429 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19430 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19431 take no arguments.
19432 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19433 double/float/long double for second argument.
19434 Fix return types of significand, significandf, significandl.
19435 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19436 argument in fchmod prototype.
19437 (File Owner): Use uid_t and gid_t in fchown prototype.
19438 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19439 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19440 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19441 use 'const struct dirent **' as argument types to CMP function pointer
19442 argument.
19443 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19444 (File Times): Fix summary magic @comment for struct utimbuf and utime
19445 to refer to utime.h, not time.h.
19446 * manual/string.texi (Argz Functions): Add missing const in
19447 argz_extract and argz_next prototypes.
19448 (Finding Tokens in a String): Likewise for basename.
19449 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19450 (Copying and Concatenation): Fix typo in wmemmove prototype.
19451 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19452 (Signal Stack): Remove erroneous const in sigstack prototype.
19453 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19454 prototype.
19455 (Simple Calendar Time): Likewise for stime.
19456 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19457 prototype.
19458 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19459 say sys/sysctl.h instead.
19460 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19461 and vsyslog prototypes.
19462
fe77fe6d
TV
194632013-02-11 Tom de Vries <tom@codesourcery.com>
19464
19465 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19466 Remove.
19467
3a09b620
RM
194682013-02-11 Roland McGrath <roland@hack.frob.com>
19469
19470 * misc/sys/mman.h: Fix typo in mremap comment.
19471
550a0b89
RM
194722013-02-08 Roland McGrath <roland@hack.frob.com>
19473
19474 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19475 the '\0' terminator.
19476
a2da1673
JM
194772013-02-08 Joseph Myers <joseph@codesourcery.com>
19478
19479 [BZ #13550]
19480 * debug/segfault.c: Don't include <bp-checks.h>.
19481 * sysdeps/generic/bp-checks.h: Remove file.
19482 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19483 (__GETDENTS): Don't use CHECK_N.
19484 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19485 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19486 (__getgroups): Don't use CHECK_N.
19487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19488 (setgroups): Don't use CHECK_N.
19489 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19490 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19491 (__libc_msgrcv): Don't use CHECK_N.
19492 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19493 (__libc_msgsnd): Don't use CHECK_N.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19495 <bp-checks.h>.
19496 (__libc_pread): Don't use CHECK_N.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19498 include <bp-checks.h>.
19499 (__libc_pread64): Don't use CHECK_N.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19501 include <bp-checks.h>.
19502 (__libc_pwrite): Don't use CHECK_N.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19504 include <bp-checks.h>.
19505 (__libc_pwrite64): Don't use CHECK_N.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19507 <bp-checks.h>.
19508 (__libc_pread): Don't use CHECK_N.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19510 include <bp-checks.h>.
19511 (__libc_pread64): Don't use CHECK_N.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19513 include <bp-checks.h>.
19514 (__libc_pwrite): Don't use CHECK_N.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19516 include <bp-checks.h>.
19517 (__libc_pwrite64): Don't use CHECK_N.
19518 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19519 (do_pread): Don't use CHECK_N.
19520 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19521 (do_pread64): Don't use CHECK_N.
19522 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19523 (do_pwrite): Don't use CHECK_N.
19524 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19525 (do_pwrite64): Don't use CHECK_N.
19526 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19527 (__libc_readv): Don't use CHECK_N.
19528 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19529 (semop): Don't use CHECK_N.
19530 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19531 <bp-checks.h>.
19532 (semtimedop): Don't use CHECK_N.
19533 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19534 (__libc_pread): Don't use CHECK_N.
19535 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19536 <bp-checks.h>.
19537 (__libc_pread64): Don't use CHECK_N.
19538 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19539 <bp-checks.h>.
19540 (__libc_pwrite): Don't use CHECK_N.
19541 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19542 <bp-checks.h>.
19543 (__libc_pwrite64): Don't use CHECK_N.
19544 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19545 <bp-checks.h>.
19546 (__libc_msgrcv): Don't use CHECK_N.
19547 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19548 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19549 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19550 (__libc_writev): Don't use CHECK_N.
19551
b84660a8
RM
195522013-02-08 Roland McGrath <roland@hack.frob.com>
19553
7f3e75f8
RM
19554 * string/strcpy.c: Removed unused variable.
19555
b84660a8
RM
19556 * Makeconfig (+sysdep-includes): Define with := rather than =.
19557 Use an existing include/ subdir of each sysdeps dir before it.
19558
471514d3
CD
195592013-02-08 Carlos O'Donell <carlos@redhat.com>
19560
19561 * nscd/connection.c (register_traced_file): Comment function.
19562 [HAVE_INOTIFY] (union __inev): Define.
19563 [HAVE_INOTIFY] (inotify_check_files): New function.
19564 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19565 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19566 clear_db_cache.
19567 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19568
b2d3c3be
CD
195692013-02-08 Carlos O'Donell <carlos@redhat.com>
19570
19571 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19572 loaded if not already and that a failure is permanent.
19573
b39949d2
CD
195742013-02-08 Carlos O'Donell <carlos@redhat.com>
19575
ddacd1db 19576 [BZ #15006]
b39949d2
CD
19577 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19578 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19579
b2c9eff4
JM
195802013-02-08 Joseph Myers <joseph@codesourcery.com>
19581
f3aae3f3
JM
19582 [BZ #13550]
19583 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19584 (CHECK_1_NULL_OK): Likewise.
19585 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19586 (__fxstat): Do not use CHECK_1.
19587 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19588 <bp-checks.h>.
19589 (___fxstat64): Do not use CHECK_1.
19590 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19591 <bp-checks.h>.
19592 (__fxstatat): Do not use CHECK_1.
19593 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19594 <bp-checks.h>.
19595 (__fxstatat64): Do not use CHECK_1.
19596 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19597 <bp-checks.h>.
19598 (__fxstat): Do not use CHECK_1.
19599 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19600 <bp-checks.h>.
19601 (__fxstatat): Do not use CHECK_1.
19602 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19603 <bp-checks.h>.
19604 (__getresgid): Do not use CHECK_1.
19605 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19606 <bp-checks.h>.
19607 (__getresuid): Do not use CHECK_1.
19608 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19609 <bp-checks.h>.
19610 (__lxstat): Do not use CHECK_1.
19611 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19612 <bp-checks.h>.
19613 (__old_msgctl): Do not use CHECK_1.
19614 (__new_msgctl): Likewise.
19615 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19616 <bp-checks.h>.
19617 (__new_setrlimit): Do not use CHECK_1.
19618 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19619 <bp-checks.h>.
19620 (__old_shmctl): Do not use CHECK_1.
19621 (__new_shmctl): Likewise.
19622 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19623 <bp-checks.h>.
19624 (__xstat): Do not use CHECK_1.
19625 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19626 (__lxstat): Do not use CHECK_1.
19627 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19628 <bp-checks.h>.
19629 (___lxstat64): Do not use CHECK_1.
19630 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19631 (__old_msgctl): Do not use CHECK_1.
19632 (__new_msgctl): Likewise.
19633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19634 <bp-checks.h>.
19635 (__gettimeofday): Do not use CHECK_1.
19636 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19637 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19638 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19639 <bp-checks.h>.
19640 (__gettimeofday): Do not use CHECK_1.
19641 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19642 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19643 (__new_shmctl): Do not use CHECK_1.
19644 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19645 <bp-checks.h>.
19646 (do_sigtimedwait): Do not use CHECK_1.
19647 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19648 <bp-checks.h>.
19649 (do_sigwaitinfo): Do not use CHECK_1.
19650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19651 <bp-checks.h>.
19652 (msgctl): Do not use CHECK_1.
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19654 <bp-checks.h>.
19655 (shmctl): Do not use CHECK_1.
19656 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19657 (ustat): Do not use CHECK_1.
19658 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19659 <bp-checks.h>.
19660 (__fxstat): Do not use CHECK_1.
19661 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19662 <bp-checks.h>.
19663 (__fxstatat): Do not use CHECK_1.
19664 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19665 <bp-checks.h>.
19666 (__lxstat): Do not use CHECK_1.
19667 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19668 <bp-checks.h>.
19669 (__xstat): Do not use CHECK_1.
19670 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19671 (__xstat): Do not use CHECK_1.
19672 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19673 (___xstat64): Do not use CHECK_1.
19674
b2c9eff4
JM
19675 [BZ #13550]
19676 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19677 definitions.
19678 (CHECK_BOUNDS_HIGH): Likewise.
19679 * string/strcpy.c: Do not include <bp-checks.h>.
19680 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19681
f1d70dad
RM
196822013-02-07 Roland McGrath <roland@hack.frob.com>
19683
19684 * nscd/nscd-client.h (__nscd_drop_map_ref):
19685 Add __attribute__ ((unused)).
19686 * nis/nss-nisplus.h (niserr2nss): Likewise.
19687
19688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19689 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19690
19691 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19692 Remove inline keyword.
19693 * include/rounding-mode.h (round_away): Likewise.
19694 * libio/wfileops.c (adjust_wide_data): Likewise.
19695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19696 (__m128i_strloadu_tolower): Likewise.
19697 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19698 (__m128i_strloadu_tolower): Likewise.
19699 * time/mktime.c (ydhms_diff): Likewise.
19700 * locale/elem-hash.h (elem_hash): Likewise.
19701 * locale/setlocale.c (setdata): Likewise.
19702 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19703 (re_string_wchar_at): Likewise.
19704 (bitset_not, bitset_merge, bitset_mask): Likewise.
19705 [!(__GNUC__ > 3)] (inline): Remove macro.
19706 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19707 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19708 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19709 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19710 * string/memcmp.c (memcmp_bytes): Likewise.
19711 * locale/programs/locarchive.c (compute_hashval): Likewise.
19712 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19713 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19714 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19715 * nss/getent.c (print_rpc, print_protocols): Likewise.
19716 (print_passwd, print_group, print_aliases): Likewise.
19717 * nis/nss-nisplus.h (niserr2nss): Likewise.
19718 * nscd/connections.c (restart_p): Likewise.
19719 Change return type to bool.
19720
eab55bfb
RM
197212013-02-05 Roland McGrath <roland@hack.frob.com>
19722
7bd642f5
RM
19723 * Makeconfig (all-Depend-files): Add existing
19724 $(sorted-subdirs:=/Depend) files.
19725 (all-subdirs): Remove nss.
19726 * sysdeps/unix/inet/Subdirs: Add it here instead.
19727 * hesiod/Depend: New file.
19728
573c29b2
RM
19729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19730 instead of calling alloca.
19731
b2e25af0
RM
19732 * io/lseek.c (__lseek): Rename to __libc_lseek.
19733 Define __lseek as an alias.
19734
eab55bfb
RM
19735 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19736
9a0d1941
CD
197372013-02-04 Carlos O'Donell <carlos@redhat.com>
19738
19739 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19740 else clause and remove check for non-standard endianness.
19741
b83bbec4
DM
197422013-02-04 David S. Miller <davem@davemloft.net>
19743
19744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19745
6277fdab
JM
197462013-02-04 Joseph Myers <joseph@codesourcery.com>
19747
19748 [BZ #13550]
19749 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19750 (__ubp_memchr): Remove prototype.
19751 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19752 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19753 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19754 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19755 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19756 Remove alias.
19757 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19758 (__ubp_memchr): Likewise.
19759 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19760 (__ubp_memchr): Likewise.
19761 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19762 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19763 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19764 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19765 CHECK_STRING.
19766 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19767 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19768 (__getcwd): Do not use CHECK_STRING.
19769 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19770 <bp-checks.h>.
19771 (__real_chown): Do not use CHECK_STRING.
19772 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19773 <bp-checks.h>.
19774 (fchownat): Do not use CHECK_STRING.
19775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19776 CHECK_STRING.
19777 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19778 <bp-checks.h>.
19779 (__lchown): Do not use CHECK_STRING.
19780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19782 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19783 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19785 include <bp-checks.h>.
19786 (truncate64): Do not use CHECK_STRING.
19787 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19788 <bp-checks.h>.
19789 (__real_chown): Do not use CHECK_STRING.
19790 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19791 <bp-checks.h>.
19792 (__lchown): Do not use CHECK_STRING.
19793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19794 <bp-checks.h>.
19795 (__chown): Do not use CHECK_STRING.
19796 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19797 <bp-checks.h>.
19798 (truncate64): Do not use CHECK_STRING.
19799 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19800 Likewise.
19801 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19802 (__xmknod): Do not use CHECK_STRING.
19803 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19804 <bp-checks.h>.
19805 (__xmknodat): Do not use CHECK_STRING.
19806 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19807 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19808
903ae060
AS
198092013-02-04 Andreas Schwab <schwab@suse.de>
19810
19811 [BZ #14142]
19812 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19813 * include/netdb.h: Likewise for h_errno.
19814 * elf/tst-stackguard1.c: Include <tls.h>.
19815
542f9466
JK
198162013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19817
19818 * elf/link.h (struct link_map): Extend the l_addr comment.
19819 * include/link.h (struct link_map): Likewise.
19820
e782a927
JM
198212013-02-01 Joseph Myers <joseph@codesourcery.com>
19822
19823 [BZ #13550]
19824 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19825 (BOUNDED_1): Remove macro.
19826 * debug/backtrace.c: Don't include <bp-checks.h>.
19827 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19828 (__backtrace): Likewise.
19829 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19830 <bp-checks.h>.
19831 (__backtrace): Don't use BOUNDED_1.
19832 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19833 <bp-checks.h>.
19834 (__backtrace): Don't use BOUNDED_1.
19835 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19836 (__backtrace): Don't use BOUNDED_1.
19837 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19838 (shmat): Don't use BOUNDED_N.
19839
8cf28c5e
JM
198402013-01-31 Joseph Myers <joseph@codesourcery.com>
19841
3a7ac8a0
JM
19842 [BZ #13550]
19843 * sysdeps/generic/bp-start.h: Remove file.
19844 * csu/libc-start.c: Don't include <bp-start.h>.
19845 (LIBC_START_MAIN): Set up __environ directly instead of using
19846 INIT_ARGV_and_ENVIRON.
19847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19848 <bp-start.h>.
19849
f3499f95
JM
19850 [BZ #13550]
19851 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19852 definitions.
19853 (CHECK_FCNTL): Likewise.
19854 (CHECK_N_PAGES): Likewise.
19855
32a45bea
JM
19856 [BZ #13550]
19857 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19858 definitions.
19859 (CHECK_SIGSET_NULL_OK): Likewise.
19860 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19861 <bp-checks.h>.
19862 (sigpending): Don't use CHECK_SIGSET.
19863 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19864 <bp-checks.h>.
19865 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19866 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19867 <bp-checks.h>.
19868 (do_sigsuspend): Don't use CHECK_SIGSET.
19869 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19870 use CHECK_SIGSET.
19871 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19872 (do_sigwait): Don't use CHECK_SIGSET.
19873 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19874 use CHECK_SIGSET.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19876 include <bp-checks.h>.
19877 (sigpending): Don't use CHECK_SIGSET.
19878 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19879 include <bp-checks.h>.
19880 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19881 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19882 <bp-checks.h>.
19883 (sigpending): Don't use CHECK_SIGSET.
19884 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19885 <bp-checks.h>.
19886 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19887
2e8a5c8c
JM
19888 [BZ #13550]
19889 * sysdeps/generic/bp-semctl.h: Remove file.
19890 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19891 <bp-checks.h> and <bp-semctl.h>.
19892 (__old_semctl): Don't use CHECK_SEMCTL.
19893 (__new_semctl): Likewise.
19894 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19895 and <bp-semctl.h>.
19896 (__old_semctl): Don't use CHECK_SEMCTL.
19897 (__new_semctl): Likewise.
19898 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19899 <bp-checks.h> and <bp-semctl.h>.
19900 (__old_semctl): Don't use CHECK_SEMCTL.
19901 (__new_semctl): Likewise.
19902 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19903 <bp-checks.h> and <bp-semctl.h>.
19904 (semctl): Don't use CHECK_SEMCTL.
19905
c2d54929
JM
19906 [BZ #13550]
19907 * Makerules (elide-bp-thunks): Remove variable.
19908 (elide-routines.oS): Don't use $(elide-bp-thunks).
19909 (elide-routines.os): Likewise.
19910 (elide-routines.o): Likewise.
19911 (elide-routines.op): Likewise.
19912 (elide-routines.og): Likewise.
19913 (objects): Don't use $(bp-thunks).
19914 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19915 include.
19916 (common-generated): Do not add s-proto-bp.d.
19917 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19918 (int): Likewise.
19919 (typ): Likewise.
19920 Do not generate makefile rules for bounded-pointer thunks.
19921 * sysdeps/generic/bp-thunks.h: Remove file.
19922 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19923 * sysdeps/unix/s-proto-bp.S: Likewise.
19924
8cf28c5e
JM
19925 [BZ #15062]
19926 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19927 parts of result separately when argument is not close to line from
19928 -i to i and one part of argument is small.
19929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19931 * math/libm-test.inc (cacos_test): Add more tests.
19932 (casin_test): Likewise.
19933 (casinh_test): Likewise.
19934 * sysdeps/i386/fpu/libm-test-ulps: Update.
19935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19936
c4e33b8d
DM
199372013-01-31 David S. Miller <davem@davemloft.net>
19938
19939 * po/de.po: Update from translation team.
19940
3b60b421
MK
199412013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19942
19943 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19944
bb931195
TS
199452013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19946
b5a5da23
TS
19947 * configure.in (_AC_PROG_CC_C89): New definition.
19948 * configure: Regenerate.
19949
bb931195
TS
19950 * configure.in (AC_PROG_CPP): New definition.
19951 * configure: Regenerate.
19952
8c53a12c
JM
199532013-01-23 Joseph Myers <joseph@codesourcery.com>
19954
19955 * debug/tst-backtrace.h: New file.
19956 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19957 (ret): Remove variable.
19958 (x): Likewise.
19959 (FAIL): Remove macro.
19960 (NO_INLINE): Likewise.
19961 (fn1): Use match function instead of strstr.
19962 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19963 (ret): Remove variable.
19964 (x): Likewise.
19965 (FAIL): Remove macro.
19966 (NO_INLINE): Likewise.
19967 (fn): Use match function instead of strstr.
19968 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19969 (ret): Remove variable.
19970 (x): Likewise.
19971 (FAIL): Remove macro.
19972 (NO_INLINE): Likewise.
19973 (handle_signal): Use match function instead of strstr.
19974 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19975 (ret): Remove variable.
19976 (x): Likewise.
19977 (FAIL): Remove macro.
19978 (NO_INLINE): Likewise.
19979 (handle_signal): Use match function instead of strstr.
19980
4858fa2a
RM
199812013-01-23 Roland McGrath <roland@hack.frob.com>
19982
19983 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19984
bae8e7f5
DM
199852013-01-23 David S. Miller <davem@davemloft.net>
19986
19987 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19988 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19989 argument of CAS if possible.
19990 * sysdeps/sparc/sparc64/bits/atomic.h
19991 (__arch_compare_and_exchange_val_32_acq): Likewise.
19992 (__arch_compare_and_exchange_val_64_acq): Likewise.
19993
9cbbc4ae
PT
199942013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19995
19996 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19997 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19998 Include <limits.h>.
67b3f58c 19999 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 20000
5655a0b5
AC
200012013-01-23 Adam Conrad <adconrad@0c3.net>
20002
20003 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20004 (LDFLAGS-tst-array5): Likewise.
20005
052aff95
JM
200062013-01-23 Joseph Myers <joseph@codesourcery.com>
20007
20008 [BZ #15036]
20009 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20010 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20011 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20012 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20013
7c1e01aa
DM
200142013-01-21 David S. Miller <davem@davemloft.net>
20015
20016 * sysdeps/sparc/backtrace.c: New file.
20017 * sysdeps/sparc/sparc32/backtrace.h: New file.
20018 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20019 * sysdeps/sparc/sparc64/backtrace.h: New file.
20020 * sysdeps/sparc/sparc64/backtrace.c: Delete.
20021 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20022 -funwind-tables.
20023
ab087e0a
AS
200242013-01-21 Andreas Schwab <schwab@suse.de>
20025
20026 [BZ #15020]
20027 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20028 closed its stdout.
20029
ed689c2f
AS
200302013-01-20 Andreas Schwab <schwab@linux-m68k.org>
20031
20032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20033 "mpa2.h".
20034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20035
31d470ac
JM
200362013-01-18 Joseph Myers <joseph@codesourcery.com>
20037 Mark Mitchell <mark@codesourcery.com>
20038 Tom de Vries <tom@codesourcery.com>
20039 Paul Pluzhnikov <ppluzhnikov@google.com>
20040
20041 * debug/tst-backtrace2.c: New file.
20042 * debug/tst-backtrace3.c: Likewise.
20043 * debug/tst-backtrace4.c: Likewise.
20044 * debug/tst-backtrace5.c: Likewise.
20045 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20046 (CFLAGS-tst-backtrace3.c): Likewise.
20047 (CFLAGS-tst-backtrace4.c): Likewise.
20048 (CFLAGS-tst-backtrace5.c): Likewise.
20049 (LDFLAGS-tst-backtrace2): Likewise.
20050 (LDFLAGS-tst-backtrace3): Likewise.
20051 (LDFLAGS-tst-backtrace4): Likewise.
20052 (LDFLAGS-tst-backtrace5): Likewise.
20053 (tests): Add new tests tst-backtrace2, tst-backtrace3,
20054 tst-backtrace4 and tst-backtrace5.
20055
90567f30 200562013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
20057 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20058
20059 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20060 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20061 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20062 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20064 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20065 "+r" and remove output regs list as redundant. Add explicit inline
20066 asm to specify register of return val to work around compiler codegen
20067 bug. Remove (int) cast on return value. Add return type parameter to
20068 use in macro so that this macro does not truncate return value for
20069 64-bit values.
20070 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20071 pass to INTERNAL_VSYSCALL_NCS.
20072 (INLINE_VSYSCALL): Add 'long int' as return type to
20073 INTERNAL_VSYSCALL_NCS macro invocation.
20074 (INTERNAL_VSYSCALL): Add 'long int' as return type to
20075 INTERNAL_VSYSCALL_NCS macro invocation.
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20077
d3b9ea61
SP
200782013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20079
0b57daeb
SP
20080 [BZ #14496]
20081 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20082 Fix application of SIMD FP exception mask.
20083
caa99d06
SP
20084 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20085 mp_no from a power of two.
20086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20087 __mpexp_twomm1. Use __pow_mp.
20088
d3b9ea61
SP
20089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20090 multiplication.
20091
1dbaee3c
DM
200922013-01-17 David S. Miller <davem@davemloft.net>
20093
20094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20095
728d7b43
JM
200962013-01-17 Joseph Myers <joseph@codesourcery.com>
20097
20098 [BZ #15023]
20099 * include/complex.h: Condition contents on [!_COMPLEX_H].
20100 (__kernel_casinhf): New prototype.
20101 (__kernel_casinh): Likewise.
20102 (__kernel_casinhl): Likewise.
20103 * math/Makefile (libm_calls): Add k_casinh.
20104 * math/k_casinh.c: New file.
20105 * math/k_casinhf.c: Likewise.
20106 * math/k_casinhl.c: Likewise.
20107 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20108 finite nonzero arguments.
20109 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20110 finite nonzero arguments.
20111 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20112 finite nonzero arguments.
20113 * math/s_casinh.c: Do not include <float.h>.
20114 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20115 * math/s_casinhf.c: Do not include <float.h>.
20116 (__casinhf): Move code for finite nonzero arguments to
20117 k_casinhf.c.
20118 * math/s_casinhl.c: Do not include <float.h>.
20119 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20120 redefine.
20121 (__casinhl): Move code for finite nonzero arguments to
20122 k_casinhl.c.
20123 * math/libm-test.inc (cacos_test): Add more tests.
20124 * sysdeps/i386/fpu/libm-test-ulps: Update.
20125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20126
2a26ef3a
PT
201272013-01-17 Pino Toscano <toscano.pino@tiscali.it>
20128
20129 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20130 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20131 [!HAVE_MREMAP]: Remove [defined linux] case.
20132 * malloc/arena.c: Do not include <malloc-sysdep.h>.
20133
a897655d
SP
201342013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20135
20136 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20137
881ebe89 201382013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
20139
20140 * elf/elf.h (R_386_SIZE32): New relocation.
20141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20142 R_386_SIZE32.
20143 (elf_machine_rela): Likewise.
20144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20145 R_X86_64_SIZE64 and R_X86_64_SIZE32.
20146
59981e9b
JM
201472013-01-17 Joseph Myers <joseph@codesourcery.com>
20148
20149 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20150 (FP_FAST_FMA): Do not define.
20151 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20152 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20153 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20154 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20155 !_SOFT_FLOAT]: Likewise.
20156 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20158 value.
20159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20160 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20163 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20164 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20165 file.
20166
cfa8054f
AS
201672013-01-16 Andreas Schwab <schwab@suse.de>
20168
20169 [BZ #14327]
20170 * include/stdlib.h (__mktemp): Add declaration.
20171 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20172 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20173
dd930cc5
SP
201742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20175
881ebe89
SP
20176 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20177 definitions.
20178 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20179 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20180 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20181 definitions here.
20182 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20183 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20184 definitions.
20185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20186 and ONE.
20187 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20188 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20190 definitions.
20191 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20192 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20193 definitions.
20194 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 20195
dd930cc5
SP
20196 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20197
c19a9f89
DM
201982013-01-15 David S. Miller <davem@davemloft.net>
20199
1aa61767
DM
20200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20201 trunc{,f} to libm-sysdep_routes.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20204 file.
20205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20207 file.
20208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20209 file.
20210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20215 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20216 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20217 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20218
c42d5e98
DM
20219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20220 nearbyint{,f} to libm-sysdep_routes.
20221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20223 New file.
20224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20225 file.
20226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20227 New file.
20228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20229 file.
20230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20233 file.
20234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20236 file.
20237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20239 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20240
c19a9f89
DM
20241 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20242 libc_feholdexcept and libc_fesetenv.
20243
357679d2
MF
202442013-01-15 Mike Frysinger <vapier@gentoo.org>
20245
20246 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20247
65a82e3d
DM
202482013-01-14 David S. Miller <davem@davemloft.net>
20249
8b954ab9
DM
20250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20251 (SPARC_ASM_VIS2_IFUNC): Likewise.
20252 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20254 use of 'siam' instruction.
20255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20256 Likewise.
20257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20258 Likewise.
20259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20260 Likewise.
20261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20266 file.
20267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20268 file.
20269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20270 file.
20271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20272 file.
20273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20278 new VIS2 routines.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20282 Likewise.
20283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20288 routines to libm-sysdep_routines.
20289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20290
65a82e3d
DM
20291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20292 fdim/fdimf to libm-sysdep_routines.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20294 file.
20295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20297 file.
20298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20301 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20302 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20303 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20304 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20305
e34ab705
SP
203062013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20307
2a91b573
SP
20308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20309 to optimize copies.
20310
1066a534
SP
20311 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20314
e34ab705
SP
20315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20316 local variable MPTWO.
20317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20318 Likewise.
20319
aba5e596
MF
203202013-01-13 Mike Frysinger <vapier@gentoo.org>
20321
20322 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20323 GLOB_NOESCAPE.
20324
e557e9e5
MF
203252013-01-13 Mike Frysinger <vapier@gentoo.org>
20326
20327 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20328
0428cec9
MF
203292013-01-13 Mike Frysinger <vapier@gentoo.org>
20330
20331 * manual/pattern.texi (glob_t): Document gl_flags.
20332 (glob64_t): Likewise.
20333
8794a964
DM
203342013-01-11 David S. Miller <davem@davemloft.net>
20335
66438c3f
RM
20336 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20338 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
20339 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20340 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20341 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20343 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20345 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20347 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20348 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20349
4ae4244d
DM
20350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20351 sparc V9 rather than using V8 code.
20352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20354
8794a964
DM
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20356 Move to...
20357 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20358 Here.
20359
6270516e
RM
203602013-01-11 Roland McGrath <roland@hack.frob.com>
20361
20362 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20363 not in the main loop.
20364 * configure: Regenerated.
20365
6a57d931
JM
203662013-01-11 Joseph Myers <joseph@codesourcery.com>
20367
20368 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20369 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20370 to just #else.
20371 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20372 [!__GLIBC_HAVE_LONG_LONG] case.
20373 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20374 condition to just #else.
20375 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20376 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20377 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20378 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20379 unconditional.
20380 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20381 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20382 #elif condition to just #else.
20383 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20384 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20385 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20386 #elif condition to just #else.
20387
0e8529e9
SE
203882013-01-11 Steve Ellcey <sellcey@mips.com>
20389
20390 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20391 (EF_MIPS_ARCH_64): Fix value.
20392 (EF_MIPS_ARCH_32R2): New.
20393 (EF_MIPS_ARCH_64R2): New.
20394
740b3dbe
L
203952013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20396
20397 * Makeconfig (+link-pie-before-libc): New.
20398 (+link-pie-after-libc): Likewise.
20399 (+link-pie-tests): Likewise.
20400 (+link-pie): Rewritten.
20401 (link-before-libc): Remove $(config-LDFLAGS).
20402 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20403 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20404 (config-LDFLAGS): Renamed to ...
20405 (rtld-LDFLAGS): This.
20406 (rtld-tests-LDFLAGS): New macro.
20407 (link-libc-rpath-link): Likewise.
20408 (link-libc-tests-rpath-link): Likewise.
20409 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20410 (link-libc): Prepand $(link-libc-rpath-link).
20411 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20412 (test-program-prefix): New macro.
20413 (test-via-rtld-prefix): Likewise.
20414 (test-program-cmd): Likewise.
20415 (host-test-program-cmd): Likewise.
20416 * Makefile ($(common-objpfx)testrun.sh): Replace
20417 $(run-program-prefix) with $(test-program-prefix).
20418 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20419 $(rtld-LDFLAGS).
20420 ($(common-objpfx)shlib.lds): Likewise.
20421 (build-module-helper): Likewise.
20422 ($(common-objpfx)format.lds): Likewise.
20423 * Rules (binaries-pie-tests): New.
20424 (binaries-pie-notests): Likewise.
20425 (binaries-pie): Rewritten.
20426 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20427 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20428 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20429 (make-test-out): Replace $(host-built-program-cmd) with
20430 $(host-test-program-cmd).
20431 * config.make.in (build-hardcoded-path-in-tests): New variable.
20432 * configure.in (--enable-hardcoded-path-in-tests): New configure
20433 option.
20434 (hardcoded_path_in_tests): New AC_SUBST.
20435 * configure: Regenerated.
20436 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20437 $(built-program-cmd) with $(test-program-cmd).
20438 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20439 (test_program_cmd): This.
20440 * elf/Makefile ($(objpfx)order.out): Run test with
20441 $(test-program-prefix).
20442 ($(objpfx)order2.out): Likewise.
20443 ($(objpfx)tst-initorder.out): Likewise.
20444 ($(objpfx)tst-initorder2.out): Likewise.
20445 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20446 $(test-program-cmd).
20447 ($(objpfx)tst-array1-static.out): Likewise.
20448 ($(objpfx)tst-array2.out): Likewise.
20449 ($(objpfx)tst-array3.out): Likewise.
20450 ($(objpfx)tst-array4.out): Likewise.
20451 ($(objpfx)tst-array5.out): Likewise.
20452 ($(objpfx)tst-array5-static.out): Likewise.
20453 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20454 $(test-program-cmd).
20455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20456 $(run-program-prefix) with $(test-program-prefix).
20457 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20458 (test_program_prefix): This.
20459 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20460 $(run-program-prefix) with $(test-program-prefix).
20461 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20462 (test_program_prefix): This.
20463 * iconvdata/tst-tables.sh: Likewise.
20464 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20465 $(run-program-prefix) with $(test-program-prefix).
20466 ($(objpfx)tst-translit.out): Likewise.
20467 ($(objpfx)tst-gettext2.out): Likewise.
20468 ($(objpfx)tst-gettext4.out): Likewise.
20469 ($(objpfx)tst-gettext6.out): Likewise.
20470 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20471 (test_program_prefix): This.
20472 * intl/tst-gettext2.sh: Likewise.
20473 * intl/tst-gettext4.sh Likewise.
20474 * intl/tst-gettext6.sh: Likewise.
20475 * intl/tst-translit.sh: Likewise.
20476 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20477 with $(test-program-cmd).
20478 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20479 $(run-program-prefix) with $(test-program-prefix).
20480 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20481 (test_program_prefix): This.
20482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20483 $(run-program-prefix) with $(test-program-prefix).
20484 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20485 (test_program_prefix): This.
20486 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20487 * posix/Makefile ($(objpfx)globtest.out): Replace
20488 $(run-via-rtld-prefix) and $(test-wrapper) with
20489 $(test-program-prefix) and $(test-via-rtld-prefix).
20490 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20491 $(test-program-prefix).
20492 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20493 $(host-test-program-cmd).
20494 (tst-spawn-ARGS): Likewise.
20495 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20496 $(test-program-prefix).
20497 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20498 (test_via_rtld_prefix): This.
20499 (test_wrapper): Renamed to ...
20500 (test_program_prefix): This.
20501 (run_program_prefix): Replaced by test_program_prefix.
20502 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20503 (test_program_prefix): This.
20504 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20505 with $(host-test-program-cmd).
20506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20507 $(run-program-prefix) with $(test-program-prefix).
20508 ($(objpfx)tst-printf.out): Likewise.
20509 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20510 $(test-program-cmd).
20511 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20512 (test_program_prefix): This.
20513 * stdio-common/tst-unbputc.sh: Likewise.
20514 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20515 $(run-program-prefix) with $(test-program-prefix).
20516 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20517 (test_program_prefix): This.
20518 * string/Makefile ($(objpfx)tst-svc.out): Replace
20519 $(built-program-cmd) with $(test-program-cmd).
20520
c6fe55cf
AJ
205212013-01-11 Andreas Jaeger <aj@suse.de>
20522
20523 [BZ #15003]
20524 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20525 value. Sync with Linux 3.7.
20526
9e6919c8
DM
205272013-01-10 David S. Miller <davem@davemloft.net>
20528
20529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20532
1c9f1a02
RM
205332013-01-10 Roland McGrath <roland@hack.frob.com>
20534
20535 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20536 never set.
20537 * configure: Regenerated.
20538
b9de2dde
DM
205392013-01-10 David S. Miller <davem@davemloft.net>
20540
20541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20542 sparc V9 rather than using V8 code.
20543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20545
e7f68ef4
RM
205462013-01-10 Roland McGrath <roland@hack.frob.com>
20547
20548 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20549 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20550 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20551 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20552 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20553 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20554 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20555 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20556 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20557 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20558 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20559 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20560 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20561 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20562 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20563 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20564 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20565 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20566 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20567 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20568 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20569 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20570 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20571 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20572 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20573 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20574 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20575
5a47cc9c
DM
205762013-01-10 David S. Miller <davem@davemloft.net>
20577
20578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20579
4cf8f209
L
205802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20581
20582 * posix/Makefile (tests-static): New variable.
20583 (tests): Add $(tests-static).
20584 (tst-exec-static-ARGS): New variable.
20585 (tst-spawn-static-ARGS): Likewise.
20586 * posix/tst-exec-static.c: New file.
20587 * posix/tst-spawn-static.c: Likewise.
20588 * posix/tst-exec.c: Support run directly.
20589 * posix/tst-spawn.c: Likewise.
20590
fed0faa1
JM
205912013-01-10 Joseph Myers <joseph@codesourcery.com>
20592
828beb13
JM
20593 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20594 long.
20595 * math/bits/mathcalls.h (llrint): Likewise.
20596 (llround): Likewise.
20597 * stdlib/stdlib.h (struct drand48_data): Likewise.
20598 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20599 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20600 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20601 Likewise.
20602 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20603 Likewise.
20604 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20605 (elf_greg_t): Likewise.
20606 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20607 (__jmp_buf): Likewise.
20608 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20609 definitions.
20610 (llrint): Likewise, for all definitions.
20611 (llrintl): Likewise.
20612
fed0faa1
JM
20613 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20614 Remove [__GNUC__] condition.
20615 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20616 condition to just [__USE_ISOC99].
20617 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20618
1a20cb20
L
206192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 [BZ #14200]
20622 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20623 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20624 defined.
20625 (_POSIX_V6_ILP32_OFF32): Likewise.
20626 (_XBS5_ILP32_OFF32): Likewise.
20627 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20628 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20629
751b85f7
SP
206302013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20631
7490eb81
SP
20632 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20633
751b85f7
SP
20634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20635 doubles __mpexp_twomm1. Adjust usage.
20636 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20637 Remove.
20638
988197f0
AS
206392013-01-10 Andreas Schwab <schwab@suse.de>
20640
20641 [BZ #14964]
20642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20643 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20644
e83d7298
DM
206452013-01-09 David S. Miller <davem@davemloft.net>
20646
034ed64b 20647 [BZ #15003]
57f41c40
AS
20648 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20649 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20650 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20651 (TCP_FASTOPEN): Define.
e83d7298
DM
20652 (tcp_repair_opt): New structure.
20653 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20654 enum values.
57f41c40
AS
20655 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20656 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20657 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
20658 (tcp_cookie_transactions): New structure.
20659
d5e0b9bd
AB
206602013-01-09 Anton Blanchard <anton@samba.org>
20661
20662 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20666
0c07e3ea
JM
206672013-01-09 Joseph Myers <joseph@codesourcery.com>
20668
20669 * include/features.h (__USE_ANSI): Remove.
20670
232f7002
RM
206712013-01-09 Roland McGrath <roland@hack.frob.com>
20672
ad98e30c
RM
20673 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20674
232f7002
RM
20675 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20676
950c99ca
SP
206772013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20678
b5792741
SP
20679 * sysdeps/s390/fpu/libm-test-ulps: Update.
20680
47cf2278
SP
20681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20682
950c99ca
SP
20683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20684 (__acr): Likewise.
20685 (__cpy): Likewise.
20686 (norm): Likewise.
20687 (denorm): Likewise.
20688 (__mp_dbl): Likewise.
20689 (__dbl_mp): Likewise.
20690 (add_magnitudes): Likewise.
20691 (sub_magnitudes): Likewise.
20692 (__add): Likewise.
20693 (__sub): Likewise.
20694 (__mul): Likewise.
20695 (__inv): Likewise.
20696 (__dvd): Likewise.
20697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20698 (__acr): Likewise.
20699 (__cpy): Likewise.
20700 (norm): Likewise.
20701 (denorm): Likewise.
20702 (__mp_dbl): Likewise.
20703 (__dbl_mp): Likewise.
20704 (add_magnitudes): Likewise.
20705 (sub_magnitudes): Likewise.
20706 (__add): Likewise.
20707 (__sub): Likewise.
20708 (__mul): Likewise.
20709 (__inv): Likewise.
20710 (__dvd): Likewise.
20711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20712 (__acr): Likewise.
20713 (__cpy): Likewise.
20714 (norm): Likewise.
20715 (denorm): Likewise.
20716 (__mp_dbl): Likewise.
20717 (__dbl_mp): Likewise.
20718 (add_magnitudes): Likewise.
20719 (sub_magnitudes): Likewise.
20720 (__add): Likewise.
20721 (__sub): Likewise.
20722 (__mul): Likewise.
20723 (__inv): Likewise.
20724 (__dvd): Likewise.
20725
eede9df9
JM
207262013-01-08 Joseph Myers <joseph@codesourcery.com>
20727
20728 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20729 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20730 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20731 2 && __USE_EXTERN_INLINES]: Likewise.
20732
c40ea3d9
AJ
207332013-01-08 Andreas Jaeger <aj@suse.de>
20734
20735 [BZ# 14985]
20736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20737 Remove.
20738 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20739 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20740
2ccdea26
AB
207412013-01-07 Anton Blanchard <anton@samba.org>
20742
20743 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20744 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20745 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20749 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20750 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20759 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20763 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20766 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20767 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20769 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20772 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20773 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20781 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20786
a9708fed
JM
207872013-01-07 Joseph Myers <joseph@codesourcery.com>
20788
375607b9
JM
20789 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20790 (__MALLOC_PMT): Likewise.
20791 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20792 [__GNUC__], only on [_LIBC].
20793 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20794 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20795 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20796 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20797 forward declaration.
20798 (realloc_hook_ini): Likewise.
20799 (memalign_hook_ini): Likewise.
20800 (__libc_memalign): Do not use __MALLOC_PMT in variable
20801 declaration.
20802 (__libc_valloc): Likewise.
20803 (__libc_pvalloc): Likewise.
20804 (__libc_calloc): Likewise.
20805 (__posix_memalign): Likewise.
20806
a9708fed
JM
20807 [BZ #14996]
20808 * math/s_casinh.c: Include <float.h>.
20809 (__casinh): Do not do computation with squaring and square root
20810 for large arguments.
20811 * math/s_casinhf.c: Include <float.h>.
20812 (__casinhf): Do not do computation with squaring and square root
20813 for large arguments.
20814 * math/s_casinhl.c: Include <float.h>.
20815 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20816 (__casinhl): Do not do computation with squaring and square root
20817 for large arguments.
20818 * math/libm-test.inc (casin_test): Add more tests.
20819 (casinh_test): Likewise.
20820 * sysdeps/i386/fpu/libm-test-ulps: Update.
20821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20822
afec409a
L
208232013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20826 (__x86_64_raw_data_cache_size): Likewise.
20827 (__x86_64_data_cache_size_half): Likewise.
20828 (__x86_64_raw_data_cache_size_half): Likewise.
20829 (__x86_64_shared_cache_size): Likewise.
20830 (__x86_64_raw_shared_cache_size): Likewise.
20831 (__x86_64_shared_cache_size_half): Likewise.
20832 (__x86_64_raw_shared_cache_size_half): Likewise.
20833 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20834 to ...
20835 (__x86_data_cache_size): This.
20836 (__x86_64_raw_data_cache_size): Renamed to ...
20837 (__x86_raw_data_cache_size): This.
20838 (__x86_64_data_cache_size_half): Renamed to ...
20839 (__x86_data_cache_size_half): This.
20840 (__x86_64_raw_data_cache_size_half): Renamed to ...
20841 (__x86_raw_data_cache_size_half): This.
20842 (__x86_64_shared_cache_size): Renamed to ...
20843 (__x86_shared_cache_size): This.
20844 (__x86_64_raw_shared_cache_size): Renamed to ...
20845 (__x86_raw_shared_cache_size): This.
20846 (__x86_64_shared_cache_size_half): Renamed to ...
20847 (__x86_shared_cache_size_half): This.
20848 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20849 (__x86_raw_shared_cache_size_half): This.
20850 * sysdeps/x86_64/memcpy.S: Updated.
20851 * sysdeps/x86_64/memset.S: Likewise.
20852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20855
0b3986d0
DM
208562013-01-04 David S. Miller <davem@davemloft.net>
20857
20858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20859
e47686e9
AS
208602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20861
d643bac1
AS
20862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20863 1 to avoid redefinition warning.
20864 (__USE_GNU): Don't define.
20865 (init_signaling_nan): Protoize.
20866
e47686e9
AS
20867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20868
b18decba
SP
208692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20870
fffb407f
SP
20871 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20873 (__cpymn): Likewise.
20874 (norm): Remove commented code.
20875 (denorm): Likewise.
20876 (__mp_dbl): Likewise.
20877 (__inv): Likewise.
20878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20879 (__cpymn): Likewise.
20880 (norm): Remove commented code.
20881 (denorm): Likewise.
20882 (__mp_dbl): Likewise.
20883 (__inv): Likewise.
20884
b18decba
SP
20885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20886 mp_no value for 1.0 and 2.0.
20887 (norm): Use RADIXI instead of radixi.d.
20888 (denorm): Likewise.
20889 (__mul): Use 0.0 instead of zero.d.
20890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20891 mp_no value for 1.0 and 2.0.
20892 (norm): Use RADIXI instead of radixi.d.
20893 (denorm): Likewise.
20894 (__mul): Use 0.0 instead of zero.d.
20895
cdc1c96f
JM
208962013-01-04 Joseph Myers <joseph@codesourcery.com>
20897
20898 [BZ #14994]
20899 * math/s_casinh.c (__casinh): Reduce finite argument to first
20900 quadrant then set signs of results at the end.
20901 * math/s_casinhf.c (__casinhf): Likewise.
20902 * math/s_casinhl.c (__casinhl): Likewise.
20903 * math/libm-test.inc (casin_test): Add more tests.
20904 (casinh_test): Likewise.
20905 * sysdeps/i386/fpu/libm-test-ulps: Update.
20906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907
302913e1
SP
209082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20909
6420d207
SP
20910 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20911
a9e48ab4
SP
20912 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20913
b7837264
SP
20914 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20915 declarations.
20916 (denorm): Likewise.
20917 (__mp_dbl): Likewise.
20918 (__inv): Likewise.
20919
f8af25d2
SP
20920 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20921 and adjust the header comment.
20922
302913e1
SP
20923 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20924 variable name from declaration.
20925
5d7dd1ca
L
209262013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20927
20928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20929 Initialize COMMON_CPUID_INDEX_7 element.
20930 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20931 (CPUID_RTM): Likewise.
20932 (HAS_RTM): Likewise.
20933 (COMMON_CPUID_INDEX_7): New enum.
20934
2f5f40f4
AS
209352013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20936
20937 [BZ #14981]
20938 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20939 size is zero, record memory as freed.
20940
4056f4a0
AJ
209412013-01-03 Andreas Jaeger <aj@suse.de>
20942
20943 * po/ia.po: Add new Interlingua translation.
20944
ab15736f 209452012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20946
20947 * locale/programs/localedef.c: Fix description of '--posix' flag.
20948
568035b7
JM
209492013-01-02 Joseph Myers <joseph@codesourcery.com>
20950
e6898b8d
JM
20951 * NEWS: Update dates in second copyright notice.
20952 * README: Update copyright dates in example.
20953 * manual/libc.texinfo: Update copyright dates.
20954 * scripts/test-installation.pl: Update copyright date in --version
20955 output.
20956
0e2f9562
JM
20957 * hurd/ctty-input.c: Fix copyright notice formatting.
20958 * hurd/ctty-output.c: Likewise.
20959 * hurd/dtable.c: Likewise.
20960 * hurd/hurd-raise.c: Likewise.
20961 * hurd/hurdprio.c: Likewise.
20962 * hurd/msgportdemux.c: Likewise.
20963 * misc/sys/file.h: Likewise.
20964 * misc/sys/ioctl.h: Likewise.
20965 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20966 * sysdeps/mach/hurd/chdir.c: Likewise.
20967 * sysdeps/mach/hurd/fchdir.c: Likewise.
20968 * sysdeps/mach/hurd/rename.c: Likewise.
20969 * sysdeps/mach/hurd/rmdir.c: Likewise.
20970 * sysdeps/mach/hurd/seekdir.c: Likewise.
20971 * sysdeps/mach/hurd/setsid.c: Likewise.
20972 * sysdeps/posix/wait3.c: Likewise.
20973
568035b7
JM
20974 * All files with FSF copyright notices: Update copyright dates
20975 using scripts/update-copyrights.
20976 * intl/plural.c: Regenerated.
20977 * locale/programs/charmap-kw.h: Likewise.
20978 * locale/programs/locfile-kw.h: Likewise.
20979
da08f647
SP
209802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20981
0f5477af
SP
20982 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20983 four values.
20984
44e0d4c2
SP
20985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20986 calculation loop and add branch prediction.
20987
4d55b4e5
SP
20988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20989 check access beyond bounds of m1np.
20990
da08f647
SP
20991 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20992 MPTWO.
20993 (__inv): Remove local variable MPTWO to use the global
20994 constant.
20995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20997 variable MPTWO.
20998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20999 MP3HALFS static const.
21000
8e051029
DM
210012013-01-01 David S. Miller <davem@davemloft.net>
21002
21003 * po/ca.po: Update from translation team.
21004
f4cf5f2d
JM
210052013-01-01 Joseph Myers <joseph@codesourcery.com>
21006
21007 * scripts/update-copyrights: New file.
21008 * Makeconfig: Reformat copyright notice.
21009 * ctype/ctype.h: Likewise.
21010 * debug/swprintf_chk.c: Likewise.
21011 * elf/dl-cache.c: Likewise.
21012 * elf/dl-debug.c: Likewise.
21013 * elf/dl-object.c: Likewise.
21014 * grp/initgroups.c: Likewise.
21015 * hurd/Makefile: Likewise.
21016 * hurd/hurd/signal.h: Likewise.
21017 * hurd/hurdfault.c: Likewise.
21018 * hurd/hurdioctl.c: Likewise.
21019 * hurd/hurdlookup.c: Likewise.
21020 * hurd/intr-msg.c: Likewise.
21021 * iconv/gconv_open.c: Likewise.
21022 * libio/swprintf.c: Likewise.
21023 * locale/lc-ctype.c: Likewise.
21024 * locale/nl_langinfo.c: Likewise.
21025 * mach/Machrules: Likewise.
21026 * mach/Makefile: Likewise.
21027 * malloc/obstack.h: Likewise.
21028 * manual/Makefile: Likewise.
21029 * manual/tsort.awk: Likewise.
21030 * misc/bits/stab.def: Likewise.
21031 * nis/nis_print_group_entry.c: Likewise.
21032 * nis/nis_table.c: Likewise.
21033 * nis/nss_compat/compat-pwd.c: Likewise.
21034 * nis/nss_compat/compat-spwd.c: Likewise.
21035 * po/Makefile: Likewise.
21036 * posix/fnmatch.c: Likewise.
21037 * posix/regex.h: Likewise.
21038 * resolv/Makefile: Likewise.
21039 * resolv/nss_dns/dns-network.c: Likewise.
21040 * resolv/res_hconf.c: Likewise.
21041 * scripts/gen-sorted.awk: Likewise.
21042 * soft-fp/soft-fp.h: Likewise.
21043 * stdio-common/printf.h: Likewise.
21044 * stdlib/monetary.h: Likewise.
21045 * stdlib/random.c: Likewise.
21046 * stdlib/random_r.c: Likewise.
21047 * sysdeps/generic/Makefile: Likewise.
21048 * sysdeps/gnu/Makefile: Likewise.
21049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21077 * sysdeps/mach/hurd/errnos.awk: Likewise.
21078 * sysdeps/mach/hurd/fork.c: Likewise.
21079 * sysdeps/mach/hurd/getcwd.c: Likewise.
21080 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21081 * sysdeps/mach/hurd/mmap.c: Likewise.
21082 * sysdeps/mach/hurd/utimes.c: Likewise.
21083 * sysdeps/mach/hurd/xmknod.c: Likewise.
21084 * sysdeps/posix/profil.c: Likewise.
21085 * sysdeps/posix/readdir_r.c: Likewise.
21086 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21087 * sysdeps/powerpc/bits/setjmp.h: Likewise.
21088 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21093 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21095 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21096 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21097 * sysdeps/pthread/lio_listio.c: Likewise.
21098 * sysdeps/sparc/dl-procinfo.h: Likewise.
21099 * sysdeps/unix/i386/sysdep.S: Likewise.
21100 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21101 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21102 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21103 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21107 * sysdeps/unix/sysv/linux/speed.c: Likewise.
21108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21109 * sysdeps/wordsize-32/divdi3.c: Likewise.
21110 * time/sys/time.h: Likewise.
21111 * wcsmbs/Makefile: Likewise.
21112
0549fbba
DM
211132013-01-01 David S. Miller <davem@davemloft.net>
21114
a141f1a7
DM
21115 * po/fr.po: Update from translation team.
21116
0549fbba
DM
21117 * catgets/gencat.c: Update copyright year.
21118 * csu/version.c: Likewise.
21119 * debug/catchsegv.sh: Likewise.
21120 * debug/pcprofiledump.c: Likewise.
21121 * debug/xtrace.sh: Likewise.
21122 * elf/ldconfig.c: Likewise.
21123 * elf/ldd.bash.in: Likewise.
21124 * elf/pldd.c: Likewise.
21125 * elf/sotruss.ksh: Likewise.
21126 * elf/sprof.c: Likewise.
21127 * iconv/iconv_prog.c: Likewise.
21128 * iconv/iconvconfig.c: Likewise.
21129 * locale/programs/locale.c: Likewise.
21130 * locale/programs/localedef.c: Likewise.
21131 * login/programs/pt_chown.c: Likewise.
21132 * malloc/memusage.sh: Likewise.
21133 * malloc/memusagestat.c: Likewise.
21134 * malloc/mtrace.pl: Likewise.
21135 * nscd/nscd.c: Likewise.
21136 * nss/getent.c: Likewise.
21137 * nss/makedb.c: Likewise.
21138 * posix/getconf.c: Likewise.
21139
18ea052c
SP
211402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21141
21142 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21143 numbers.
21144
9c89fca6
MF
211452012-12-30 Mike Frysinger <vapier@gentoo.org>
21146
21147 * math/bits/mathcalls.h (modf): Use __nonnull.
21148
085ec079
SP
211492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21150
21151 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21152 (split): Use macro CN instead of the bare value.
21153 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21154 could be used.
21155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21156 instead of the bare value.
21157 (power1): Likewise.
21158
6d9f97e1
SP
211592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21160
d63f73be
SP
21161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21162 __ATAN_TWOM.
21163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21164
6d9f97e1
SP
21165 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21166 their values.
21167 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21169 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21171
4c4febf5
AJ
211722012-12-28 Andreas Jaeger <aj@suse.de>
21173
af5843ef
AJ
21174 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
21175 values are from Linux 3.7.
21176
4c4febf5
AJ
21177 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21178 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
21179
99136f82
SP
211802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21181
2f216c3c 21182 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
21183 TRUE case.
21184
99136f82
SP
21185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21186 (norm): Likewise.
21187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21188 variables with preprocessor constants.
21189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21192
7fffbdff
BH
211932012-12-27 Bruno Haible <bruno@clisp.org>
21194
21195 [BZ #14317]
21196 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21197 only if needed.
21198
b76eb5f0
SP
211992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21200
31a7fe5c
SP
21201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21202 and use variable directly.
21203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21204
b76eb5f0
SP
21205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21206 MPONE.
21207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21209 variable MPONE.
21210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21212 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21213 include directive. Remove local variable MPONE.
21214 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21215 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21217
2c8bfe7d
DM
212182012-12-25 David S. Miller <davem@davemloft.net>
21219
21220 * version.h (RELEASE): Set to "development".
21221 (VERSION): Set to "2.17.90".
21222 * NEWS: Add 2.18 section.
21223
147d03b0
DM
212242012-12-21 David S. Miller <davem@davemloft.net>
21225
21226 * po/hr.po: Update from translation team.
21227
a8ebb2b9
AK
212282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21229
21230 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21231
95b4f1b6
SE
212322012-12-19 Steve Ellcey <sellcey@mips.com>
21233
b2d94007 21234 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 21235
cedb2a90
MS
212362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21237
21238 * manual/contrib.texi (Contributors): Spelling correction.
21239
bbf527d6
DM
212402012-12-15 David S. Miller <davem@davemloft.net>
21241
21242 * po/ru.po: Update from translation team.
21243
bc38c906
DM
212442012-12-13 David S. Miller <davem@davemloft.net>
21245
85429b1a
DM
21246 * NEWS: Mention IFUNC testsuite enhancements.
21247
d283e353
DM
21248 * po/pl.po: Update from translation team.
21249 * po/bg.po: Likewise.
21250
bc38c906
DM
21251 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21252 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21253
a181b0d7
DM
212542012-12-11 David S. Miller <davem@davemloft.net>
21255
4641d57e
DM
21256 * po/sv.po: Update from translation team.
21257
f7bc6495
DM
21258 * po/vi.po: Update from translation team.
21259
6fc9048f
DM
21260 * po/cs.po: Update from translation team.
21261
a181b0d7
DM
21262 * po/de.po: Update from translation team.
21263 * po/eo.po: Likewise.
21264 * po/nl.po: Likewise.
21265
f70bfe80
SP
212662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21267
3c8b4190
SP
21268 [BZ #14246]
21269 * manual/argp.texi (Argp Helper Functions): Move node to follow
21270 Argp Parsing State.
21271
f70bfe80
SP
21272 [BZ #14872]
21273 * manual/conf.texi (Limits on File System Capacity): Mention if
21274 terminating null is included in the max size.
21275
188f0adf
AJ
212762012-12-10 Andreas Jaeger <aj@suse.de>
21277
21278 * po/cs.po: Update from translation team.
21279
56e7d3ad
SP
212802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21281
21282 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21283 void pointer and cast to uintptr_t.
21284 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21285 path.
21286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21287 * sysdeps/s390/s390-64/memset.S: Likewise.
21288
76f2d2ea 212892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
21290
21291 [BZ #14833]
21292 * menual/message.texi (Message Translation): Fix typos.
21293 (Helper programs for gettext): Likewise.
21294
67cbf9a2
AS
212952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21296
21297 [BZ #14898]
21298 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21299 Change to -1.
21300
682d0e9a
DM
213012012-12-07 David S. Miller <davem@davemloft.net>
21302
21303 * po/libc.pot: Update.
21304
573cd484
RH
213052012-12-07 Richard Henderson <rth@redhat.com>
21306
7e9da188 21307 [BZ #10114]
573cd484
RH
21308 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21309 normal/normal case to before the switch.
21310 (_FP_DIV): Likewise.
21311
e933a943
MF
213122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21313 Mike Frysinger <vapier@gentoo.org>
21314
21315 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21316 check for __NR_fadvise64_64.
21317
82123268
CM
213182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21319
21320 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21321 0, not just to plain "0" as a statement.
21322 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21323 with cw.
21324
d9814526
JM
213252012-12-06 Joseph Myers <joseph@codesourcery.com>
21326
21327 * NEWS: Use sourceware.org in Bugzilla URL.
21328
7728c574
SP
213292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21330
f16946dd
SP
21331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21333
5704bbcb
SP
21334 * stdio-common/tst-put-error.c (do_test): Add newline to the
21335 padded test to ensure flush.
21336
17aa0516
JL
213372012-12-05 Jeff Law <law@redhat.com>
21338
21339 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21340
363313b5
JM
213412012-12-05 Joseph Myers <joseph@codesourcery.com>
21342
effbd42a
JM
21343 * README: Don't refer to ports add-on as distributed separately.
21344 Mention AArch64 in list of systems supported in the ports add-on.
21345
87600365
JM
21346 * LICENSES: Add more non-FSF copyright and license notices.
21347
a0d7066a
JM
21348 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21349 ((unused)).
21350
66ca5a5b
JM
21351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21352
363313b5
JM
21353 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21354 10000 as width of padded output.
21355
b37984ad
JM
213562012-12-04 Joseph Myers <joseph@codesourcery.com>
21357
9003570a
JM
21358 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21359
b37984ad
JM
21360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21361 variable LX with __attribute__ ((unused)).
21362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21363 Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21367 with __attribute__ ((unused)).
21368
c8df52ec
DM
213692012-12-04 David S. Miller <davem@abraco.davemloft.net>
21370
21371 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21372
b3b099af
JM
213732012-12-04 Joseph Myers <joseph@codesourcery.com>
21374
c33aa6e3
JM
21375 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21376 (CFLAGS-nldbl-acos.c): New variable.
21377 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21378 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21379 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21380 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21381 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21382 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21383 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21384 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21385 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21386 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21387 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21388 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21389 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21390 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21391 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21392 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21393 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21394 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21395 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21396 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21397 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21398 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21399 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21400 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21401 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21402 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21403 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21404 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21405 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21406 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21407 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21408 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21409 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21410 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21411 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21412 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21413 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21414 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21415 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21416 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21417 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21418 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21419 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21420 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21421 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21422 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21423 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21424 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21425 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21426 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21427 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21428 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21429 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21430 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21431 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21432 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21433 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21434 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21435 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21436 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21441 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21442 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21443 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21444 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21445 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21446 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21447 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21448 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21449 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21450 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21451 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21452 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21453 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21454 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21455 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21456 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21457 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21458 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21459 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21460 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21461 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21462 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21463 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21464 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21465 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21466 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21467 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21468 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21469 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21470 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21471 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21472 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21473 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21474
20f0018d
JM
21475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21477
b3b099af
JM
21478 [BZ #14914]
21479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21480 whole low double instead of just low 47 bits when splitting values
21481 into two parts.
21482
029264d1
AM
214832012-12-03 Allan McRae <allan@archlinux.org>
21484
21485 * manual/stdio.texi (Predefined Printf Handlers): Remove
21486 @hsep and @vsep usage.
21487
c9d6789e
MF
214882012-12-03 Mike Frysinger <vapier@gentoo.org>
21489
21490 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21491 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21492
4b7634a5
JL
214932012-12-03 Jeff Law <law@redhat.com>
21494
21495 * time/sys/time.h (settimeofday): Do not mark TV argument
21496 as __nonnull.
21497
eb6cbd24
MF
214982012-12-01 Mike Frysinger <vapier@gentoo.org>
21499
21500 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21501 when currently writing and seek to current position when not.
21502 * libio/Makefile (tests): Remove bug-fclose1.
21503 * libio/bug-fclose1.c: Delete.
21504
f638872a
JM
215052012-12-01 Joseph Myers <joseph@codesourcery.com>
21506
21507 * manual/arith.texi (feenableexcept): Fix typo.
21508 (fedisableexcept): Likewise.
21509
48085d14
RM
215102012-11-30 Roland McGrath <roland@hack.frob.com>
21511
21512 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21513 second, differently-typed declaration, rather than a cast.
21514
1a538b9f
SP
215152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21516
21517 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21518 * include/rpc/svc.h: ... here.
21519
d07f2ff1 215202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
21521
21522 [BZ #13013]
21523 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21524 depending n and resplen2 to catch cases where answer
21525 equals answerp2.
21526
c93ec1f0
CD
215272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21528
21529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21530 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21531
37db69de
MF
215322012-11-29 Mike Frysinger <vapier@gentoo.org>
21533
21534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21535
e10c4e4f
RM
215362012-11-29 Roland McGrath <roland@hack.frob.com>
21537
21538 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21539
2af1b328
JL
215402012-11-28 Jeff Law <law@redhat.com>
21541
21542 [BZ #13761]
21543 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21544 dataset_temporary. Track alloca usage into alloca_used.
21545 If dataset is large allocate and release it via malloc/free.
21546
111db5b1
FW
215472012-06-04 Florian Weimer <fweimer@redhat.com>
21548
f06cc227 21549 [BZ #14197]
111db5b1
FW
21550 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21551
dd694abd
DM
215522012-11-28 David S. Miller <davem@davemloft.net>
21553
21554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21555
9984dd01
JM
215562012-11-28 Joseph Myers <joseph@codesourcery.com>
21557
21558 [BZ #14803]
21559 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21560 of pi/2 rounded to nearest to 64 bits.
21561 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21562 nearest to 64 bits.
21563 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21564 bits.
21565
14bc93a9
JL
215662012-11-28 Jeff Law <law@redhat.com>
21567 Martin Osvald <mosvald@redhat.com>
21568
21569 [BZ #14889]
21570 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21571 * sunrpc/svc.c: Include time.h.
21572 (__svc_accept_failed): New function.
21573 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21574 any reason other than EINTR, call __svc_accept_failed.
21575 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21576 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21577
e3c6aa3a
AS
215782012-11-28 Andreas Schwab <schwab@suse.de>
21579
21580 * scripts/abilist.awk: Also handle indirect functions in .opd
21581 section.
21582
1bead169
JM
215832012-11-28 Joseph Myers <joseph@codesourcery.com>
21584
21585 [BZ #13881]
21586 * sysdeps/x86/fpu/powl_helper.c: New file.
21587 * sysdeps/x86/fpu/Makefile: Likewise.
21588 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21589 (p3): New object.
21590 (__ieee754_powl): Use __powl_helper for finite arguments except
21591 integer exponents below 8.
21592 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21593 (p3): New object.
21594 (__ieee754_powl): Use __powl_helper for finite arguments except
21595 integer exponents below 8.
21596 * math/libm-test.inc (pow_test): Add more tests and enable some
21597 previously disabled tests.
21598 * sysdeps/i386/fpu/libm-test-ulps: Update.
21599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21600
0817d63d
SP
216012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21602 Carlos O'Donell <carlos_odonell@mentor.com>
21603
21604 * nss/makedb.c (is_prime): Assert that input is odd and greater
21605 than 4. Note that fact in a comment too.
21606 (next_prime): Add 4 to input.
21607
de2fd463
SP
216082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21609
21610 [BZ #11741]
21611 * libio/Makefile (tests): Add test case tst-fwrite-error.
21612 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21613 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21614 * libio/tst-fwrite-error.c: New test case.
21615
c515fb51
L
216162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21617
21618 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21619 before casting to void *.
21620 * include/libc-internal.h (__pointer_type): New macro.
21621 (__integer_if_pointer_type_sub): Likewise.
21622 (__integer_if_pointer_type): Likewise.
21623 (cast_to_integer): Likewise.
21624 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21625 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21626 before casting to atomic64_t.
21627 (atomic_exchange_acq): Likewise.
21628 (__arch_exchange_and_add_body): Likewise.
21629 (__arch_add_body): Likewise.
21630 (atomic_add_negative): Likewise.
21631 (atomic_add_zero): Likewise.
21632
4cf77aa9
JM
216332012-11-26 Joseph Myers <joseph@codesourcery.com>
21634
21635 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21636 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21637 (add_fdes): Likewise.
21638 (linear_search_fdes): Likewise.
21639 (binary_search_unencoded_fdes): Likewise.
21640
d260b3b4
AS
216412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21642
21643 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21644
67060746
AC
216452012-11-24 Adam Conrad <adconrad@0c3.net>
21646
21647 * configure.in: Autodetect C++ header directories.
21648 * configure: Regenerated.
21649
800938a1
MF
216502012-11-23 Mike Frysinger <vapier@gentoo.org>
21651
21652 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21653
4e6e34e6
AS
216542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21655
21656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21657
7c7feb47
JM
216582012-11-22 Joseph Myers <joseph@codesourcery.com>
21659
7184dcdf
JM
21660 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21661 LDBL_MANT_DIG == 106]: Disable some tests.
21662 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21663 Likewise.
21664 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21665 Likewise.
21666
0a42601f
JM
21667 [BZ #14871]
21668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21669 input for small inputs. Return +/- pi/2 for large inputs.
21670 * math/libm-test.inc (atan_test): Add more tests.
21671
79c9b9fe
JM
21672 * sysdeps/generic/unwind-dw2-fde-glibc.c
21673 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21674 __attribute__ ((unused)).
21675
c60d3bf2
JM
21676 [BZ #14645]
21677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21678 x * y if x and y are nonzero and z is zero.
21679
ef1e0867
JM
21680 [BZ #14811]
21681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21682 nonzero exponents with absolute value below 0x1p-117 to +/-
21683 0x1p-117.
21684
1468ded3
JM
21685 [BZ #14869]
21686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21687 up arguments below 2**-450, not just those below 2**-500.
21688 * math/libm-test.inc (hypot_test): Add another test.
21689
8e27e3cc
JM
21690 [BZ #14868]
21691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21692 Return a+b for ratio over 2**120, not 2**60.
21693 * math/libm-test.inc (hypot_test): Add another test.
21694
c9c0279b
JM
21695 * math/libm-test.inc (clog_test): Use
21696 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21697 (clog10_test): Likewise.
21698
7c7feb47
JM
21699 [BZ #6778]
21700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21701
fff1530e
AS
217022012-11-22 Andreas Schwab <schwab@suse.de>
21703
21704 * sysdeps/i386/fpu/libm-test-ulps: Update.
21705
94558d30
PT
217062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21707
21708 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21709 printf output with newline.
21710
7e1be741
L
217112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21712
6bfea974
L
21713 [BZ #14865]
21714 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21715 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21716 -z nodlopen, -z initfirst and -z execstack support.
21717 * configure: Regenerated.
21718
7e1be741
L
21719 * elf/elf.h (DF_1_NODIRECT): New macro.
21720 (DF_1_IGNMULDEF): Likewise.
21721 (DF_1_NOKSYMS): Likewise.
21722 (DF_1_NOHDR): Likewise.
21723 (DF_1_EDITED): Likewise.
21724 (DF_1_NORELOC): Likewise.
21725 (DF_1_SYMINTPOSE): Likewise.
21726 (DF_1_GLOBAUDIT): Likewise.
21727 (DF_1_SINGLETON): Likewise.
21728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21729 DT_1_SUPPORTED_MASK bits.
21730 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21731
105ce2ce
CD
217322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21733
21734 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21735
123be9de
TS
217362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21737
d072f3f7
TS
21738 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21739 macro.
21740
123be9de
TS
21741 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21742 (sendmmsg): Move declarations...
21743 * socket/sys/socket.h: ... here.
21744 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21745 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21746 include it from...
21747 * socket/recvmmsg.c: ... this new file.
21748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21749 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21750 definition of __sendmmsg hidden.
21751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21752 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21753 Move ENOSYS stub into and include it from...
21754 * socket/sendmmsg.c: ... this new file.
21755 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21756 (sysdep_routines): Move recvmmsg and sendmmsg...
21757 * socket/Makefile (routines): ... here.
21758 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21759 (GLIBC_PRIVATE): Add __sendmmsg.
21760 * include/sys/socket.h (__sendmmsg): Add declarations.
21761 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21762 sendmmsg.
21763
cf9a5d18
JM
217642012-11-20 Joseph Myers <joseph@codesourcery.com>
21765
21766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21767 variable I1 with __attribute__ ((unused)).
21768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21769
ecd4caf9
JM
217702012-11-19 Joseph Myers <joseph@codesourcery.com>
21771
be14d48f
JM
21772 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21773 DUMMY variables with __attribute__ ((unused)).
21774
ecd4caf9
JM
21775 * bits/byteswap.h: Include <bits/types.h>.
21776 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21777
986cab95
PT
217782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21779
21780 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21781 string_t. Do not manually set errno.
21782 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21783 length with __strnlen. Make sure to both set errno and return it on
21784 failure.
21785
6d33cc9d
DM
217862012-11-19 David S. Miller <davem@davemloft.net>
21787
21788 With help from Joseph Myers.
21789 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21790 very large arguments properly.
21791 * math/libm-test.inc (atan_test): New tests.
21792 (atan2_test): New tests.
21793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21795
ee663277
JM
217962012-11-19 Joseph Myers <joseph@codesourcery.com>
21797
877f2d8e
JM
21798 [BZ #14856]
21799 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21800 Define to 3.
21801
116fc08a
JM
21802 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21803 [POSIX] (EADDRNOTAVAIL): Likewise.
21804 [POSIX] (EAFNOSUPPORT): Likewise.
21805 [POSIX] (EALREADY): Likewise.
21806 [POSIX] (ECONNABORTED): Likewise.
21807 [POSIX] (ECONNREFUSED): Likewise.
21808 [POSIX] (ECONNRESET): Likewise.
21809 [POSIX] (EDESTADDRREQ): Likewise.
21810 [POSIX] (EDQUOT): Likewise.
21811 [POSIX] (EHOSTUNREACH): Likewise.
21812 [POSIX] (EIDRM): Likewise.
21813 [POSIX] (EISCONN): Likewise.
21814 [POSIX] (ELOOP): Likewise.
21815 [POSIX] (EMULTIHOP): Likewise.
21816 [POSIX] (ENETDOWN): Likewise.
21817 [POSIX] (ENETUNREACH): Likewise.
21818 [POSIX] (ENOBUFS): Likewise.
21819 [POSIX] (ENODATA): Likewise.
21820 [POSIX] (ENOLINK): Likewise.
21821 [POSIX] (ENOMSG): Likewise.
21822 [POSIX] (ENOPROTOOPT): Likewise.
21823 [POSIX] (ENOSR): Likewise.
21824 [POSIX] (ENOSTR): Likewise.
21825 [POSIX] (ENOTCONN): Likewise.
21826 [POSIX] (ENOTSOCK): Likewise.
21827 [POSIX] (EOPNOTSUPP): Likewise.
21828 [POSIX] (EOVERFLOW): Likewise.
21829 [POSIX] (EPROTO): Likewise.
21830 [POSIX] (EPROTONOSUPPORT): Likewise.
21831 [POSIX] (EPROTOTYPE): Likewise.
21832 [POSIX] (ESTALE): Likewise.
21833 [POSIX] (ETIME): Likewise.
21834 [POSIX] (ETXTBSY): Likewise.
21835 [POSIX] (EWOULDBLOCK): Likewise.
21836 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21837 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21838 [POSIX] (SEEK_CUR): Likewise.
21839 [POSIX] (SEEK_END): Likewise.
21840 [POSIX || UNIX98] (mode_t): Do not require.
21841 [POSIX] (off_t): Likewise.
21842 [POSIX] (pid_t): Likewise.
21843 [POSIX] (sys/stat.h): Do not allow header.
21844 [POSIX] (unistd.h): Likewise.
21845 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21846 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21847 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21848 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21849 require.
21850 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21851 sigevent): Specify elements.
21852 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21853 entry.
21854 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21855 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21856
a483863f
JM
21857 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21858 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21859 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21860 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21861 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21862 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21863 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21867 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21869 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21871 Likewise.
21872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21873 Likewise.
21874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21875 Likewise.
21876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21877 Likewise.
21878 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21883 Specify lower bound on value.
21884 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21890 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21891 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21892 value.
21893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21894 as optional.
21895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21911 entry.
21912 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21913 optional.
21914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21920 Likewise.
21921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21926 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21928 as optional.
21929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21933 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21934 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21935 specify as optional.
21936 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21940 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21941 [XPG3] (NL_LANGMAX): Likewise.
21942 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21943 [POSIX || XPG3] (NL_NMAX): Likewise.
21944 [POSIX || XPG3] (NL_SETMAX): Likewise.
21945 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21946 [XPG3] (NZERO): Likewise.
21947 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21948 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21949 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21950 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21951 (REG_ERANGE): Expect.
21952 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21953 optional-constant.
21954 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21955 Use (void) in prototype.
21956 [POSIX] (*_t): Allow.
21957 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21958 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21959 (WRDE_BADVAL): Expect.
21960
5ba924e3
JM
21961 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21962 expect.
21963 [XPG3 || XPG4] (O_RSYNC): Likewise.
21964 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21965 Likewise.
21966 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21967 [XPG3 || XPG4] (sigqueue): Likewise.
21968 [XPG3 || XPG4] (sigtimedwait): Likewise.
21969 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21970 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21971 [XPG3 || XPG4] (vsnprintf): Likewise.
21972 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21973 Likewise.
21974 [XPG3 || XPG4] (blksize_t): Likewise.
21975 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21976 Likewise.
21977 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21978 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21979 [XPG3 || XPG4] (struct itimerspec): Likewise.
21980 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21981 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21982 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21983 [XPG3 || XPG4] (clockid_t): Likewise.
21984 [XPG3 || XPG4] (timer_t): Likewise.
21985 [XPG3 || XPG4] (clock_getres): Likewise.
21986 [XPG3 || XPG4] (clock_gettime): Likewise.
21987 [XPG3 || XPG4] (clock_settime): Likewise.
21988 [XPG3 || XPG4] (nanosleep): Likewise.
21989 [XPG3 || XPG4] (timer_create): Likewise.
21990 [XPG3 || XPG4] (timer_delete): Likewise.
21991 [XPG3 || XPG4] (timer_gettime): Likewise.
21992 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21993 [XPG3 || XPG4] (timer_settime): Likewise.
21994 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21995 [XPG3 || XPG4] (getlogin_r): Likewise.
21996 [XPG3 || XPG4] (pread): Likewise.
21997 [XPG3 || XPG4] (pthread_atfork): Likewise.
21998 [XPG3 || XPG4] (pwrite): Likewise.
21999
ee663277
JM
22000 [BZ #14835]
22001 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22002 <bits/siginfo.h>.
22003
942caa16
PT
220042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22005
e19af380
PT
22006 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22007 finalizing MALLSTREAM.
22008
942caa16
PT
22009 * sysdeps/mach/hurd/syncfs.c: New file.
22010
cfde9b46
SP
220112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22012
22013 [BZ #14719]
22014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22015 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22017 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22018 (_nss_dns_gethostbyname4_r): Likewise.
22019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22020 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22021
f6da27e5
PH
220222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
22023
22024 [BZ #13763]
22025 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22026
6665d4a2
SM
220272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
22028
1f51ee92
SM
22029 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22030 * elf/cache.c (print_entry): Print ",AArch64" for
22031 FLAG_AARCH64_LIB64
22032
6665d4a2
SM
22033 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22034 * elf/cache.c (print_entry): Print ",hard-float" for
22035 FLAG_ARM_LIBHF.
22036
05b227bd
DM
220372012-11-18 David S. Miller <davem@davemloft.net>
22038
22039 With help from Joseph Myers.
22040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22041 cutoff to 2**-13.
22042 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22043 cutoff to 2**-25.
22044 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22045 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22046 small.
22047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22048 * math/libm-test.inc (y0_test): New tests.
22049 (y1_test): New tests.
22050 * sysdeps/i386/fpu/libm-test-ulps: Update.
22051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22053
786b0b67
AS
220542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
22055
22056 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22057 64-bit targets.
22058 * configure: Regenerated.
22059
8e18b86d
DM
220602012-11-17 David S. Miller <davem@davemloft.net>
22061
22062 [BZ #14811]
22063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22064 nonzero exponents with absolute value below 0x1p-128 to +/-
22065 0x1p-128.
22066
531f1ae0
JM
220672012-11-17 Joseph Myers <joseph@codesourcery.com>
22068
12df29e2
JM
22069 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22070
150dc1a0
JM
22071 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22072
531f1ae0
JM
22073 * posix/getconf-speclist.c: New file.
22074 * posix/posix-envs.def: Likewise.
22075 * posix/confstr.c (START_ENV_GROUP): New macro.
22076 (END_ENV_GROUP): Likewise.
22077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22078 (KNOWN_PRESENT_ENV_STRING): Likewise.
22079 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22080 (UNKNOWN_ENVIRONMENT): Likewise.
22081 (confstr): Include posix-envs.def instead of handling
22082 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22083 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22084 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22085 (END_ENV_GROUP): Likewise.
22086 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22088 (UNKNOWN_ENVIRONMENT): Likewise.
22089 (__sysconf): Include posix-envs.def instead of handling associated
22090 cases directly here.
22091 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22092 preprocessing getconf-speclist.c rather than running getconf or
22093 generating empty file.
22094
a93f9cbc
PT
220952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
22096
22097 * scripts/check-local-headers.sh: Ignore 'mach' headers.
22098
d64d9f87
AL
220992012-11-16 Andrej Lajovic <natrij@gmail.com>
22100
22101 [BZ #14672]
22102 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22103
447885eb
DM
221042012-11-16 David S. Miller <davem@davemloft.net>
22105
22106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22107 smaller than LDBL_EPSILON/2.0L, just return xm1.
22108
bcbf9830
L
221092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * elf/tst-array1.c (init): Set constructor priority to 1000.
22112 (fini): Set destructor priority to 1000.
22113 * elf/tst-array2dep.c: Likewise.
22114
2b766585
SP
221152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22116
22117 [BZ #11741]
22118 * libio/fileops.c (_IO_new_file_write): Correctly return error.
22119 (_IO_new_file_xsputn): Also return EOF if none of the input
22120 data was written when overflow failed.
22121 * libio/iopadn.c (_IO_padn): Likewise.
22122 * libio/iowpadn.c (_IO_wpadn): Likewise.
22123 * stdio-common/tst-put-error.c: Add copyright notice.
22124 (do_test): Add case for printing padded string.
22125 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22126 _IO_padn returned error.
22127 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22128 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22129 return EOF.
22130
b1848fde
SP
221312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22132
22133 * libio/libioP.h: Add comment note that the references to C++
22134 bits are now obsolete.
22135
2fd89785
MS
221362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22137
22138 * math/libm-test.inc (check_complex): Use asprintf.
22139
e3ea5409
JM
221402012-11-14 Joseph Myers <joseph@codesourcery.com>
22141
22142 * debug/pcprofiledump.c (print_version): Update copyright year.
22143 * malloc/memusagestat.c (print_version): Likewise.
22144
2e64d265
L
221452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 [BZ #14831]
22148 * elf/Makefile (tests): Add tst-audit8.
22149 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22150 ($(objpfx)tst-audit8.out): New target.
22151 (tst-audit8-ENV): New variable.
22152 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22153 audit if l_reloc_result is NULL.
22154 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22155 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22156 * elf/tst-audit8.c: New file.
22157
c485e4d2
MS
221582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22159
22160 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22161 * misc/Makefile (CFLAGS-select.c): Define.
22162 * posix/Makefile (CFLAGS-pause.c): Define.
22163
3a0d900a
DM
221642012-11-13 David S. Miller <davem@davemloft.net>
22165
22166 * crypt/Makefile: Move test targets after toplevel Rules
22167 inclusion. Grab any necessary sysdep routines when linking.
22168 * crypt/md5.c (md5_process_block): Remove define, we will always
22169 name it __md5_process_block.
22170 (md5_finish_ctx): Update md5_process_block call.
22171 (md5_stream): Likewise.
22172 (md5_process_bytes): Likewise.
22173 (md5_process_block): Rename to __md5_process_block and move to ...
22174 * crypt/md5-block.c: ... here.
22175 * crypt/sha256.c (sha256_process_block): Move to ...
22176 * crypt/sha256-block.c: ... here.
22177 * crypt/sha512.c (sha512_process_block): Move to ...
22178 * crypt/sha512-block.c: ... here.
22179 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22180 path.
22181 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22182 * sysdeps/sparc/sparc64/multiarch/Makefile
22183 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22184 crypt subdir.
22185 (localedef-aux): Add md5 crypto assembler when in locale subdir.
22186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22187 multiarch changes.
22188 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22189 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22190 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22191 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22192 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22193 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22197 file.
22198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22200 file.
22201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22202
8ca89318
JM
222032012-11-13 Joseph Myers <joseph@codesourcery.com>
22204
e27d476a
JM
22205 * timezone/tzselect.ksh: Update from tzcode git revision
22206 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22207 * timezone/zdump.c: Likewise.
22208 * timezone/zic.c: Likewise.
22209 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22210 in TZVERSION setting, not $(PKGVERSION).
22211 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22212 REPORT_BUGS_TO settings.
22213
8ca89318
JM
22214 [BZ #14838]
22215 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22216 macro.
22217
47594329
MS
222182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22219
22220 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22221 detection to immediately after _FP_ROUND().
22222 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22223 bits are 0.
22224
640ac3f1
DM
222252012-11-11 David S. Miller <davem@davemloft.net>
22226
22227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22228 inttypes.h
22229 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22230 __close rather than their public counterparts.
22231
3d2577bb
JM
222322012-11-10 Joseph Myers <joseph@codesourcery.com>
22233
22234 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22235 file.
22236 [UNIX98] (sem_timedwait): Do not expect.
22237 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22238 [XPG4 || UNIX98] (sockatmark): Do not expect.
22239 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22240 (clock_getcpuclockid): Do not expect.
22241 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22242 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22243 Do not expect.
22244 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22245 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22246 [UNIX98] (vwscanf): Likewise.
22247 [UNIX98] (vswscanf): Likewise.
22248
fb1ae1ee
JM
222492012-11-09 Joseph Myers <joseph@codesourcery.com>
22250
9ec6f8bd
JM
22251 * timezone/version.h: Remove file.
22252 * timezone/README: Do not refer to version.h.
22253 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22254 $(objpfx)version.h.
22255 ($(objpfx)zdump.o): Likewise.
c3f81911 22256 ($(objpfx)version.h): New target.
9ec6f8bd 22257
0aa8f8a1
JM
22258 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22259 2012i.
22260 * timezone/README: Don't mention modification to tzselect.ksh.
22261 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22262 work on unmodified tzselect.ksh. Substitute version numbers in
22263 tzselect.ksh.
22264
4e87147f
JM
22265 * Makefile (format-me): Remove.
22266 (INSTALL): Adjust indentation. Use commands directly instead of
22267 using $(format-me).
22268
8b748aed
JM
22269 * aclocal.m4 (ACX_PKGVERSION): New macro.
22270 (ACX_BUGURL): Likewise.
22271 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22272 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22273 (REPORT_BUGS_TO): Likewise.
22274 * configure: Regenerated.
22275 * config.h.in (PKGVERSION): New macro.
22276 (REPORT_BUGS_TO): Likewise.
22277 * config.make.in (PKGVERSION): New variable.
22278 (PKGVERSION_TEXI): Likewise.
22279 (REPORT_BUGS_TO): Likewise.
22280 (REPORT_BUGS_TEXI): Likewise.
22281 * Makefile (format-me): Use -I$(common-objpfx)manual.
22282 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22283 ($(common-objpfx)manual/%): New target.
22284 (manual/%): Remove target.
22285 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22286 (print_version): Use PKGVERSION.
22287 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22288 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22289 and REPORT_BUGS_TO.
22290 ($(objpfx)xtrace): Likewise.
22291 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22292 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22293 (print_version): Use PKGVERSION.
22294 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22295 (do_version): Use PKGVERSION.
22296 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22297 REPORT_BUGS_TO.
22298 (common-ldd-rewrite): Likewise.
22299 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22300 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22301 (print_version): Use PKGVERSION.
22302 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22303 * elf/pldd.c (argp_program_bug_address): Remove variable.
22304 (more_help): New function.
22305 (argp): Use more_help.
22306 (print_version): Use PKGVERSION.
22307 * elf/sln.c (main): Use PKGVERSION.
22308 (usage): Use REPORT_BUGS_TO.
22309 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22310 (top level): Use PKGVERSION.
22311 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22312 (print_version): Use PKGVERSION.
22313 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22314 (print_version): Use PKGVERSION.
22315 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22316 (print_version): Use PKGVERSION.
22317 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22318 (print_version): Use PKGVERSION.
22319 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22320 (print_version): Use PKGVERSION.
22321 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22322 (print_version): Use PKGVERSION.
22323 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22324 and BUGURL.
22325 ($(objpfx)memusage): Likewise.
22326 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22327 (do_version): Use PKGVERSION.
22328 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22329 (print_version): Use PKGVERSION.
22330 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22331 ($PKGVERSION): New variable.
22332 ($REPORT_BUGS_TO): Likewise.
22333 (usage): Use $REPORT_BUGS_TO.
22334 (top level): Use $PKGVERSION.
22335 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22336 ($(objpfx)pkgvers.texi): New rule.
22337 ($(objpfx)stamp-pkgvers): Likewise.
22338 * manual/install.texi: Include pkgvers.texi.
22339 (--with-pkgversion): Document new configure option.
22340 (--with-bugurl): Likewise.
22341 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22342 than necessarily for this particular distribution. Use
22343 REPORT_BUGS_TO for where to report bugs.
22344 * INSTALL: Regenerated.
22345 * manual/libc.texinfo: Include pkgvers.texi.
22346 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22347 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22348 (print_version): Use PKGVERSION.
22349 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22350 (print_version): Use PKGVERSION.
22351 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22352 (print_version): Use PKGVERSION.
22353 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22354 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22355 macro.
22356 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22357 (print_version): Use PKGVERSION.
22358 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22359 (print_version): Use PKGVERSION.
22360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22361 and PKGVERSION.
22362
92e4b6a9
JM
22363 * timezone/checktab.awk: Update from tzcode 2012i.
22364 * timezone/ialloc.c: Likewise.
22365 * timezone/private.h: Likewise.
22366 * timezone/scheck.c: Likewise.
22367 * timezone/tzfile.h: Likewise.
22368 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22369 (TZVERSION): Hardcode tzcode version number.
22370 * timezone/zdump.c: Update from tzcode 2012i.
22371 * timezone/zic.c: Likewise.
22372 * timezone/version.h: New file.
22373 * timezone/README: Describe version.h. Update upstream location.
22374
9bde902c
JM
22375 [BZ #14824]
22376 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22377 (mktemp): Enable declaration.
22378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22382 Likewise.
22383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22384 Likewise.
22385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22386 Likewise.
22387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22388 Likewise.
22389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22390 Likewise.
22391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22392 Likewise.
22393
fb1ae1ee
JM
22394 [BZ #14821]
22395 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22396 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22397 for copies of such integer values.
22398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22400
2c1adbcb
AJ
224012012-11-09 Andreas Jaeger <aj@suse.de>
22402
22403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22404 definitions and declarations that are provided by
22405 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22406
d0f8457e
AK
224072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22408
3a235abb 22409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
22410 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22411 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22412 definition.
22413
57241e26
MS
224142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22415
22416 * elf/elf.h: Update comment before AArch64 relocations.
22417
60e8270d
DM
224182012-11-07 David S. Miller <davem@davemloft.net>
22419
22420 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22422 (__start_context): Declare.
22423 (__makecontext_ret): Delete.
22424 (__makecontext): Hook up __start_context instead of
22425 __makecontext_ret.
22426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22427 (sysdep_routines): Add __start_context when in stdlib.
22428
0fbb0fbc
JM
224292012-11-07 Joseph Myers <joseph@codesourcery.com>
22430
22431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22432 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22433 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22434 hardcoded "nm".
22435 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22436 (READELF): New variable. Use it instead of hardcoded "readelf".
22437
eb48db7e
L
224382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22441 * sysdeps/x86/Makefile: Here.
22442 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22443 * sysdeps/x86/tst-xmmymm.sh: This.
22444
05bcf62a
JM
224452012-11-07 Joseph Myers <joseph@codesourcery.com>
22446
c4b6cf53
JM
22447 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22448 expectations.
22449 [UNIX98] (pthread_barrier_t): Do not expect.
22450 [UNIX98] (pthread_barrierattr_t): Likewise.
22451 [UNIX98] (pthread_spinlock_t): Likewise.
22452 [UNIX98] (pthread_barrier_destroy): Likewise.
22453 [UNIX98] (pthread_barrier_init): Likewise.
22454 [UNIX98] (pthread_barrier_wait): Likewise.
22455 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22456 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22457 [UNIX98] (pthread_barrierattr_init): Likewise.
22458 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22459 [UNIX98] (pthread_getcpuclockid): Likewise.
22460 [UNIX98] (pthread_mutex_timedlock): Likewise.
22461 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22462 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22463 [UNIX98] (pthread_sigmask): Likewise.
22464 [UNIX98] (pthread_spin_destroy): Likewise.
22465 [UNIX98] (pthread_spin_init): Likewise.
22466 [UNIX98] (pthread_spin_lock): Likewise.
22467 [UNIX98] (pthread_spin_trylock): Likewise.
22468 [UNIX98] (pthread_spin_unlock): Likewise.
22469 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22470 Do not expect.
22471 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22473 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22474 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22475 [XPG3 || XPG4] (pthread_key_t): Likewise.
22476 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22477 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22478 [XPG3 || XPG4] (pthread_once_t): Likewise.
22479 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22480 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22482 [XPG3 || XPG4] (pthread_t): Likewise.
22483
cbe6e120
JM
22484 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22485 not expect.
22486 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22487
1b126443
JM
22488 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22489 Change function return type to int.
22490
b961a573
JM
22491 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22492 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22493 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22494 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22495 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22496 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22497 [!POSIX] (posix_madvise): Likewise.
22498 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22499 && !UNIX98].
22500 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22501 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22502 (mode_t): Likewise.
22503 (posix_mem_offset): Likewise.
22504 (posix_typed_mem_get_info): Likewise.
22505 (posix_typed_mem_open): Likewise.
22506
9e188909
JM
22507 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22508 Change condition to [XOPEN2K8].
22509
05bcf62a
JM
22510 * conform/conformtest.pl: Preprocess allow-header data with -x c
22511 instead of from stdin.
22512 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22513 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22514 [C99-based standards] (cerfc): Likewise.
22515 [C99-based standards] (cexp2): Likewise.
22516 [C99-based standards] (cexpm1): Likewise.
22517 [C99-based standards] (clog10): Likewise.
22518 [C99-based standards] (clog1p): Likewise.
22519 [C99-based standards] (clog2): Likewise.
22520 [C99-based standards] (clgamma): Likewise.
22521 [C99-based standards] (ctgamma): Likewise.
22522 [C99-based standards] (cerff): Likewise.
22523 [C99-based standards] (cerfcf): Likewise.
22524 [C99-based standards] (cexp2f): Likewise.
22525 [C99-based standards] (cexpm1f): Likewise.
22526 [C99-based standards] (clog10f): Likewise.
22527 [C99-based standards] (clog1pf): Likewise.
22528 [C99-based standards] (clog2f): Likewise.
22529 [C99-based standards] (clgammaf): Likewise.
22530 [C99-based standards] (ctgammaf): Likewise.
22531 [C99-based standards] (cerfl): Likewise.
22532 [C99-based standards] (cerfcl): Likewise.
22533 [C99-based standards] (cexp2l): Likewise.
22534 [C99-based standards] (cexpm1l): Likewise.
22535 [C99-based standards] (clog10l): Likewise.
22536 [C99-based standards] (clog1pl): Likewise.
22537 [C99-based standards] (clog2l): Likewise.
22538 [C99-based standards] (clgammal): Likewise.
22539 [C99-based standards] (ctgammal): Likewise.
22540 * conform/data/inttypes.h-data [C99-based standards]: Include
22541 stdint.h-data. Remove all expectations for stdint.h contents.
22542 [C99-based standards] (PRI*): Do not allow.
22543 [C99-based standards] (SCN*): Likewise.
22544 [C99-based standards] (*_t): Likewise.
22545 [C99-based-standards] (PRId8): Expect macro.
22546 [C99-based-standards] (PRIi8): Likewise.
22547 [C99-based-standards] (PRIo8): Likewise.
22548 [C99-based-standards] (PRIu8): Likewise.
22549 [C99-based-standards] (PRIx8): Likewise.
22550 [C99-based-standards] (PRIX8): Likewise.
22551 [C99-based-standards] (SCNd8): Likewise.
22552 [C99-based-standards] (SCNi8): Likewise.
22553 [C99-based-standards] (SCNo8): Likewise.
22554 [C99-based-standards] (SCNu8): Likewise.
22555 [C99-based-standards] (SCNx8): Likewise.
22556 [C99-based-standards] (PRIdLEAST8): Likewise.
22557 [C99-based-standards] (PRIiLEAST8): Likewise.
22558 [C99-based-standards] (PRIoLEAST8): Likewise.
22559 [C99-based-standards] (PRIuLEAST8): Likewise.
22560 [C99-based-standards] (PRIxLEAST8): Likewise.
22561 [C99-based-standards] (PRIXLEAST8): Likewise.
22562 [C99-based-standards] (SCNdLEAST8): Likewise.
22563 [C99-based-standards] (SCNiLEAST8): Likewise.
22564 [C99-based-standards] (SCNoLEAST8): Likewise.
22565 [C99-based-standards] (SCNuLEAST8): Likewise.
22566 [C99-based-standards] (SCNxLEAST8): Likewise.
22567 [C99-based-standards] (PRIdFAST8): Likewise.
22568 [C99-based-standards] (PRIiFAST8): Likewise.
22569 [C99-based-standards] (PRIoFAST8): Likewise.
22570 [C99-based-standards] (PRIuFAST8): Likewise.
22571 [C99-based-standards] (PRIxFAST8): Likewise.
22572 [C99-based-standards] (PRIXFAST8): Likewise.
22573 [C99-based-standards] (SCNdFAST8): Likewise.
22574 [C99-based-standards] (SCNiFAST8): Likewise.
22575 [C99-based-standards] (SCNoFAST8): Likewise.
22576 [C99-based-standards] (SCNuFAST8): Likewise.
22577 [C99-based-standards] (SCNxFAST8): Likewise.
22578 [C99-based-standards] (PRId16): Likewise.
22579 [C99-based-standards] (PRIi16): Likewise.
22580 [C99-based-standards] (PRIo16): Likewise.
22581 [C99-based-standards] (PRIu16): Likewise.
22582 [C99-based-standards] (PRIx16): Likewise.
22583 [C99-based-standards] (PRIX16): Likewise.
22584 [C99-based-standards] (SCNd16): Likewise.
22585 [C99-based-standards] (SCNi16): Likewise.
22586 [C99-based-standards] (SCNo16): Likewise.
22587 [C99-based-standards] (SCNu16): Likewise.
22588 [C99-based-standards] (SCNx16): Likewise.
22589 [C99-based-standards] (PRIdLEAST16): Likewise.
22590 [C99-based-standards] (PRIiLEAST16): Likewise.
22591 [C99-based-standards] (PRIoLEAST16): Likewise.
22592 [C99-based-standards] (PRIuLEAST16): Likewise.
22593 [C99-based-standards] (PRIxLEAST16): Likewise.
22594 [C99-based-standards] (PRIXLEAST16): Likewise.
22595 [C99-based-standards] (SCNdLEAST16): Likewise.
22596 [C99-based-standards] (SCNiLEAST16): Likewise.
22597 [C99-based-standards] (SCNoLEAST16): Likewise.
22598 [C99-based-standards] (SCNuLEAST16): Likewise.
22599 [C99-based-standards] (SCNxLEAST16): Likewise.
22600 [C99-based-standards] (PRIdFAST16): Likewise.
22601 [C99-based-standards] (PRIiFAST16): Likewise.
22602 [C99-based-standards] (PRIoFAST16): Likewise.
22603 [C99-based-standards] (PRIuFAST16): Likewise.
22604 [C99-based-standards] (PRIxFAST16): Likewise.
22605 [C99-based-standards] (PRIXFAST16): Likewise.
22606 [C99-based-standards] (SCNdFAST16): Likewise.
22607 [C99-based-standards] (SCNiFAST16): Likewise.
22608 [C99-based-standards] (SCNoFAST16): Likewise.
22609 [C99-based-standards] (SCNuFAST16): Likewise.
22610 [C99-based-standards] (SCNxFAST16): Likewise.
22611 [C99-based-standards] (PRId32): Likewise.
22612 [C99-based-standards] (PRIi32): Likewise.
22613 [C99-based-standards] (PRIo32): Likewise.
22614 [C99-based-standards] (PRIu32): Likewise.
22615 [C99-based-standards] (PRIx32): Likewise.
22616 [C99-based-standards] (PRIX32): Likewise.
22617 [C99-based-standards] (SCNd32): Likewise.
22618 [C99-based-standards] (SCNi32): Likewise.
22619 [C99-based-standards] (SCNo32): Likewise.
22620 [C99-based-standards] (SCNu32): Likewise.
22621 [C99-based-standards] (SCNx32): Likewise.
22622 [C99-based-standards] (PRIdLEAST32): Likewise.
22623 [C99-based-standards] (PRIiLEAST32): Likewise.
22624 [C99-based-standards] (PRIoLEAST32): Likewise.
22625 [C99-based-standards] (PRIuLEAST32): Likewise.
22626 [C99-based-standards] (PRIxLEAST32): Likewise.
22627 [C99-based-standards] (PRIXLEAST32): Likewise.
22628 [C99-based-standards] (SCNdLEAST32): Likewise.
22629 [C99-based-standards] (SCNiLEAST32): Likewise.
22630 [C99-based-standards] (SCNoLEAST32): Likewise.
22631 [C99-based-standards] (SCNuLEAST32): Likewise.
22632 [C99-based-standards] (SCNxLEAST32): Likewise.
22633 [C99-based-standards] (PRIdFAST32): Likewise.
22634 [C99-based-standards] (PRIiFAST32): Likewise.
22635 [C99-based-standards] (PRIoFAST32): Likewise.
22636 [C99-based-standards] (PRIuFAST32): Likewise.
22637 [C99-based-standards] (PRIxFAST32): Likewise.
22638 [C99-based-standards] (PRIXFAST32): Likewise.
22639 [C99-based-standards] (SCNdFAST32): Likewise.
22640 [C99-based-standards] (SCNiFAST32): Likewise.
22641 [C99-based-standards] (SCNoFAST32): Likewise.
22642 [C99-based-standards] (SCNuFAST32): Likewise.
22643 [C99-based-standards] (SCNxFAST32): Likewise.
22644 [C99-based-standards] (PRId64): Likewise.
22645 [C99-based-standards] (PRIi64): Likewise.
22646 [C99-based-standards] (PRIo64): Likewise.
22647 [C99-based-standards] (PRIu64): Likewise.
22648 [C99-based-standards] (PRIx64): Likewise.
22649 [C99-based-standards] (PRIX64): Likewise.
22650 [C99-based-standards] (SCNd64): Likewise.
22651 [C99-based-standards] (SCNi64): Likewise.
22652 [C99-based-standards] (SCNo64): Likewise.
22653 [C99-based-standards] (SCNu64): Likewise.
22654 [C99-based-standards] (SCNx64): Likewise.
22655 [C99-based-standards] (PRIdLEAST64): Likewise.
22656 [C99-based-standards] (PRIiLEAST64): Likewise.
22657 [C99-based-standards] (PRIoLEAST64): Likewise.
22658 [C99-based-standards] (PRIuLEAST64): Likewise.
22659 [C99-based-standards] (PRIxLEAST64): Likewise.
22660 [C99-based-standards] (PRIXLEAST64): Likewise.
22661 [C99-based-standards] (SCNdLEAST64): Likewise.
22662 [C99-based-standards] (SCNiLEAST64): Likewise.
22663 [C99-based-standards] (SCNoLEAST64): Likewise.
22664 [C99-based-standards] (SCNuLEAST64): Likewise.
22665 [C99-based-standards] (SCNxLEAST64): Likewise.
22666 [C99-based-standards] (PRIdFAST64): Likewise.
22667 [C99-based-standards] (PRIiFAST64): Likewise.
22668 [C99-based-standards] (PRIoFAST64): Likewise.
22669 [C99-based-standards] (PRIuFAST64): Likewise.
22670 [C99-based-standards] (PRIxFAST64): Likewise.
22671 [C99-based-standards] (PRIXFAST64): Likewise.
22672 [C99-based-standards] (SCNdFAST64): Likewise.
22673 [C99-based-standards] (SCNiFAST64): Likewise.
22674 [C99-based-standards] (SCNoFAST64): Likewise.
22675 [C99-based-standards] (SCNuFAST64): Likewise.
22676 [C99-based-standards] (SCNxFAST64): Likewise.
22677 [C99-based-standards] (PRIdMAX): Likewise.
22678 [C99-based-standards] (PRIiMAX): Likewise.
22679 [C99-based-standards] (PRIoMAX): Likewise.
22680 [C99-based-standards] (PRIuMAX): Likewise.
22681 [C99-based-standards] (PRIxMAX): Likewise.
22682 [C99-based-standards] (PRIXMAX): Likewise.
22683 [C99-based-standards] (SCNdMAX): Likewise.
22684 [C99-based-standards] (SCNiMAX): Likewise.
22685 [C99-based-standards] (SCNoMAX): Likewise.
22686 [C99-based-standards] (SCNuMAX): Likewise.
22687 [C99-based-standards] (SCNxMAX): Likewise.
22688 [C99-based-standards] (PRIdPTR): Likewise.
22689 [C99-based-standards] (PRIiPTR): Likewise.
22690 [C99-based-standards] (PRIoPTR): Likewise.
22691 [C99-based-standards] (PRIuPTR): Likewise.
22692 [C99-based-standards] (PRIxPTR): Likewise.
22693 [C99-based-standards] (PRIXPTR): Likewise.
22694 [C99-based-standards] (SCNdPTR): Likewise.
22695 [C99-based-standards] (SCNiPTR): Likewise.
22696 [C99-based-standards] (SCNoPTR): Likewise.
22697 [C99-based-standards] (SCNuPTR): Likewise.
22698 [C99-based-standards] (SCNxPTR): Likewise.
22699 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22700 allow.
22701 * conform/data/stdint.h-data: Update comments to clarify
22702 requirements.
22703 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22704 type.
22705 [C99-based standards] (INT8_MAX): Likewise.
22706 [C99-based standards] (INT16_MIN): Likewise.
22707 [C99-based standards] (INT16_MAX): Likewise.
22708 [C99-based standards] (INT32_MIN): Likewise.
22709 [C99-based standards] (INT32_MAX): Likewise.
22710 [C99-based standards] (INT64_MIN): Likewise.
22711 [C99-based standards] (INT64_MAX): Likewise.
22712 [C99-based standards] (UINT8_MAX): Likewise.
22713 [C99-based standards] (UINT16_MAX): Likewise.
22714 [C99-based standards] (UINT32_MAX): Likewise.
22715 [C99-based standards] (UINT64_MAX): Likewise.
22716 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22717 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22718 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22719 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22720 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22721 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22722 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22723 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22724 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22725 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22726 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22727 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22728 [C99-based standards] (INT_FAST8_MIN): Likewise.
22729 [C99-based standards] (INT_FAST8_MAX): Likewise.
22730 [C99-based standards] (INT_FAST16_MIN): Likewise.
22731 [C99-based standards] (INT_FAST16_MAX): Likewise.
22732 [C99-based standards] (INT_FAST32_MIN): Likewise.
22733 [C99-based standards] (INT_FAST32_MAX): Likewise.
22734 [C99-based standards] (INT_FAST64_MIN): Likewise.
22735 [C99-based standards] (INT_FAST64_MAX): Likewise.
22736 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22737 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22738 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22739 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22740 [C99-based standards] (INTPTR_MIN): Likewise.
22741 [C99-based standards] (INTPTR_MAX): Likewise.
22742 [C99-based standards] (UINTPTR_MAX): Likewise.
22743 [C99-based standards] (INTMAX_MIN): Likewise.
22744 [C99-based standards] (INTMAX_MAX): Likewise.
22745 [C99-based standards] (UINTMAX_MAX): Likewise.
22746 [C99-based standards] (PTRDIFF_MIN): Likewise.
22747 [C99-based standards] (PTRDIFF_MAX): Likewise.
22748 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22749 [C99-based standards] (SIZE_MAX): Likewise.
22750 [C99-based standards] (WCHAR_MAX): Likewise.
22751 [C99-based standards] (WINT_MAX): Likewise.
22752 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22753 constraint on value.
22754 [C99-based standards] (WCHAR_MIN): Likewise.
22755 [C99-based standards] (WINT_MIN): Likewise.
22756 [C99-based standards] (*_t): Allow.
22757 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22758 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22759 Include math.h-data and complex.h-data. Remove all expectations
22760 of math.h and complex.h contents.
22761 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22762 at end of line.
22763 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22764 (struct tm): Expect tag.
22765 [C99-based-standards] (wcstof): Expect function.
22766 [C99-based-standards] (wcstold): Likewise.
22767 [C99-based-standards] (wcstoll): Likewise.
22768 [C99-based-standards] (wcstoull): Likewise.
22769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22770 macro-int-constant. Specify type.
22771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22772 constraint on value.
22773 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22774 Specify type.
22775 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22776 Specify value.
22777 [ISO C standards]: Do not allow headers.
22778 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22779 wcs[abcdefghijklmnopqrstuvwxyz]*.
22780 [ISO C standards] (*_t): Do not allow.
22781 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22782 Expect function.
22783 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22784 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22785 Specify type.
22786 [ISO C standards]: Do not allow headers.
22787 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22788 is[abcdefghijklmnopqrstuvwxyz]*.
22789 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22790 to[abcdefghijklmnopqrstuvwxyz]*.
22791 [ISO C standards] (*_t): Do not allow.
22792 * conform/data/stdalign.h-data: New file.
22793 * conform/data/stdbool.h-data: Likewise.
22794 * conform/data/stdnoreturn.h-data: Likewise.
22795
7514feb8
RM
227962012-11-07 Roland McGrath <roland@hack.frob.com>
22797
22798 [BZ #14815]
22799 * manual/filesys.texi (Directory Entries): Typo fix.
22800 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22801
19b2ecfc
MS
228022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22803
22804 * elf/elf.h (EM_AARCH64): New macro.
22805 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22806 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22807 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22808 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22809 (R_AARCH64_TLSDESC): Likewise.
22810 (NT_ARM_TLS): Likewise.
22811 (NT_ARM_HW_BREAK): Likewise.
22812 (NT_ARM_HW_WATCH): Likewise.
22813
60e235ee
JM
228142012-11-07 Joseph Myers <joseph@codesourcery.com>
22815
22816 [BZ #14811]
22817 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22818 (__ieee754_powl): Saturate nonzero exponents with absolute value
22819 below 0x1p-79 to +/- 0x1p-79.
22820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22821 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22823 nonzero exponents with absolute value below 0x1p-32 to +/-
22824 0x1p-32.
22825 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22826 (__ieee754_powl): Saturate nonzero exponents with absolute value
22827 below 0x1p-79 to +/- 0x1p-79.
22828 * math/libm-test.inc (pow_test): Add more tests.
22829
0ab234b7
AK
228302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22831
22832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22833 _dl_s390_cap_flags with kernel. Increase string length.
22834 (_dl_s390_platforms): Add z196 and zEC12.
22835
45832f74
JM
228362012-11-07 Joseph Myers <joseph@codesourcery.com>
22837
22838 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22839 Change XOPEN21K to XOPEN2K.
22840
19218757
MK
228412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22842
22843 * string/memmove.c: Use memcpy when possible.
22844
c5f45721
AJ
228452012-11-06 Andreas Jaeger <aj@suse.de>
22846
22847 * po/eo.po: Update from translation team.
22848
82477c28
JM
228492012-11-06 Joseph Myers <joseph@codesourcery.com>
22850
22851 [BZ #14793]
22852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22853 exponent and small x and y exponents, scale x or y up. Increase
22854 by 2 the exponent used in scaling up.
22855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22857 * math/libm-test.inc (fma_test): Add more tests.
22858 (fma_test_towardzero): Likewise.
22859 (fma_test_downward): Likewise.
22860 (fma_test_upward): Likewise.
22861
99252c8c
JM
228622012-11-05 Joseph Myers <joseph@codesourcery.com>
22863
acfa885f
JM
22864 [BZ #14805]
22865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22866 fenv_t *.
22867
99252c8c
JM
22868 [BZ #14801]
22869 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22870 namespace for names of struct fields.
22871 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22872 fenv_t fields.
22873 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22874 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22875
d6d98dea
ST
228762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22877
22878 [BZ #3665]
22879 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22880
e10bb107
TS
228812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22882
22883 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22884 PTR_DEMANGLE.
22885
22886 [BZ #5246]
22887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22888 PTR_DEMANGLE.
22889
a0c2940d
JM
228902012-11-04 Joseph Myers <joseph@codesourcery.com>
22891
22892 [BZ #14797]
22893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22894 definitely overflow as x * y not x * y + z.
22895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22897 * math/libm-test.inc (fma_test): Add more tests.
22898 (fma_test_towardzero): Likewise.
22899 (fma_test_downward): Likewise.
22900 (fma_test_upward): Likewise.
22901
b830319d
TS
229022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22903
22904 [BZ #157]
22905
22906 * include/stub-tag.h: Remove file.
22907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22908 '#include' of it.
22909 * manual/maint.texi (Porting): Don't reference it.
22910 * Makerules ($(objpfx)stubs): Likewise.
22911 * dirent/closedir.c: Don't include <stub-tag.h>.
22912 * dirent/dirfd.c: Likewise.
22913 * dirent/fdopendir.c: Likewise.
22914 * dirent/getdents.c: Likewise.
22915 * dirent/getdents64.c: Likewise.
22916 * dirent/opendir.c: Likewise.
22917 * dirent/readdir.c: Likewise.
22918 * dirent/readdir64.c: Likewise.
22919 * dirent/readdir64_r.c: Likewise.
22920 * dirent/readdir_r.c: Likewise.
22921 * dirent/rewinddir.c: Likewise.
22922 * dirent/seekdir.c: Likewise.
22923 * dirent/telldir.c: Likewise.
22924 * gmon/profil.c: Likewise.
22925 * grp/setgroups.c: Likewise.
22926 * inet/if_index.c: Likewise.
22927 * io/access.c: Likewise.
22928 * io/chdir.c: Likewise.
22929 * io/chmod.c: Likewise.
22930 * io/chown.c: Likewise.
22931 * io/close.c: Likewise.
22932 * io/dup.c: Likewise.
22933 * io/dup2.c: Likewise.
22934 * io/dup3.c: Likewise.
22935 * io/euidaccess.c: Likewise.
22936 * io/faccessat.c: Likewise.
22937 * io/fchdir.c: Likewise.
22938 * io/fchmod.c: Likewise.
22939 * io/fchmodat.c: Likewise.
22940 * io/fchown.c: Likewise.
22941 * io/fchownat.c: Likewise.
22942 * io/fcntl.c: Likewise.
22943 * io/flock.c: Likewise.
22944 * io/fstatfs.c: Likewise.
22945 * io/fstatfs64.c: Likewise.
22946 * io/fstatvfs.c: Likewise.
22947 * io/fstatvfs64.c: Likewise.
22948 * io/futimens.c: Likewise.
22949 * io/fxstat.c: Likewise.
22950 * io/fxstat64.c: Likewise.
22951 * io/fxstatat.c: Likewise.
22952 * io/fxstatat64.c: Likewise.
22953 * io/getcwd.c: Likewise.
22954 * io/isatty.c: Likewise.
22955 * io/lchmod.c: Likewise.
22956 * io/lchown.c: Likewise.
22957 * io/link.c: Likewise.
22958 * io/linkat.c: Likewise.
22959 * io/lseek.c: Likewise.
22960 * io/lseek64.c: Likewise.
22961 * io/lxstat64.c: Likewise.
22962 * io/mkdir.c: Likewise.
22963 * io/mkdirat.c: Likewise.
22964 * io/mkfifo.c: Likewise.
22965 * io/mkfifoat.c: Likewise.
22966 * io/open.c: Likewise.
22967 * io/open64.c: Likewise.
22968 * io/openat.c: Likewise.
22969 * io/openat64.c: Likewise.
22970 * io/pipe.c: Likewise.
22971 * io/pipe2.c: Likewise.
22972 * io/poll.c: Likewise.
22973 * io/posix_fadvise.c: Likewise.
22974 * io/posix_fadvise64.c: Likewise.
22975 * io/posix_fallocate.c: Likewise.
22976 * io/posix_fallocate64.c: Likewise.
22977 * io/read.c: Likewise.
22978 * io/readlink.c: Likewise.
22979 * io/readlinkat.c: Likewise.
22980 * io/rmdir.c: Likewise.
22981 * io/sendfile.c: Likewise.
22982 * io/sendfile64.c: Likewise.
22983 * io/statfs.c: Likewise.
22984 * io/statfs64.c: Likewise.
22985 * io/statvfs.c: Likewise.
22986 * io/statvfs64.c: Likewise.
22987 * io/symlink.c: Likewise.
22988 * io/symlinkat.c: Likewise.
22989 * io/ttyname.c: Likewise.
22990 * io/ttyname_r.c: Likewise.
22991 * io/umask.c: Likewise.
22992 * io/unlink.c: Likewise.
22993 * io/unlinkat.c: Likewise.
22994 * io/utime.c: Likewise.
22995 * io/utimensat.c: Likewise.
22996 * io/write.c: Likewise.
22997 * io/xmknod.c: Likewise.
22998 * io/xmknodat.c: Likewise.
22999 * io/xstat.c: Likewise.
23000 * io/xstat64.c: Likewise.
23001 * login/getpt.c: Likewise.
23002 * login/grantpt.c: Likewise.
23003 * login/unlockpt.c: Likewise.
23004 * math/e_acoshl.c: Likewise.
23005 * math/e_acosl.c: Likewise.
23006 * math/e_asinl.c: Likewise.
23007 * math/e_atan2l.c: Likewise.
23008 * math/e_atanhl.c: Likewise.
23009 * math/e_coshl.c: Likewise.
23010 * math/e_expl.c: Likewise.
23011 * math/e_fmodl.c: Likewise.
23012 * math/e_gammal_r.c: Likewise.
23013 * math/e_hypotl.c: Likewise.
23014 * math/e_j0l.c: Likewise.
23015 * math/e_j1l.c: Likewise.
23016 * math/e_jnl.c: Likewise.
23017 * math/e_lgammal_r.c: Likewise.
23018 * math/e_log10l.c: Likewise.
23019 * math/e_log2l.c: Likewise.
23020 * math/e_logl.c: Likewise.
23021 * math/e_powl.c: Likewise.
23022 * math/e_rem_pio2l.c: Likewise.
23023 * math/e_sinhl.c: Likewise.
23024 * math/e_sqrtl.c: Likewise.
23025 * math/fclrexcpt.c: Likewise.
23026 * math/fedisblxcpt.c: Likewise.
23027 * math/feenablxcpt.c: Likewise.
23028 * math/fegetenv.c: Likewise.
23029 * math/fegetexcept.c: Likewise.
23030 * math/fegetround.c: Likewise.
23031 * math/feholdexcpt.c: Likewise.
23032 * math/fesetenv.c: Likewise.
23033 * math/fesetround.c: Likewise.
23034 * math/feupdateenv.c: Likewise.
23035 * math/fgetexcptflg.c: Likewise.
23036 * math/fraiseexcpt.c: Likewise.
23037 * math/fsetexcptflg.c: Likewise.
23038 * math/ftestexcept.c: Likewise.
23039 * math/k_cosl.c: Likewise.
23040 * math/k_rem_pio2l.c: Likewise.
23041 * math/k_sinl.c: Likewise.
23042 * math/k_tanl.c: Likewise.
23043 * math/s_asinhl.c: Likewise.
23044 * math/s_atanl.c: Likewise.
23045 * math/s_cbrtl.c: Likewise.
23046 * math/s_erfl.c: Likewise.
23047 * math/s_expm1l.c: Likewise.
23048 * math/s_log1pl.c: Likewise.
23049 * math/s_tanhl.c: Likewise.
23050 * misc/acct.c: Likewise.
23051 * misc/brk.c: Likewise.
23052 * misc/chflags.c: Likewise.
23053 * misc/chroot.c: Likewise.
23054 * misc/fchflags.c: Likewise.
23055 * misc/fgetxattr.c: Likewise.
23056 * misc/flistxattr.c: Likewise.
23057 * misc/fremovexattr.c: Likewise.
23058 * misc/fsetxattr.c: Likewise.
23059 * misc/fsync.c: Likewise.
23060 * misc/ftruncate.c: Likewise.
23061 * misc/futimes.c: Likewise.
23062 * misc/futimesat.c: Likewise.
23063 * misc/getdomain.c: Likewise.
23064 * misc/getdtsz.c: Likewise.
23065 * misc/gethostid.c: Likewise.
23066 * misc/gethostname.c: Likewise.
23067 * misc/getloadavg.c: Likewise.
23068 * misc/getpagesize.c: Likewise.
23069 * misc/getsysstats.c: Likewise.
23070 * misc/getxattr.c: Likewise.
23071 * misc/gtty.c: Likewise.
23072 * misc/ioctl.c: Likewise.
23073 * misc/lgetxattr.c: Likewise.
23074 * misc/listxattr.c: Likewise.
23075 * misc/llistxattr.c: Likewise.
23076 * misc/lremovexattr.c: Likewise.
23077 * misc/lsetxattr.c: Likewise.
23078 * misc/lutimes.c: Likewise.
23079 * misc/madvise.c: Likewise.
23080 * misc/mincore.c: Likewise.
23081 * misc/mlock.c: Likewise.
23082 * misc/mlockall.c: Likewise.
23083 * misc/mmap.c: Likewise.
23084 * misc/mprotect.c: Likewise.
23085 * misc/msync.c: Likewise.
23086 * misc/munlock.c: Likewise.
23087 * misc/munlockall.c: Likewise.
23088 * misc/munmap.c: Likewise.
23089 * misc/preadv.c: Likewise.
23090 * misc/preadv64.c: Likewise.
23091 * misc/ptrace.c: Likewise.
23092 * misc/pwritev.c: Likewise.
23093 * misc/pwritev64.c: Likewise.
23094 * misc/readv.c: Likewise.
23095 * misc/reboot.c: Likewise.
23096 * misc/remap_file_pages.c: Likewise.
23097 * misc/removexattr.c: Likewise.
23098 * misc/revoke.c: Likewise.
23099 * misc/select.c: Likewise.
23100 * misc/setdomain.c: Likewise.
23101 * misc/setegid.c: Likewise.
23102 * misc/seteuid.c: Likewise.
23103 * misc/sethostid.c: Likewise.
23104 * misc/sethostname.c: Likewise.
23105 * misc/setregid.c: Likewise.
23106 * misc/setreuid.c: Likewise.
23107 * misc/setxattr.c: Likewise.
23108 * misc/sstk.c: Likewise.
23109 * misc/stty.c: Likewise.
23110 * misc/swapoff.c: Likewise.
23111 * misc/swapon.c: Likewise.
23112 * misc/sync.c: Likewise.
23113 * misc/syncfs.c: Likewise.
23114 * misc/syscall.c: Likewise.
23115 * misc/truncate.c: Likewise.
23116 * misc/ualarm.c: Likewise.
23117 * misc/usleep.c: Likewise.
23118 * misc/ustat.c: Likewise.
23119 * misc/utimes.c: Likewise.
23120 * misc/vhangup.c: Likewise.
23121 * misc/writev.c: Likewise.
23122 * posix/_exit.c: Likewise.
23123 * posix/alarm.c: Likewise.
23124 * posix/execve.c: Likewise.
23125 * posix/fexecve.c: Likewise.
23126 * posix/fork.c: Likewise.
23127 * posix/fpathconf.c: Likewise.
23128 * posix/getaddrinfo.c: Likewise.
23129 * posix/getegid.c: Likewise.
23130 * posix/geteuid.c: Likewise.
23131 * posix/getgid.c: Likewise.
23132 * posix/getgroups.c: Likewise.
23133 * posix/getlogin.c: Likewise.
23134 * posix/getlogin_r.c: Likewise.
23135 * posix/getpgid.c: Likewise.
23136 * posix/getpid.c: Likewise.
23137 * posix/getppid.c: Likewise.
23138 * posix/getresgid.c: Likewise.
23139 * posix/getresuid.c: Likewise.
23140 * posix/getsid.c: Likewise.
23141 * posix/getuid.c: Likewise.
23142 * posix/glob64.c: Likewise.
23143 * posix/nanosleep.c: Likewise.
23144 * posix/pathconf.c: Likewise.
23145 * posix/pause.c: Likewise.
23146 * posix/posix_madvise.c: Likewise.
23147 * posix/pread.c: Likewise.
23148 * posix/pread64.c: Likewise.
23149 * posix/pwrite.c: Likewise.
23150 * posix/pwrite64.c: Likewise.
23151 * posix/sched_getaffinity.c: Likewise.
23152 * posix/sched_getp.c: Likewise.
23153 * posix/sched_gets.c: Likewise.
23154 * posix/sched_primax.c: Likewise.
23155 * posix/sched_primin.c: Likewise.
23156 * posix/sched_rr_gi.c: Likewise.
23157 * posix/sched_setaffinity.c: Likewise.
23158 * posix/sched_setp.c: Likewise.
23159 * posix/sched_sets.c: Likewise.
23160 * posix/sched_yield.c: Likewise.
23161 * posix/setgid.c: Likewise.
23162 * posix/setlogin.c: Likewise.
23163 * posix/setpgid.c: Likewise.
23164 * posix/setresgid.c: Likewise.
23165 * posix/setresuid.c: Likewise.
23166 * posix/setsid.c: Likewise.
23167 * posix/setuid.c: Likewise.
23168 * posix/sleep.c: Likewise.
23169 * posix/spawni.c: Likewise.
23170 * posix/sysconf.c: Likewise.
23171 * posix/times.c: Likewise.
23172 * posix/wait.c: Likewise.
23173 * posix/wait3.c: Likewise.
23174 * posix/wait4.c: Likewise.
23175 * posix/waitpid.c: Likewise.
23176 * resolv/gai_sigqueue.c: Likewise.
23177 * resource/getpriority.c: Likewise.
23178 * resource/getrlimit.c: Likewise.
23179 * resource/getrusage.c: Likewise.
23180 * resource/nice.c: Likewise.
23181 * resource/setpriority.c: Likewise.
23182 * resource/setrlimit.c: Likewise.
23183 * resource/ulimit.c: Likewise.
23184 * rt/aio_cancel.c: Likewise.
23185 * rt/aio_fsync.c: Likewise.
23186 * rt/aio_read.c: Likewise.
23187 * rt/aio_sigqueue.c: Likewise.
23188 * rt/aio_suspend.c: Likewise.
23189 * rt/aio_write.c: Likewise.
23190 * rt/clock_getres.c: Likewise.
23191 * rt/clock_gettime.c: Likewise.
23192 * rt/clock_nanosleep.c: Likewise.
23193 * rt/clock_settime.c: Likewise.
23194 * rt/lio_listio.c: Likewise.
23195 * rt/mq_close.c: Likewise.
23196 * rt/mq_getattr.c: Likewise.
23197 * rt/mq_notify.c: Likewise.
23198 * rt/mq_open.c: Likewise.
23199 * rt/mq_receive.c: Likewise.
23200 * rt/mq_send.c: Likewise.
23201 * rt/mq_setattr.c: Likewise.
23202 * rt/mq_timedreceive.c: Likewise.
23203 * rt/mq_timedsend.c: Likewise.
23204 * rt/mq_unlink.c: Likewise.
23205 * rt/shm_open.c: Likewise.
23206 * rt/shm_unlink.c: Likewise.
23207 * rt/timer_create.c: Likewise.
23208 * rt/timer_delete.c: Likewise.
23209 * rt/timer_getoverr.c: Likewise.
23210 * rt/timer_gettime.c: Likewise.
23211 * rt/timer_settime.c: Likewise.
23212 * setjmp/__longjmp.c: Likewise.
23213 * setjmp/setjmp.c: Likewise.
23214 * signal/kill.c: Likewise.
23215 * signal/killpg.c: Likewise.
23216 * signal/raise.c: Likewise.
23217 * signal/sigaction.c: Likewise.
23218 * signal/sigaltstack.c: Likewise.
23219 * signal/sigblock.c: Likewise.
23220 * signal/sigignore.c: Likewise.
23221 * signal/sigintr.c: Likewise.
23222 * signal/signal.c: Likewise.
23223 * signal/sigpause.c: Likewise.
23224 * signal/sigpending.c: Likewise.
23225 * signal/sigqueue.c: Likewise.
23226 * signal/sigreturn.c: Likewise.
23227 * signal/sigset.c: Likewise.
23228 * signal/sigsetmask.c: Likewise.
23229 * signal/sigstack.c: Likewise.
23230 * signal/sigsuspend.c: Likewise.
23231 * signal/sigtimedwait.c: Likewise.
23232 * signal/sigvec.c: Likewise.
23233 * signal/sigwait.c: Likewise.
23234 * signal/sigwaitinfo.c: Likewise.
23235 * signal/sysv_signal.c: Likewise.
23236 * socket/accept.c: Likewise.
23237 * socket/accept4.c: Likewise.
23238 * socket/bind.c: Likewise.
23239 * socket/connect.c: Likewise.
23240 * socket/getpeername.c: Likewise.
23241 * socket/getsockname.c: Likewise.
23242 * socket/getsockopt.c: Likewise.
23243 * socket/isfdtype.c: Likewise.
23244 * socket/listen.c: Likewise.
23245 * socket/recv.c: Likewise.
23246 * socket/recvfrom.c: Likewise.
23247 * socket/recvmsg.c: Likewise.
23248 * socket/send.c: Likewise.
23249 * socket/sendmsg.c: Likewise.
23250 * socket/sendto.c: Likewise.
23251 * socket/setsockopt.c: Likewise.
23252 * socket/shutdown.c: Likewise.
23253 * socket/sockatmark.c: Likewise.
23254 * socket/socket.c: Likewise.
23255 * socket/socketpair.c: Likewise.
23256 * stdio-common/ctermid.c: Likewise.
23257 * stdio-common/cuserid.c: Likewise.
23258 * stdio-common/remove.c: Likewise.
23259 * stdio-common/rename.c: Likewise.
23260 * stdio-common/renameat.c: Likewise.
23261 * stdio-common/tempname.c: Likewise.
23262 * stdlib/getcontext.c: Likewise.
23263 * stdlib/makecontext.c: Likewise.
23264 * stdlib/setcontext.c: Likewise.
23265 * stdlib/swapcontext.c: Likewise.
23266 * stdlib/system.c: Likewise.
23267 * streams/fattach.c: Likewise.
23268 * streams/fdetach.c: Likewise.
23269 * streams/getmsg.c: Likewise.
23270 * streams/getpmsg.c: Likewise.
23271 * streams/putmsg.c: Likewise.
23272 * streams/putpmsg.c: Likewise.
23273 * sysdeps/unix/bsd/getpt.c: Likewise.
23274 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23275 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23278 Likewise.
23279 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23280 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23281 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23282 * sysvipc/msgctl.c: Likewise.
23283 * sysvipc/msgget.c: Likewise.
23284 * sysvipc/msgrcv.c: Likewise.
23285 * sysvipc/msgsnd.c: Likewise.
23286 * sysvipc/semctl.c: Likewise.
23287 * sysvipc/semget.c: Likewise.
23288 * sysvipc/semop.c: Likewise.
23289 * sysvipc/semtimedop.c: Likewise.
23290 * sysvipc/shmat.c: Likewise.
23291 * sysvipc/shmctl.c: Likewise.
23292 * sysvipc/shmdt.c: Likewise.
23293 * sysvipc/shmget.c: Likewise.
23294 * termios/tcdrain.c: Likewise.
23295 * termios/tcflow.c: Likewise.
23296 * termios/tcflush.c: Likewise.
23297 * termios/tcgetattr.c: Likewise.
23298 * termios/tcgetpgrp.c: Likewise.
23299 * termios/tcsendbrk.c: Likewise.
23300 * termios/tcsetattr.c: Likewise.
23301 * termios/tcsetpgrp.c: Likewise.
23302 * time/adjtime.c: Likewise.
23303 * time/clock.c: Likewise.
23304 * time/getitimer.c: Likewise.
23305 * time/gettimeofday.c: Likewise.
23306 * time/setitimer.c: Likewise.
23307 * time/settimeofday.c: Likewise.
23308 * time/stime.c: Likewise.
23309 * time/time.c: Likewise.
23310
233112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 23312
a20492cf
PT
23313 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23314 /usr/old/bin.
23315
72e182e3
PT
23316 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23317 instead of spaces.
23318 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23319
fbeafede
JM
233202012-11-03 Joseph Myers <joseph@codesourcery.com>
23321
5b5b04d6
JM
23322 [BZ #14796]
23323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23324 FE_TONEAREST before applying Dekker multiplication and Knuth
23325 addition. Clear inexact exceptions and check for exact zero
23326 results afterwards.
23327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23330 * math/libm-test.inc (fma_test): Add more tests.
23331 (fma_test_towardzero): Likewise.
23332 (fma_test_downward): Likewise.
23333 (fma_test_upward): Likewise.
23334 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23335 function.
23336 (libc_fesetround): New macro.
23337 (libc_fesetroundf): Likewise.
23338 (libc_fesetroundl): Likewise.
23339 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23340 function.
23341 (libc_fesetround_387): Likewise.
23342 (libc_fesetroundf): New macro.
23343 (libc_fesetround): Likewise.
23344 (libc_fesetroundl): Likewise.
23345 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23346 function.
23347 (libc_fesetroundf): New macro.
23348 (libc_fesetround): Likewise.
23349 (libc_fesetroundl): Likewise.
23350 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23351 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23352 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23353 libm_hidden_ver.
23354 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23355 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23356 libm_hidden_def.
23357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23358 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23359 libm_hidden_ver.
23360 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23361 libm_hidden_def.
23362
fbeafede
JM
23363 [BZ #3439]
23364 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23365 integer constant usable in #if and use that to give value to enum
23366 constant.
23367 (FE_DIVBYZERO): Likewise.
23368 (FE_UNDERFLOW): Likewise.
23369 (FE_OVERFLOW): Likewise.
23370 (FE_INVALID): Likewise.
23371 (FE_INVALID_SNAN): Likewise.
23372 (FE_INVALID_ISI): Likewise.
23373 (FE_INVALID_IDI): Likewise.
23374 (FE_INVALID_ZDZ): Likewise.
23375 (FE_INVALID_IMZ): Likewise.
23376 (FE_INVALID_COMPARE): Likewise.
23377 (FE_INVALID_SOFTWARE): Likewise.
23378 (FE_INVALID_SQRT): Likewise.
23379 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23380 (FE_TONEAREST): Likewise.
23381 (FE_TOWARDZERO): Likewise.
23382 (FE_UPWARD): Likewise.
23383 (FE_DOWNWARD): Likewise.
23384 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23385 (FE_DIVBYZERO): Likewise.
23386 (FE_OVERFLOW): Likewise.
23387 (FE_UNDERFLOW): Likewise.
23388 (FE_INEXACT): Likewise.
23389 (FE_TONEAREST): Likewise.
23390 (FE_DOWNWARD): Likewise.
23391 (FE_UPWARD): Likewise.
23392 (FE_TOWARDZERO): Likewise.
23393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23394 (FE_UNDERFLOW): Likewise.
23395 (FE_OVERFLOW): Likewise.
23396 (FE_DIVBYZERO): Likewise.
23397 (FE_INVALID): Likewise.
23398 (FE_TONEAREST): Likewise.
23399 (FE_TOWARDZERO): Likewise.
23400 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23401 (FE_OVERFLOW): Likewise.
23402 (FE_UNDERFLOW): Likewise.
23403 (FE_DIVBYZERO): Likewise.
23404 (FE_INEXACT): Likewise.
23405 (FE_TONEAREST): Likewise.
23406 (FE_TOWARDZERO): Likewise.
23407 (FE_UPWARD): Likewise.
23408 (FE_DOWNWARD): Likewise.
23409 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23410 (FE_DIVBYZERO): Likewise.
23411 (FE_OVERFLOW): Likewise.
23412 (FE_UNDERFLOW): Likewise.
23413 (FE_INEXACT): Likewise.
23414 (FE_TONEAREST): Likewise.
23415 (FE_DOWNWARD): Likewise.
23416 (FE_UPWARD): Likewise.
23417 (FE_TOWARDZERO): Likewise.
23418
105ca950
CM
234192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23420
23421 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23422
a542b389
AS
234232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23424
23425 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23426 commands. Quote $PWD.
23427 (blacklist_exports): Don't use remove_newlines. Replace "declare
23428 -x" by "export".
23429 (remove_newlines): Remove.
23430
f62c8abc
L
234312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23432
23433 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23434 * stdlib/stdlib.h (atof): Moved to ...
23435 * include/bits/stdlib-float.h: Here. New file.
23436 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23437 * stdlib/bits/stdlib-float.h: New file.
23438 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23439 -mno-sse -mno-mmx.
23440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23441 <xmmintrin.h>.
23442
0155d5b2
JM
234432012-11-02 Joseph Myers <joseph@codesourcery.com>
23444
a68d0680
JM
23445 * conform/conformtest.pl (@headers): Add fenv.h.
23446 * conform/data/fenv.h-data: New file.
23447 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23448 include of <math/fenv.h>.
23449
caf7f573
JM
23450 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23451 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23452 && !UNIX98]. Enables tests for XOPEN2K8.
23453 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23454 POSIX2008]: Likewise.
23455
6c073ad6
JM
23456 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23457 (struct rusage): Do not expect type or its members.
23458
0155d5b2
JM
23459 [BZ #3439]
23460 * math/math.h (FP_NAN): Define macro to integer constant usable in
23461 #if and use that to give value to enum constant.
23462 (FP_INFINITE): Likewise.
23463 (FP_ZERO): Likewise.
23464 (FP_SUBNORMAL): Likewise.
23465 (FP_NORMAL): Likewise.
23466
b5dcacb4
AS
234672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23468
23469 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23470 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23471 arguments.
23472
f7934be8
RM
234732012-11-02 Roland McGrath <roland@hack.frob.com>
23474
23475 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23476 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23477 autoconf-time if not.
23478 * configure.in: Remove AC_PREREQ.
23479
d7d08bde
TMQMF
234802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23481
23482 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23483 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23484 of the internal implementation.
23485
dcdae19a
JM
234862012-11-02 Joseph Myers <joseph@codesourcery.com>
23487
23488 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23489 except include of <misc/sys/syslog.h>.
23490
d6cffd3e
AS
234912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23492
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23494 function returns with a NULL context exit with zero.
23495
b3563932
TMQMF
234962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23497
23498 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23499
b288a93d
L
235002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23501
23502 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23503 (run_program_cmd): This.
23504 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23505 (tst_langinfo): New variable. Use it.
23506
a2421a68
SAS
235072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23508
23509 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23510 floating point opcodes.
23511
6f796e1b
TS
235122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23513
7402596b
TS
23514 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23515 variable.
23516
d0d4f868
TS
23517 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23518
6f796e1b
TS
23519 * sysdeps/mach/hurd/powerpc: Remove directory.
23520 * sysdeps/mach/powerpc: Likewise.
23521
4da224a2
AS
235222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23523
23524 * scripts/check-local-headers.sh: Ignore c++ headers.
23525
341dd673
TS
235262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23527
23528 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23529 __libc_cleanup_region_start argument.
23530
473611b2
JM
235312012-11-01 Joseph Myers <joseph@codesourcery.com>
23532
23533 [BZ #14784]
23534 [BZ #14785]
23535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23536 x * y using scaling, not as x * y + z.
23537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23539 * math/libm-test.inc (fma_test): Add more tests.
23540 (fma_test_towardzero): Likewise.
23541 (fma_test_downward): Likewise.
23542 (fma_test_upward): Likewise.
23543
4078da3d
TS
235442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23545
23546 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23547
903252aa
JM
235482012-10-31 Joseph Myers <joseph@codesourcery.com>
23549
23550 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23551 New variable.
23552
cbc818d0
TS
235532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23554
23555 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23556
5a03cb1e
AS
235572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23558
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23560 Fix sort order.
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23562 Likewise.
23563
90aff2ff
TMQMF
235642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23565
23566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23567 Fix the order of the list for glibc 2.17.
23568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23569 Likewise.
23570
1818fcb7
AS
235712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23572
23573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23574
ef82f4da
JM
235752012-10-31 Joseph Myers <joseph@codesourcery.com>
23576
16a0e2ec
JM
23577 [BZ #14610]
23578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23579 for low part of x being zero before using __atanl (y).
23580 * math/libm-test.inc (atan2_test): Add another test.
23581
0eb69512
JM
23582 * manual/install.texi (Configuring and compiling): Document
23583 general use of test-wrapper and test-wrapper-env.
23584 * INSTALL: Regenerated.
23585
ef82f4da
JM
23586 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23587 (__fma): Do not extract and scale down low bits on after-rounding
23588 systems when result rounded to normal precision would have normal
23589 exponent.
23590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23591 (__fmal): Do not extract and scale down low bits on after-rounding
23592 systems when result rounded to normal precision would have normal
23593 exponent.
23594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23595 (__fmal): Do not extract and scale down low bits on after-rounding
23596 systems when result rounded to normal precision would have normal
23597 exponent.
23598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23599 macro.
23600 (fma_test): Add more tests.
23601 (fma_test_towardzero): Likewise.
23602 (fma_test_downward): Likewise.
23603 (fma_test_upward): Likewise.
23604
954ef0d9
L
236052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23606
23607 * sysdeps/i386/tininess.h: Renamed to ...
23608 * sysdeps/x86/tininess.h: This.
23609 * sysdeps/x86_64/tininess.h: Removed.
23610
df61ffb2
JM
236112012-10-30 Joseph Myers <joseph@codesourcery.com>
23612
23613 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23614 input. Use $(build-program-cmd).
23615 ($(objpfx)tst-array1-static.out): Likewise.
23616 ($(objpfx)tst-array2.out): Likewise.
23617 ($(objpfx)tst-array3.out): Likewise.
23618 ($(objpfx)tst-array4.out): Likewise.
23619 ($(objpfx)tst-array5.out): Likewise.
23620 ($(objpfx)tst-array5-static.out): Likewise.
23621
01767843
CM
236222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23623
47cc1490
CM
23624 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23625 if defined.
23626
01767843
CM
23627 * nss/nsswitch.h (nss_interface_function): Provide new
23628 macro for use with NSS functions.
23629 * grp/initgroups.c: Use new macro.
23630 * nss/getXXbyYY.c: Likewise.
23631 * nss/getXXbyYY_r.c: Likewise.
23632 * nss/getXXent.c: Likewise.
23633 * nss/getXXent_r.c: Likewise.
23634 * sysdeps/posix/getaddrinfo.c: Likewise.
23635
8321aa97
AJ
236362012-10-30 Andreas Jaeger <aj@suse.de>
23637
23638 * po/ru.po: Update Russion translation from translation project.
23639
2a27fd6d
JM
236402012-10-30 Joseph Myers <joseph@codesourcery.com>
23641
8627a232
JM
23642 [BZ #14152]
23643 [BZ #14783]
23644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23645 result and shift together with sticky bit instead of replicating
23646 round-to-nearest rounding.
23647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23649 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23650 missing underflow exceptions.
23651 (fma_test_towardzero): Add more tests.
23652 (fma_test_downward): Likewise.
23653 (fma_test_upward): Likewise.
23654
2a27fd6d
JM
23655 [BZ #14047]
23656 * sysdeps/generic/tininess.h: New file.
23657 * sysdeps/i386/tininess.h: Likewise.
23658 * sysdeps/sh/tininess.h: Likewise.
23659 * sysdeps/x86_64/tininess.h: Likewise.
23660 * stdlib/tst-strtod-underflow.c: Likewise.
23661 * stdlib/tst-tininess.c: Likewise.
23662 * stdlib/strtod_l.c: Include <tininess.h>.
23663 (round_and_return): Do not set errno for exact underflow cases.
23664 Force an underflow exception when setting errno for underflow.
23665 Determine underflow based on rounding to normal precision if
23666 TININESS_AFTER_ROUNDING.
23667 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23668 ERANGE for exact underflow cases.
23669 * stdlib/Makefile (tests): Add tst-tininess and
23670 tst-strtod-underflow.
23671 ($(objpfx)tst-tininess): Use $(link-libm).
23672 ($(objpfx)tst-strtod-underflow): Likewise.
23673
e7170363
AJ
236742012-10-30 Andreas Jaeger <aj@suse.de>
23675
e5088dc6
AJ
23676 [BZ#14767]
23677 * elf/Makefile (tests): Remove conditional for have-initfini-array
23678 since this is now always required and the variable does not exist
23679 anymore.
23680 (tests-static): Likewise.
23681 (modules-names): Likewise.
23682
e7170363 23683 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
23684
23685 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23686 merged with constructor/destructor.
23687 (init_array): Likewise.
23688 * elf/tst-array2dep.c (fini_array): Likewise.
23689 (init_array): Likewise.
23690
60457d8a
MF
236912012-10-29 Mike Frysinger <vapier@gentoo.org>
23692
23693 * manual/message.texi: Delete @cartouche tags.
23694
8bece752
PT
236952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23696
94ce799f
PT
23697 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23698 EOPNOTSUPP.
23699 * sysdeps/mach/hurd/fsync.c: Likewise.
23700
8bece752
PT
23701 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23702 [_POSIX_REALTIME_SIGNALS]: Change condition to
23703 [_POSIX_REALTIME_SIGNALS > 0].
23704
86ebe6b1
AJ
237052012-10-27 Andreas Jaeger <aj@suse.de>
23706
23707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23708 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23710 [__WORDSIZE != 64]: Likewise.
23711
54399c08
L
237122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23713
23714 * iconvdata/tst-table.sh: Remove ${SHELL}.
23715 * iconvdata/tst-tables.sh: Likewise.
23716
e2211bed
DM
237172012-10-25 David S. Miller <davem@davemloft.net>
23718
23719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23720 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23721 of strtoull.
23722
f303f97c
DM
23723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23724 ifunc-impl-list.c
23725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23726 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23727 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23728 file.
23729
1e9d84cd
RM
237302012-10-25 Roland McGrath <roland@hack.frob.com>
23731
23732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23733 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23734 __getdirentries.
23735
df381762
JM
237362012-10-25 Joseph Myers <joseph@codesourcery.com>
23737 Jim Blandy <jimb@codesourcery.com>
23738
23739 * scripts/cross-test-ssh.sh: New file.
23740 * manual/install.texi (Configuring and compiling): Document use of
23741 cross-test-ssh.sh.
23742 * INSTALL: Regenerated.
23743
bff64913
PT
237442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23745
23746 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23747 EOPNOTSUPP.
23748
25fe8932
JM
237492012-10-25 Joseph Myers <joseph@codesourcery.com>
23750
23751 * Makeconfig (run-program-prefix): Fix comment.
23752
cc1290d0
JM
237532012-10-24 Joseph Myers <joseph@codesourcery.com>
23754 Jim Blandy <jimb@codesourcery.com>
23755
23756 * Makeconfig (test-wrapper): New variable,
23757 (test-wrapper-env): Likewise.
23758 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23759 (run-built-tests): Define to yes.
23760 (run-program-prefix): Use $(test-wrapper).
23761 (built-program-cmd): Likewise.
23762 * Rules (make-test-out): Use $(test-wrapper-env) and
23763 $(host-built-program-cmd).
23764 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23765 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23766 tst-pathopt.sh.
23767 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23768 $(test-wrapper-env) to tst-rtld-load-self.sh.
23769 ($(objpfx)order2.out): Use $(test-wrapper).
23770 ($(objpfx)tst-initorder.out): Likewise.
23771 ($(objpfx)tst-initorder2.out): Likewise.
23772 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23773 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23774 (test_wrapper_env): New variable. Use it to run ld.so.
23775 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23776 Use it to run ld.so.
23777 (test_wrapper_env): Likewise.
23778 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23779 $(test-wrapper) to run-iconv-test.sh.
23780 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23781 (ICONV): Use $test_wrapper.
23782 * posix/Makefile ($(objpfx)globtest.out): Pass
23783 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23784 globtest.sh, not $(run-program-prefix).
23785 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23786 (test_wrapper): Likewise.
23787 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23788 set together with run_via_rtld_prefix.
23789 (run_program_prefix): Define in terms of test_wrapper and
23790 run_via_rtld_prefix.
23791
6e6249d0
RM
237922012-10-24 Roland McGrath <roland@hack.frob.com>
23793
23794 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23795 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23796 Targets removed.
23797
23798 [BZ #14743]
23799 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23800 Declare __clock_getres, __clock_gettime, __clock_settime,
23801 __clock_nanosleep, and __clock_getcpuclockid.
23802 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23803 Remove librt_hidden_def (clock_gettime).
23804 * sysdeps/unix/clock_gettime.c: Likewise.
23805 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23807 * rt/clock_getres.c: Define __clock_getres as an alias.
23808 * sysdeps/posix/clock_getres.c: Likewise.
23809 * rt/clock_settime.c: Define __clock_settime as an alias.
23810 * sysdeps/unix/clock_settime.c: Likewise.
23811 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23812 * sysdeps/unix/clock_nanosleep.c: Likewise.
23813 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23814 * rt/clock-compat.c: New file.
23815 * rt/Makefile (librt-routines): Add clock-compat and move
23816 $(clock-routines) to ...
23817 (routines): ... here, new variable.
23818 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23819 Don't add get_clockfreq here.
23820 * rt/Versions (libc: GLIBC_2.17): New version set.
23821 Add clock_* symbols here.
23822 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23824 (GLIBC_2.17): Add clock_* symbols.
23825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23829 Likewise.
23830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23831 Likewise.
23832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23836 * NEWS: Mention the move.
23837
23838 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23839 Use __open, __read, __close rather than their public counterparts.
23840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23841 (__get_clockfreq_via_cpuinfo): Likewise.
23842 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23843 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23844
23845 * config.h.in (HAVE_IFUNC): New #undef.
23846 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23847 was successful.
23848 * configure: Regenerated.
23849
0cae3f4b
MF
238502012-10-24 Mike Frysinger <vapier@gentoo.org>
23851
23852 * configure.in: Move READELF check to start of file.
23853 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23854 libc_cv_asm_gnu_indirect_function in the process.
23855 * configure: Regenerated.
23856
8175a253
MF
238572012-10-24 Mike Frysinger <vapier@gentoo.org>
23858
23859 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23860 send the output to /dev/null.
23861 (libc_cv_cc_with_libunwind): Likewise.
23862 (libc_cv_as_noexecstack): Likewise.
23863 * configure: Regenerate.
23864
0708a7d1
JM
238652012-10-24 Joseph Myers <joseph@codesourcery.com>
23866
10b40d85
JM
23867 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23868
0708a7d1
JM
23869 * posix/globtest.sh (TMPDIR): Do not set.
23870 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23871 (testout): Likewise.
23872
9fddec1a
AJ
238732012-10-24 Andreas Jaeger <aj@suse.de>
23874
3a8db22f
AJ
23875 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23876 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23877 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23878 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23879 posix_fadvise64, posix_fallocate64.
23880
9fddec1a
AJ
23881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23882 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23883 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23884 Likewise.
23885 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23886 Likewise.
23887 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23888
23889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23890 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23891 <bits/fcntl-linux.h>.
23892 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23893
23894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23895 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23896 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23897 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23898 [__WORDSIZE != 64]: Likewise.
23899
ebfd1bbd
JM
239002012-10-23 Joseph Myers <joseph@codesourcery.com>
23901
03ac099f
JM
23902 * Makeconfig (run-built-tests): New variable.
23903 * Rules [$(cross-compiling) = yes]: Change condition to
23904 [$(run-built-tests) = no].
23905 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23906 to [$(run-built-tests) = yes].
23907 * elf/Makefile [$(cross-compiling) = no]: Likewise
23908 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23909 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23910 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23911 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23912 * io/Makefile [$(cross-compiling) = no]: Likewise.
23913 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23914 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23915 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23916 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23917 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23918 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23919 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23920 * string/Makefile [$(cross-compiling) = no]: Likewise.
23921
ebfd1bbd
JM
23922 * posix/Makefile ($(objpfx)globtest.out): Pass
23923 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23924 $(rtld-installed-name).
23925 * posix/globtest.sh (elf_objpfx): Remove variable.
23926 (rtld_installed_name): Likewise.
23927 (library_path): Likewise.
23928 (run_program_prefix): New variable. Use for running globtest
23929 binary.
23930
166bca24
JB
239312012-10-23 Jim Blandy <jimb@codesourcery.com>
23932 Joseph Myers <joseph@codesourcery.com>
23933
23934 * Makeconfig (host-built-program-cmd): New variable.
23935 * elf/Makefile (tst-stackguard1-ARGS): Use
23936 $(host-built-program-cmd).
23937 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23938 (tst-spawn-ARGS): Likewise.
23939 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23940
88866099
JM
239412012-10-23 Joseph Myers <joseph@codesourcery.com>
23942 Jim Blandy <jimb@codesourcery.com>
23943
23944 * Makeconfig (run-via-rtld-prefix): New variable.
23945 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23946 (built-program-cmd): Likewise.
23947
b4b4c296
AJ
239482012-10-22 Andreas Jaeger <aj@suse.de>
23949
23950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23951 __O_RSYNC if it exists, otherwise to O_SYNC.
23952
6fb54a22
JB
239532012-10-22 Jim Blandy <jimb@codesourcery.com>
23954 Joseph Myers <joseph@codesourcery.com>
23955
23956 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23957 /dev/null.
23958 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23959 from /dev/null
23960 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23961 /dev/null.
23962
481b90b9
AJ
239632012-10-22 Andreas Jaeger <aj@suse.de>
23964
2a0e2669
AJ
23965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23966 Define always.
23967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23968
76e38f9a
AJ
23969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23970 bits/fcntl-linux.h.
23971
7cd37b43
AJ
23972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23973 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23974
481b90b9
AJ
23975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23976 to __O_LARGEFILE.
23977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23978 to __O_LARGEFILE.
23979
aba75984
JB
239802012-10-21 Jim Blandy <jimb@codesourcery.com>
23981 Joseph Myers <joseph@codesourcery.com>
23982
23983 * config.make.in (NM): New variable.
23984
88d4247f
AJ
239852012-10-21 Andreas Jaeger <aj@suse.de>
23986
23987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23988 definitions and declarations that are provided by
23989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23990
f2eed205
L
239912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23992
23993 [BZ #14683]
23994 * elf/Makefile (tests-static): Add tst-leaks1-static.
23995 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23996 ($(objpfx)tst-leaks1-static): New rule.
23997 ($(objpfx)tst-leaks1-static-mem): Likewise.
23998 (tst-leaks1-static-ENV): New macro.
23999 * elf/dl-open.c (dl_open_worker): Check the main application
24000 only if SHARED is defined.
24001 * elf/tst-leaks1-static.c: New file.
24002
335e6931
AJ
240032012-10-20 Andreas Jaeger <aj@suse.de>
24004
24005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24006 generic values for Linux.
24007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24008 and declarations that are provided by <bits/fcntl-linux.h> and
24009 include <bits/fcntl-linux.h>.
24010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24012
ac5c94d3
RM
240132012-10-20 Roland McGrath <roland@hack.frob.com>
24014
24015 * io/fcntl.h: Move include of <bits/types.h> to the top and
24016 include it unconditionally.
24017
de54b33a
L
240182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
24019
228cfb01
L
24020 * wcsmbs/Makefile (tests-ifunc): New variable.
24021 (tests): Add $(tests-ifunc).
24022 * wcsmbs/test-wcschr-ifunc.c: New file.
24023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24028
69f07e5f
L
24029 * string/Makefile (tests-ifunc): New variable.
24030 (tests): Add $(tests-ifunc).
24031 * string/test-memccpy.c (TEST_NAME): New macro.
24032 * string/test-memchr.c (TEST_NAME): Likewise.
24033 * string/test-memcmp.c (TEST_NAME): Likewise.
24034 * string/test-memcpy.c (TEST_NAME): Likewise.
24035 * string/test-memmem.c (TEST_NAME): Likewise.
24036 * string/test-memmove.c (TEST_NAME): Likewise.
24037 * string/test-memset.c (TEST_NAME): Likewise.
24038 * string/test-rawmemchr.c (TEST_NAME): Likewise.
24039 * string/test-stpcpy.c (TEST_NAME): Likewise.
24040 * string/test-stpncpy.c (TEST_NAME): Likewise.
24041 * string/test-strcasecmp.c (TEST_NAME): Likewise.
24042 * string/test-strcasestr.c (TEST_NAME): Likewise.
24043 * string/test-strcat.c (TEST_NAME): Likewise.
24044 * string/test-strchr.c (TEST_NAME): Likewise.
24045 * string/test-strcmp.c(TEST_NAME): Likewise.
24046 * string/test-strcpy.c (TEST_NAME): Likewise.
24047 * string/test-strcspn.c (TEST_NAME): Likewise.
24048 * string/test-strlen.c (TEST_NAME): Likewise.
24049 * string/test-strncasecmp.c (TEST_NAME): Likewise.
24050 * string/test-strncmp.c (TEST_NAME): Likewise.
24051 * string/test-strncpy.c (TEST_NAME): Likewise.
24052 * string/test-strnlen.c (TEST_NAME): Likewise.
24053 * string/test-strpbrk.c (TEST_NAME): Likewise.
24054 * string/test-strrchr.c (TEST_NAME): Likewise.
24055 * string/test-strspn.c (TEST_NAME): Likewise.
24056 * string/test-strstr.c (TEST_NAME): Likewise.
24057 * string/test-bcopy-ifunc.c: New file.
24058 * string/test-bzero-ifunc.c: Likewise.
24059 * string/test-memccpy-ifunc.c: Likewise.
24060 * string/test-memchr-ifunc.c: Likewise.
24061 * string/test-memcmp-ifunc.c: Likewise.
24062 * string/test-memcpy-ifunc.c: Likewise.
24063 * string/test-memmem-ifunc.c: Likewise.
24064 * string/test-memmove-ifunc.c: Likewise.
24065 * string/test-mempcpy-ifunc.c: Likewise.
24066 * string/test-memset-ifunc.c: Likewise.
24067 * string/test-rawmemchr-ifunc.c: Likewise.
24068 * string/test-stpcpy-ifunc.c: Likewise.
24069 * string/test-stpncpy-ifunc.c: Likewise.
24070 * string/test-strcasecmp-ifunc.c: Likewise.
24071 * string/test-strcasestr-ifunc.c: Likewise.
24072 * string/test-strcat-ifunc.c: Likewise.
24073 * string/test-strchr-ifunc.c: Likewise.
24074 * string/test-strchrnul-ifunc.c: Likewise.
24075 * string/test-strcmp-ifunc.c: Likewise.
24076 * string/test-strcpy-ifunc.c: Likewise.
24077 * string/test-strcspn-ifunc.c: Likewise.
24078 * string/test-strlen-ifunc.c: Likewise.
24079 * string/test-strncasecmp-ifunc.c: Likewise.
24080 * string/test-strncat-ifunc.c: Likewise.
24081 * string/test-strncmp-ifunc.c: Likewise.
24082 * string/test-strncpy-ifunc.c: Likewise.
24083 * string/test-strnlen-ifunc.c: Likewise.
24084 * string/test-strpbrk-ifunc.c: Likewise.
24085 * string/test-strrchr-ifunc.c: Likewise.
24086 * string/test-strspn-ifunc.c: Likewise.
24087 * string/test-strstr-ifunc.c: Likewise.
24088
de54b33a
L
24089 * debug/Makefile (tests-ifunc): New variable.
24090 (tests): Add $(tests-ifunc).
24091 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24092 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24093 * debug/test-stpcpy_chk-ifunc.c: New file.
24094 * debug/test-strcpy_chk-ifunc.c: Likewise.
24095
88481c16
SP
240962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24097
24098 [BZ #13601]
24099 * elf/dl-load.c (open_verify): Retry read if the entire ELF
24100 header is not read in.
24101
135948bd
JM
241022012-10-19 Joseph Myers <joseph@codesourcery.com>
24103
89f1c388
JM
24104 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
24105 script to $(SHELL) as $<. Pass $(common-objpfx) to script
24106 directly. Pass built executable to script as
24107 $(built-program-cmd).
24108 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
24109 $testprogram without using LD_LIBRARY_PATH and $ldso.
24110
e40a0d21
JM
24111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24112 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24113 $(rtld-installed-name).
24114 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24115 (rtld_installed_name): Likewise.
24116 (library_path): Likewise.
24117 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
24118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24119 $(run-program-prefix) to tst-tables.sh.
24120 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
24121 it to run tst-table-from and tst-table-to.
24122 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24123 Pass it to tst-table.sh.
24124 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24125 $(run-program-prefix) to tst-gettext.sh.
24126 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24127 tst-translit.sh.
24128 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24129 tst-gettext2.sh.
24130 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
24131 to run tst-gettext.
24132 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
24133 to run tst-gettext2.
24134 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
24135 to run tst-translit.
24136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24137 $(run-program-prefix) to tst-mtrace.sh.
24138 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
24139 to run tst-mtrace.
24140 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24141 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24142 $(rtld-installed-name).
24143 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24144 (rtld_installed_name): Likewise.
24145 (run_program_prefix): New variable. Use it to run wordexp-test.
24146
728e272a
JM
24147 * Makeconfig (ARCH): Remove all definitions.
24148 (machine): Likewise.
24149 [ARCH]: Remove conditional code.
24150 [!objdir]: Give error.
24151 [!objdir] (objpfx): Remove.
24152 [!objdir] (common-objpfx): Likewise.
24153 [!objdir] (common-objdir): Likewise.
24154 * configure.in (config_makefile): Remove. Hardcode Makefile in
24155 AC_CONFIG_FILES call.
24156 * configure: Regenerated.
24157
d528cdcf
JM
24158 [BZ #13888]
24159 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24160 or TMPDIR.
24161 (testout): Likewise.
24162
135948bd
JM
24163 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24164 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24165 $(rtld-installed-name).
24166 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24167 (rtld_installed_name): Likwise.
24168 (runit): Remove function.
24169 (run_getconf): New variable, Use it for running getconf binary.
24170
38c78296
L
241712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
24172
24173 [BZ #14716]
24174 * string/test-memmem.c (check_result): New function.
24175 (do_one_test): Use it.
24176 (check1): New function.
24177 (test_main): Use it.
24178
d077f65f
MT
241792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
24180
24181 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24182
ced52c71
JM
241832012-10-18 Joseph Myers <joseph@codesourcery.com>
24184
24185 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24186 (_G_LSEEK64): Likewise.
24187 (_G_MMAP64): Likewise.
24188 (_G_FSTAT64): Likewise.
24189 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24190 (_G_LSEEK64): Likewise.
24191 (_G_MMAP64): Likewise.
24192 (_G_FSTAT64): Likewise.
24193 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24194 unconditional. Call __mmap64 directly.
24195 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24196 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
24197 __lseek64 directly.
24198 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24199 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
24200 __mmap64 directly.
24201 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24202 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24203 __lseek64 directly.
24204 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24205 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24206 __lseek64 directly.
24207 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24208 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24209 __lseek64 directly.
24210 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24211 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24212 __fxstat64 directly.
24213 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24214 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24215 unconditional.
24216 (freopen64) [!_G_OPEN64]: Remove conditional code.
24217 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24218 unconditional.
24219 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24220 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24221 unconditional.
24222 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24223 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24224 unconditional.
24225 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24226 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24227 unconditional.
24228 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24229 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24230 unconditional.
24231 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24232 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24233 unconditional.
24234 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24235 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24236 unconditional.
24237 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24238
b741de23
SP
242392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24240
24241 [BZ #12140]
24242 * manual/memory.texi (Malloc Tunable Parameters): Add note
24243 about free list pointers overwriting some perturb bytes.
24244 Wording suggested by Roland McGrath.
24245
f9b9d9c9
JM
242462012-10-17 Joseph Myers <joseph@codesourcery.com>
24247
24248 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24249 (lgamma_test): Likewise.
24250 (tgamma_test): Likewise.
24251
172a631a
FW
242522012-10-16 Florian Weimer <fweimer@redhat.com>
24253
24254 [BZ #14700]
24255 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24256 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24257
e9f37252
MK
242582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24259
24260 * NEWS: Mention BZ #14716.
24261 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24262 when removing AVAILABLE1_USES_J macro.
24263
d394eb74
L
242642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24265
24266 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24267 (__bswap_64): __uint64_t for unsigned 64-bit int.
24268
ca38dc17
AS
242692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24270
24271 * include/string.h (memmem): Declare libc hidden alias.
24272 * string/memmem.c (memmem): Define libc hidden alias.
24273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24274 __read, __close instead of open, read, close.
24275
9a387d1f
L
242762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24277
ac49ecaf
L
24278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24279 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24280 global and hidden.
24281 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24283 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24284 Likewise.
24285 (__rawmemchr_sse2): Likewise.
24286 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24288 (__strchr_sse2): Likewise.
24289 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24290 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24291 (__strcasecmp_sse2): Likewise.
24292 (__strncasecmp_sse2): Likewise.
24293 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24294 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24295 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24296 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24297 (__strrchr_sse2): Likewise.
24298 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24299 ifunc-impl-list.c.
24300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24303 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24308 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24309 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24310 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24311 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24318 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24319 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24320 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24321 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24322 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24324 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24326 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24328 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24330
b090e8ea
L
24331 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24332 global and hidden.
24333 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24334 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24335 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24336 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24337 Likewise.
24338 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24339 Likewise.
24340 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24341 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24342 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24343 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24344 ifunc-impl-list.c.
24345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24362 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24370 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24371 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24372 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24373 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24375 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24376 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24377 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24378 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24386
11dd4af6
L
24387 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24388 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24389 * include/ifunc-impl-list.h: New file.
24390 * misc/ifunc-impl-list.c: Likewise.
24391 * misc/Makefile (routines): Add ifunc-impl-list.
24392 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24393 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
24394 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24395 TEST_NAME]: New variables.
11dd4af6
L
24396 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24397 are defined.
24398 (test_init): Call __libc_ifunc_impl_list to initialize
24399 func_list if TEST_IFUNC and TEST_NAME are defined.
24400
9a387d1f
L
24401 * string/Makefile (strop-tests): Add bcopy and bzero.
24402 * string/test-bcopy.c: New file.
24403 * string/test-bzero.c: Likewise.
24404 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24405 defined.
24406 * string/test-memset.c: Support bzero test if TEST_BZERO is
24407 defined.
24408 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24409 __libc_memmove.
24410 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24411 __libc_memset.
24412 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24413 of memset.
24414
472371b9
JM
244152012-10-10 Joseph Myers <joseph@codesourcery.com>
24416
1e4a9536
JM
24417 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24418 * configure: Regenerated.
24419
d173d12e
JM
24420 * Makeconfig (+link-static-before-libc): Don't include
24421 $(link-static-libc).
24422
472371b9
JM
24423 * libio/libio.h (_IO_pos_t): Remove.
24424
89a3ad0b
AO
244252012-10-10 Alexandre Oliva <aoliva@redhat.com>
24426
24427 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24428 McGrath.
24429
e7451425
AO
244302012-10-10 Alexandre Oliva <aoliva@redhat.com>
24431
24432 * crypt/crypt-entry.c: Include fips-private.h.
24433 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24434 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24435 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24436 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24437
4ba74a35
AO
244382012-10-10 Alexandre Oliva <aoliva@redhat.com>
24439
24440 * crypt/crypt-private.h: Include stdbool.h.
24441 (_ufc_setup_salt_r): Return bool.
24442 * crypt/crypt-entry.c: Include errno.h.
24443 (__crypt_r): Return NULL with EINVAL for bad salt.
24444 * crypt/crypt_util.c (bad_for_salt): New.
24445 (_ufc_setup_salt_r): Check that salt is long enough and within
24446 the specified alphabet.
24447 * crypt/badsalttest.c: New file.
24448 * crypt/Makefile (tests): Add it.
24449 ($(objpfx)badsalttest): New.
24450
f96f1242
MK
244512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24452
24453 * NEWS: Add entry for BZ #14602.
24454
0e8e0c1c
JM
244552012-10-09 Joseph Myers <joseph@codesourcery.com>
24456
24457 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24458 type-generic.
24459 * math/libm-test.inc: Update comment listing what functions and
24460 macros are tested.
24461 (isgreater_test): New function.
24462 (isgreaterequal_test): Likewise.
24463 (isless_test): Likewise.
24464 (islessequal_test): Likewise.
24465 (islessgreater_test): Likewise.
24466 (isunordered_test): Likewise.
24467 (main): Call the new functions.
24468
273edc5e
RM
244692012-10-09 Roland McGrath <roland@hack.frob.com>
24470
b8493de0
RM
24471 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24472 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24473 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24474 * sysdeps/i386/configure: Regenerated.
24475 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24476 * sysdeps/mach/configure: Regenerated.
24477 * sysdeps/mach/hurd/configure: Regenerated.
24478 * sysdeps/powerpc/configure: Regenerated.
24479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24481 * sysdeps/s390/s390-32/configure: Regenerated.
24482 * sysdeps/s390/s390-64/configure: Regenerated.
24483 * sysdeps/sh/configure: Regenerated.
24484 * sysdeps/sparc/configure: Regenerated.
24485 * sysdeps/unix/sysv/linux/configure: Regenerated.
24486 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24487 * sysdeps/x86_64/configure: Regenerated.
24488
273edc5e
RM
24489 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24490 defined. Don't check if MAP is NULL.
24491
c8450f70
JM
244922012-10-09 Joseph Myers <joseph@codesourcery.com>
24493
24494 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24495 (_G_stat64): Likewise.
24496 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24497 (_G_stat64): Likewise.
24498 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24499 instead of struct _G_stat64.
24500 * libio/fileops.c (mmap_remap_check): Likewise.
24501 (decide_maybe_mmap): Likewise.
24502 (_IO_new_file_seekoff): Likewise.
24503 (_IO_file_stat): Likewise.
24504 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24505 _G_off64_t.
24506 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24507 instead of struct _G_stat64.
24508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24509
57e605ba
MK
245102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24511
24512 [BZ #14602]
24513 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24514 Replace with ...
24515 (CHECK_EOL): New macro.
24516 (two_way_short_needle): Check beginning of haystack for EOL. Use
24517 CHECK_EOL.
24518 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24519 Replace with CHECK_EOL.
24520 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24521 Replace with CHECK_EOL.
24522
ef1bb361
JM
245232012-10-08 Joseph Myers <joseph@codesourcery.com>
24524
24525 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24526 type-generic.
24527 * math/libm-test.inc: Update comment listing what functions and
24528 macros are tested.
24529 (finite_test): New function.
24530 (isinf_test): Likewise.
24531 (isnan_test): Likewise.
24532 (fpclassify_test): Test subnormal input.
24533 (isfinite_test): Likewise.
24534 (isnormal_test): Likewise.
24535 (main): Call the new functions.
24536
55f11534
JN
245372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24538
24539 [BZ #14660]
24540 * Makerules (%.dynsym): Force C locale when running
24541 $(OBJDUMP) --dynamic-syms.
24542
1ab29350
AS
245432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24544
24545 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24546 <stdint.h>.
24547
f1ecb7ef
DM
245482012-10-06 David S. Miller <davem@davemloft.net>
24549
24550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24551 upper 32-bits of the length value in %o2 since we use branch-on-register
24552 tests which consider the entire 64-bit register.
24553
5d41d91a
L
245542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 * string/test-strstr.c (check2): Add a test for page boundary.
24557
3baddb72
DM
245582012-10-05 David S. Miller <davem@davemloft.net>
24559
24560 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24562 file.
24563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24564 sysdep_routines.
24565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24566 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24567 and bzero when HWCAP_SPARC_CRYPTO is present.
24568
9cee5585
L
245692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24570
d7e0dab9
L
24571 [BZ #14602]
24572 * string/test-strstr.c (check2): New function.
24573 (test_main): Call check2.
24574
03759f47
L
24575 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24576 and bug-strchr1.
24577 * string/bug-strcasestr1.c (do_test): Moved to ...
24578 * string/test-strcasestr.c (check1): Here. New function.
24579 (do_one_test): Break out result checking code into ...
24580 (check_result): This. New function.
24581 (do_one_test): Call check_result.
24582 (test_main): Call check1.
24583 * string/bug-strchr1.c (do_test): Moved to ...
24584 * string/test-strchr.c (check1): Here. New function.
24585 (do_one_test): Break out result checking code into ...
24586 (check_result): This. New function.
24587 (do_one_test): Call check_result.
24588 (test_main): Call check1.
24589 * string/bug-strstr1.c (main): Moved to ...
046f153e 24590 * string/test-strstr.c (check1): Here. New function.
03759f47
L
24591 (do_one_test): Break out result checking code into ...
24592 (check_result): This. New function.
24593 (do_one_test): Call check_result.
24594 (test_main): Call check1.
24595 * string/bug-strcasestr1.c: Removed.
24596 * string/bug-strchr1.c: Likewise.
24597 * string/bug-strstr1.c: Likewise.
24598
53cea63e
L
24599 * elf/Makefile (dl-routines): Add hwcaps.
24600 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24601 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24602 (_dl_important_hwcaps): Moved to ...
24603 * elf/dl-hwcaps.c: Here. New file.
24604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24605
9cee5585 24606 [BZ #14557]
bb859b06
L
24607 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24608 if IS_IN_rtld isn't defined.
24609
9cee5585
L
24610 * elf/dl-support.c (_dl_sysinfo_map): New.
24611 Include "get-dynamic-info.h" and "setup-vdso.h".
24612 (_dl_non_dynamic_init): Call setup_vdso.
24613 * elf/dynamic-link.h: Don't include <assert.h>.
24614 (elf_get_dynamic_info): Moved to ...
24615 * elf/get-dynamic-info.h: Here. New file.
24616 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24617 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24618 * elf/setup-vdso.h: Here. New file.
24619 * elf/rtld.c: Include "setup-vdso.h".
24620 (dl_main): Call setup_vdso.
24621
23c31b76
JM
246222012-10-05 Joseph Myers <joseph@codesourcery.com>
24623
28234b07
JM
24624 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24625 creal in comment listing functions tested. List finite, isinf,
24626 isnan, isless, islessequal, isgreater, isgreaterequal,
24627 islessgreater, isunordered, lgamma_r and pow10 as functions and
24628 macros not tested. Mention which functions not tested are aliases
24629 for other functions. Fix typo. Note that signs of NaNs are not
24630 tested.
24631
23c31b76
JM
24632 * scripts/config.guess: Update from config.git.
24633 * scripts/config.sub: Likewise.
24634
9043e228
RM
246352012-10-04 Roland McGrath <roland@hack.frob.com>
24636
24637 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24638 * misc/madvise.c (madvise): Renamed to __madvise.
24639 Make madvise a weak alias.
24640 * include/sys/mman.h: Declare __madvise.
24641 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24642 * sysdeps/unix/syscalls.list
24643 (madvise): Make __madvise the strong name, and madvise a weak alias.
24644 * sysdeps/unix/sysv/linux/syscalls.list
24645 (madvise, mmap): Remove redundant entries.
24646 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24647 * malloc/malloc.c (mtrim): Likewise.
24648 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24649
f57f8055
RM
246502012-10-03 Roland McGrath <roland@hack.frob.com>
24651
24652 * sysdeps/mach/hurd/dl-cache.c: File removed.
24653 * config.h.in (USE_LDCONFIG): New #undef.
24654 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24655 * configure: Regenerated.
24656 * elf/Makefile (dl-routines): Add dl-cache only under
24657 [$(use-ldconfig) = yes].
24658 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24659 cache on [USE_LDCONFIG].
24660 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24661 [USE_LDCONFIG].
24662 * elf/rtld.c (dl_main): Likewise.
24663
5bb0c10a
PT
246642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24665
24666 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24667 _SC_LEVEL4_CACHE_LINESIZE.
24668
010188c6
RM
246692012-10-03 Roland McGrath <roland@hack.frob.com>
24670
24671 * sysdeps/unix/bsd/confstr.h: File removed.
24672
b6c5ec07
AO
246732012-10-02 Alexandre Oliva <aoliva@redhat.com>
24674
24675 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24676 sys/sdt-config.h.
24677
408223d4
RM
246782012-10-02 Roland McGrath <roland@hack.frob.com>
24679
24680 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24681 Make 'mapoff' field ElfW(Off) rather than off_t.
24682
bb9510dc
DL
246832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24684
fc997c6e
DL
24685 * nscd/Makefile: Remove nscd-cflags and all its users.
24686 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24687 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24688
bb9510dc
DL
24689 [BZ #10631]
24690 * malloc.c (malloc_printerr): Clarify error message.
24691
05699367
L
246922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24693
24694 [BZ #14648]
24695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24696 Set bit_FMA_Usable if FMA is supported.
24697 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24698 macro.
24699 (bit_FMA4_Usable): Updated.
24700 (index_FMA_Usable): New macro.
24701 (CPUID_FMA): Likewise
24702 (HAS_FMA): Defined with bit_FMA_Usable.
24703
51367701
RM
247042012-10-01 Roland McGrath <roland@hack.frob.com>
24705
24706 * bits/types.h (__swblk_t): Type removed.
24707 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24708 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24710 (__SWBLK_T_TYPE): Likewise.
24711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24712 (__SWBLK_T_TYPE): Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24714 (__SWBLK_T_TYPE): Likewise.
24715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24716 (__SWBLK_T_TYPE): Likewise.
24717
4d57bf63 247182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 24719 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
24720
24721 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24722 (xdr_mapname): Use YPMAXMAP as maxsize.
24723 (xdr_peername): Use YPMAXPEER as maxsize.
24724 (xdr_keydat): Use YPAXRECORD as maxsize.
24725 (xdr_valdat): Use YPMAXRECORD as maxsize.
24726
93c65d43
RM
247272012-10-01 Roland McGrath <roland@hack.frob.com>
24728
497a03d6
RM
24729 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24730
93c65d43
RM
24731 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24732 * csu/init-first.c: ... here.
24733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24737 * sysdeps/i386/init-first.c: File removed.
24738 * sysdeps/sh/init-first.c: File removed.
24739
bec749fd
JM
247402012-10-01 Joseph Myers <joseph@codesourcery.com>
24741
24742 [BZ #14645]
24743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24744 if x * y might underflow to zero and z is zero.
24745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24747 * math/libm-test.inc (min_subnorm_value): New variable.
24748 (fma_test): Add more tests.
24749 (fma_test_towardzero): Likewise.
24750 (fma_test_downward): Likewise
24751 (fma_test_upward): Likewise.
24752 (initialize): Set min_subnorm_value.
24753
8ec5b013
JM
247542012-09-29 Joseph Myers <joseph@codesourcery.com>
24755
24756 [BZ #14638]
24757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24758 0 + 0.
24759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24760 mode for addition resulting in exact zero.
24761 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24763 exact 0 + 0.
24764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24766 * math/libm-test.inc (fma_test): Add more tests.
24767 (fma_test_towardzero): New function.
24768 (fma_test_downward): Likewise.
24769 (fma_test_upward): Likewise.
24770 (main): Call the new functions.
24771
b1fa802e
DM
247722012-09-28 David S. Miller <davem@davemloft.net>
24773
24774 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24775
d3b9fd9e
RM
247762012-09-28 Roland McGrath <roland@hack.frob.com>
24777
ea4d37b3
RM
24778 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24779 instead of SIGALRM.
24780
ac51c949
RM
24781 * sysdeps/gnu/_G_config.h: Moved to ...
24782 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24783 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24784 * sysdeps/generic/_G_config.h: ... here.
24785
28c195f7
RM
24786 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24787
848917f9
RM
24788 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24789
6bacf05b
RM
24790 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24791 Conditionalize target on [libnss_test1.so-version].
24792
91363dbb
RM
24793 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24794
cc87f7d8
RM
24795 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24796 (elfobjdir): Move out of conditionals.
24797
b1c608fe
RM
24798 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24799 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24800 (__nss_lookup_function): Conditionalize label remove_from_tree on
24801 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 24802
1d9a6d96
DM
248032012-09-28 David S. Miller <davem@davemloft.net>
24804
24805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24807 file.
24808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24809 sysdep_routines.
24810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24812 when HWCAP_SPARC_CRYPTO is present.
24813
72581615
PT
248142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24815
24816 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24817
715a900c
JL
248182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24819
24820 [BZ #6530]
24821 * stdio-common/vfprintf.c (process_string_arg): Revert
24822 2000-07-22 change.
24823
248242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24825
24826 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24827 for testcase.
24828 * stdio-common/tst-sprintf.c: Include <locale.h>
24829 (main): Test sprintf's handling of incomplete multibyte
24830 characters.
24831
9bac1d86
L
248322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24833
24834 * elf/dl-runtime.c (VERSYMIDX): Removed.
24835 * elf/dl-version.c (VERSYMIDX): Likewise.
24836 * elf/do-rel.h (VERSYMIDX): Likewise.
24837 (VALIDX): Likewise.
24838 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24839 * elf/rtld.c (VALIDX): Likewise.
24840 (ADDRIDX): Likewise.
9bac1d86
L
24841 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24842 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24843 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24844 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24845 (VALIDX): Likewise.
24846 (ADDRIDX): Likewise.
9bac1d86 24847
b31606c0
PT
248482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24849
24850 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24851
11541177
JL
248522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24853
24854 [BZ #11438]
24855 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24856 to global scope.
24857 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24858 addresses are in the same scope as 192.0.2/24.
24859 * posix/gai.conf: Document new scope table defaults.
24860
adb26fae
SP
248612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24862
24863 [BZ #5298]
24864 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24865 for ftell. Compute offsets from write pointers instead.
24866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24867
4573c6b0
SP
248682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24869
24870 [BZ #14543]
24871 * libio/Makefile (tests): New test case tst-fseek.
24872 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24873 combination works in wide mode.
24874 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24875 state when the external buffer state changes.
24876
aa9bbfe6
DM
248772012-09-27 David S. Miller <davem@davemloft.net>
24878
24879 [BZ #14376]
24880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24881 pass reloc->r_addend in as the 'high' argument to
24882 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24883
784421e7
DM
24884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24885
c39bc8b8
PT
248862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24887
24888 * rt/tst-aio2.c: Include <pthread.h>.
24889 * rt/tst-aio3.c: Likewise.
24890
1ccc2399
SE
248912012-09-27 Steve Ellcey <sellcey@mips.com>
24892
24893 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24894
31ed4153
L
248952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24896
25f5f885
L
24897 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24898 contents on [SHARED].
31ed4153 24899
b7bfe116
MP
249002012-09-26 Marek Polacek <polacek@redhat.com>
24901
24902 [BZ #14530]
24903 [BZ #13741]
24904 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24905 for C++ and GCC <4.3 as well as for non GCC compilers.
24906
43c4edba
MT
249072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24908
24909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24910
6a1bf82f
RM
249112012-09-25 Roland McGrath <roland@hack.frob.com>
24912
24913 * Makefile.in (all, install): Declare with .PHONY.
24914 Reported by Michael Hope <michael.hope@linaro.org>.
24915
8ad11b9a
TMQMF
249162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24917
24918 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24919 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24920 system header.
24921 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24922 Likewise.
24923 (sydep_routines): Add the new and the internal functions.
24924 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24925 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24927 (GLIBC_2.17): Add the new function.
24928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24929 (GLIBC_2.17): Likewise.
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24931 (GLIBC_2.17): Likewise.
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24933 (GLIBC_2.17): Likewise.
24934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24935
7e2fca8d
AM
249362012-09-25 Alan Modra <amodra@gmail.com>
24937
24938 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24939 Add release barrier before setting once_control to say
24940 initialisation is done. Add hints on lwarx. Use macro in
24941 place of isync.
24942 (clear_once_control): Add release barrier.
24943
b87c4b24
JM
249442012-09-25 Joseph Myers <joseph@codesourcery.com>
24945
d032e0d2
JM
24946 [BZ #13629]
24947 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24948 specially.
24949 * math/s_clog10.c (__clog10): Likewise.
24950 * math/s_clog10f.c (__clog10f): Likewise.
24951 * math/s_clog10l.c (__clog10l): Likewise.
24952 * math/s_clogf.c (__clogf): Likewise.
24953 * math/s_clogl.c (__clogl): Likewise.
24954 * math/Makefile (libm-calls): Add x2y2m1.
24955 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24956 (__x2y2m1): Likewise.
24957 (__x2y2m1l): Likewise.
24958 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24959 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24962 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24964 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24965 * sysdeps/i386/fpu/libm-test-ulps: Update.
24966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24967
b87c4b24
JM
24968 [BZ #14621]
24969 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24970 int as type of variable DEPTH.
24971 (glob): Use size_t instead of int as type of variables NEWCOUNT
24972 and OLD_PATHC.
24973
6d3bf199
LD
249742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24975
22bf5c17
LD
24976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24977 Add s_sincosf-sse2.
24978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24980 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24981 macros for using routine as __sincosf_ia32.
24982 Use macro for function declaration and weak_alias.
24983 * sysdeps/i386/fpu/libm-test-ulps: Update.
24984
24985 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24987
24988 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24989 subnormal argument.
24990 * math/s_cexpf.c (__cexpf): Likewise.
24991 * math/s_csinf.c (__csinf): Likewise.
24992 * math/s_csinhf.c (__csinhf): Likewise.
24993 * math/s_ctanf.c (__ctanf): Likewise.
24994 * math/s_ctanhf.c (__ctanhf): Likewise.
24995 * math/s_ccosh.c (__ccoshf): Likewise.
24996 * math/s_cexp.c (__cexpl): Likewise.
24997 * math/s_csin.c (__csin): Likewise.
24998 * math/s_csinh.c (__csinh): Likewise.
24999 * math/s_ctan.c (__ctan): Likewise.
25000 * math/s_ctanh.c (ctanh): Likewise.
25001 * math/s_ccoshl.c (__ccoshl): Likewise.
25002 * math/s_cexpl.c (__cexpl): Likewise.
25003 * math/s_csinl.c (__csinl): Likewise.
25004 * math/s_csinhl.c (__csinhl): Likewise.
25005 * math/s_ctanl.c (__ctanl): Likewise.
25006 * math/s_ctanhl.c (__ctanhl): Likewise.
25007
203e5603
JM
250082012-09-25 Joseph Myers <joseph@codesourcery.com>
25009
25010 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25011 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25012 (_IO_off_t): Define to __off_t, not _G_off_t.
25013 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25014 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25015 (_IO_wint_t): Define to wint_t, not _G_wint_t.
25016 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25017 type of __dummy and __dummy2 fields.
25018 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25019 (_G_ssize_t): Likewise.
25020 (_G_off_t): Likewise.
25021 (_G_pid_t): Likewise.
25022 (_G_uid_t): Likewise.
25023 (_G_wchar_t): Likewise.
25024 (_G_wint_t): Likewise.
25025 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25026 (_G_ssize_t): Likewise.
25027 (_G_off_t): Likewise.
25028 (_G_pid_t): Likewise.
25029 (_G_uid_t): Likewise.
25030 (_G_wchar_t): Likewise.
25031 (_G_wint_t): Likewise.
25032 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25033 (_G_ssize_t): Likewise.
25034 (_G_off_t): Likewise.
25035 (_G_pid_t): Likewise.
25036 (_G_uid_t): Likewise.
25037 (_G_wchar_t): Likewise.
25038 (_G_wint_t): Likewise.
25039
9fab36eb
SP
250402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25041
25042 * malloc/arena.c: Include malloc-sysdep.h.
25043 (shrink_heap): Use check_may_shrink_heap to decide if madvise
25044 is sufficient to shrink the heap or an unmap is needed.
25045 * sysdeps/generic/malloc-sysdep.h: New file. Define
25046 new function check_may_shrink_heap.
25047 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
25048 new function check_may_shrink_heap.
25049
2b4f00d1
SP
250502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25051
25052 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25053 comments.
25054
9a9028b1
DL
250552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
25056
57c69bef
DL
25057 * catgets/test-gencat.sh: Add "set -e".
25058 * elf/tst-pathopt.sh: Likewise.
25059 * grp/tst_fgetgrent.sh: Likewise.
25060 * iconvdata/run-iconv-test.sh: Likewise.
25061 * intl/tst-gettext.sh: Likewise.
25062 * intl/tst-gettext2.sh: Likewise.
25063 * intl/tst-gettext4.sh: Likewise.
25064 * intl/tst-gettext6.sh: Likewise.
25065 * intl/tst-translit.sh: Likewise.
25066 * io/ftwtest-sh: Likewise.
25067 * libio/test-freopen.sh: Likewise.
25068 * malloc/tst-mtrace.sh: Likewise.
25069 * posix/globtest.sh: Likewise.
25070 * posix/tst-getconf.sh: Likewise.
25071 * posix/wordexp-tst.sh: Likewise.
25072 * stdio-common/tst-printf.sh: Likewise.
25073 * stdio-common/tst-unbputc.sh: Likewise.
25074 * stdlib/tst-fmtmsg.sh: Likewise.
25075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25076 * catgets/Makefile: Do not specify -e option when running
25077 testsuite shell scripts.
25078 * elf/Makefile: Likewise.
25079 * grp/Makefile: Likewise.
25080 * iconvdata/Makefile: Likewise.
25081 * intl/Makefile: Likewise.
25082 * io/Makefile: Likewise.
25083 * libio/Makefile: Likewise.
25084 * malloc/Makefile: Likewise.
25085 * posix/Makefile: Likewise.
25086 * stdio-common/Makefile: Likewise.
25087 * stdlib/Makefile: Likewise.
25088 * sysdeps/x86_64/Makefile: Likewise.
25089
9a9028b1
DL
25090 * io/ftwtest-sh: Add copyright header.
25091 * posix/globtest.sh: Likewise.
25092 * posix/tst-getconf.sh: Likewise.
25093 * posix/wordexp-tst.sh: Likewise.
25094 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25095
ced6f16e
L
250962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
25097
94b32c39
L
25098 [BZ #13679]
25099 * Makeconfig (+link): Defined as $(+link-static) if
25100 $(build-shared) isn't yes.
25101 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25102 isn't yes.
25103 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25104
189e935b
L
25105 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25106
ced6f16e
L
25107 [BZ #14562]
25108 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25109 new chunk size with MALLOC_ALIGN_MASK.
25110
a9f8e53a
JM
251112012-09-24 Joseph Myers <joseph@codesourcery.com>
25112
25113 [BZ #5044]
25114 * stdio-common/printf_fphex.c: Include <stdbool.h> and
25115 <rounding-mode.h>.
25116 (__printf_fphex): Determine rounding using get_rounding_mode and
25117 round_away.
25118 * stdio-common/tst-printf-round.c (struct hex_test): New
25119 structure.
25120 (hex_tests): New variable.
25121 (test_hex_in_one_mode): New function.
25122 (do_test): Also run tests for hex float output.
25123
43153109
JM
251242012-09-21 Joseph Myers <joseph@codesourcery.com>
25125
25126 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25128 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25129 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25131 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25132 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25134
8a26625d
JM
251352012-09-20 Joseph Myers <joseph@codesourcery.com>
25136
25137 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25138 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25139 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25140 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25141
f3fd569c
DL
251422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
25143
25144 [BZ #14579]
25145 * elf/rtld.c (dl_main): Limit the check for self loading to normal
25146 mode only.
25147 * elf/tst-rtld-load-self.sh: New test.
25148 * elf/Makefile: Run it.
25149
63bbedd4
JM
251502012-09-18 Joseph Myers <joseph@codesourcery.com>
25151
25152 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25153 (tst-writev-ENV): Remove.
25154 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25155
626f8b6a
CM
251562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
25157
25158 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25159
b7aaa4d6
JM
251602012-09-17 Joseph Myers <joseph@codesourcery.com>
25161
25162 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25163 unconditional.
25164 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25165 Likewise.
25166 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25167 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25169 Likewise.
25170
65513990
L
251712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
25172
25173 [BZ #14587]
25174 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25175 * config.make.in (have-cpp-asm-debuginfo): Removed.
25176 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25177 * configure: Regenerated.
25178
784761be
JM
251792012-09-14 Joseph Myers <joseph@codesourcery.com>
25180
25181 [BZ #5044]
25182 * stdio-common/printf_fp.c: Include <stdbool.h> and
25183 <rounding-mode.h>.
25184 (___printf_fp): Determine rounding using get_rounding_mode and
25185 round_away.
25186 * stdio-common/tst-printf-round.c: New file.
25187 * stdio-common/Makefile (tests): Add tst-printf-round.
25188 (link-libm): New variable.
25189 ($(objpfx)tst-printf-round): Depend in $(link-libm).
25190
9503345f
L
251912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
25192
25193 [BZ #14576]
25194 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25195 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25196 Likewise.
25197 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25198 Likewise.
25199
ad35fc00
JM
252002012-09-13 Joseph Myers <joseph@codesourcery.com>
25201
25202 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25203 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25204 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25205 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25206
6c9b0f68
JM
252072012-09-12 Joseph Myers <joseph@codesourcery.com>
25208
25209 [BZ #14518]
25210 * include/rounding-mode.h: New file.
25211 * sysdeps/generic/get-rounding-mode.h: Likewise.
25212 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25213 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25214 (MAX_VALUE): New macro.
25215 (MIN_VALUE): Likewise.
25216 (overflow_value): New function.
25217 (underflow_value): Likewise.
25218 (round_and_return): Use overflow_value and underflow_value to
25219 determine return values in overflow and underflow cases. Use
25220 round_away to determine rounding depending on rounding mode.
25221 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25222 determine return values in overflow and underflow cases.
25223 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25224 (struct test_results): New structure.
25225 (struct test): Use struct test_results to store expected results
25226 for all rounding modes.
25227 (TEST): Include expected results for all rounding modes.
25228 (test_in_one_mode): New function.
25229 (do_test): Use test_in_one_mode to compute and check results.
25230 Check results for all rounding modes.
25231 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25232 $(link-libm).
25233
19fcedd5
AM
252342012-12-09 Allan McRae <allan@archlinux.org>
25235
1e9d84cd 25236 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 25237
8bbfd2f1
JM
252382012-09-11 Joseph Myers <joseph@codesourcery.com>
25239
25240 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25241 (_G_int32_t): Likewise.
25242 (_G_uint16_t): Likewise.
25243 (_G_uint32_t): Likewise.
25244 (_G_HAVE_BOOL): Likewise.
25245 (_G_HAVE_ATEXIT): Likewise.
25246 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25247 (_G_HAVE_IO_FILE_OPEN): Likewise.
25248 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25249 (_G_int32_t): Likewise.
25250 (_G_uint16_t): Likewise.
25251 (_G_uint32_t): Likewise.
25252 (_G_HAVE_BOOL): Likewise.
25253 (_G_HAVE_ATEXIT): Likewise.
25254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25255 (_G_HAVE_IO_FILE_OPEN): Likewise.
25256 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25257 (_G_int32_t): Likewise.
25258 (_G_uint16_t): Likewise.
25259 (_G_uint32_t): Likewise.
25260 (_G_HAVE_BOOL): Likewise.
25261 (_G_HAVE_ATEXIT): Likewise.
25262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25263 (_G_HAVE_IO_FILE_OPEN): Likewise.
25264
b1dc5912
L
252652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * csu/libc-tls.c: Update copyright years.
25268
0e886ef9
JM
252692012-09-10 Joseph Myers <joseph@codesourcery.com>
25270
28361c5e
JM
25271 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25272 [!_G_USING_THUNKS]: Remove conditional code.
25273 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25274 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25275
0e886ef9
JM
25276 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25277 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25278 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25279 (_G_VTABLE_LABEL_PREFIX): Likewise.
25280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25281 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25283 (_G_VTABLE_LABEL_PREFIX): Likewise.
25284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25285 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25287 (_G_VTABLE_LABEL_PREFIX): Likewise.
25288 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25289
bcba7aa2
L
252902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * libio/Makefile: Include ../Makeconfig before tests.
25293 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25294 only if $(build-shared) is yes.
25295
06585ee8
L
25296 * iconv/gconv_db.c: Update copyright years.
25297
80ccd52c
LD
252982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25299
25300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25301 unwind info if defined PIC. Fix special cases description.
25302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25303
25304 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25305 DP_HI_MASK entry.
25306 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25307
691bc9c1
L
253082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25309
3d9b46b3
L
25310 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25311
de2139a9
L
25312 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25313 is NULL.
25314
5ca78dd0
L
25315 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25316 (LDLIBS-tst-chk4): This.
25317 (LDFLAGS-tst-chk5): Renamed to ...
25318 (LDLIBS-tst-chk5): This.
25319 (LDFLAGS-tst-chk6): Renamed to ...
25320 (LDLIBS-tst-chk6): This.
25321 (LDFLAGS-tst-lfschk4): Renamed to ...
25322 (LDLIBS-tst-lfschk4): This.
25323 (LDFLAGS-tst-lfschk5): Renamed to ...
25324 (LDLIBS-tst-lfschk5): This.
25325 (LDFLAGS-tst-lfschk6): Renamed to ...
25326 (LDLIBS-tst-lfschk6): This.
25327
691bc9c1
L
25328 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25329 on $(common-objpfx)soversions.mk.
25330
65cafb1c
JM
253312012-09-07 Joseph Myers <joseph@codesourcery.com>
25332
25333 [BZ #10014]
25334 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25335 example host name.
25336
c78ab094
SP
253372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25338
25339 * malloc/arena.c (arena_get_retry): New function that gets
25340 another arena for the caller to try its request on.
25341 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25342 current arena cannot fulfill the request.
25343 (__libc_memalign): Likewise.
25344 (__libc_memalign): Likewise.
25345 (__libc_pvalloc): Likewise.
25346 (__libc_calloc): Likewise.
25347
01f49f59
JT
253482012-09-05 John Tobey <john.tobey@gmail.com>
25349
25350 [BZ #13542]
25351 * manual/arith.texi (Operations on Complex): Fix description
25352 of carg branch cut.
25353
4c23fed5
JM
253542012-09-06 Joseph Myers <joseph@codesourcery.com>
25355
1d3c8572
JM
25356 [BZ #10014]
25357 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25358 host name.
25359
4c23fed5
JM
25360 [BZ #10038]
25361 * manual/memory.texi (Memory): Make order of menu items match
25362 order of sections.
25363
04570aaa
L
253642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25365
25366 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25367 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25368 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25369
b80af2f4
L
253702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25371
25372 * csu/libc-tls.c (static_dtv): Renamed to ...
25373 (_dl_static_dtv): This. Make it global.
25374 (_dl_initial_dtv): Removed.
25375 (__libc_setup_tls): Updated.
25376 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25377 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25378 DL_INITIAL_DTV.
25379
2abe9f15
PM
253802012-09-06 Petr Machata <pmachata@redhat.com>
25381
25382 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25383 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25384 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25385 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25386
0948c3af
L
253872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25388
25389 [BZ #14545]
25390 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25391 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25392 freeing dtv[-1].
25393
a5055ad1
L
253942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25395
25396 [BZ #14544]
25397 * Makeconfig (link-static-before-libc): Replace $(+prector)
25398 with $(+prectorT).
25399 (link-static-after-libc): Replace $(+postctor) with
25400 $(+postctorT).
25401 (link-bounded): Replace $(+prector)/$(+postctor) with
25402 $(+prectorT)/$(+postctorT).
25403 (+prectorT): New macro.
25404 (+postctorT): Likewise.
25405
ed8c2ecd
JM
254062012-09-06 Joseph Myers <joseph@codesourcery.com>
25407
25408 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25409 (round_str): Handle values above the maximum for IBM long double
25410 as inexact.
25411 * stdlib/tst-strtod-round.c (tests): Regenerated.
25412
14c996c8
AK
254132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25414
25415 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25416 assembler flag.
25417 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25418 zarch_nohighgprs around the zarch optimized routines.
25419 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25420 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25421 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25422 for zarch.
25423
430d6ce6
DM
254242012-09-05 David S. Miller <davem@davemloft.net>
25425
25426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25427
57f41c40
AS
25428 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25429 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
25430 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25432 entries.
25433
24d4e01b
AO
254342012-09-05 Alexandre Oliva <aoliva@redhat.com>
25435
25436 * malloc/arena.c: Fold copyright years.
25437 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25438
61d58174
AO
254392012-09-05 Alexandre Oliva <aoliva@redhat.com>
25440
25441 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25442
20196a5e
AO
254432012-09-05 Alexandre Oliva <aoliva@redhat.com>
25444
25445 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25446
5c447383
AO
254472012-09-05 Alexandre Oliva <aoliva@redhat.com>
25448
25449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25450 change internal state upon failure.
25451
fad64255
AO
254522012-09-05 Alexandre Oliva <aoliva@redhat.com>
25453
25454 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25455 * malloc/memusage.c (mmap): Likewise.
25456 (mmap64, mremap): Likewise. Adjust name in comment.
25457
1ffb8c90
SP
254582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25459
25460 * libio/fileops.c: Fix typos in comments.
25461 * libio/oldfileops.c: Likewise.
25462 * libio/wfileops.c: Likewise.
25463
6ef9cc37
SP
254642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25465
25466 [BZ #1349]
25467 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25468 (tst-malloc-usable-ENV): Set environment for test case.
25469 * malloc/hooks.c (malloc_check_get_size): New function to get
25470 requested size.
25471 * malloc/malloc.c (musable): Use malloc_check_get_size.
25472 * malloc/tst-malloc-usable.c: New test case.
25473
4d038ae3
AS
254742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25475
25476 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25477
c4e85184
AM
254782012-09-05 Allan McRae <allan@archlinux.org>
25479
b9dafc56 25480 [BZ #13966]
c4e85184
AM
25481 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25482 determine header location.
25483 * configure: Regenerated.
25484
e1343020
AS
254852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25486
25487 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25488 float format.
25489 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
25490 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25491 format.
e1343020
AS
25492 (test): Regenerate.
25493
0a9f1987
DM
254942012-09-04 David S. Miller <davem@davemloft.net>
25495
25496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25499
29237804
FW
255002012-09-04 Florian Weimer <fweimer@redhat.com>
25501
25502 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25503 failures.
25504
edb3cb88
FW
25505 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25506
60160d83
JM
255072012-09-04 Joseph Myers <joseph@codesourcery.com>
25508
25509 [BZ #9914]
25510 * libio/iogetdelim.c: Include <limits.h>.
25511 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25512 + len + 1 would overflow.
25513
bcd6c8dc
AJ
255142012-09-03 Andreas Jaeger <aj@suse.de>
25515
25516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25517 * sysdeps/i386/fpu/libm-test-ulps: Update.
25518
4ffffbd2
LD
255192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25520
25521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25522 Add s_sinf-sse2, s_conf-sse2.
25523
25524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25527 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25528
25529 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25530 for using routine as __sinf_ia32.
25531 Use macro for function declaration and weak_alias.
25532 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25533 for using routine as __cosf_ia32.
25534 Use macro for function declaration and weak_alias.
25535
25536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25538
25539 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25540 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25542
25543 * math/libm-test.inc (cos_test): Add more test cases.
25544 (sin_test): Likewise.
25545 (sincos_test): Likewise.
25546
511fa286
AK
255472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25548
25549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25550 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25551 hidden.
25552 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25553
5f30cfec
L
255542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25555
25556 [BZ #14538]
25557 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25558 first element of the GOT.
25559 (elf_machine_load_address): Return the difference between
25560 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25561
0786794f
AM
255622012-09-01 Allan McRae <allan@archlinux.org>
25563
5f30cfec
L
25564 [BZ #13412]
25565 * configure.in (AWK): Require gawk version 3.0 or later.
25566 * configure: Regenerated.
0786794f 25567
26889eac
JM
255682012-09-01 Joseph Myers <joseph@codesourcery.com>
25569
25570 * sysdeps/unix/sysv/linux/kernel-features.h
25571 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25573 [__NR_clock_getres]: Make code unconditional.
25574 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25575 (clock_getcpuclockid): Remove code left unreachable by removal of
25576 conditionals.
25577 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25578 code unconditional.
25579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25581 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25582 Make code unconditional.
25583 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25584 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25585 * sysdeps/unix/sysv/linux/clock_settime.c
25586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25587 conditional code.
25588 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25590
d22e28b0
L
255912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25592
25593 [BZ #14476]
25594 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25595 scripts/test-installation.pl.
25596
25597 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25598 and $ld_so_version if it is set.
25599
050af9c4
SP
256002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25601
25602 [BZ #14516]
25603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25604 failure if reading from procfs failed.
25605 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25606
ad845c0b
JM
256072012-08-27 Joseph Myers <joseph@codesourcery.com>
25608
25609 * sysdeps/unix/sysv/linux/kernel-features.h
25610 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25611 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25612 Remove conditional code.
25613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25614 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25615 Remove conditional code.
25616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25617 * sysdeps/unix/sysv/linux/i386/fxstat.c
25618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25620 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25623 * sysdeps/unix/sysv/linux/i386/lxstat.c
25624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25626 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25627 Remove conditional code.
25628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25629 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25630 Remove conditional code.
25631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25632 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25633 <kernel-features.h>.
25634 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25635 Remove.
25636 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25637 Remove conditional code.
25638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25639 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25640 Remove conditional.
25641
5dbf56af
MF
256422012-08-27 Mike Frysinger <vapier@gentoo.org>
25643
25644 [BZ #5400]
25645 * NEWS: Add fixed bug number.
25646
d6e70f43
JM
256472012-08-27 Joseph Myers <joseph@codesourcery.com>
25648
7efb4737
JM
25649 [BZ #14519]
25650 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25651 underflowing exponent in case of negative sign.
25652 * stdlib/tst-strtod-round-data: Add more tests.
25653 * stdlib/tst-strtod-round.c (tests): Regenerated.
25654
af92131a
JM
25655 [BZ #3479]
25656 * stdlib/strtod_l.c (NDIG): Remove.
25657 (HEXNDIG): Likewise.
25658 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25659 smallest representable value.
25660 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25661 lie within an exact representation of 1/2 ulp of the result.
25662 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25663 unconditionally.
25664 (TENS_P9_IDX): Define unconditionally.
25665 (TENS_P9_SIZE): Likewise.
25666 (TENS_P10_IDX): Likewise.
25667 (TENS_P10_SIZE): Likewise.
25668 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25669 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25671 entries for 10^2^13 and 10^2^14.
25672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25673 (TENS_P13_IDX): Define.
25674 (TENS_P13_SIZE): Likewise.
25675 (TENS_P14_IDX): Likewise.
25676 (TENS_P14_SIZE): Likewise.
25677 (_fpioconst_pow10): Change array size to
25678 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25679 unconditional.
25680 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25681 1024]: Add entries for 10^2^13 and 10^2^14.
25682 [LAST_POW10 > _LAST_POW10]: Remove #error.
25683 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25684 (_fpioconst_pow10): Change array size to
25685 FPIOCONST_POW10_ARRAY_SIZE.
25686 * stdlib/gen-fpioconst.c: New file.
25687 * stdlib/gen-tst-strtod-round.c: Likewise.
25688 * stdlib/tst-strtod-round-data: Likewise.
25689 * stdlib/tst-strtod-round.c: Likewise.
25690 * stdlib/Makefile (tests): Add tst-strtod-round.
25691
d6e70f43
JM
25692 [BZ #14459]
25693 * stdlib/strtod_l.c: Include <stdint.h>.
25694 (NDEBUG): Do not define.
25695 (round_and_return): Change EXPONENT parameter to type intmax_t.
25696 Rearrange calculations to avoid internal overflow possibilities.
25697 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25698 Rearrange calculations to avoid internal overflow possibilities.
25699 Assert that number fits inside MPNSIZE limbs.
25700 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25701 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25702 calculations and add assertions to avoid internal overflow
25703 possibilities. Add casts to avoid signed/unsigned operations.
25704 * stdlib/tst-strtod-overflow.c: New file.
25705 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25706
1f529f7d
MP
257072012-08-25 Marek Polacek <polacek@redhat.com>
25708
25709 * time/time.h: Fix some typos in comments.
25710
59a629f1
RM
257112012-08-23 Roland McGrath <roland@hack.frob.com>
25712
25713 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25714 * posix/tst-rfc3484-2.c: Likewise.
25715 * posix/tst-rfc3484-3.c: Likewise.
25716
d3bafbc9
SM
257172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25718
25719 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25720 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25721
4efcc022
JM
257222012-08-23 Joseph Myers <joseph@codesourcery.com>
25723
25724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25725 #include of fxstatat64.c.
25726
3cc3ef96
RM
257272012-08-22 Roland McGrath <roland@hack.frob.com>
25728
f04e2132
RM
25729 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25730 * shadow/getspent_r.c: Likewise.
25731 * shadow/getspnam.c: Likewise.
25732 * shadow/getspnam_r.c: Likewise.
25733 * gshadow/getsgent.c: Likewise.
25734 * gshadow/getsgent_r.c: Likewise.
25735 * gshadow/getsgnam.c: Likewise.
25736 * gshadow/getsgnam_r.c: Likewise.
25737 * inet/getnetbyad.c: Likewise.
25738 * inet/getnetbyad_r.c: Likewise.
25739 * inet/getnetbynm.c: Likewise.
25740 * inet/getnetbynm_r.c: Likewise.
25741 * inet/getnetent.c: Likewise.
25742 * inet/getnetent_r.c: Likewise.
25743 * inet/getproto.c: Likewise.
25744 * inet/getproto_r.c: Likewise.
25745 * inet/getprtent.c: Likewise.
25746 * inet/getprtent_r.c: Likewise.
25747 * inet/getprtname.c: Likewise.
25748 * inet/getprtname_r.c: Likewise.
25749 * inet/getrpcbyname.c: Likewise.
25750 * inet/getrpcbyname_r.c: Likewise.
25751 * inet/getrpcbynumber.c: Likewise.
25752 * inet/getrpcbynumber_r.c: Likewise.
25753 * inet/getrpcent.c: Likewise.
25754 * inet/getrpcent_r.c: Likewise.
25755 * inet/getaliasent.c: Likewise.
25756 * inet/getaliasent_r.c: Likewise.
25757 * inet/getaliasname.c: Likewise.
25758 * inet/getaliasname_r.c: Likewise.
25759 * nscd/getgrgid_r.c: Likewise.
25760 * nscd/getgrnam_r.c: Likewise.
25761 * nscd/gethstbyad_r.c: Likewise.
25762 * nscd/gethstbynm3_r.c: Likewise.
25763 * nscd/getpwnam_r.c: Likewise.
25764 * nscd/getpwuid_r.c: Likewise.
25765 * nscd/getsrvbynm_r.c: Likewise.
25766 * nscd/getsrvbypt_r.c: Likewise.
25767 * nscd/gai.c: Likewise.
25768
c53d909c
RM
25769 * configure.in (build_nscd): New substituted variable, set
25770 by --disable-build-nscd and defaults to $use_nscd.
25771 * configure: Regenerated.
25772 * config.make.in (build-nscd): New substituted variable.
25773 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25774 Change conditional to require [$(build-nscd) = yes] as well.
25775 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25776
3cc3ef96
RM
25777 [BZ# 13696]
25778 * configure.in (use_nscd): New substituted variable, set by
25779 --disable-nscd. If enabled, define USE_NSCD.
25780 * configure: Regenerated.
25781 * config.h.in: Add USE_NSCD.
25782 * config.make.in (use-nscd): New substituted variable.
25783 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25784 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25785 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25786 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25787 (CFLAGS-getgrnam_r.c): Likewise.
25788 (CFLAGS-initgroups.c): Likewise.
25789 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25790 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25791 Variables removed.
25792 * inet/getnetgrent_r.c
25793 (nscd_setnetgrent): New function, broken out of ...
25794 (setnetgrent): ... here. Call it.
25795 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25796 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25797 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25798 * nscd/Makefile (routines, aux): Move definitions after include of
25799 Makeconfig. Conditionalize on [$(use-nscd) != no].
25800 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25801 Conditionalize on [USE_NSCD].
25802 (is_nscd, nscd_init_cb): Likewise.
25803 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25804 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25805 * nss/nss_db/db-init.c: Likewise.
25806 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25807 [USE_NSCD].
25808 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25809 (make_request): Use it.
25810 (cache_valid_p): New function.
25811 (__check_pf): Use it.
25812 * NEWS: Add item for --disable-nscd.
25813
07e51550
DL
258142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25815
25816 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25817 to support sed >= 4.2.1-20-ga9bf076.
25818 * configure: Regenerated.
25819
35a5b08b
RM
258202012-08-22 Roland McGrath <roland@hack.frob.com>
25821
25822 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25823 Conditionalize whole body on [IREL].
25824
8479f23a
JL
258252012-08-22 Jeff Law <law@redhat.com>
25826
25827 [BZ #14505]
25828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25829 if the family is PF_UNSPEC.
25830
48da0b21
MF
258312012-08-22 Mike Frysinger <vapier@gentoo.org>
25832
25833 * Makerules (lib-version): Rename from V.
25834 (install-lib-nosubdir): Change V to lib-version.
25835
15d0da8c
WS
258362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25837
25838 [BZ #14252]
25839 * powerpc32/power6/wcschr.c: New file.
25840 * powerpc32/power6/wcscpy.c: New file.
25841 * powerpc32/power6/wcsrchr.c: New file.
25842 * powerpc64/power6/wcschr.c: New file.
25843 * powerpc64/power6/wcscpy.c: New file.
25844 * powerpc64/power6/wcsrchr.c: New file.
25845
bcca0895
MK
258462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25847
25848 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25849 (two_way_short_needle): Use it.
5a4aaa33
RM
25850 * string/strstr.c (AVAILABLE1_USES_J): Define.
25851 * string/strcasestr.c: Likewise.
99677e57
MK
25852
25853 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25854 array references.
25855 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25856
400726de
MK
25857 [BZ #11607]
25858 * NEWS: Add an entry.
25859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25860 define their defaults.
25861 (two_way_short_needle): Detect end-of-string on-the-fly.
25862 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25863 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25864 * string/bug-strcasestr1.c: New test.
25865 * string/Makefile: Run it.
25866
20a71f2c
MK
258672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25868
25869 [BZ #11607]
25870 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25871 the first character.
25872
21ad0558
RM
258732012-08-21 Roland McGrath <roland@hack.frob.com>
25874
25875 * csu/elf-init.c (__libc_csu_irel): Function removed.
25876 * csu/libc-start.c (apply_irel): New function.
25877 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25878
0e1d9911
JM
258792012-08-21 Joseph Myers <joseph@codesourcery.com>
25880
25881 * sysdeps/unix/sysv/linux/kernel-features.h
25882 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25884 <kernel-features.h>.
25885 [__NR_fadvise64_64]: Make code unconditional.
25886 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25887 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25888 !__NR_fadvise64_64)]: Likewise.
25889 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25890 !__NR_fadvise64_64))]: Likewise.
25891 [__NR_fadvise64]: Make code unconditional.
25892 [!__NR_fadvise64]: Remove conditional code.
25893 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25894 <kernel-features.h>.
25895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25896 unconditional.
25897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25898 conditional code.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25900 not include <kernel-features.h>.
25901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25902 unconditional.
25903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25904 conditional code.
25905 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25906 include <kernel-features.h>.
25907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25908 unconditional.
25909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25910 conditional code.
25911
14a50c9d
WS
259122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25913
25914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25915 slight instruction rearrangements per scrollpipe analysis.
25916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25917
c0f4faf0
RM
259182012-08-20 Roland McGrath <roland@hack.frob.com>
25919
696da859
RM
25920 * manual/syslog.texi (syslog; vsyslog, closelog):
25921 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25922 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25923
c0f4faf0
RM
25924 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25925 DSOCAPS to match condition on defining it.
25926
348363b2
JM
259272012-08-20 Joseph Myers <joseph@codesourcery.com>
25928
a35cbf28
JM
25929 * sysdeps/unix/sysv/linux/kernel-features.h
25930 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25940
445f7ecd
JM
25941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25942 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25943
348363b2
JM
25944 * sysdeps/unix/sysv/linux/kernel-features.h
25945 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25946 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25947 unconditional.
25948 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25949 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25952 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25953 Make code unconditional.
25954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25955 (__mmap64) [!__NR_mmap2]: Likewise.
25956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25960 [__NR_mmap2]: Make code unconditional.
25961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25962 (__mmap64) [!__NR_mmap2]: Likewise.
25963
bc5bc0e5
AK
259642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25965
25966 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25967
88d506de
AJ
259682012-08-18 Andreas Jaeger <aj@suse.de>
25969
25970 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25971
493387d2
MF
259722012-08-18 Mike Frysinger <vapier@gentoo.org>
25973
25974 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25975 * include/unistd.h (__have_sock_cloexec): Likewise.
25976 (__have_pipe2): Likewise.
25977 (__have_dup3): Likewise.
25978
a277af22
MF
259792012-08-18 Mike Frysinger <vapier@gentoo.org>
25980
25981 [BZ #9685]
25982 * include/unistd.h (__have_pipe2): Change define into an extern int.
25983 (__have_dup3): Likewise.
25984 * socket/have_sock_cloexec.c: Include fcntl.h.
25985 (__have_pipe2): New variable.
25986 (__have_dup3): Likewise.
25987
fdab8fd3
MF
259882012-08-17 Mike Frysinger <vapier@gentoo.org>
25989
25990 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25991
31035e80
MP
259922012-08-17 Marek Polacek <polacek@redhat.com>
25993
25994 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25995 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25996
3bd9e993
RM
259972012-08-17 Roland McGrath <roland@hack.frob.com>
25998
c91c505f
RM
25999 * configure.in: Add AC_SUBST for sysheaders.
26000 * configure: Regenerated.
26001 * config.make.in (sysheaders): New substituted variable.
26002
7c6f9d53
RM
26003 * sysdeps/unix/mkfifo.c: Moved ...
26004 * sysdeps/posix/mkfifo.c: ... here.
26005 * sysdeps/unix/mkfifoat.c: Moved ...
26006 * sysdeps/posix/mkfifoat.c: ... here.
26007
26008 * sysdeps/unix/utime.c: Moved ...
26009 * sysdeps/posix/utime.c: ... here.
26010
26011 * sysdeps/unix/time.c: Moved ...
26012 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
26013 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26014 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
26015
26016 * sysdeps/unix/nice.c: Moved ...
26017 * sysdeps/posix/nice.c: ... here.
26018
26019 * sysdeps/unix/alarm.c: Moved ...
26020 * sysdeps/posix/alarm.c: ... here.
26021
3bd9e993
RM
26022 * intl/Makefile ($(codeset_mo)): Depend on the input file.
26023
d1f09384
JL
260242012-08-17 Jeff Law <law@redhat.com>
26025
26026 * intl/Makefile (codeset_mo): New variable.
26027 ($(codeset_mo)): New target.
26028 (tst-codeset.out): Depend on that. Remove explicit rule.
26029 (tst-gettext3.out, tst-gettext5.out): Likewise.
26030 (LOCPATH-ENV, tst-codeset-ENV): New variables.
26031 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26032 * intl/tst-codeset.sh: Remove.
26033 * intl/tst-gettext3.sh: Likewise.
26034 * intl/tst-gettext5.sh: Likewise.
26035
2ae1ae5c
RM
260362012-08-17 Roland McGrath <roland@hack.frob.com>
26037
c31fdb83
RM
26038 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
26039 * sysdeps/unix/syscalls.list: ... here.
26040
a0844057
RM
26041 * sysdeps/posix/getaddrinfo.c
26042 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26043 (gaiconf_init, gaiconf_reload): Use them.
26044 [!_STATBUF_ST_NSEC]
26045 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26046 Define using time_t rather than struct timespec.
26047
750c1f2a
RM
26048 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26049 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26050 Macros removed.
26051 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26052 [!NO_THREADS].
26053 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26054 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26055 Likewise.
26056
2ae1ae5c
RM
26057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26058 __libc_cleanup_push argument.
26059
e66a42f5
RM
26060 * bits/param.h: New file.
26061 * misc/sys/param.h: New file.
26062 * include/sys/param.h: New file.
26063 * misc/Makefile (headers): Add bits/param.h.
26064 * sysdeps/generic/sys/param.h: File removed.
26065 * sysdeps/unix/sysv/linux/bits/param.h: New file.
26066 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26067 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 26068 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 26069
b7c08a66
RM
26070 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26071 last change.
26072
b2e1c562
RM
26073 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26074 [_IO_MTSAFE_IO].
26075 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26076 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26077 New macros.
26078
c75ccd4c
RM
26079 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26080 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26081 rather than -D_IO_MTSAFE_IO conditionally.
26082 * stdio-common/Makefile (CPPFLAGS): Likewise.
26083 * wcsmbs/Makefile (CPPFLAGS): Likewise.
26084 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26085 Use $(libio-mtsafe).
26086 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26087 of -D_IO_MTSAFE_IO.
26088 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26089 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26090 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26091 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26092 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26093 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26094 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26095 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26096 (CFLAGS-fread_u_chk.c): Likewise.
26097 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26098 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26099 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26100 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26101 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26102 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26103 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26104 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26105 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26106
26107 * libio/Makefile: Test [$(libc-reentrant) = yes]
26108 instead of [$(filter %REENTRANT, $(defines)) nonempty].
26109
26110 * Makeconfig
26111 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26112 * sysdeps/pthread/configure: File removed.
26113 * sysdeps/pthread/Makeconfig: New file.
26114 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26115 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26116
d9195db8
GB
261172012-08-16 Gary Benson <gbenson@redhat.com>
26118
26119 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26120 unmapping the first object in a namespace.
26121
86466cd9
RM
261222012-08-16 Roland McGrath <roland@hack.frob.com>
26123
26124 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26125 (__internal_setnetgrent): ... this. Add internal_function to
26126 definition. Add libc_hidden_def.
26127 (setnetgrent): Update caller.
26128 (internal_endnetgrent): Renamed to ...
26129 (__internal_endnetgrent): ... this. Add internal_function to
26130 definition. Add libc_hidden_def.
26131 (endnetgrent): Update caller.
26132 (internal_getnetgrent_r): Renamed to ...
26133 (__internal_getnetgrent_r): ... this. Add internal_function to
26134 definition. Add libc_hidden_def.
26135 (__getnetgrent_r): Update caller.
26136 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
26137
c3c8283c
JM
261382012-08-16 Joseph Myers <joseph@codesourcery.com>
26139
26140 * stdlib/longlong.h: Update from GCC.
26141
db1ee0a8
RM
261422012-08-16 Roland McGrath <roland@hack.frob.com>
26143
26144 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26145 on _QL, which is set by umul_ppmm but never used.
26146 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26147 variables, which are set by GMP macros but never used.
26148 * stdio-common/_itowa.c (_itowa): Likewise.
26149 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26150 * stdlib/mod_1.c (mpn_mod_1): Likewise.
26151
30f69637
CD
261522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
26153
26154 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26155 struct La_sh_regs is not constant.
26156 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26157 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26158 and struct La_sparc64_regs are not constant.
26159
93a78ac4
JM
261602012-08-16 Joseph Myers <joseph@codesourcery.com>
26161
26162 * sysdeps/unix/sysv/linux/kernel-features.h
26163 (__ASSUME_POSIX_TIMERS): Remove.
26164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26166 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26167 Make code unconditional.
26168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26169 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26170 Make code unconditional.
26171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26172 * sysdeps/unix/sysv/linux/clock_nanosleep.c
26173 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26175 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26176 Make code unconditional.
26177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26179 (__libc_missing_posix_timers): Remove.
26180
dd924cd7
RM
261812012-08-15 Roland McGrath <roland@hack.frob.com>
26182
4b4f2771
RM
26183 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26184 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26185
601c888b
RM
26186 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26187
176790a7
RM
26188 * elf/dl-sym.c: Include <stdlib.h>.
26189
329bc018
RM
26190 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26191 constants, which avoids warnings in 32-bit builds.
26192
e04e272d
RM
26193 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26194 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26195
952bf94a
RM
26196 * misc/lseek.c: File moved to ...
26197 * io/lseek.c: ... here.
26198
7c99b50a
RM
26199 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26200
dd924cd7
RM
26201 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26202 shifting LEN more than 31 bits at once.
26203
b3f479a8
LD
262042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26205
26206 [BZ #14195]
8c4ae0d4
RM
26207 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26208 segmentation fault for a case of two empty input strings.
b3f479a8
LD
26209 * string/test-strncasecmp.c (check1): Renamed to...
26210 (bz12205): ...this.
26211 (bz14195): Add new testcase for two empty input strings and N > 0.
26212 (test_main): Call new testcase, adapt for renamed function.
26213
9c55864e
AJ
262142012-08-15 Andreas Jaeger <aj@suse.de>
26215
26216 [BZ #14090]
26217 * crypt/md5test2.c: New test, based on test supplied by Serge
26218 Belyshev <belyshev@depni.sinp.msu.ru>.
26219 * crypt/Makefile (xtests): Add md5test-giant..
26220 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26221
02dcb6c5
PE
262222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26223
26224 [BZ #14090]
26225 * crypt/md5.c (md5_process_block): Don't assume the buffer
26226 length is less than 2**32.
26227 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26228 length is less than 2**64.
26229
a3f95dcc
RM
262302012-08-15 Roland McGrath <roland@hack.frob.com>
26231
be75d758
RM
26232 * string/str-two-way.h: Include <sys/param.h>.
26233 (MAX): Macro removed.
26234
7312ca90
RM
26235 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26236 Move #define and #undef of memmove to just before and after
26237 including <string.h>.
26238
9a0a5486
RM
26239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26240 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26241 and after including <string.h>. Move declarations of
26242 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26243 to before #include "string/memmove.c".
26244
67cc348d
RM
26245 * include/dirent.h: Declare __getdirentries.
26246
a3f95dcc
RM
26247 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26248 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26249
ca98e171
MF
262502012-08-14 Mike Frysinger <vapier@gentoo.org>
26251
26252 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26253 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26254 * sysdeps/i386/configure: Regenerated.
26255 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26256 STABS_CURRENT_FILE, and STABS_FUN.
26257 (END): Remove call to STABS_FUN_END.
26258 (STABS_CURRENT_FILE1): Delete.
26259 (STABS_CURRENT_FILE): Likewise.
26260 (STABS_FUN): Likewise.
26261 (STABS_FUN_END): Likewise.
26262 (STABS_FUN2): Likewise.
26263 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26264 * sysdeps/x86_64/configure: Regenerated.
26265
5908bf46
RM
262662012-08-14 Roland McGrath <roland@hack.frob.com>
26267
26268 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 26269 * elf/dl-lookup.c: Likewise.
5908bf46 26270
f2c05b9e
JM
262712012-08-14 Joseph Myers <joseph@codesourcery.com>
26272
26273 * sysdeps/unix/sysv/linux/kernel-features.h
26274 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26275 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26276 unconditionally.
26277 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26278 unconditionally.
26279 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26280 condition on __ASSUME_CLONE_THREAD_FLAGS.
26281
e11f5155
AJ
262822012-08-14 Andreas Jaeger <aj@suse.de>
26283
26284 * sysdeps/i386/fpu/libm-test-ulps: Update.
26285
51a9ba86
MK
262862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26287
2fdd4f78
AJ
26288 * include/atomic.h (atomic_exchange_and_add): Split into ...
26289 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26290 New atomic macros.
51a9ba86 26291
ba6cba9e
MT
262922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26293
26294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26295
42443a47
JL
262962012-08-13 Jeff Law <law@redhat.com>
26297
26298 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26299 null byte in the output string.
26300
121dce05
JM
263012012-08-10 Joseph Myers <joseph@codesourcery.com>
26302
26303 * sysdeps/unix/sysv/linux/kernel-features.h
26304 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26305 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26306 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26308 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26309 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26310 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26311
bf51f568
JL
263122012-08-09 Jeff Law <law@redhat.com>
26313
26314 [BZ #13939]
26315 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26316 When avoid_arena is set, don't retry in the that arena. Pick the
26317 next one, whatever it might be.
26318 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26319 (arena_lock): Pass in new parameter to arena_get2.
26320 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26321 arena_get2.
26322 (__libc_malloc): Unify retrying after main arena failure with
26323 __libc_memalign version.
26324 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26325
f85fa270
L
263262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26327
26328 [BZ #14166]
26329 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26330 to __redirect_strstr.
26331 (__strstr_sse42): Use typeof __redirect_strstr.
26332 (__strstr_ia32): Likewise.
26333 (__libc_strstr): New prototype.
26334 (strstr): Renamed to ...
26335 (__libc_strstr): This.
26336 (strstr): New strong alias of __libc_strstr.
26337 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26338 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26339 __redirect_time.
26340 Include <time.h>.
26341 (__libc_time): New prototype.
26342 (time_ifunc): Replace time with __libc_time.
26343 (time): New strong alias and hidden definition of __libc_time.
26344 (__GI_time): Remove strong alias.
26345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26346 Include <stddef.h>.
26347 (memmove): Redefined to __redirect_memmove.
26348 (__memmove_sse2): Use typeof __redirect_memmove.
26349 (__memmove_ssse3): Likewise.
26350 (__memmove_ssse3_back): Likewise.
26351 (__libc_memmove): New prototype.
26352 (memmove): Renamed to ...
26353 (__libc_memmove): This.
26354 (memmove): New strong alias of __libc_memmove.
26355
33b4a91e
MS
263562012-08-08 Mark Salter <msalter@redhat.com>
26357
26358 * elf/elf.h
26359 (R_MN10300_TLS_GD): Define.
26360 (R_MN10300_TLS_LD): Likewise.
26361 (R_MN10300_TLS_LDO): Likewise.
26362 (R_MN10300_TLS_GOTIE): Likewise.
26363 (R_MN10300_TLS_IE): Likewise.
26364 (R_MN10300_TLS_LE): Likewise.
26365 (R_MN10300_TLS_DTPMOD): Likewise.
26366 (R_MN10300_TLS_DTPOFF): Likewise.
26367 (R_MN10300_TLS_TPOFF): Likewise.
26368 (R_MN10300_SYM_DIFF): Likewise.
26369 (R_MN10300_ALIGN): Likewise.
26370 (R_MN10300_NUM): Update.
26371
b36137f1
JM
263722012-08-08 Joseph Myers <joseph@codesourcery.com>
26373
26374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26375 Remove.
26376
cdd915fd
RM
263772012-08-08 Roland McGrath <roland@hack.frob.com>
26378
a2433aac
RM
26379 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26380
cdd915fd
RM
26381 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26382 sysdeps/unix -> sysdeps/posix move.
26383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26384
bf9b740a
AM
263852012-08-07 Allan McRae <allan@archlinux.org>
26386
26387 [BZ #14303]
26388 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26389 (SUNOS_CPP): Likewise.
26390 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26391 not found.
26392 (open_input): Call CPP using execvp.
26393
93df14ee
JM
263942012-08-07 Joseph Myers <joseph@codesourcery.com>
26395
26396 * sysdeps/unix/sysv/linux/kernel-features.h
26397 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26400 (__ASSUME_WAITID_SYSCALL): Likewise.
26401 * sysdeps/unix/sysv/linux/dl-execstack.c
26402 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26403 code unconditional.
26404 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26405 conditional code.
26406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26407 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26408 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26409 code.
26410 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26411 unconditional.
26412 [__ASSUME_WAITID_SYSCALL]: Likewise.
26413 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26414
d34689de
RM
264152012-08-07 Roland McGrath <roland@hack.frob.com>
26416
a281decc
RM
26417 * sysdeps/unix/closedir.c: Renamed to ...
26418 * sysdeps/posix/closedir.c: ... here.
26419 * sysdeps/unix/dirfd.c: Renamed to ...
26420 * sysdeps/posix/dirfd.c: ... here.
26421 * sysdeps/unix/dirstream.h: Renamed to ...
26422 * sysdeps/posix/dirstream.h: ... here.
26423 * sysdeps/unix/fdopendir.c: Renamed to ...
26424 * sysdeps/posix/fdopendir.c: ... here.
26425 * sysdeps/unix/opendir.c: Renamed to ...
26426 * sysdeps/posix/opendir.c: ... here.
26427 * sysdeps/unix/readdir.c: Renamed to ...
26428 * sysdeps/posix/readdir.c: ... here.
26429 * sysdeps/unix/readdir_r.c: Renamed to ...
26430 * sysdeps/posix/readdir_r.c: ... here.
26431 * sysdeps/unix/rewinddir.c: Renamed to ...
26432 * sysdeps/posix/rewinddir.c: ... here.
26433 * sysdeps/unix/seekdir.c: Renamed to ...
26434 * sysdeps/posix/seekdir.c: ... here.
26435 * sysdeps/unix/telldir.c: Renamed to ...
26436 * sysdeps/posix/telldir.c: ... here.
26437 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26438 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26440 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26441
22895b47
RM
26442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26443 * bits/fcntl.h: ... here.
26444
707a53b6
RM
26445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26446 not 0.
26447 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26448 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26449 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26450 (struct flock): Move l_start, l_len to the beginning.
26451 Use __pid_t for l_pid.
26452 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26453 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26454 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26455 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26456 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26457 [__USE_LARGEFILE64] (struct flock64): New type.
26458 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26459
f0bd3e25
RM
26460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26461 * bits/dirent.h: ... here.
26462
d34689de
RM
26463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26464 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26465
6dad2c06
JM
264662012-08-07 Joseph Myers <joseph@codesourcery.com>
26467
26468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26469 Change from 2.6.0 to 2.6.16.
26470 * sysdeps/unix/sysv/linux/configure: Regenerated.
26471 * sysdeps/unix/sysv/linux/kernel-features.h
26472 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26473 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26474 version.
26475 (__ASSUME_UTIMES): Likewise.
26476 (__ASSUME_CLONE_STOPPED): Remove.
26477 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26478 architectures, not kernel version.
26479 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26482 (__ASSUME_WAITID_SYSCALL): Likewise.
26483 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26484 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26485 * README: State 2.6.16 as minimum Linux kernel version. Do not
26486 refer to older versions.
26487
03af9520
RM
264882012-08-06 Roland McGrath <roland@hack.frob.com>
26489
8e49df1d
RM
26490 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26491 Define alphasort64 as an alias.
26492 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26493 Define versionsort64 as an alias.
26494 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26495 Define scandir64 as an alias.
26496 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26497 Define scandirat64 as an alias.
26498 * dirent/alphasort64.c (alphasort64):
26499 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26500 * dirent/versionsort64.c: Likewise.
26501 * dirent/scandir64.c: Likewise.
26502 * dirent/scandirat64.c: Likewise.
26503 * sysdeps/wordsize-64/alphasort.c: File removed.
26504 * sysdeps/wordsize-64/alphasort64.c: File removed.
26505 * sysdeps/wordsize-64/scandir.c: File removed.
26506 * sysdeps/wordsize-64/scandir64.c: File removed.
26507 * sysdeps/wordsize-64/scandirat.c: File removed.
26508 * sysdeps/wordsize-64/scandirat64.c: File removed.
26509 * sysdeps/wordsize-64/versionsort.c: File removed.
26510 * sysdeps/wordsize-64/versionsort64.c: File removed.
26511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26519
26520 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26522 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26524 [defined __arch64__ || defined __sparcv9]
26525 (__INO_T_MATCHES_INO64_T): New macro.
26526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26527 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26528 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26529 * sysdeps/unix/sysv/linux/bits/dirent.h
26530 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26531 (_DIRENT_MATCHES_DIRENT64): New macro.
26532
03af9520
RM
26533 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26534 Define lockf64 as an alias.
26535 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26536 Define fseeko64 as an alias.
26537 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26538 Define ftello64 as an alias.
26539 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26540 Define _IO_fgetpos64 and fgetpos64 as aliases.
26541 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26542 Define _IO_fsetpos64 and fsetpos64 as aliases.
26543 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26544 Conditionalize body on this.
26545 * libio/fseeko64.c: Likewise.
26546 * libio/ftello64.c: Likewise.
26547 * libio/iofgetpos64.c: Likewise.
26548 * libio/iofsetpos64.c: Likewise.
26549 * sysdeps/wordsize-64/lockf.c: File removed.
26550 * sysdeps/wordsize-64/lockf64.c: File removed.
26551 * sysdeps/wordsize-64/fseeko.c: File removed.
26552 * sysdeps/wordsize-64/fseeko64.c: File removed.
26553 * sysdeps/wordsize-64/ftello.c: File removed.
26554 * sysdeps/wordsize-64/ftello64.c: File removed.
26555 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26556 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26557 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26558 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26569
26570 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26572 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26574 [defined __arch64__ || defined __sparcv9]
26575 (__OFF_T_MATCHES_OFF64_T): New macro.
26576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26577 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26579 (__OFF_T_MATCHES_OFF64_T): New macro.
26580
c5757acd
L
265812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 * stdlib/secure-getenv.c (__secure_getenv): Replace
26584 GLIBC_2_16 with GLIBC_2_17.
26585
3a31811e
L
265862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26587
26588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26590
faa2bccb
DM
265912012-08-03 David S. Miller <davem@davemloft.net>
26592
26593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26594
85fe1997
JM
265952012-08-03 Joseph Myers <joseph@codesourcery.com>
26596
26597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26598 Remove.
26599 (__ASSUME_CORRECT_SI_PID): Likewise.
26600 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26601 (__ASSUME_TMPFS_NAME): Likewise.
26602 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26603 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26604 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26605 (HAVE_AUX_SECURE): Make definition unconditional.
26606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26607 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26608
4f75b7a0
RM
266092012-08-03 Roland McGrath <roland@hack.frob.com>
26610
26611 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26612 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26613 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26615 __eloop_threshold instead of SYMLOOP_MAX.
26616
26617 * sysdeps/generic/eloop-threshold.h: New file.
26618 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26619 of MAXSYMLINKS.
26620 * elf/chroot_canon.c (chroot_canon): Likewise.
26621
7aab07e4
JM
266222012-08-03 Joseph Myers <joseph@codesourcery.com>
26623
26624 [BZ #13717]
26625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26626 Change to 2.6.0 everywhere.
26627 * sysdeps/unix/sysv/linux/configure: Regenerated.
26628 * sysdeps/unix/sysv/linux/kernel-features.h
26629 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26630 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26631 kernel versions.
26632 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26633 (__ASSUME_FUTEX_REQUEUE): Remove.
26634 (__ASSUME_STATFS64): Define unconditionally.
26635 (__ASSUME_AT_SECURE): Likewise.
26636 (__ASSUME_CORRECT_SI_PID): Likewise.
26637 (__ASSUME_TGKILL): Define without depending on kernel version for
26638 i386.
26639 (__ASSUME_UTIMES): Likewise.
26640 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26641 kernel version.
26642 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26643 (__ASSUME_TMPFS_NAME): Likewise.
26644 * README: Update reference to Linux kernel versions.
26645
b67e9372
MP
266462012-08-02 Marek Polacek <polacek@redhat.com>
26647
1f529f7d 26648 [BZ# 14150]
b67e9372
MP
26649 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26650 libc_cv_asm_type_prefix with %.
26651 * configure: Regenerated.
d2441631
RM
26652 * include/libc-symbols.h: Remove comment about
26653 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
26654 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26655 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26656 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26657 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26658 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26661 * elf/tst-unique2mod1.c: Likewise.
26662 * elf/tst-unique1mod2.c: Likewise.
26663 * elf/tst-unique1mod1.c: Likewise.
26664 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26665 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26666 Replace ASM_TYPE_DIRECTIVE with .type.
26667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26668 * sysdeps/i386/sysdep.h: Likewise.
26669 * sysdeps/x86_64/sysdep.h: Likewise.
26670 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
26671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26672 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 26673 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
26674 * sysdeps/powerpc/powerpc32/sysdep.h:
26675 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
26676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26677 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26678 * sysdeps/i386/fpu/e_powf.S: Likewise.
26679 * sysdeps/i386/fpu/e_expl.S: Likewise.
26680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26681 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26682 * sysdeps/i386/fpu/e_pow.S: Likewise.
26683 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26685 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26686 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26687 * sysdeps/i386/fpu/e_log2.S: Likewise.
26688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26690 * sysdeps/i386/fpu/e_powl.S: Likewise.
26691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26693 * sysdeps/i386/fpu/e_logl.S: Likewise.
26694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26695 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26696 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26698 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26699 * sysdeps/i386/fpu/e_log.S: Likewise.
26700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26701 * sysdeps/i386/fpu/e_logf.S: Likewise.
26702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26705 * sysdeps/i386/fpu/e_log10.S: Likewise.
26706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26713 * sysdeps/i386/i686/strtok.S: Likewise.
26714 * sysdeps/i386/i386-mcount.S: Likewise.
26715 * sysdeps/i386/strtok.S: Likewise.
26716 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26722 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26723 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26724 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26725 * sysdeps/x86_64/_mcount.S: Likewise.
26726 * sysdeps/x86_64/strtok.S: Likewise.
26727 * sysdeps/sh/_mcount.S: Likewise.
26728
2747bf9a
RM
267292012-08-01 Roland McGrath <roland@hack.frob.com>
26730
26731 * libio/iofopen.c: Include <fcntl.h>.
26732 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26733 (_IO_fopen64, fopen64): Define as aliases.
26734 * libio/iofopen64.c: Include <fcntl.h>.
26735 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26736 Conditionalize body on this.
26737 * sysdeps/wordsize-64/iofopen.c: File removed.
26738 * sysdeps/wordsize-64/iofopen64.c: File removed.
26739
3fb791b8
MP
267402012-08-01 Marek Polacek <polacek@redhat.com>
26741
26742 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26743 Use dlfcn directly instead of a variable.
26744 (binfmt-subdir): Do not define.
26745 (dlfcn): Likewise.
26746
a9f1039f
JM
267472012-08-01 Joseph Myers <joseph@codesourcery.com>
26748
23bddc06
JM
26749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26750 Remove all definitions.
26751 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26752 <kernel-features.h>.
26753 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26754 (miss_F_GETOWN_EX): Remove all definitions.
26755 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26756 macro definition.
26757 [!__ASSUME_FCNTL64]: Remove conditional code.
26758 [__ASSUME_FCNTL64]: Make code unconditional.
26759 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26760 <kernel-features.h>.
26761 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26762 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26763 (lockf64) [__NR_fcntl64]: Make code unconditional.
26764 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26765
a9f1039f
JM
26766 * sysdeps/unix/sysv/linux/kernel-features.h
26767 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26768 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26769 Make code unconditional.
26770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26773 [__NR_vfork]: Make code unconditional.
26774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26777 [__NR_vfork]: Make code unconditional.
26778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26780
09c0ee5f
RM
267812012-08-01 Roland McGrath <roland@hack.frob.com>
26782
48aec5b9
RM
26783 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26784 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26785
cd97c966
RM
26786 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26787 Define mkstemp64 as an alias.
3f55550c
RM
26788 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26789 Define mkstemps64 as an alias.
cd97c966
RM
26790 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26791 Define mkostemp64 as an alias.
b8625cfc
RM
26792 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26793 Define mkostemps64 as an alias.
cd97c966
RM
26794 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26795 Conditionalize body on this.
26796 * misc/mkostemp64.c: Likewise.
b8625cfc 26797 * misc/mkostemps64.c: Likewise.
3f55550c 26798 * misc/mkstemps64.c: Likewise.
cd97c966
RM
26799 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26800 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26801 * sysdeps/wordsize-64/mkostemp.c: File removed.
26802 * sysdeps/wordsize-64/mkstemp.c: File removed.
26803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26807
09c0ee5f
RM
26808 [BZ #14138]
26809 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26811 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26812 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26813
26814 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26815 compat_symbol macros from <shlib-compat.h> rather than the underlying
26816 default_symbol_version and symbol_version macros, so that DEFAULT
26817 lines in shlib-versions are respected.
26818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26819
7e66ee51
FW
268202012-08-01 Florian Weimer <fweimer@redhat.com>
26821
26822 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26823 Declare with warn_unused_result.
26824 (setgid, setregid, setegid, setresgid): Likewise.
26825 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26826 Likewise.
26827 * WUR-REPORT: Remove set*id functions.
26828
d2a54255
PT
268292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26830
26831 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26832
7ecdb005
RM
268332012-07-31 Roland McGrath <roland@hack.frob.com>
26834
b4180a5e 26835 [BZ #10191]
789bd351
RM
26836 * include/sys/socket.h (__libc_accept, __libc_accept4):
26837 Add attribute_hidden.
26838 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26839
40ce302d
RM
26840 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26841 use of PTR_MANGLE.
26842 * inet/getnetgrent_r.c (setup): Likewise.
26843
7ecdb005
RM
26844 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26845
e2eabb2c
DM
268462012-07-31 David S. Miller <davem@davemloft.net>
26847
26848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26849
d0419dbf
JM
268502012-07-31 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #13629]
26853 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26854 value between 1.0 and 2.0 and smaller part has absolute value less
26855 than 1.0.
26856 * math/s_clog10.c (__clog10): Likewise.
26857 * math/s_clog10f.c (__clog10f): Likewise.
26858 * math/s_clog10l.c (__clog10l): Likewise.
26859 * math/s_clogf.c (__clogf): Likewise.
26860 * math/s_clogl.c (__clogl): Likewise.
26861 * math/libm-test.inc (clog_test): Add more tests.
26862 (clog10_test): Likewise.
26863 * sysdeps/i386/fpu/libm-test-ulps: Update.
26864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26865
2bc13872
FW
268662012-07-31 Florian Weimer <fweimer@redhat.com>
26867
26868 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26869 Exit with zero in case no suitable GID is found, and write a
26870 message to standard error.
26871
bea9b193
RM
268722012-07-30 Roland McGrath <roland@hack.frob.com>
26873
26874 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26875 rather than to 1.
26876 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26877 (MAXPATHLEN): Removed.
26878 (NOGROUP, NODEV): New macros.
26879 (setbit, clrbit, isset, isclr): New macros.
26880 (howmany, roundup, powerof2): New macros.
26881 (DEV_BSIZE): New macro.
26882
26883 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26884 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26885
26886 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26887 definition on [!__NO_LONG_DOUBLE_MATH].
26888
26889 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26890 PTR_MANGLE and PTR_DEMANGLE.
26891
26892 * socket/accept4.c (accept4): Rename to __libc_accept4.
26893 Define accept4 as a weak alias.
26894
26895 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26896 on [_DIRENT_HAVE_D_TYPE].
26897 * io/ftw.c (ftw_dir): Likewise.
26898
26899 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26900
26901 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26902
26903 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26904 Use the BSD numbers rather than the arbitrary ones we had.
26905 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26906 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26907 (SIGXCPU, SIGXFSZ): New macros.
26908 (_NSIG): Now 32.
26909
26910 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26911 initializer on [_LIBC_REENTRANT].
26912
26913 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26914 definitions inside [_POSIX_MAPPED_FILES].
26915
26916 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26917
26918 * dirent/opendir.c: Include <fcntl.h>.
26919
26920 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26921 (__libc_getspecific): Likewise.
26922 (__libc_key_create): Likewise.
26923
26924 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26925 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26926 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26927 (tmpfile64): Define as alias.
26928 * sysdeps/wordsize-64/tmpfile.c: File removed.
26929 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26931 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26932
26933 * stdio-common/vfscanf.c: Include <stdbool.h>.
26934 * nss/makedb.c: Likewise.
26935 * stdio-common/_i18n_number.h: Likewise.
26936 * argp/argp-help.c: Likewise.
26937 * posix/wordexp.c: Likewise.
26938 * sysdeps/posix/spawni.c: Likewise.
26939 * nss/nss_files/files-initgroups.c: Likewise.
26940 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26941 * nss/nss_files/files-initgroups.c: Likewise.
26942 * nss/nss_db/db-netgrp.c: Likewise.
26943 * nss/nss_db/db-initgroups.c: Likewise.
26944 * io/fchmodat.c: Include <sys/stat.h>.
26945
26946 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26947 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26948
26949 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26950 [HAVE_MMAP].
26951
26952 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26953 Add multiple inclusion protection.
26954
e5abc686
DM
269552012-07-27 David S. Miller <davem@davemloft.net>
26956
26957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26958
815e6fa3
GB
269592012-07-27 Gary Benson <gbenson@redhat.com>
26960
26961 [BZ #14298]
26962 * elf/rtld.c: Include <stap-probe.h>.
26963 (dl_main): Added static probes "init_start" and "init_complete".
26964 * elf/dl-load.c: Include <stap-probe.h>.
26965 (lose): Take new parameter "nsid".
26966 Added static probe "map_failed".
26967 (_dl_map_object_from_fd): Pass namespace id to lose.
26968 Added static probe "map_start".
26969 (open_verify): Pass namespace id to lose.
26970 * elf/dl-open.c: Include <stap-probe.h>.
26971 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26972 and "reloc_complete".
26973 * elf/dl-close.c: Include <stap-probe.h>.
26974 (_dl_close_worker): Added static probes "unmap_start" and
26975 "unmap_complete".
26976 * elf/rtld-debugger-interface.txt: New file documenting the above.
26977
9f98c16c
RM
269782012-07-26 Roland McGrath <roland@hack.frob.com>
26979
26980 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26981 rather than a string variable.
26982 * sunrpc/rpc_main.c (h_output): Likewise.
26983 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26984
f3c22df3
PT
269852012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26986
26987 * inet/check_native.c: New file.
26988
3129cfc6
JM
269892012-07-26 Joseph Myers <joseph@codesourcery.com>
26990
da865e95
JM
26991 [BZ #13629]
26992 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26993 if larger part has absolute value 1.0.
26994 * math/s_clog10.c (__clog10): Likewise.
26995 * math/s_clog10f.c (__clog10f): Likewise.
26996 * math/s_clog10l.c (__clog10l): Likewise.
26997 * math/s_clogf.c (__clogf): Likewise.
26998 * math/s_clogl.c (__clogl): Likewise.
26999 * math/libm-test.inc (clog_test): Add more tests.
27000 (clog10_test): Likewise.
27001 * sysdeps/i386/fpu/libm-test-ulps: Update.
27002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003
3129cfc6
JM
27004 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27005 (pltexit): Likewise.
27006 (La_regs): Likewise.
27007 (La_retval): Likewise.
27008 (int_retval): Likewise.
27009 Update #error for removed macros to refer only to definitions in
27010 tst-audit.h.
27011 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27012 macro.
27013 (pltexit): Likewise.
27014 (La_regs): Likewise.
27015 (La_retval): Likewise.
27016 (int_retval): Likewise.
27017 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27018 macro.
27019 (pltexit): Likewise.
27020 (La_regs): Likewise.
27021 (La_retval): Likewise.
27022 (int_retval): Likewise.
27023 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27024 macro.
27025 (pltexit): Likewise.
27026 (La_regs): Likewise.
27027 (La_retval): Likewise.
27028 (int_retval): Likewise.
27029 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27030 macro.
27031 (pltexit): Likewise.
27032 (La_regs): Likewise.
27033 (La_retval): Likewise.
27034 (int_retval): Likewise.
27035 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27036 macro.
27037 (pltexit): Likewise.
27038 (La_regs): Likewise.
27039 (La_retval): Likewise.
27040 (int_retval): Likewise.
27041 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27042 macro.
27043 (pltexit): Likewise.
27044 (La_regs): Likewise.
27045 (La_retval): Likewise.
27046 (int_retval): Likewise.
27047 * sysdeps/generic/tst-audit.h: Update comment to refer only to
27048 macro definitions in tst-audit.h.
27049 * sysdeps/i386/tst-audit.h: New file.
27050 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27051 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27052 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27053 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27054 * sysdeps/sh/tst-audit.h: Likewise.
27055 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27056 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27057 * sysdeps/x86_64/tst-audit.h: Likewise.
27058
bfc07087
AJ
270592012-07-26 Andreas Jaeger <aj@suse.de>
27060
b1b2aaf8
AJ
27061 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27062 ptrace.
27063
27064 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27065 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27066 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27067 PTRACE_O_MASK.
27068 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27069 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27070 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27071
bfc07087
AJ
27072 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27073 value.
27074
27075 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27076 _sigsys.
27077 (si_call_addr, si_syscall, si_arch): Define new macro.
27078 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27079 _sigsys.
27080 (si_call_addr, si_syscall, si_arch): Define new marcro.
27081 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27082 _sigsys.
27083 (si_call_addr, si_syscall, si_arch): Define new macro.
27084 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27085 _sigsys.
27086 (si_call_addr, si_syscall, si_arch): Define new macro.
27087
89b4b02f
JM
270882012-07-25 Joseph Myers <joseph@codesourcery.com>
27089
27090 [BZ #13717]
27091 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27092 Change to 2.4.21 where previously 2.4.1.
27093 * sysdeps/unix/sysv/linux/configure: Regenerated.
27094 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27095 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27096 Linux kernel version.
27097 (__ASSUME_STD_AUXV): Remove.
27098 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27099 kernel version.
27100 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27101 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27102 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27103 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27104 (__ASSUME_NETLINK_SUPPORT): Likewise.
27105 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27106 (__no_netlink_support): Remove conditional definition.
27107 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27108 Remove.
27109 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27110 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27112 (if_nameindex_ioctl): Remove.
27113 (if_nameindex_netlink): Do not handle __no_netlink_support.
27114 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27115 code.
27116 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27117 Remove conditional code.
27118 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27119 code.
27120 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27121 unconditional.
27122 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27123 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27124 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27125 Remove.
27126 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27127 [!__ASSUME_STD_AUXV]: Remove conditional code.
27128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27129 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27130 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27132 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27133 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27134 code.
27135 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27137 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27138 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27139 conditional code.
27140 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27142 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27143 code.
27144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27145 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27146 conditional code.
27147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27148 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27149 code unconditional.
27150 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27151 conditional code.
27152 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27153 unconditional.
27154 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27155 conditional code.
27156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27157 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27158 unconditional.
27159 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27160 conditional code.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27162 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27163 code unconditional.
27164 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27165 conditional code.
27166 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27167 unconditional.
27168 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27169 conditional code.
27170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27171 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27172 code unconditional.
27173 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27174 conditional code.
27175 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27176 unconditional.
27177 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27178 conditional code.
27179
842a39cd
AS
271802012-07-25 Andreas Schwab <schwab@linux-m68k.org>
27181
27182 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27183 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27184 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27185 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27186 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27187 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27188 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27189 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27190 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27191 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27192 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27193 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27194 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27195 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27197 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27198 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27199 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27200 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27202 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27203 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27204 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27205
84b3fd84
FW
272062012-07-25 Florian Weimer <fweimer@redhat.com>
27207
27208 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
27209 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27210 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27211 Introduce __libc_secure_getenv.
0c7936d5
FW
27212 * stdlib/Versions (2.17): Add secure_getenv
27213 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27214 * stdlib/secure-getenv.c: Rename __secure_getenv to
27215 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27216 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
27217 * stdlib/tst-secure-getenv.c: New.
27218 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
27219 * manual/startup.texi (Environment Access): Document
27220 secure_getenv.
84b3fd84
FW
27221 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27222 __libc_secure_getenv.
27223 * inet/ruserpass.c (ruserpass): Likewise.
27224 * malloc/mtrace.c (mtrace): Likewise.
27225 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 27226 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
27227 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27228 * sysdeps/posix/tempname.c: Likewise. Evaluate
27229 HAVE_SECURE_GETENV.
27230 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 27231 __secure_getenv to __libc_secure_getenv.
84b3fd84 27232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
27233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27234 Likewise.
27235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27236 Likewise.
27237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 27244
56e49b71
JM
272452012-07-25 Joseph Myers <joseph@codesourcery.com>
27246
27247 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27248 (struct La_i86_retval): Likewise.
27249 (struct La_x86_64_regs): Likewise.
27250 (struct La_x86_64_retval): Likewise.
27251 (struct La_x32_regs): Likewise.
27252 (struct La_x32_retval): Likewise.
27253 (struct La_ppc32_regs): Likewise.
27254 (struct La_ppc32_retval): Likewise.
27255 (struct La_ppc64_regs): Likewise.
27256 (struct La_ppc64_retval): Likewise.
27257 (struct La_sh_regs): Likewise.
27258 (struct La_sh_retval): Likewise.
27259 (struct La_s390_32_regs): Likewise.
27260 (struct La_s390_32_retval): Likewise.
27261 (struct La_s390_64_regs): Likewise.
27262 (struct La_s390_64_retval): Likewise.
27263 (struct La_sparc32_regs): Likewise.
27264 (struct La_sparc32_retval): Likewise.
27265 (struct La_sparc64_regs): Likewise.
27266 (struct La_sparc64_retval): Likewise.
27267 (struct audit_ifaces): Remove architecture-specific pltenter and
27268 pltexit members.
27269 * sysdeps/i386/ldsodefs.h: New file.
27270 * sysdeps/powerpc/ldsodefs.h: Likewise.
27271 * sysdeps/s390/ldsodefs.h: Likewise.
27272 * sysdeps/sh/ldsodefs.h: Likewise.
27273 * sysdeps/sparc/ldsodefs.h: Likewise.
27274 * sysdeps/x86_64/ldsodefs.h: Likewise.
27275
354691b7
MP
272762012-07-25 Marek Polacek <polacek@redhat.com>
27277
27278 [BZ #6808]
27279 * math/libm-test.inc (yn_test): Add another test.
27280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27281 to ERANGE when the result is +-Inf.
27282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27283 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27285 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27286
bf9e2071
JM
272872012-07-24 Joseph Myers <joseph@codesourcery.com>
27288
27289 * conform/data/time.h-data (NULL): Use macro-constant. Require
27290 equal to 0.
27291 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27292 clock_t.
27293 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27294
57633811
TS
272952012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27296
27297 * configure.in <sysdeps resolving>: Correct printing
27298 Implies_before.
27299 * configure: Regenerate.
27300
c23c33b0
TS
273012012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27302
27303 * math/w_ilogb.c: Include <limits.h>.
27304 * math/w_ilogbl.c: Likewise.
27305
b5982523
JM
273062012-07-20 Joseph Myers <joseph@codesourcery.com>
27307
27308 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27309 va_copy. Document allowing for unavailable va_copy only as
27310 pre-C99 compatibility.
27311 * manual/string.texi (Copying and Concatenation): Use va_copy
27312 instead of __va_copy in concat example.
27313
ac4ea442
PT
273142012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27315
27316 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27317 (__sendto): Use create_address_port. Initialize APORT and deallocate
27318 it if not null.
27319
f98eafbd
PT
27320 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27321 with O_NOLINK passed to __file_name_lookup.
27322
898c7aab
PT
27323 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27324 with O_NOLINK passed to __file_name_lookup.
27325
0ced335a
PT
27326 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27327 negative N or less than NGIDS.
27328
b3404dbd
PT
27329 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27330 type to string_t. Set ERANGE as errno and return it if NAME is not big
27331 enough. Use memcpy instead of strncpy.
27332
0f48659e
JM
273332012-07-20 Joseph Myers <joseph@codesourcery.com>
27334
27335 * elf/Makefile (check-data): Remove.
27336 (localplt.data): New vpath directive.
27337 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27338 instead of $(check-data).
27339 * scripts/data/localplt-generic.data: Move to ...
27340 * sysdeps/generic/localplt.data: ... here.
27341 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27342 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27343 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27345 ... here.
27346 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27348 ... here.
27349 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27351 ... here.
27352 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27354 ... here.
27355 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27357 ... here.
27358 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27360 ... here.
27361
d37cbdaa
AZ
273622012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27363
27364 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27365 PPC32 and PPC64 files.
27366 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27367 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27368
46f85fc2
AK
273692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27370
27371 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27372 __makecontext_ret to ...
27373 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27374 ... here and call exit if uc_link is NULL. New file.
27375 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27376 __makecontext_ret.S.
27377 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27378 __makecontext_ret to ...
27379 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27380 ... here and call exit if uc_link is NULL. New file.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27382 __makecontext_ret.S.
27383
08f43f9b
AK
273842012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27385
27386 * elf/elf.h (R_390_IRELATIVE): New definition.
27387 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27388 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27389 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27391 (elf_machine_lazy_rel): Likewise.
27392 * sysdeps/s390/dl-irel.h: New file.
27393 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27394 * sysdeps/s390/s390-64/memset.S: New asm code.
27395 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27396 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27397 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27398 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27399 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27400 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27402 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27403 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27404 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27405 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27406 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27407 * sysdeps/s390/s390-32/memset.S: New asm code.
27408 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27409
3b05db33
MP
274102012-07-17 Marek Polacek <polacek@redhat.com>
27411
27412 [BZ #14349]
27413 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27414 * sysdeps/s390/s390-64/configure.in: Likewise.
27415 * sysdeps/sparc/configure.in: Likewise.
27416 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27417 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27418 * sysdeps/i386/configure.in: Likewise.
27419 * sysdeps/x86_64/configure.in: Likewise.
27420 * sysdeps/sh/configure.in: Likewise.
27421 * sysdeps/s390/s390-32/configure: Regenerated.
27422 * sysdeps/s390/s390-64/configure: Likewise.
27423 * sysdeps/x86_64/configure: Likewise.
27424 * sysdeps/sh/configure: Likewise.
27425 * sysdeps/powerpc/powerpc64/configure: Likewise.
27426 * sysdeps/powerpc/powerpc32/configure: Likewise.
27427 * sysdeps/sparc/configure: Likwise.
27428 * sysdeps/i386/configure: Likewise.
27429
a66877c6
MP
27430 * elf/dl-open.c: Comment fixes.
27431
cfc82fd8
JM
274322012-07-17 Joseph Myers <joseph@codesourcery.com>
27433
bd29910a
JM
27434 * Makefile [CXX] (check-data): Remove.
27435 [CXX] (c++-types.data): New vpath directive.
27436 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27437 vpath. Do not allow for C++ type data being missing.
27438 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27439 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27440 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27441 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27442 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27443 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27444 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27446 ... here.
27447 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27449 ... here.
27450 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27452 ... here.
27453 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27455 ... here.
27456 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27458 ... here.
27459 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27461 ... here.
27462 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27464 ... here.
27465 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27467
cfc82fd8
JM
27468 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27469 definitions to architecture-specific files.
27470 (TLS_IE): Likewise.
27471 (TLS_LD): Likewise.
27472 (TLS_GD): Likewise.
27473 * sysdeps/i386/tls-macros.h: New file.
27474 * sysdeps/powerpc/tls-macros.h: Likewise.
27475 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27476 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27477 * sysdeps/sh/tls-macros.h: Likewise.
27478 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27479 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27480 * sysdeps/x86_64/tls-macros.h: Likewise.
27481
f7db3170
TS
274822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27483
07cbfc23
TS
27484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27485 zero value for regular exit case.
27486
f7db3170
TS
27487 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27488 (__start_context): Preserve zero value for regular exit case.
27489
dc97c227
TS
274902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27491 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27492
27493 * manual/setjmp.texi (setcontext): Clarify normal process
27494 termination when uc_link is the null pointer.
27495 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27496 exit call.
27497
d0cd7d02
AS
274982012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27499
27500 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27501 preprocessor. Test for each exception mask separately.
27502
dd318934
AJ
275032012-07-16 Andreas Jaeger <aj@suse.de>
27504
27505 * po/ru.po: Update from translation team.
27506
8048311a
JM
275072012-07-15 Joseph Myers <joseph@codesourcery.com>
27508
27509 * conform/data/string.h-data (NULL): Use macro-constant. Require
27510 equal to 0.
27511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27512 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27513 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27514 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27516
b637d46e
AJ
275172012-07-13 Andreas Jaeger <aj@suse.de>
27518
27519 * po/fr.po: Update from translation team.
27520
541428fe
MP
275212012-07-12 Marek Polacek <polacek@redhat.com>
27522
27523 [BZ #14173]
27524 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27526 loop condition.
27527
ec332e94
JM
275282012-07-12 Joseph Myers <joseph@codesourcery.com>
27529
27530 [BZ #13717]
27531 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27532 Change to 2.4.1 where previously 2.4.0.
27533 * sysdeps/unix/sysv/linux/configure: Regenerated.
27534 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27535 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27536 version.
27537 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27538 (__ASSUME_AT_CLKTCK): Remove.
27539 (__ASSUME_AT_PAGESIZE): Likewise.
27540 (__ASSUME_AT_XID): Likewise.
27541 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27542 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27543 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27544 unconditionally.
27545 (HAVE_AUX_PAGESIZE): Likewise.
27546 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27547 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27548 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27549
7b6e99be
JB
275502012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27551
27552 [BZ #14307]
27553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27554 the temporary buffer used to invoke __gethostbyname2_r,
27555 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27556 host_data / struct gaih_addrtuple.
27557 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27558 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27559 header file nss/nsswitch.h.
27560 * nss/nsswitch.h (global scope): Add definition of implementation
27561 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27562 resolv/nss_dns/dns-host.c).
27563
608404eb
AJ
275642012-07-11 Andreas Jaeger <aj@suse.de>
27565
27566 * po/fr.po: Update from translation team.
27567
71220aca
AJ
27568 * po/sv.po: Update from translation team
27569 * po/fr.po: Another update from translation team.
27570
28cfe843
AZ
275712012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27572
27573 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27574 for subnormals or multiply small sinh result by itself.
27575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27577
6b90f981
DM
275782012-07-11 David S. Miller <davem@davemloft.net>
27579
27580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27581
c6825772
AS
275822012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27583
27584 [BZ #14347]
27585 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27586 (INTERNAL_MARK): Shift it here.
27587
7b8e0d49
MP
275882012-07-10 Marek Polacek <polacek@redhat.com>
27589
27590 [BZ #14151]
27591 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27592 libc_cv_asm_global_directive with .globl.
27593 * configure: Regenerated.
27594 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27595 with .globl.
27596 * sysdeps/i386/configure: Regenerated.
27597 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27598 with .globl.
27599 * sysdeps/x86_64/configure: Regenerated.
27600 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27601 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27602 * elf/tst-unique2mod2.c: Likewise.
27603 * elf/tst-unique2mod1.c: Likewise.
27604 * elf/tst-unique1mod2.c: Likewise.
27605 * elf/tst-unique1mod1.c: Likewise.
27606 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27607 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27609 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27610 * sysdeps/mach/sysdep.h: Likewise.
27611 * sysdeps/i386/sysdep.h: Likewise.
27612 * sysdeps/i386/i386-mcount.S: Likewise.
27613 * sysdeps/x86_64/_mcount.S: Likewise.
27614 * sysdeps/x86_64/sysdep.h: Likewise.
27615 * sysdeps/sh/_mcount.S: Likewise.
27616 * sysdeps/sh/sysdep.h: Likewise.
27617 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27618 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27619 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27620 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27621 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27622 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27623 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27624 * locale/localeinfo.h: Likewise.
27625 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27626 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27627
6c55cda3
RM
276282012-07-09 Roland McGrath <roland@hack.frob.com>
27629
27630 [BZ #14336]
27631 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27632 system".
27633 * manual/message.texi (The Uniforum approach): Likewise.
27634 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27635 (glibc iconv Implementation): Likewise.
27636
638a572e
JM
276372012-07-09 Joseph Myers <joseph@codesourcery.com>
27638
27639 [BZ #14337]
27640 * math/s_clog.c (__clog): Avoid scaling a value down where that
27641 could result in underflow.
27642 * math/s_clog10.c (__clog10): Likewise.
27643 * math/s_clog10f.c (__clog10f): Likewise.
27644 * math/s_clog10l.c (__clog10l): Likewise.
27645 * math/s_clogf.c (__clogf): Likewise.
27646 * math/s_clogl.c (__clogl): Likewise.
27647 * math/libm-test.inc (clog_test): Add more tests.
27648 (clog10_test): Likewise.
27649 * sysdeps/i386/fpu/libm-test-ulps: Update.
27650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27651
261f4859
AS
276522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27653
0abaf3e4
AS
27654 [BZ #14283]
27655 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27656 by 7 not 8 to examine high bit of fractional part.
27657
261f4859
AS
27658 [BZ #14042]
27659 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27660 for call to __mcount_internal.
27661 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27662 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27663 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27664
f17ac40d
JM
276652012-07-06 Joseph Myers <joseph@codesourcery.com>
27666
9ad63c23
JM
27667 [BZ #14154]
27668 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27669 approximation for values within 0x1p-13f of an odd multiple of
27670 pi/4.
27671 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27672 exception. Add more tests.
27673 * sysdeps/i386/fpu/libm-test-ulps: Update.
27674
f17ac40d
JM
27675 [BZ #6778]
27676 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27677 inputs and return -1 for them. Do not check for +Inf in case not
27678 reachable for +Inf.
27679 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27680 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27681 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27682 and return -1 for them. Do not check for +Inf in case not
27683 reachable for +Inf.
27684 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27685 define.
27686 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27687 and return -1 for them. Do not check for +Inf in case not
27688 reachable for +Inf.
27689 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27690 spurious underflow.
27691 * sysdeps/i386/fpu/libm-test-ulps: Update.
27692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27693
fb21f89b
MF
276942012-07-06 Mike Frysinger <vapier@gentoo.org>
27695
27696 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27697
cdfe2c5e
JM
276982012-07-05 Joseph Myers <joseph@codesourcery.com>
27699
27700 [BZ #14157]
27701 [BZ #14331]
27702 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27703 could result in spurious underflow. Scale down values above
27704 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27705 * math/s_csqrtf.c (__csqrtf): Likewise.
27706 * math/s_csqrtl.c (__csqrtl): Likewise.
27707 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27708 spurious underflow.
27709 * sysdeps/i386/fpu/libm-test-ulps: Update.
27710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27711
70d35b67
AS
277122012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27713
704bc459
AS
27714 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27715 xopen-msg.sed.
27716 * catgets/xopen-msg.awk: New file.
27717 * catgets/xopen-msg.sed: Removed.
27718
70d35b67
AS
27719 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27720 po2text.sed.
27721 * intl/po2test.awk: New file.
27722 * intl/po2test.sed: Removed.
27723
ca61cf32
JM
277242012-07-04 Joseph Myers <joseph@codesourcery.com>
27725
27726 [BZ #14328]
27727 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27728 or multiply small sinh result by itself.
27729 * math/s_ctanf.c (__ctanf): Likewise.
27730 * math/s_ctanh.c (__ctanh): Likewise.
27731 * math/s_ctanhf.c (__ctanhf): Likewise.
27732 * math/s_ctanhl.c (__ctanhl): Likewise.
27733 * math/s_ctanl.c (__ctanl): Likewise.
27734 * math/libm-test.inc (ctan_test_tonearest): New function.
27735 (ctan_test_towardzero): Likewise.
27736 (ctan_test_downward): Likewise.
27737 (ctan_test_upward): Likewise.
27738 (ctanh_test_tonearest): Likewise.
27739 (ctanh_test_towardzero): Likewise.
27740 (ctanh_test_downward): Likewise.
27741 (ctanh_test_upward): Likewise.
27742 (main): Call these new functions.
27743 * sysdeps/i386/fpu/libm-test-ulps: Update.
27744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27745
ca48a46a
MF
277462012-07-03 Mike Frysinger <vapier@gentoo.org>
27747
27748 * .gitignore: Delete /ports entry.
27749
9d63d37d
AJ
277502012-07-03 Andreas Jaeger <aj@suse.de>
27751
27752 * po/bg.po: Update from translation team.
27753 * po/cs.po: Likewise.
27754 * po/de.po: Likewise.
27755 * po/hr.po: Likewise.
27756 * po/nl.pl: Likewise.
27757 * po/pl.po: Likewise.
27758 * po/vi.po: Likewise.
27759
370ca3d2
JM
277602012-07-03 Joseph Myers <joseph@codesourcery.com>
27761
95f5a9a8
JM
27762 * Makeconfig [!+link] (+link-before-libc): New variable.
27763 [!+link] (+link-after-libc): Likewise.
27764 [!+link] (+link-tests): Likewise.
27765 [!+link] (+link): Define in terms of $(+link-before-libc) and
27766 $(+link-after-libc).
27767 [!+link-static] (+link-static-before-libc): New variable.
27768 [!+link-static] (+link-static-after-libc): Likewise.
27769 [!+link-static] (+link-static-tests): Likewise.
27770 [!+link-static] (+link-static): Define in terms of
27771 $(+link-static-before-libc) and $(+link-static-after-libc).
27772 [build-shared] (link-libc-before-gnulib): New variable.
27773 [build-shared] (link-libc-tests): Likewise.
27774 [build-shared] (link-libc): Define in terms of
27775 $(link-libc-before-gnulib).
27776 [!build-shared] (link-libc-tests): New variable.
27777 (link-libc-static-tests): New variable.
27778 [!gnulib] (gnulib-arch): New variable.
27779 [!gnulib] (gnulib-tests): Likewise.
27780 [!gnulib] (static-gnulib-arch): Likewise.
27781 [!gnulib] (static-gnulib-tests): Likewise.
27782 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27783 Define with "=" instead of ":=".
27784 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27785 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27786 * Rules (binaries-all-notests): New variable.
27787 (binaries-all-tests): Likewise.
27788 (binaries-static-notests): Likewise.
27789 (binaries-static-tests): Likewise.
27790 (binaries-all): Define using $(binaries-all-notests) and
27791 $(binaries-all-tests).
27792 (binaries-static): Define using $(binaries-static-notests) and
27793 $(binaries-static-tests).
27794 (binaries-shared-tests): New variable.
27795 (binaries-shared-notests): Likewise.
27796 (binaries-shared): Remove variable.
27797 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27798 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27799 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27800 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27801 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27802 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27803 * elf/Makefile (sln-modules): New variable.
27804 (extra-objs): Add $(sln-modules:=.o).
27805 (ldconfig-modules): Add static-stubs.
27806 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27807 * elf/static-stubs.c: New file.
27808
7a845b2c
JM
27809 [BZ #14283]
27810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27811 by 7 not 8 to examine high bit of fractional part. Use volatile
27812 variables when splitting into final array of floats if
27813 __FLT_EVAL_METHOD__ != 0.
27814 * math/libm-test.inc (cos_test): Add another test.
27815 (sin_test): Likewise.
27816 * sysdeps/i386/fpu/libm-test-ulps: Update.
27817
e2283f38
JM
27818 [BZ #14273]
27819 * math/libm-test.inc (cosh_test): Add more tests.
27820
370ca3d2
JM
27821 * version.h (RELEASE): Set to "development".
27822 (VERSION): Set to "2.16.90".
27823
ee9247c3
CD
278242012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27825
27826 * NEWS: Update copyright. Remove last-updated date.
27827 Mention math library bug fixes and timezone data changes.
27828 * README: Mention GNU/Hurd, x32, and HPPA support status.
27829
4648c381
TS
278302012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27831
27832 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27833
aac78a43
AJ
278342012-06-27 Andreas Jaeger <aj@suse.de>
27835
27836 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27837
ed3dbfad
AJ
278382012-06-25 Andreas Jaeger <aj@suse.de>
27839
27840 * sysdeps/s390/fpu/libm-test-ulps: Update.
27841
4d0ee855
AS
278422012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27843 Thomas Schwinge <thomas@codesourcery.com>
27844
27845 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27846 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27848 fanotify_mark.
27849
af1bce34
TS
278502012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27851
a9fa33ba
TS
27852 * sysdeps/mach/start.c: Remove file.
27853 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27854 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27855 * sysdeps/sh/init-first.c: Likewise.
27856
58f902b8
TS
27857 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27858 registers for frame unwinding purposes, add CFI directives.
27859 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27860 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27861 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27862 Likewise.
27863
1518f58b
TS
27864 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27865 __fortify_fail returning.
27866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27867
db9b5059
TS
27868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27869 sysdeps/sh/____longjmp_chk.S.
27870 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27871 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27872 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27873 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27874
967705fe
TS
27875 * sysdeps/sh/abort-instr.h: New file.
27876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27877 process in case exit returns.
27878
a9def8c4
TS
27879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27880 initialize the GOT register before use.
27881
2a649725
TS
27882 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27883 calculation of ARGC > 4.
27884
af1bce34
TS
27885 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27886 meaningful names to some local labels.
27887
d230f50a
KK
278882012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27889 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27890
27891 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27892 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27893 (__arch_compare_and_exchange_val_16_acq): Likewise.
27894 (__arch_compare_and_exchange_val_32_acq): Likewise.
27895 (atomic_exchange_and_add): Fix gUSA sequence.
27896 (atomic_add): Likewise.
27897 (atomic_add_negative): Likewise.
27898 (atomic_add_zero): Likewise.
27899 (atomic_bit_test_set): Likewise.
27900
0479b305
AS
279012012-06-22 Andreas Schwab <schwab@redhat.com>
27902
27903 [BZ #13579]
27904 * include/link.h (struct link_map): Add l_free_initfini.
27905 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27906 l_initfini.
27907 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27908 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27909 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27910 set.
27911
0e3933b9
CD
279122012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27913
27914 * configure.in: Use AC_LANG_SOURCE.
27915 * configure: Regenerate.
27916
4248b1b1
RM
279172012-06-22 Roland McGrath <roland@hack.frob.com>
27918
27919 * configure.in (libc_cv_localstatedir): New substituted variable.
27920 * configure: Regenerated.
27921 * config.make.in (localstatedir): New variable, substituted from
27922 libc_cv_localstatedir.
27923 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27924 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27925 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27926 * sysdeps/gnu/configure: Regenerated.
27927
006dd861
JL
279282012-06-21 Jeff Law <law@redhat.com>
27929
27930 [BZ #14277]
27931 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27932 free. Simplify list management for _LIBC case.
27933
79662d42
JM
279342012-06-21 Joseph Myers <joseph@codesourcery.com>
27935
b7abb4bf
JM
27936 [BZ #14273]
27937 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27938 Clear sign bit of 64-bit integer value before comparing against
27939 overflow value.
27940
79662d42
JM
27941 * sysdeps/mach/configure: Regenerated.
27942
1f150908
L
279432012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 [BZ #14278]
27946 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27947
28363bbf
JL
279482012-06-21 Jeff Law <law@redhat.com>
27949
27950 [BZ #13882]
27951 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27952 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27953 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27954 * elf/dl-open.c (dl_open_worker): Likewise.
27955
09615db4
CD
279562012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27957
27958 * scripts/list-sources.sh: Scan PORTS for translations.
27959 * po/libc.pot: Regenerated.
27960
2174c6dd
AJ
279612012-06-21 Andreas Jaeger <aj@suse.de>
27962
27963 [BZ #12194]
27964 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27965 warning.
27966 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27967 * bits/byteswap-16.h (__bswap_16): Likewise.
27968 * bits/byteswap.h (__bswap_constant_16): Likewise.
27969
3ee947b1
L
279702012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27971
27972 [BZ #14117]
a2f34833
L
27973 * sysdeps/i386/fpu_control.h: Removed.
27974 * sysdeps/x86_64/fpu_control.h: Moved to ...
27975 * sysdeps/x86/fpu_control.h: Here.
27976
3ee947b1
L
27977 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27978 (_FPU_SETCW): Likewise.
27979
ed1825f8
L
279802012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27981
25f1282a
L
27982 [BZ #14117]
27983 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27984 * sysdeps/x86/fpu/bits/mathinline.h: This.
27985 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27986
ed1825f8
L
27987 [BZ #14050]
27988 [BZ #14117]
27989 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27990 functions if __x86_64__ is defined.
27991
36d54b74
CLT
279922012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27993
27994 * string/endian.h: Add !__ASSEMBLER__ condition for including
27995 conversion interfaces.
27996
10285c21
JM
279972012-06-15 Joseph Myers <joseph@codesourcery.com>
27998
27999 [BZ #14241]
28000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28001 of ABS(x) in calculating zero to negative powers other than odd
28002 integers.
28003 * math/libm-test.inc (pow_test): Add more tests.
28004
06c5abbd
AJ
280052012-06-15 Andreas Jaeger <aj@suse.de>
28006
28007 * manual/contrib.texi (Contributors): Update entry of Liubov
28008 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28009 Machado Filho.
28010
a3aeac40
CH
280112012-06-15 Cyril Hrubis <metan@ucw.cz>
28012
28013 * string/string.h: Add __wur to GNU version of strerror_r.
28014
49bdf4c1
L
280152012-06-14 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 [BZ #14229]
28018 * string/Makefile (tests): Add tst-strtok_r.
28019 * string/tst-strtok_r.c: New file.
28020 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28021 RAX_LP/RDX_LP on SAVE_PTR.
28022
834f9b8d
RM
280232012-06-14 Roland McGrath <roland@hack.frob.com>
28024
28025 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28026
75fa1921
JM
280272012-06-14 Joseph Myers <joseph@codesourcery.com>
28028
28029 * libm_test.inc (csqrt_test): Allow more spurious underflow
28030 exceptions.
28031 (j0_test): Likewise.
28032 (j1_test): Likewise.
28033 (y0_test): Likewise.
28034 (y1_test): Likewise.
28035
771766df
CD
280362012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
28037
28038 * po/Makefile (libc.pot): Use UTF-8 charset.
28039
ceb9e56b
PP
280402012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
28041
28042 [BZ #14210]
28043 Suppress sign-conversion warning from FD_SET.
28044 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28045 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28046 not unsigned long int.
28047 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28048
ddb28975
L
280492012-06-12 H.J. Lu <hongjiu.lu@intel.com>
28050
28051 [BZ #14050]
28052 [BZ #14117]
28053 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28054 __extern_always_inline instead of __extern_inline.
28055 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28056 (__signbit): Likewise.
28057 (__signbitl): Support C++ namespace.
28058 (lrintf): New inline function.
28059 (lrint): Likewise.
28060 (llrintf): Likewise.
28061 (llrint): Likewise.
28062 (fmaxf): Likewise.
28063 (fmax): Likewise.
28064 (fminf): Likewise.
28065 (fmin): Likewise.
28066 (rint): Likewise.
28067 (rintf): Likewise.
28068 (ceil): Likewise.
28069 (ceilf): Likewise.
28070 (floor): Likewise.
28071 (floorf): Likewise.
28072 (nearbyint): Likewise.
28073 (nearbyintf): Likewise.
28074
d7b4fb26
TS
280752012-06-12 Thomas Schwinge <thomas@codesourcery.com>
28076
28077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28078 non-default versions.
28079
eb55f5c2
RM
280802012-06-11 Roland McGrath <roland@hack.frob.com>
28081
28082 [BZ #14218]
28083 * manual/argp.texi (Argp): Reword argp_parse description slightly.
28084
366af02c
TS
280852012-06-09 Thomas Schwinge <thomas@codesourcery.com>
28086
99ff6e5c
TS
28087 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28088 (FE_UPWARD, FE_DOWNWARD): Don't define.
28089 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28091
366af02c
TS
28092 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28093 reading it.
28094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28096
793ea851
KK
280972012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28098
28099 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28102 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28103
a728a38f
L
281042012-06-06 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 [BZ #14117]
c08010c7
L
28107 * sysdeps/i386/fpu/bits/fenv.h: Removed.
28108 * sysdeps/i386/fpu/Implies: New file.
28109 * sysdeps/x86_64/fpu/Implies: Likewise.
28110 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28111 * sysdeps/x86/fpu/bits/fenv.h: This.
28112
a728a38f
L
28113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28114 __SSE_MATH__.
28115
6e230d11
SP
281162012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28117
28118 [BZ #14134]
28119 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28120 character 0xffff that matches the last element of the
28121 conversion table.
28122
1b671feb
AZ
281232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28124
28125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28126 fmodl commit.
28127
6043738b
AZ
281282012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28129
28130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28131 values higher than 25.6283.
28132
34ae0b32
AZ
281332012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28134
28135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28136 subnormal exponent extraction and add some __builtin_expect.
28137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28138 Fix for subnormal mantissa calculation.
28139
1214ec8f
MF
281402012-06-04 Mike Frysinger <vapier@gentoo.org>
28141
28142 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28143 cpu2 is -1 and errno is not ENOSYS.
28144
f3d1f93c
L
281452012-06-04 H.J. Lu <hongjiu.lu@intel.com>
28146
28147 [BZ #14117]
0e4a3cd7
L
28148 * sysdeps/i386/i486/bits/string.h: Renamed to ...
28149 * sysdeps/x86/bits/string.h: This.
28150 * sysdeps/x86_64/bits/string.h: Removed.
28151
6704c645
L
28152 * sysdeps/i386/i486/bits/string.h: Define inline functions only
28153 if not compiling for x86-64, but compiling for >= i486.
28154
48495318
L
28155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28156 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28157
14adcbfc
L
28158 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28159 New macro from Linux kernel 3.4.0.
28160 (FP_XSTATE_MAGIC2): Likewise.
28161 (FP_XSTATE_MAGIC2_SIZE): Likewise.
28162 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28163 (struct _fpx_sw_bytes): New struct.
28164 (struct _xsave_hdr): Likewise.
28165 (struct _ymmh_state): Likewise.
28166 (struct _xstate): Likewise.
28167
68e408ab
L
28168 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28169 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28170 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28171 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28172 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28173 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28174
f3d1f93c
L
28175 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28176 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28177 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28178 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28179 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28180 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28181
d9dc34cd
TMQMF
281822012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28183
28184 [BZ #13743]
28185 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28186 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28187 (sysdep_headers): Include sys/platform/ppc.h.
28188 * sysdeps/powerpc/test-gettimebase.c: Test for
28189 __ppc_get_timebase() to catch future ISA opcode/insn changes.
28190 * manual/Makefile (appendices): Include platform.texi.
28191 * manual/contrib.texi (Contributors): Update @node pointers.
28192 * manual/maint.texi (Maintenance): Likewise.
28193 (Platform): New node.
28194 * manual/platform.texi: New file. Document the new features.
28195
4af3879c
SP
281962012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28197 Jakub Jelinek <jakub@redhat.com>
28198
28199 [BZ #14188]
28200 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28201 where __builtin_expect is unavailable.
28202
2fd6ff13
DM
282032012-06-03 David S. Miller <davem@davemloft.net>
28204
28205 * stdlib/longlong.h: Updated from GCC.
28206
173f7220
AS
282072012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28208
28209 [BZ #14042]
28210 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28211 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28212 __mcount_internal.
28213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28214 (GLIBC_2.16): Likewise.
28215
f34a1c6f
L
282162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28217
28218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28219
88a4576f
JM
282202012-06-01 Joseph Myers <joseph@codesourcery.com>
28221
ea32bcdd
JM
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28223 (default-abi): New variable.
28224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28225 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28226 variable.
28227 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28228 Likewise.
28229 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28230 Likewise.
28231 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28232 Likewise.
28233
88a4576f
JM
28234 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28235 definition. Document in comment.
28236
402fe938
DM
282372012-06-01 David S. Miller <davem@davemloft.net>
28238
28239 * stdlib/longlong.h: Updated from GCC.
28240
3553723f
L
282412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 [BZ #14117]
3bd872c4
L
28244 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28245 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28246 sys/debugreg.h sys/io.h here.
28247 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28248 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28249 sys/io.h.
28250 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28251 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28252 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28253 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28254 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28255 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28256
3553723f
L
28257 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28258 Define only if __x86_64__ is defined.
28259
4842e4fe
JM
282602012-06-01 Joseph Myers <joseph@codesourcery.com>
28261
c5bfe3d5
JM
28262 [BZ #14048]
28263 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28264 Use int64_t for variable i.
28265 * math/libm-test.inc (fmod_test): Add more tests.
28266
4842e4fe
JM
28267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28268 z computation is not scheduled after fetestexcept.
28269 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28270 Use math_force_eval instead of asm to ensure calculation scheduled
28271 before exception test.
28272 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28273 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28274
efb73488
AJ
282752012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28276
28277 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28278 computation is not scheduled after fetestexcept.
28279
29bcce7c
L
282802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28281
28282 [BZ #14117]
28283 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28284 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28285
73a68f94
AZ
282862012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28287
28288 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28289 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28290
67b6df78
L
282912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28292
edf2933a 28293 [BZ #14117]
ebc64a18
L
28294 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28295 <bits/wordsize.h>.
28296 (__WCHAR_MIN): Support __WORDSIZE == 64.
28297 (__WCHAR_MAX): Likewise.
28298
edf2933a
L
28299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28300 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28301
57c6cf40
L
28302 [BZ #14183]
28303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28304 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28305
67b6df78 28306 [BZ #14117]
8eb6281e
L
28307 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28308 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28309
aac639f4
L
28310 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28311 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28312
67b6df78
L
28313 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28314 Defined to 1 if __x86_64__ isn't defined.
28315 (_STAT_VER_LINUX_OLD): New.
28316 (st_atime): Remove duplicate.
28317 (st_mtime): Likewise.
28318 (st_ctime): Likewise.
28319
1c2cfe81
DM
283202012-05-31 David S. Miller <davem@davemloft.net>
28321
28322 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28323 entries.
28324
5be8418c
AS
283252012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28326
e7725326
AS
28327 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28328 gen-libm-test.pl.
28329
5be8418c
AS
28330 [BZ #14132]
28331 * elf/dl-reloc.c: Include <_itoa.h>.
28332 (_dl_reloc_bad_type): Remove use of INTUSE.
28333 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28334 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28335 * stdio-common/psiginfo.c (psiginfo): Likewise.
28336 * stdio-common/psignal.c (psignal): Likewise.
28337 * string/strsignal.c (strsignal): Likewise.
28338 * include/signal.h (_sys_siglist): Declare hidden proto.
28339 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28340 INTVARDEF with libc_hidden_data_def.
28341 * stdio-common/itoa-udigits.c: Likewise.
28342 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28343 (_itoa_lower_digits_internal): Remove declaration.
28344 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28345 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28346 (_sys_sigabbrev_internal): Remove aliases.
28347 (_sys_siglist): Define hidden alias.
28348
507352f1
MT
283492012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28350
28351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28352 bits/sysctl.h.
28353
42bbb1c3
L
283542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28355
28356 [BZ #14117]
6bd784b6
L
28357 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28358 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28359
8bca20f0
L
28360 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28361 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28362 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28363 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28365 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28366
f9e890a9
L
28367 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28369 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28370
471101a1
L
28371 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28372 with __addr.
28373 (insw): Likewise.
28374 (insl): Likewise.
28375 (outsb): Likewise.
28376 (outsw): Likewise.
28377 (outsl): Likewise.
28378
6451c862
L
28379 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28381 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28382
a254b8c9
L
28383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28384 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28386 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28387 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28388 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28389
b8dfdd92
L
28390 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28391 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28392
578cd270
L
28393 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28394 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28395
de662f5f
L
28396 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28397 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28398 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28399
25653439
L
28400 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28401 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28402 to ...
28403 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28404
6bad24a0
L
28405 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28406 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28407 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28408
42bbb1c3
L
28409 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28410 for x86-64.
28411 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28412
2d10d547
JM
284132012-05-31 Joseph Myers <joseph@codesourcery.com>
28414
28415 * math/math.h (M_El): Use two more decimal places.
28416 (M_LOG2El): Likewise.
28417 (M_LOG10El): Likewise.
28418 (M_LN2l): Likewise.
28419 (M_LN10l): Likewise.
28420 (M_PIl): Likewise.
28421 (M_PI_2l): Likewise.
28422 (M_PI_4l): Likewise.
28423 (M_1_PIl): Likewise.
28424 (M_2_PIl): Likewise.
28425 (M_2_SQRTPIl): Likewise.
28426 (M_SQRT2l): Likewise.
28427 (M_SQRT1_2l): Likewise.
28428
f230c29b
DM
284292012-05-31 David S. Miller <davem@davemloft.net>
28430
28431 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28432 values between float registers.
28433 * sysdeps/sparc/sparc64/memset.S: Likewise.
28434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28435
fed806c3
MF
284362012-05-31 Mike Frysinger <vapier@gentoo.org>
28437
28438 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28439 -D_FORTIFY_SOURCE=1.
28440 (CPPFLAGS-tst-longjmp_chk.c): Define.
28441 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28442 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28443 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28444 CFLAGS-tst-wchar-h.c.
28445
30917259
MP
284462012-05-31 Marek Polacek <polacek@redhat.com>
28447
28448 [BZ #14132]
28449 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28450 __endmntent_internal): Remove declaration.
28451 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28452 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28453 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28454
1c58d5dc
DM
284552012-05-30 David S. Miller <davem@davemloft.net>
28456
28457 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28458 (___Q_simulate_exceptions): Use real FP ops rather than writing
28459 into the %fsr.
28460 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28461 Likewise.
28462
7dc00e0d
L
284632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28464
28465 [BZ #14117]
0bd53985
L
28466 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28467 * sysdeps/x86/bits/xtitypes.h: This.
28468
3a257e66
L
28469 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28470 * sysdeps/x86/bits/wordsize.h: This.
28471
62f62904
L
28472 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28473 * sysdeps/x86/bits/huge_vall.h: This.
28474
404fe9d9
L
28475 * sysdeps/i386/bits/select.h: Removed.
28476 * sysdeps/x86_64/bits/select.h: Renamed to ...
28477 * sysdeps/x86/bits/select.h: This.
28478
d48d0446
L
28479 * sysdeps/i386/bits/setjmp.h: Removed.
28480 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28481 * sysdeps/x86/bits/setjmp.h: This.
28482
7dc00e0d
L
28483 * sysdeps/i386/bits/mathdef.h: Removed.
28484 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28485 * sysdeps/x86/bits/mathdef.h: This.
28486
03277f8f
AS
284872012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28488
28489 [BZ #14132]
28490 * include/sys/socket.h (__connect_internal)
28491 (__libc_sa_len_internal): Remove declaration.
28492 (__connect, __libc_sa_len): Declare hidden_proto.
28493 (SA_LEN): Remove use of INTUSE.
28494 * socket/connect.c: Add libc_hidden_def.
28495 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28496 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28497 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28498 alias.
28499 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28500 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28501 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28502 of adding _internal alias.
28503
13764867
L
285042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28505
28506 [BZ #14117]
6bd97696
L
28507 * sysdeps/i386/bits/link.h: Removed.
28508 * sysdeps/i386/bits/linkmap.h: Likewise.
28509 * sysdeps/x86_64/bits/link.h: Renamed to ...
28510 * sysdeps/x86/bits/link.h: This.
28511 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28512 * sysdeps/x86/bits/linkmap.h: This.
28513
f726f0bb
L
28514 * sysdeps/i386/bits/endian.h: Removed.
28515 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28516 * sysdeps/x86/bits/endian.h: This.
28517
13764867
L
28518 * sysdeps/i386/bits/byteswap.h: Removed.
28519 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28520 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28521 * sysdeps/x86/bits/byteswap.h: This.
28522 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28523 * sysdeps/x86/bits/byteswap-16.h: This.
28524 * sysdeps/i386/Implies: Add x86.
28525 * sysdeps/x86_64/Implies: Likewise.
28526
ae251b0b
DM
285272012-05-30 David S. Miller <davem@davemloft.net>
28528
28529 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28530 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28531 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28532 (FP_TRAPPING_EXCEPTIONS): Define.
28533 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28534 (FP_TRAPPING_EXCEPTIONS): Define.
28535 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28536 subnormals only when inexact has been signalled or underflow
28537 exceptions are enabled.
28538 (_FP_PACK_CANONICAL): Likewise.
28539
d5c90867
L
285402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #14183]
28543 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28544 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28545
63f1549e
RH
285462012-05-30 Richard Henderson <rth@twiddle.net>
28547
8d8f2279
RH
28548 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28549 with #ifndef NOT_IN_libc.
28550
63f1549e
RH
28551 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28552 marked to avoid plt entry.
28553
0ab0291b
L
285542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 [BZ #14112]
28557 * Makeconfig (default-abi): New macro.
28558 (abi-includes): Likewise.
28559 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28560 $(abi-$(default-abi)-lib-soname) for soname if defined.
28561 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28562 abi-variants.
28563 * Makefile (installed-stubs): Likewise.
28564 * include/stubs-biarch.h: Removed.
28565 * scripts/lib-names.awk: Only handle one library at a time.
28566 * scripts/soversions.awk: Remove WORDSIZE support.
28567 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28568 entries.
28569 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28570 Removed.
28571 (syscall-list-default-condition): Likewise.
28572 (syscall-list-default-condition): Likewise.
28573 (syscall-list-includes): Likewise.
28574 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28575 syscall-list-* with abi-*. Handle undefined abi-variants.
28576 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28577 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28578 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28579 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28580 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28581 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28582 Removed.
28583 (syscall-list-32-options): Likewise.
28584 (syscall-list-32-condition): Likewise.
28585 (syscall-list-64-options): Likewise.
28586 (syscall-list-64-condition): Likewise.
28587 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28588 macro.
28589 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28590 Renamed to ...
28591 (abi-*): This.
28592 (abi-64-ld-soname): New macro.
28593 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28594 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28595 Renamed to ...
28596 (abi-*): This.
28597 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28598 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28599
4da0431d
JM
286002012-05-30 Joseph Myers <joseph@codesourcery.com>
28601
3a85279c
JM
28602 * sysdeps/unix/sysv/linux/kernel-features.h
28603 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28604 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28605 include <kernel-features.h>.
28606 [!__NR_ftruncate64]: Remove conditional code.
28607 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28608 [__NR_ftruncate64]: Make code unconditional.
28609 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28610 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28611 include <kernel-features.h>.
28612 [!__NR_ftruncate64]: Remove conditional code.
28613 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28614 [__NR_ftruncate64]: Make code unconditional.
28615 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28617 include <kernel-features.h>.
28618 [!__NR_ftruncate64]: Remove conditional code.
28619 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28620 [__NR_ftruncate64]: Make code unconditional.
28621 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28623 include <kernel-features.h>.
28624 [!__NR_ftruncate64]: Remove conditional code.
28625 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28626 [__NR_ftruncate64]: Make code unconditional.
28627 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28628
4da0431d
JM
28629 * configure.in (libc_cv_fpie): Weaken to a compile test using
28630 LIBC_TRY_CC_OPTION.
28631 * configure: Regenerated.
28632
11ef492c
AK
286332012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28634
28635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28639 Refreshed.
28640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28646 Refreshed.
28647
d66ef399
DM
286482012-05-27 David S. Miller <davem@davemloft.net>
28649
28650 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28651 (___Q_zero): New.
28652 (__Q_simulate_exceptions): Return void. Change to simulate
28653 exceptions by writing into the %fsr.
28654 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28655 (__Qp_handle_exceptions): Likewise.
28656 (numbers): Delete.
28657 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28658 __Qp_handle_exceptions.
28659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28660 __Qp_handle_exceptions.
28661 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28662 as unused and give dummy FP_RND_NEAREST initializer.
28663 (FP_INHIBIT_RESULTS): Define.
28664 (___Q_simulate_exceptions): Update declaration.
28665 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28666 formatting.
28667 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28668 as unused and give dummy FP_RND_NEAREST initializer.
28669 (__Qp_handle_exceptions): Update declaration.
28670 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28671 formatting.
28672
04fb54b5
TS
286732012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28674
28675 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28676 the temporary FPU control word.
28677 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28678 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28679 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28680 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28681 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28682 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28683 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28684 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28685 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28686 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28687 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28688
3f99608f
KK
286892012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28690
28691 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28692 fields.
28693
65a4de4e
CLT
286942012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28695
28696 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28697 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28698 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28699 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28700 Likewise.
28701 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28702 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28703 Likewise.
28704
15749d40
UD
287052012-05-27 Ulrich Drepper <drepper@gmail.com>
28706
28707 * po/h.po: Update from translation team.
28708
25dbcb27
AS
287092012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28710
3d3f8e55
AS
28711 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28712
25dbcb27
AS
28713 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28714 handling of denormals.
28715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28716 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28722 Likewise.
28723
7ad47a80 287242012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
28725
28726 [BZ #14152]
28727 * math/libm-test.inc (fma_test): Don't always expect underflow
28728 exception.
28729
9c6ea9fa
SP
287302012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28731
28732 [BZ #12416]
28733 * elf/tst-execstack.c: Include stackinfo.h.
28734 (do_test): Adjust test case to ensure that pthread_getattr_np
28735 behaviour remains the same after marking stack executable.
28736
a8239222
JM
287372012-05-25 Joseph Myers <joseph@codesourcery.com>
28738
28739 * sysdeps/unix/sysv/linux/kernel-features.h
28740 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28741 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28742 kernel-features.h.
28743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28745 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28746 kernel-features.h.
28747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28749
918b5606
L
287502012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28751
28752 * configure.in: Define the default includes to being none.
28753 * configure: Regenerated.
28754
3a097cc7
RM
287552012-05-25 Roland McGrath <roland@hack.frob.com>
28756
8422c9a5
RM
28757 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28758 * sysdeps/x86_64/setjmp.S: Likewise.
28759 * sysdeps/i386/bsd-setjmp.S: Likewise.
28760 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28761 * sysdeps/i386/setjmp.S: Likewise.
28762 * sysdeps/i386/__longjmp.S: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28764 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28765
3a097cc7
RM
28766 * include/stap-probe.h: New file.
28767 * configure.in: Handle --enable-systemtap.
28768 * configure: Regenerated.
28769 * config.h.in (USE_STAP_PROBE): New #undef.
28770 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28771 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28772 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28773
21708942
JM
287742012-05-25 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #13717]
28777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28778 to 2.4.0 where earlier.
28779 * sysdeps/unix/sysv/linux/configure: Regenerated.
28780 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28781 <kernel-features.h>.
28782 [__ASSUME_32BITUIDS]: Make code unconditional.
28783 [!__ASSUME_32BITUIDS]: Remove conditional code.
28784 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28785 <kernel-features.h>.
28786 [__ASSUME_32BITUIDS]: Make code unconditional.
28787 [!__ASSUME_32BITUIDS]: Remove conditional code.
28788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28789 [__ASSUME_32BITUIDS]: Make code unconditional.
28790 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28791 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28792 <kernel-features.h>.
28793 [__ASSUME_32BITUIDS]: Make code unconditional.
28794 [!__ASSUME_32BITUIDS]: Remove conditional code.
28795 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28796 <kernel-features.h>.
28797 [__ASSUME_32BITUIDS]: Make code unconditional.
28798 [!__ASSUME_32BITUIDS]: Remove conditional code.
28799 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28800 <kernel-features.h>.
28801 [__ASSUME_32BITUIDS]: Make code unconditional.
28802 [!__ASSUME_32BITUIDS]: Remove conditional code.
28803 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28804 <kernel-features.h>.
28805 [__ASSUME_32BITUIDS]: Make code unconditional.
28806 [!__ASSUME_32BITUIDS]: Remove conditional code.
28807 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28808 <kernel-features.h>.
28809 [__ASSUME_32BITUIDS]: Make code unconditional.
28810 [!__ASSUME_32BITUIDS]: Remove conditional code.
28811 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28812 <kernel-features.h>.
28813 [__ASSUME_32BITUIDS]: Make code unconditional.
28814 [!__ASSUME_32BITUIDS]: Remove conditional code.
28815 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28816 <kernel-features.h>.
28817 [__ASSUME_32BITUIDS]: Make code unconditional.
28818 [!__ASSUME_32BITUIDS]: Remove conditional code.
28819 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28820 <kernel-features.h>.
28821 [__ASSUME_32BITUIDS]: Make code unconditional.
28822 [!__ASSUME_32BITUIDS]: Remove conditional code.
28823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28824 <kernel-features.h>.
28825 [__ASSUME_32BITUIDS]: Make code unconditional.
28826 [!__ASSUME_32BITUIDS]: Remove conditional code.
28827 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28828 <kernel-features.h>.
28829 [__ASSUME_32BITUIDS]: Make code unconditional.
28830 [!__ASSUME_32BITUIDS]: Remove conditional code.
28831 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28832 <kernel-features.h>.
28833 [__NR_setresgid] (__setresgid): Do not declare.
28834 [__ASSUME_32BITUIDS]: Make code unconditional.
28835 [!__ASSUME_32BITUIDS]: Remove conditional code.
28836 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28837 <kernel-features.h>.
28838 [__NR_setresuid] (__setresuid): Do not declare.
28839 [__ASSUME_32BITUIDS]: Make code unconditional.
28840 [!__ASSUME_32BITUIDS]: Remove conditional code.
28841 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28842 <kernel-features.h>.
28843 [__ASSUME_32BITUIDS]: Make code unconditional.
28844 [!__ASSUME_32BITUIDS]: Remove conditional code.
28845 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28846 <kernel-features.h>.
28847 [__ASSUME_32BITUIDS]: Make code unconditional.
28848 [!__ASSUME_32BITUIDS]: Remove conditional code.
28849 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28850 <kernel-features.h>.
28851 [__ASSUME_32BITUIDS]: Make code unconditional.
28852 [!__ASSUME_32BITUIDS]: Remove conditional code.
28853 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28854 <kernel-features.h>.
28855 [__ASSUME_32BITUIDS]: Make code unconditional.
28856 [!__ASSUME_32BITUIDS]: Remove conditional code.
28857 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28858 <kernel-features.h>.
28859 [__ASSUME_32BITUIDS]: Make code unconditional.
28860 [!__ASSUME_32BITUIDS]: Remove conditional code.
28861 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28862 <kernel-features.h>.
28863 [__ASSUME_32BITUIDS]: Make code unconditional.
28864 [!__ASSUME_32BITUIDS]: Remove conditional code.
28865 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28866 <kernel-features.h>.
28867 [__ASSUME_32BITUIDS]: Make code unconditional.
28868 [!__ASSUME_32BITUIDS]: Remove conditional code.
28869 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28870 <kernel-features.h>.
28871 [__ASSUME_32BITUIDS]: Make code unconditional.
28872 [!__ASSUME_32BITUIDS]: Remove conditional code.
28873 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28874 <kernel-features.h>.
28875 [__ASSUME_32BITUIDS]: Make code unconditional.
28876 [!__ASSUME_32BITUIDS]: Remove conditional code.
28877 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28878 <kernel-features.h>.
28879 [__ASSUME_32BITUIDS]: Make code unconditional.
28880 [!__ASSUME_32BITUIDS]: Remove conditional code.
28881 * sysdeps/unix/sysv/linux/kernel-features.h
28882 (__ASSUME_SETRESUID_SYSCALL): Remove.
28883 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28884 (__ASSUME_32BITUIDS): Likewise.
28885 (__ASSUME_LDT_WORKS): Likewise.
28886 (__ASSUME_O_DIRECTORY): Likewise.
28887 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28888 architecture but not kernel version.
28889 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28890 (__ASSUME_MMAP2_SYSCALL): Likewise.
28891 (__ASSUME_STAT64_SYSCALL): Likewise.
28892 (__ASSUME_IPC64): Likewise.
28893 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28894 <kernel-features.h>.
28895 [__ASSUME_32BITUIDS]: Make code unconditional.
28896 [!__ASSUME_32BITUIDS]: Remove conditional code.
28897 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28898 <kernel-features.h>.
28899 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28900 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28901 132096]: Remove conditional code.
28902 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28903 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28904 <kernel-features.h>.
28905 [__ASSUME_32BITUIDS]: Make code unconditional.
28906 [!__ASSUME_32BITUIDS]: Remove conditional code.
28907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28908 <kernel-features.h>.
28909 [__ASSUME_32BITUIDS]: Make code unconditional.
28910 [!__ASSUME_32BITUIDS]: Remove conditional code.
28911 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28912 <kernel-features.h>.
28913 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28914 unconditional.
28915 (__setresgid): Do not declare.
28916 [__ASSUME_32BITUIDS]: Make code unconditional.
28917 [!__ASSUME_32BITUIDS]: Remove conditional code.
28918 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28919 <kernel-features.h>.
28920 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28921 unconditional.
28922 (__setresuid): Do not declare.
28923 [__ASSUME_32BITUIDS]: Make code unconditional.
28924 [!__ASSUME_32BITUIDS]: Remove conditional code.
28925 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28926 <kernel-features.h>.
28927 [__ASSUME_32BITUIDS]: Make code unconditional.
28928 [!__ASSUME_32BITUIDS]: Remove conditional code.
28929 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28930 <kernel-features.h>.
28931 [__ASSUME_32BITUIDS]: Make code unconditional.
28932 [!__ASSUME_32BITUIDS]: Remove conditional code.
28933
a386f1cc
RH
289342012-05-25 Richard Henderson <rth@twiddle.net>
28935
28936 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28937 dl_hwcap to ifunc resolver.
28938 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28939 elf_ifunc_invoke.
28940 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28941 dl_hwcap to ifunc resolver.
28942 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28943
b6550497
JM
289442012-05-24 Joseph Myers <joseph@codesourcery.com>
28945
28946 [BZ #14153]
28947 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28948 for |x| <= 2**-26, not 2**-57.
28949 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28950 exception.
28951
b0bc23a1
JL
289522012-05-24 Jeff Law <law@redhat.com>
28953
28954 * stdio-common/Makefile (tests): Add bug25.
28955 * stdio-common/bug25.c: New test.
28956
347c92e9
L
289572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28958
28959 [BZ #13576]
28960 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28961 multiple of MALLOC_ALIGNMENT in size.
28962 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28963
6bcc8b3f
JM
289642012-05-24 Joseph Myers <joseph@codesourcery.com>
28965
28966 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28967 Require >= 256.
28968 (FILENAME_MAX): Use macro-int-constant.
28969 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28970 (_IOFBF): Use macro-int-constant.
28971 (_IOLBF): Likewise.
28972 (_IONBF): Likewise.
28973 (SEEK_CUR): Likewise.
28974 (SEEK_END): Likewise.
28975 (SEEK_SET): Likewise.
28976 (TMP_MAX): Likewise.
28977 (EOF): Use macro-int-constant. Require < 0.
28978 (NULL): Use macro-constant. Require == 0.
28979 (stdin): Require type to be FILE *.
28980 (stdout): Likewise.
28981 (stderr): Likewise.
28982 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28983 macro-int-constant.
28984 (EXIT_SUCCESS): Likewise.
28985 (NULL): Use macro-constant. Require == 0.
28986 (RAND_MAX): Use macro-int-constant.
28987 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28988 [C99-based standards] (strtof): Require function.
28989 [C99-based standards] (strtold): Likewise.
28990 [C99-based standards] (strtoll): Likewise.
28991 [C99-based standards] (strtoull): Likewise.
28992 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28993 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28994 [ISO || ISO99 || ISO11] (math.h): Likewise.
28995 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28996 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28998
d18ea0c5
AS
289992012-05-24 Andreas Schwab <schwab@linux-m68k.org>
29000
29001 [BZ #14132]
56d25bb8
AS
29002 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29003 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29004 * intl/dgettext.c (DCGETTEXT): Likewise.
29005 * intl/gettext.c (DCGETTEXT): Likewise.
29006 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29007 * posix/regex_internal.h (gettext): Likewise.
29008 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29009 Remove declaration.
29010 * include/argz.h (__argz_count_internal)
29011 (__argz_stringify_internal): Remove declaration.
29012 (__argz_count, __argz_stringify): Declare hidden proto.
29013 * intl/dcgettext.c: Remove use of INTDEF.
29014 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29015 * string/argz-stringify.c: Likewise.
29016 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29017 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29018 Declare hidden proto.
d18ea0c5
AS
29019 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29020 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29021 Declare hidden proto.
29022 * include/stdio.h (__asprintf_internal): Don't declare.
29023 (__asprintf): Don't define as macro. Declare hidden proto.
29024 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29025 (__fsetlocking): Declare hidden proto.
29026 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29027 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29028 hidden proto.
29029 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29030 (_IO_setlinebuf): Remove use of INTUSE.
29031 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29032 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29033 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29034 Remove declaration.
29035 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29036 (_IO_do_flush): Remove use of INTUSE.
29037 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29038 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29039 (_IO_adjust_column, _IO_least_wmarker)
29040 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29041 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29042 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29043 (_IO_default_doallocate, _IO_wdefault_doallocate)
29044 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29045 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29046 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29047 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29048 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29049 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29050 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29051 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29052 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29053 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29054 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29055 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29056 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29057 proto.
29058 (_IO_flush_all_internal, _IO_adjust_column_internal)
29059 (_IO_default_uflow_internal, _IO_default_finish_internal)
29060 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29061 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29062 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29063 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29064 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29065 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29066 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29067 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29068 (_IO_file_close_internal, _IO_file_close_it_internal)
29069 (_IO_file_underflow_internal, _IO_file_overflow_internal)
29070 (_IO_file_init_internal, _IO_file_attach_internal)
29071 (_IO_file_fopen_internal, _IO_file_read_internal)
29072 (_IO_file_sync_internal, _IO_file_seek_internal)
29073 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29074 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29075 (_IO_str_underflow_internal, _IO_str_overflow_internal)
29076 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29077 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29078 (_IO_list_all_internal, _IO_link_in_internal)
29079 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29080 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29081 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29082 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29083 (_IO_do_write_internal, _IO_padn_internal)
29084 (_IO_getline_info_internal, _IO_getline_internal)
29085 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29086 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29087 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29088 (_IO_vfscanf_internal, _IO_vfprintf_internal)
29089 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29090 (_IO_init_internal, _IO_un_link_internal): Don't declare.
29091 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29092 with libc_hidden_ver, remove use of INTUSE.
29093 * libio/genops.c: Likewise.
29094 * libio/freopen.c: Likewise.
29095 * libio/freopen64.c: Likewise.
29096 * libio/iofclose.c: Likewise.
29097 * libio/iofdopen.c: Likewise.
29098 * libio/iofflush.c: Likewise.
29099 * libio/iofflush_u.c: Likewise.
29100 * libio/iofgets.c: Likewise.
29101 * libio/iofgets_u.c: Likewise.
29102 * libio/iofopen.c: Likewise.
29103 * libio/iofopncook.c: Likewise.
29104 * libio/iofread.c: Likewise.
29105 * libio/iofread_u.c: Likewise.
29106 * libio/ioftell.c: Likewise.
29107 * libio/iofwrite.c: Likewise.
29108 * libio/iogetline.c: Likewise.
29109 * libio/iogets.c: Likewise.
29110 * libio/iogetwline.c: Likewise.
29111 * libio/iopadn.c: Likewise.
29112 * libio/iopopen.c: Likewise.
29113 * libio/ioseekoff.c: Likewise.
29114 * libio/ioseekpos.c: Likewise.
29115 * libio/iosetbuffer.c: Likewise.
29116 * libio/iosetvbuf.c: Likewise.
29117 * libio/ioungetc.c: Likewise.
29118 * libio/ioungetwc.c: Likewise.
29119 * libio/iovdprintf.c: Likewise.
29120 * libio/iovsprintf.c: Likewise.
29121 * libio/iovsscanf.c: Likewise.
29122 * libio/memstream.c: Likewise.
29123 * libio/obprintf.c: Likewise.
29124 * libio/oldfileops.c: Likewise.
29125 * libio/oldiofclose.c: Likewise.
29126 * libio/oldiofdopen.c: Likewise.
29127 * libio/oldiofopen.c: Likewise.
29128 * libio/oldiopopen.c: Likewise.
29129 * libio/oldstdfiles.c: Likewise.
29130 * libio/putc.c: Likewise.
29131 * libio/setbuf.c: Likewise.
29132 * libio/setlinebuf.c: Likewise.
29133 * libio/stdfiles.c: Likewise.
29134 * libio/strops.c: Likewise.
29135 * libio/vasprintf.c: Likewise.
29136 * libio/vscanf.c: Likewise.
29137 * libio/vsnprintf.c: Likewise.
29138 * libio/vswprintf.c: Likewise.
29139 * libio/wfiledoalloc.c: Likewise.
29140 * libio/wfileops.c: Likewise.
29141 * libio/wgenops.c: Likewise.
29142 * libio/wmemstream.c: Likewise.
29143 * libio/wstrops.c: Likewise.
29144 * libio/__fpurge.c: Likewise.
29145 * libio/__fsetlocking.c: Likewise.
29146 * assert/assert.c: Likewise.
29147 * debug/fgets_chk.c: Likewise.
29148 * debug/fgets_u_chk.c: Likewise.
29149 * debug/fread_chk.c: Likewise.
29150 * debug/fread_u_chk.c: Likewise.
29151 * debug/gets_chk.c: Likewise.
29152 * debug/obprintf_chk.c: Likewise.
29153 * debug/vasprintf_chk.c: Likewise.
29154 * debug/vdprintf_chk.c: Likewise.
29155 * debug/vsnprintf_chk.c: Likewise.
29156 * debug/vsprintf_chk.c: Likewise.
29157 * malloc/mtrace.c: Likewise.
29158 * misc/error.c: Likewise.
29159 * misc/syslog.c: Likewise.
29160 * stdio-common/asprintf.c: Likewise.
29161 * stdio-common/fxprintf.c: Likewise.
29162 * stdio-common/getw.c: Likewise.
29163 * stdio-common/isoc99_fscanf.c: Likewise.
29164 * stdio-common/isoc99_scanf.c: Likewise.
29165 * stdio-common/isoc99_vfscanf.c: Likewise.
29166 * stdio-common/isoc99_vscanf.c: Likewise.
29167 * stdio-common/isoc99_vsscanf.c: Likewise.
29168 * stdio-common/printf-prs.c: Likewise.
29169 * stdio-common/printf_fp.c: Likewise.
29170 * stdio-common/printf_fphex.c: Likewise.
29171 * stdio-common/printf_size.c: Likewise.
29172 * stdio-common/putw.c: Likewise.
29173 * stdio-common/scanf.c: Likewise.
29174 * stdio-common/sprintf.c: Likewise.
29175 * stdio-common/tmpfile.c: Likewise.
29176 * stdio-common/vfprintf.c: Likewise.
29177 * stdio-common/vfscanf.c: Likewise.
29178 * stdlib/strfmon_l.c: Likewise.
29179 * sunrpc/openchild.c: Likewise.
29180 * sunrpc/xdr_stdio.c: Likewise.
29181 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29182 * sysdeps/mach/hurd/tmpfile.c: Likewise.
29183
d6c33fda
RM
291842012-05-24 Roland McGrath <roland@hack.frob.com>
29185
c1487492
RM
29186 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29187
29188 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29189 in the third column, to generate for the shared library an IFUNC
29190 that uses _dl_vdso_vsym.
29191 * Makerules (COMPILE.c, compile-stdin.c): New variables.
29192 * Makeconfig (object-suffixes-noshared): New variable.
29193
29194 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29195 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29196 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29197 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29198
d6c33fda
RM
29199 [BZ #14132]
29200 * include/sys/time.h (__gettimeofday): Remove macro.
29201 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29202 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29203 Remove INTDEF.
29204 (__gettimeofday): Add libc_hidden_def.
29205 (gettimeofday): Add libc_hidden_weak.
29206 * sysdeps/mach/gettimeofday.c: Likewise.
29207 * sysdeps/posix/gettimeofday.c: Likewise.
29208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29209 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29211 (__gettimeofday_internal): Remove strong_alias.
29212 (__gettimeofday): Add libc_hidden_def.
29213 (gettimeofday): Add libc_hidden_weak.
29214 * sysdeps/unix/syscalls.list (gettimeofday):
29215 Remove __gettimeofday_internal alias.
29216
b5a2bbe6
L
292172012-05-24 Daniel Jacobowitz <drow@false.org>
29218 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 [BZ #12495]
29221 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29222 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29223 (largebin_index_32_big): New.
29224 (largebin_index): Use it for 16-byte alignment.
29225 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29226 correction with front_misalign.
29227
cfba4fda
L
292282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29229
7f907421
L
29230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29232 Likewise.
29233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29234 Likewise.
29235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29236 Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29238 Likewise.
29239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29240 Likewise.
29241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29242 Likewise.
29243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29244 Likewise.
29245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29246 Likewise.
29247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29248 Likewise.
29249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29250 Likewise.
29251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29252 Likewise.
29253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29254 Likewise.
29255
cfba4fda
L
29256 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29257 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29258
80bad0cc
JM
292592012-05-24 Joseph Myers <joseph@codesourcery.com>
29260
7a25eb06
JM
29261 [BZ #10846]
29262 [BZ #14036]
29263 * math/libm-test.inc (exp_test): Add test from bug 14036.
29264 (pow_test): Add test from bug 10846.
29265
795405f9
JM
29266 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29267 and other flags.
29268 (special_function): Do not include flags in test name.
29269 (parse_args): Likewise.
29270 * sysdeps/i386/fpu/libm-test-ulps: Update.
29271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29272 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275
80bad0cc
JM
29276 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29277 exceptions.
29278 * math/libm-test.inc ("Philosophy"): Update comment about
29279 exception testing.
29280 (UNDERFLOW_EXCEPTION): New macro.
29281 (UNDERFLOW_EXCEPTION_OK): Likewise.
29282 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29283 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29284 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29285 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29286 (INVALID_EXCEPTION_OK): Update value.
29287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29288 (OVERFLOW_EXCEPTION_OK): Likewise.
29289 (IGNORE_ZERO_INF_SIGN): Likewise.
29290 (test_exceptions): Handle underflow exceptions.
29291 (acos_test): Update for underflow exception expectations.
29292 (cexp_test): Likewise.
29293 (clog_test): Likewise.
29294 (clog10_test): Likewise.
29295 (csqrt_test): Likewise.
29296 (ctan_test): Likewise.
29297 (ctanh_test): Likewise.
29298 (exp_test): Likewise.
29299 (exp10_test): Likewise.
29300 (exp2_test): Likewise.
29301 (expm1_test): Likewise.
29302 (fma_test): Likewise.
29303 (j0_test): Likewise.
29304 (jn_test): Likewise.
29305 (nexttoward_test): Likewise.
29306 (pow_test): Likewise.
29307 (scalbn_test): Likewise.
29308 (scalbln_test): Likewise.
29309 (tan_test): Likewise.
29310 (y1_test): Likewise.
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29313
9e0e3d0b
DM
293142012-05-23 David S. Miller <davem@davemloft.net>
29315
29316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29317 (__libc_sigaction): Remove unused local variables.
29318
ccd0a08f
L
293192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29322
62bdf9a6
PE
293232012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29324
f8591f80
PE
29325 mktime: avoid signed integer overflow
29326 * time/mktime.c (__mktime_internal): Do not mishandle the case
29327 where diff == INT_MIN.
29328
94c7d826
PE
29329 mktime: simplify computation of average
29330 * time/mktime.c (ranged_convert): Use new time_t_avg function
29331 instead of rolling our own (probably-slower) code.
29332
ce73d683
PE
29333 mktime: do not assume signed right shift propagates sign bit
29334 * time/mktime.c (isdst_differ): New static function.
29335 (__mktime_internal): No need to normalize tm_isdst now.
29336 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29337 tm_isdst values.
29338
72a22e59
PE
29339 mktime: merge another wrapv change from gnulib
29340 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29341 from some compilers.
29342
68605433
PE
29343 mktime: remove incorrect attempt at unusual arithmetics
29344 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29345 The code didn't really work on such machines anyway.
29346 (TYPE_MINIMUM): Assume two's complement.
29347 (twos_complement_arithmetic): Verify that long_int and time_t
29348 are two's complement (or unsigned, in the latter case).
29349
03cf7fe3
PE
29350 mktime: check signed shifts on long_int and time_t, too
29351 * time/mktime.c (SHR): Check that shifts work as desired
29352 on the types long_int and time_t too, as SHR is used on
29353 such types.
29354
f04dfbc2
PE
29355 mktime: do not assume 'long' is wide enough
29356 * time/mktime.c (verify): Move decl up.
29357 (long_int): New type.
29358 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29359 to remove assumption in the code that 'long' is wide enough to
29360 store year values. This assumption is not true on x32 and on
29361 some non-glibc platforms.
29362
62bdf9a6
PE
29363 mktime: merge wrapv change from gnulib
29364 * time/mktime.c (WRAPV): New macro.
29365 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29366 (guess_time_tm, __mktime_internal): Do not assume that signed
29367 integer overflow wraps around; modern compilers generate code
29368 where this assumption is no longer valid.
29369
5e292e4f
L
293702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29371
29372 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29373 Replace "jmp L(pseudo_end)" with "ret".
29374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29375 Likewise.
29376
8caf8c87
AJ
293772012-05-23 Andreas Jaeger <aj@suse.de>
29378
29379 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29380 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29381
1a09dc56
AJ
293822012-05-23 Andreas Jaeger <aj@suse.de>
29383 Maximilian Attems <max@stro.at>
29384
29385 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29386 New macros.
29387
1c87aba0
L
293882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29389
29390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29391 code so that pseudo_end is just ret and the stack pointer is
29392 correct also for static library in error case.
29393
40e45bd5
JM
293942012-05-23 Joseph Myers <joseph@codesourcery.com>
29395
c2670533
JM
29396 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29397 move to syscalls.list.
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29402
40e45bd5
JM
29403 * manual/install.texi (Running make install): Do not mention Linux
29404 kernel version for which pt_chown is not needed.
29405 (Linux): Do not mention problems with nscd with 2.0 kernels.
29406 * INSTALL: Regenerated.
29407
be08eda5
AJ
294082012-05-23 Andreas Jaeger <aj@suse.de>
29409
29410 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29411 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29412 macro.
29413 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29415 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29417 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29419 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29423 * sysdeps/unix/sysv/linux/bits/in.h
29424 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29425
a6a056bb
RM
294262012-05-22 Roland McGrath <roland@hack.frob.com>
29427
29428 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29429 (PREPARE_VERSION): Just use assert instead, it will be elided
29430 under [NDEBUG] anyway.
29431
c9009328
L
294322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29433
29434 * sysdeps/unix/sysv/linux/Makefile: Include
29435 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 29436 (sysdep_routines): Remove sysctl.
c9009328
L
29437 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29438 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29440 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29441 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29442
73338355
AJ
294432012-05-22 Andreas Jaeger <aj@suse.de>
29444
29445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29446 that pseudo_end is just ret and the stack pointer is correct also
29447 for static library in error case.
29448
d44638b0
PP
294492012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29450
29451 [BZ #14122]
29452 * nss/nsswitch.c (defconfig_entries): New variable.
29453 (__nss_database_lookup): Don't leak defconfig entries.
29454 (nss_parse_service_list): Don't leak on error paths.
29455 (free_database_entries): New function.
29456 (free_defconfig): New function.
29457 (free_mem): Move common code to free_database_entries.
29458
31a39bd8
L
294592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29460
da0331a8
L
29461 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29462 Add arch_prctl.
29463 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29464
31a39bd8
L
29465 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29466 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29468 New macro.
29469 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29470 (INTERNAL_SYSCALL_TYPES): Likewise.
29471 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29472 (LOAD_REGS_TYPES_[1-6]): Likewise.
29473 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29474 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29475
45470df3
AZ
294762012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29477
29478 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29479 copysignl for GLIBC_2_0.
29480 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29481 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29483 logbl for GLIBC_2_0.
29484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29485 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29486
98a61bcb
L
294872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29488
a4f6e481
L
29489 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29490 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29491
f63d5db6
L
29492 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29493 Use "neg %eax".
29494
98a61bcb
L
29495 * time/mktime.c: Update copyright years.
29496
95770f14
PE
294972012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29498
6226efbd
PE
29499 mktime: merge comment-quoting-style change from gnulib
29500 * time/mktime.c: Quote 'like this' in comments.
29501 The GNU coding standards suggest that we no longer quote `like this',
29502 as "`" and "'" are typically rendered asymmetrically nowadays.
29503 The typical gnulib style is to quote 'like this' when quoting
29504 code, and "like this" when quoting English.
29505
b99e4f78
PE
29506 * time/mktime.c (compile-command): Add "-I.".
29507
643e01e6
PE
29508 mktime: merge mktime-internal.h change from gnulib
29509 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29510
2554247d
PE
29511 mktime: merge time_r change from gnulib
29512 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29513
826dd0ab
PE
29514 mktime: merge DEBUG change from gnulib
29515 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29516 case system <time.h> has a #define.
29517
bd83aabe
PE
29518 mktime: merge <sys/types.h> change from gnulib
29519 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29520 since <time.t> is now guaranteed to define time_t.
29521
95770f14
PE
29522 mktime: merge HAVE_CONFIG_H change from gnulib
29523 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29524
5e1a27a9
L
295252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29526
0e44a77e
L
29527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29528 Use "neg %eax".
29529
5e1a27a9
L
29530 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29531 __rlim_t cast.
29532 (struct rusage): Use anonymous union to pad each field to
29533 __syscall_slong_t.
29534
46259bec
DM
295352012-05-21 David S. Miller <davem@davemloft.net>
29536
29537 * Makefules (o-iterator): Remove .s cases.
29538 (compile-command.s): Delete.
29539 (COMPILE.s): Delete.
29540 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29541
59f0c22e
JM
295422012-05-21 Joseph Myers <joseph@codesourcery.com>
29543
29544 * configure.in (libc_cv_predef_stack_protector): Only consider
29545 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29546 * configure: Regenerated.
29547
20c07380
L
295482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29549
bbb3154b
L
29550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29551 New macro. Use R*LP on int and pointer.
29552 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
29553 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29554 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
29555 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29556
20c07380
L
29557 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29558 [__WORDSIZE_TIME64_COMPAT32] instead of
29559 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29560 (struct utmp): Likewise.
29561 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29562 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29563 Renamed to ...
29564 (__WORDSIZE_TIME64_COMPAT32): This.
29565 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29566 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29567 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29568 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29569 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29570 (__WORDSIZE_TIME64_COMPAT32): New macro.
29571
d8d1017e
AJ
295722012-05-21 Andreas Jaeger <aj@suse.de>
29573
29574 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29575 only if [SHARED]. Add prototype for __wcschr_ia32.
29576
6c7fb145
RM
295772012-05-21 Roland McGrath <roland@hack.frob.com>
29578
29579 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29580 of %rbp unmolested in the jmp_buf while mangling the low bits.
29581 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29582 unmolested high bits of %rbp while demangling the low bits.
29583 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29584
66274218
AJ
295852012-05-21 Andreas Jaeger <aj@suse.de>
29586
07c58f8f
AJ
29587 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29588 * sunrpc/svc_simple.c: Use it for registerrpc.
29589 * sunrpc/xcrypt.c: Use it for passwd2des.
29590
66274218
AJ
29591 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29592
61f65140
L
295932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29594
29595 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29596 Don't define if [__SYSCALL_WORDSIZE != 32].
29597 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29598 New macro.
29599
5fefb436
AJ
296002012-05-21 Bruno Haible <bruno@clisp.org>
29601 Andreas Jaeger <aj@suse.de>
29602
29603 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29604 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29605 inptr and inend for must_buffer_ch.
29606 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29607 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29608 * stdio-common/Makefile (tests): Remove bug15.
29609 (bug15-ENV): Remove macro.
29610 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29611 anymore.
29612
d8e272ab
AJ
296132012-05-19 Andreas Jaeger <aj@suse.de>
29614 Roland McGrath <roland@hack.frob.com>
29615
29616 * manual/contrib.texi: Completely rewritten. It contains now an
29617 alphabetical list of contributors and their contributions.
29618
4a56a162
RH
296192012-05-21 Richard Henderson <rth@twiddle.net>
29620
29621 * misc/getauxval.c (__getauxval): Use unsigned long int.
29622 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29623 (getauxval): Use unsigned long int.
29624
d024d23c
L
296252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29626
29627 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29628
cbc00a03
RM
296292012-05-21 Roland McGrath <roland@hack.frob.com>
29630
29631 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29632 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29633 __alignof__ (long double).
29634
478143fa
AZ
296352012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29636
29637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29638
c7683a6d
RH
296392012-05-20 Richard Henderson <rth@twiddle.net>
29640
29641 * misc/getauxval.c: New file.
29642 * misc/sys/auxv.h: New file.
29643 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29644 (routines): Add getauxval.
29645 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29647 * elf/dl-sysdep.c (_dl_auxv): Remove.
29648 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29649 * elf/dl-support.c (_dl_auxv): New variable.
29650 (_dl_aux_init): Initialize it.
29651 * manual/startup.texi (Auxiliary Vector): New node.
29652 * sysdeps/generic/bits/hwcap.h: New file.
29653 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29654 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29655 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29656 * sysdeps/sparc/sysdep.h: ... here. Include it.
29657 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29658 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
29659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29660 Update.
c7683a6d
RH
29661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29664 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29669
a6f1845d
AZ
296702012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29671
29672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29673
cbcbe830
DM
296742012-05-19 David S. Miller <davem@davemloft.net>
29675
29676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29677
e0b16cc2
JM
296782012-05-19 Joseph Myers <joseph@codesourcery.com>
29679
29680 [BZ #14123]
29681 * math/s_ccosh.c: Include <float.h>
29682 (__ccosh): Avoid internal overflow calculating sinh and cosh
29683 values before multiplying by sin and cos values.
29684 * math/s_ccoshf.c: Likewise.
29685 * math/s_ccoshl.c: Likewise.
29686 * math/s_csin.c: Likewise.
29687 * math/s_csinf.c: Likewise.
29688 * math/s_csinl.c: Likewise.
29689 * math/s_csinh.c: Likewise.
29690 * math/s_csinhf.c: Likewise.
29691 * math/s_csinhl.c: Likewise.
29692 * math/libm-test.inc (ccos_test): Add more tests.
29693 (ccosh_test): Likewise.
29694 (csin_test): Likewise.
29695 (csinh_test): Likewise.
29696 * sysdeps/i386/fpu/libm-test-ulps: Update.
29697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29698
6ad13e08
L
296992012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29700
f66f0ce8
L
29701 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29702 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29703
6ad13e08
L
29704 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29705
b1d072a7
JM
297062012-05-19 Joseph Myers <joseph@codesourcery.com>
29707
29708 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29709 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29710 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29711 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29712 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29713 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29714 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29715 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29716 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29717 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29718 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29719 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29720 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29721 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29722 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29723 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29724 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29725 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29726 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29727 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29728 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29729 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29730 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29731 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29732 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29733 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29734 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29735 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29736 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29737 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29738 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29739
9eae47cb
AJ
297402012-05-18 Andreas Jaeger <aj@suse.de>
29741
29742 * csu/.gitignore: Delete.
29743
bb07f69f
L
297442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29745
29746 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29747 (timex): Use __syscall_slong_t.
29748
e6bdb741
AJ
297492012-05-18 Andreas Jaeger <aj@suse.de>
29750 Carlos O'Donell <carlos_odonell@mentor.com>
29751
29752 * manual/install.texi (Configuring and compiling): Update
29753 description about files modified in the source directory.
d6c33fda 29754 * INSTALL: Regenerated.
e6bdb741 29755
1b74487e
L
297562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29757
29758 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29759 value. Use "or" to set return value to -1.
29760 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29761 negate return value.
29762
a88b64b9
TMQMF
297632012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29764
57f41c40
AS
29765 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29766 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
29767 failure if the compiler has Graphite support disabled.
29768 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29769 Likewise.
57f41c40
AS
29770 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29771 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
29772 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29773 Likewise.
29774
3707636e
L
297752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29776
610b8622
L
29777 * sysdeps/x86_64/x32/_itoa.h: New file.
29778
7cd195df
L
29779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29780 getdents system call only if kernel and user dirents have the
29781 same d_ino and d_off.
29782
94b07d20
L
29783 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29784 LLONG_MAX != LONG_MAX.
29785 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29786 (_fitoa_word): Likewise.
29787
18298070
L
29788 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29789 years.
29790 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29791 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29792 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29793
553c7ea4
L
29794 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29795 include <bits/wordsize.h>. Check __x86_64__ instead of
29796 __WORDSIZE.
29797 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29798 if __x86_64__ is defined. Use anonymous union on fpstate.
29799
3707636e
L
29800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29801 anonymous union.
29802
b53ef01a
AS
298032012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29804
37fb1dc0
AS
29805 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29806 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29807 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29808 Refer to _rtld_local_ro instead of _rtld_global_ro.
29809 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29810 Likewise.
29811 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29812 Likewise.
29813 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29814 Likewise.
29815 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29816 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29817 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29818
b53ef01a
AS
29819 * sysdeps/powerpc/powerpc32/dl-machine.c
29820 (__elf_machine_runtime_setup) [PROF]: Don't reference
29821 _dl_prof_resolve.
29822
7a185db2
AJ
298232012-05-18 Andreas Jaeger <aj@suse.de>
29824
29825 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29826 function only available for GCCs before 3.4 since GCC 3.4
29827 introduced a builtin.
29828 (lrint): Likewise.
29829 (llrintf): Likewise.
29830 (llrint): Likewise.
29831 (fmaxf): Likewise.
29832 (fmax): Likewise.
29833 (fminf): Likewise.
29834 (fmin): Likewise.
29835 (rint): Likewise.
29836 (rintf): Likewise.
29837 (nearbyint): Likewise.
29838 (nearbyintf): Likewise.
29839 (ceil): Likewise.
29840 (ceilf): Likewise.
29841 (floor): Likewise.
29842 (floorf): Likewise.
29843
3e5aef87
L
298442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29845
428bd707
L
29846 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29847 on both fields and cast pointer to __syscall_ulong_t.
29848
3e5aef87
L
29849 * bits/types.h (__fsword_t): New type.
29850 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29851 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29853 (__FSWORD_T_TYPE): Likewise.
29854 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29855 (__FSWORD_T_TYPE): Likewise.
29856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29857 (__FSWORD_T_TYPE): Likewise.
29858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29859 (__FSWORD_T_TYPE): Likewise.
29860 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29861 __SWORD_TYPE with __fsword_t.
29862 (statfs64): Likewise.
29863
1ba7c3dc
DM
298642012-05-17 David S. Miller <davem@davemloft.net>
29865
29866 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29867
59910343
AJ
298682012-05-17 Andreas Jaeger <aj@suse.de>
29869
29870 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29871 warning.
29872
2e4c1e9e
L
298732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29874
29875 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29876
de7f5ce7
AJ
298772012-05-17 Andreas Jaeger <aj@suse.de>
29878
29879 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29880 when it is used.
29881
286abc3d
CM
298822012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29883
29884 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29885
477cc68e
L
298862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29887
29888 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29889 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29890
1a0994f5
CD
298912012-05-17 Andreas Jaeger <aj@suse.de>
29892 Carlos O'Donell <carlos_odonell@mentor.com>
29893
29894 [BZ #14059]
29895 * sysdeps/x86_64/multiarch/init-arch.h
29896 (bit_YMM_Usable): Rename to...
29897 (bit_AVX_Usable): ... this.
29898 (bit_FMA4_Usable): New macro.
29899 (bit_XMM_state): New macro.
29900 (bit_YMM_state): New macro.
29901 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29902 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29903 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29904 (CPUID_OSXSAVE): New macro.
29905 (CPUID_AVX): New macro.
29906 (CPUID_FMA4): New macro.
29907 (index_YMM_Usable): Rename to...
29908 (index_AVX_Usable): ... this.
29909 (HAS_AVX): Use HAS_ARCH_FEATURE.
29910 (HAS_FMA4): Likewise.
29911 (HAS_YMM_USABLE): Remove.
29912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29913 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29914 are present.
29915 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29916 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29917 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29918 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29919 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29920
0af797de
CM
299212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29922
29923 * math/libm-test.c: Support platforms without multiple rounding modes.
29924 * math/bug-nextafter.c: Support platforms without FP exceptions.
29925 * math/bug-nexttoward.c: Likewise.
29926 * math/test-fenv.c: Likewise.
29927 * math/test-misc.c: Likewise.
29928 * stdlib/bug-getcontext.c: Likewise.
29929
e39745ff
AJ
299302012-05-17 Andreas Jaeger <aj@suse.de>
29931
29932 * manual/examples/search.c (critter_cmp): Change signature to
29933 avoid warnings.
29934 * manual/string.texi (Collation Functions): Likewise.
29935
48970aba
L
299362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29937
29938 * bits/types.h: Fold copyright years.
29939 * bits/typesizes.h: Likewise.
29940 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29943 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29944 * time/time.h: Likewise.
29945
bedee953
PP
299462012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29947
29948 [BZ #208]
29949 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29950 in instead of returning them. Return void.
29951 (__libc_mallinfo): Accumulate over all arenas.
29952 (__malloc_stats): Adjust for change in int_mallinfo interface.
29953
61653dfb
RM
299542012-05-16 Roland McGrath <roland@hack.frob.com>
29955
30b99d79
RM
29956 [BZ #10375]
29957 * configure.in (NM): Add AC_CHECK_TOOL for it.
29958 (libc_extra_cflags): New substituted variable.
29959 Check for -fstack-protector being used implicitly.
29960 * configure: Regenerated.
29961 * config.make.in (config-extra-cflags): New variable,
29962 gets @libc_extra_cflags@.
29963 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29964
61653dfb
RM
29965 [BZ #10375]
29966 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29967 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29968 * configure: Regenerated.
29969 * config.make.in (CPPUNDEFS): New substituted variable.
29970 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29971 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29972 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29973
661768bb
L
299742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29975
29976 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29977 (mq_attr): Use __syscall_slong_t.
29978
d4261567
L
299792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29980
29981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29982 Check __x86_64__ instead of __WORDSIZE.
29983 (_STAT_VER_LINUX): Likewise.
29984 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29985 __syscall_ulong_t and __syscall_slong_t.
29986 (stat64): Likewise.
29987
cf3ff365
L
299882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29991
76cf3e4d
L
299922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29995
a637753a
L
299962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29997
29998 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29999 __syscall_ulong_t.
30000
d5e05119
L
30001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30002 include <bits/wordsize.h>. Check __x86_64__ instead of
30003 __WORDSIZE.
30004 (greg_t): Use "__extension__ long long int" if __x86_64__ is
30005 defined.
30006 (mcontext_t): Replace "unsigned long" with "unsigned long long".
30007
f62ee380
L
30008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30009 include <bits/wordsize.h>. Check __x86_64__ instead of
30010 __WORDSIZE.
30011 (user_regs_struct): Use "__extension__ unsigned long long"
30012 instead of "unsigned long" if __x86_64__ is defined.
30013 (user): Likewise. Pad after pointer field if __ILP32__ is
30014 defined.
30015
4e124ced
JM
300162012-05-16 Joseph Myers <joseph@codesourcery.com>
30017
6a3951a0
JM
30018 * configure.in (makeinfo): Require version 4.5 or later. Allow
30019 versions 5 to 9.
30020 * configure: Regenerated.
30021 * manual/install.texi (texinfo): Increase version requirement to
30022 4.5 or later.
30023 * INSTALL: Regenerated.
30024
4e124ced
JM
30025 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30026
953ca31a
L
300272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30028
30029 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30030
617aca05
L
30031 * sysdeps/x86_64/x32/ffs.c: New file.
30032
5762f7ae
L
30033 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30034 __syscall_ulong_t.
30035 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30036 defined. Use __syscall_ulong_t.
30037 (shminfo): Use __syscall_ulong_t.
30038 (shm_info): Likewise.
30039
a26b6856
L
30040 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30041 __syscall_ulong_t.
30042
cb2b9ef7
L
30043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30044 <bits/wordsize.h>.
30045 (msgqnum_t): Use __syscall_ulong_t.
30046 (msglen_t): Likewise.
30047 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
30048 __syscall_ulong_t.
30049
34683bb0
L
30050 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30051 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30052
84a68786
L
30053 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30054
48baa5f1
L
30055 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30056 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30057
180be88b
L
30058 * sysvipc/sys/msg.h (msgbuf): Replace long int with
30059 __syscall_slong_t.
30060
5e90c8ad
L
30061 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30062 include <bits/wordsize.h>. Check __x86_64__ instead of
30063 __WORDSIZE.
30064
23dfb58b
L
30065 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30066 "unsigned long long int" if __x86_64__ is defined.
30067 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30068
ce5d54b0
L
30069 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30070 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30071 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30072
13dc9eac
L
30073 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30074 <stdint.h>.
30075 (GET_PC): Cast to uintptr_t first.
30076 (GET_FRAME): Likewise.
30077 (GET_STACK): Likewise.
30078
a7895d15
L
30079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30082 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30084 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30086 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30087 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30089 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30093 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30095 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30101 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30103 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30107 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30108
656416c9
AS
301092012-05-16 Andreas Schwab <schwab@linux-m68k.org>
30110
5bd66283
AS
30111 * Makerules (+depfiles): Also collect depfiles from .oS in
30112 $(extra-objs).
30113 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30114 .oS, $(libnldbl-routines)).
30115
656416c9
AS
30116 * Makerules (native-compile-mkdep-flags): Define.
30117 * sunrpc/Makefile (extra-objs): Add $(addprefix
30118 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30119 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30120 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
30121 calling $(make-target-directory).
30122
a46f2169
L
301232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30124
30125 * bits/types.h (__snseconds_t): Removed.
30126 * time/time.h (struct timespec): Replace __snseconds_t with
30127 __syscall_slong_t.
30128 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30129 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30130 Likewise.
30131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30132 (__SNSECONDS_T_TYPE): Likewise.
30133 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30134 (__SNSECONDS_T_TYPE): Likewise.
30135 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30136 (__SNSECONDS_T_TYPE): Likewise.
30137
6af6528b
L
301382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30139
30140 * sysdeps/mach/hurd/bits/typesizes.h
30141 (__SYSCALL_SLONG_TYPE): New macro.
30142 (__SYSCALL_ULONG_TYPE): Likewise.
30143
de986b56
L
301442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30145
30146 * bits/types.h (__syscall_slong_t): New type.
30147 (__syscall_ulong_t): Likewise.
30148
30149 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30150 (__SYSCALL_ULONG_TYPE): Likewise.
30151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30152 (__SYSCALL_SLONG_TYPE): Likewise.
30153 (__SYSCALL_ULONG_TYPE): Likewise.
30154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30155 (__SYSCALL_SLONG_TYPE): Likewise.
30156 (__SYSCALL_ULONG_TYPE): Likewise.
30157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30158 (__SYSCALL_SLONG_TYPE): Likewise.
30159 (__SYSCALL_ULONG_TYPE): Likewise.
30160
85736dc7
L
301612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30162
30163 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30164 Add sigaltstack-offsets.sym.
30165 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30166 <sigaltstack-offsets.h>.
30167 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
30168 longjmp_msg pointer.
30169 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
30170 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30171 signal stack.
30172 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30173
cc03b296
JM
301742012-05-15 Joseph Myers <joseph@codesourcery.com>
30175
a9538892
JM
30176 * elf/stackguard-macros.h: Remove file.
30177 * sysdeps/generic/stackguard-macros.h: New file.
30178 * sysdeps/i386/stackguard-macros.h: Likewise.
30179 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30180 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30181 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30182 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30183 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30184 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30185 * sysdeps/x86_64/stackguard-macros.h: Likewise.
30186 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30187 <elf/stackguard-macros.h>.
30188
cc03b296
JM
30189 [BZ #14109]
30190 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30191 __aligned__ in attribute.
30192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30193 (gregset_t): Likewise.
30194
93171016
L
301952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30196
30197 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30198 * sysdeps/x86_64/64/Implies-after: Here. New file.
30199 * sysdeps/x86_64/x32/Implies-after: New file.
30200
d86813a0
L
302012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30202
30203 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30204 and access return value for _dl_profile_fixup. Use R10_LP to
30205 load frame size.
30206
2953ec75
L
302072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30210
3b550e9e
L
302112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30212
30213 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30214 * sysdeps/x86_64/x32/sysdep.h: New file.
30215
eda41706
L
302162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30217
30218 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30219 * sysdeps/x86_64/setjmp.S: Likewise.
30220
9ea01d93
AZ
302212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30222
30223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30224 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30225 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30227 remove unused global constant.
30228
02a91938
CM
302292012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30230
30231 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30232 include of <not-cancel.h>.
30233
6540185f
RM
302342012-05-15 Roland McGrath <roland@hack.frob.com>
30235
30236 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30237
509072a0
AJ
302382012-05-15 Jeff Law <law@redhat.com>
30239 Andreas Jaeger <aj@suse.de>
30240
30241 [BZ #13594]
30242 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30243 out from...
30244 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30245 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30246 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30247 code changing __hst_map_handle.map.
30248
ba75122d
RM
302492012-05-15 Roland McGrath <roland@hack.frob.com>
30250
30251 * configure.in (sysnames): Look for Implies-before and Implies-after
30252 files.
30253 * configure: Regenerated.
30254
890d8bd8
L
302552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30256
30257 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30258 8-byte data alignment with LP_SIZE alignment.
30259
f6ee6623
L
302602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30263 into R10_LP.
30264
ea2626f6
L
302652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30266
30267 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30268
085f715e
L
302692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30270
30271 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30272 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30274 Likewise.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30276
be8498fc
L
302772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30278
30279 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30280 (stackinfo_sub_sp): Likewise.
30281
70bc83b9
L
302822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30283
30284 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30285 RAX_LP.
30286
9bc0b730
L
302872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30288
30289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30290 into R*_LP.
30291
6d2850e7
L
302922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30293
30294 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30295 sizes into R*_LP.
30296
3cb84561
L
302972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30298
30299 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30300
54e2ed81
L
303012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30302
30303 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30304 into R11_LP and load __x86_64_shared_cache_size_half into
30305 R8_LP.
30306
8a17f349
L
303072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30308
30309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30310 R8_LP.
30311
777b1eea
AZ
303122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30313
30314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30315 logb for POWER7.
30316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30317 logbf for POWER7.
30318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30319 logbl for POWER7.
30320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30321 powerpc32/power7/fpu/s_logb.c via #include.
30322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30323 powerpc32/power7/fpu/s_logbf.c via #include.
30324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30325 powerpc32/power7/fpu/s_logbl.c via #include.
30326
d20d4ac2
JM
303272012-05-15 Joseph Myers <joseph@codesourcery.com>
30328
30329 * README.libm: Remove file.
30330
6cdef1ab
L
303312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30332
30333 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30334 count for x32. Use R*_LP and omit operand-size suffix.
30335
0b254d8f
L
303362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30337
30338 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30339 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30340 * sysdeps/x86_64/x32/shlib-versions: New file.
30341
ceb809dc
RM
303422012-05-14 Roland McGrath <roland@hack.frob.com>
30343
30344 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30345 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30346 Use _dl_fatal_printf instead.
30347
37f1abd4
JM
303482012-05-14 Joseph Myers <joseph@codesourcery.com>
30349
30350 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30351 set if not set by the user. Do not allow for being unset.
30352 * sysdeps/unix/sysv/linux/configure: Regenerated.
30353
11de3a33
L
303542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30355
30356 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30357 the `q' suffix from lea and replace .quad with ASM_ADDR.
30358
e02f153a
L
303592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30360
30361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30362 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30363 instead of $17.
30364 (PTR_DEMANGLE): Likewise.
30365
520ae0fd
L
303662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30367
30368 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30369 (LP_OP): Likewise.
30370 (ASM_ADDR): Likewise.
30371 (RAX_LP): Likewise.
30372 (RBP_LP): Likewise.
30373 (RBX_LP): Likewise.
30374 (RCX_LP): Likewise.
30375 (RDI_LP): Likewise.
30376 (RSI_LP): Likewise.
30377 (RSP_LP): Likewise.
30378 (R8_LP): Likewise.
30379 (R9_LP): Likewise.
30380 (R10_LP): Likewise.
30381 (R10_LP): Likewise.
30382 (R11_LP): Likewise.
30383 (R12_LP): Likewise.
30384 (R13_LP): Likewise.
30385 (R14_LP): Likewise.
30386 (R15_LP): Likewise.
30387
b985be81
L
303882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30389
30390 * sysdeps/x86_64/x32/dl-machine.h: New file.
30391
6a4888ff
AJ
303922012-05-14 Andreas Jaeger <aj@suse.de>
30393
30394 * manual/Makefile (subdir): Remove export of subdir.
30395 (all): Remove target.
30396 (.PHONY): Remove all from list.
30397 (mkinstalldirs): Remove.
30398 (.PHONY): Remove installdirs from list.
30399 ($(inst_infodir)/libc.info): Use make-target-directory.
30400 (installdirs): Remove.
30401 (subdir_%): Remove.
30402 (glibc-targets): Remove.
30403 (lib): Remove.
30404 (stubs): Remove.
30405 ($(objpfx)stubs ../po/manual.pot): Remove.
30406 ($(objpfx)stamp%): Remove.
30407 (make-target-directory): Remove.
30408 (subdir_install): Remove.
30409 (routines): Remove.
30410 (aux): Remove.
30411 (sources): Remove.
30412 (objects): Remove.
30413 (headers): Remove.
30414
30415 [BZ #13750]
30416 * manual/.gitignore: Remove, it's not needed anymore.
30417 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30418 all files in it.
30419 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30420 directory.
30421 (texis): Renamed to $(objpfx)texis.
30422 (texis-path): New, contains path to generated files.
30423 (chapters.%): Use texis-path for complete path, add extra argument
30424 libc-texinfo.sh.
30425 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30426 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30427 (summary,texi, stamp-summary): Use complete path of
30428 files. Generate files in build dir.
30429 (dir-add.texi): Build in build dir.
30430 (libm-err.texi,stamp-libm-err): Likewise.
30431 (version.texi, stamp-version): Likewise.
30432 (.%c.texi): Likewise.
30433 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30434 (mostlyclean): Remove target.
30435 (realclean): Remove target.
30436 (generated): Add new variable with contents from mostlyclean and
30437 realclean, remove entries duplicated in common-mostlyclean, add
30438 stamp-libm-err and stamp-version.
30439 (generated-dirs): Add libc directory.
30440 ($(inst_infodir)/libc.info): Install files from build dir.
30441
30442 * manual/install.texi (Configuring and compiling): Adjust since
30443 the info files are not part of the tar ball anymore.
30444
7ac77294
AJ
304452012-05-14 Andreas Jaeger <aj@suse.de>
30446
30447 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30448 variable.
30449
ffb7875d
JM
304502012-05-14 Joseph Myers <joseph@codesourcery.com>
30451
30452 [BZ #13717]
30453 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30454 to 2.2.0 where earlier.
30455 * sysdeps/unix/sysv/linux/configure: Regenerated.
30456 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30457 Remove conditional code.
30458 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30459 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30460 Remove conditional code.
30461 [!__NR_lchown]: Likewise.
30462 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30463 [__NR_lchown]: Likewise.
30464 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30465 comment referencing __ASSUME_LCHOWN_SYSCALL.
30466 * sysdeps/unix/sysv/linux/i386/sigaction.c
30467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30470 Remove conditional code.
30471 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30472 (__protocol_available): Remove #if 0 code.
30473 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30474 conditional code.
30475 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30476 * sysdeps/unix/sysv/linux/kernel-features.h
30477 (__ASSUME_GETCWD_SYSCALL): Don't define.
30478 (__ASSUME_REALTIME_SIGNALS): Likewise.
30479 (__ASSUME_PREAD_SYSCALL): Likewise.
30480 (__ASSUME_PWRITE_SYSCALL): Likewise.
30481 (__ASSUME_POLL_SYSCALL): Likewise.
30482 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30483 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30484 non-SPARC.
30485 (__ASSUME_SIOCGIFNAME): Don't define.
30486 (__ASSUME_MSG_NOSIGNAL): Likewise.
30487 (__ASSUME_SENDFILE): Define unconditionally.
30488 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30489 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30490 conditional code.
30491 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30492 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30493 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30494 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30495 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30496 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30497 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30502 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30508 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30514 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30515 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30520 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30522 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30523 Remove conditional code.
30524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30525 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30526 Remove conditional code.
30527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30528 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30529 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30530 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30531 Remove conditional code.
30532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30533 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30534 Remove conditional code.
30535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30536 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30537 Remove conditional code.
30538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30539 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30540 Remove conditional code.
30541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30542 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30543 Remove conditional code.
30544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30545 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30548 * sysdeps/unix/sysv/linux/sigaction.c
30549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30551 * sysdeps/unix/sysv/linux/sigpending.c
30552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30554 * sysdeps/unix/sysv/linux/sigprocmask.c
30555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30557 * sysdeps/unix/sysv/linux/sigsuspend.c
30558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30560 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30561 (__libc_missing_rt_sigs): Remove.
30562 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30563 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30564 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30565 Remove conditional code.
30566 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30567 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30568 return 1.
30569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30570 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30573
1bfb7291
AJ
305742012-05-14 Andreas Jaeger <aj@suse.de>
30575
caae5a81
AJ
30576 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30577 it's not used in glibc.
30578 (__coshm1): Likewise.
30579 (__acosh1p): Likewise.
30580 (__sgn): Likewise.
30581
1bfb7291
AJ
30582 * manual/string.texi (Copying and Concatenation): Add missing
30583 variable in concat example.
30584 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30585
c044d724
L
305862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30587
144c5467 30588 [BZ #14103]
c044d724
L
30589 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30590 __builtin_clzl with __builtin_clzll.
30591
2523c62b
L
305922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30593
30594 [BZ #14104]
30595 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30596 libc_freeres_ptr.
30597
d7bb4c42
LD
305982012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30599
30600 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30601 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30602 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30604
9dc4e1fb
MF
306052012-05-14 Mike Frysinger <vapier@gentoo.org>
30606
30607 * NEWS: Update ia64 info.
30608
c7df0112
AS
306092012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30610
30611 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30612 used as bcopy.
30613
dc70356c
TS
306142012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30615
30616 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30617 * sysdeps/unix/syscalls.list (dup3): Likewise.
30618 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30619 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30620
9fb1a21f
L
306212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30622
30623 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30624 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30625
4822a2a5
L
306262012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30627
30628 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30629 thread pointer.
30630 (TLS_IE): Use mov/add instead of movq/addq to load thread
30631 pointer.
30632 (TLS_GD_PREFIX): New.
30633 (TLS_GD): Use it.
30634
842b81d6
DM
306352012-05-11 David S. Miller <davem@davemloft.net>
30636
30637 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30638 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30639 (_FPU_SETCW): Likewise.
30640
1cf463cd
L
306412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30642
30643 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30644 is 32-byte aligned.
30645
60cc4a18
AS
306462012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30647
30648 [BZ #11837]
30649 * iconvdata/gb18030.c: Update tables.
30650 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30651 characters specially.
30652 (BODY for TO_LOOP): Add encoding of missing ranges.
30653
febb44a4
TS
306542012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30655
30656 [BZ #13673]
30657 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30658 * sysdeps/mach/hurd/dup3.c: Likewise.
30659 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30660 * sysdeps/powerpc/memmove.c:: Likewise.
30661
0a10fb9e
L
306622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30663
30664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30665 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30666
df8a552f
L
306672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30668
30669 * elf/elf.h (R_X86_64_RELATIVE64): New.
30670 (R_X86_64_NUM): Updated.
30671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30672 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30673 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30674 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30675 tst-quad1pie tst-quad2pie
30676 (modules-names): Add tst-quadmod1 tst-quadmod2.
30677 ($(objpfx)tst-quad1): New dependency.
30678 ($(objpfx)tst-quad2): Likewise.
30679 ($(objpfx)tst-quad1pie): Likewise.
30680 ($(objpfx)tst-quad2pie): Likewise.
30681 * sysdeps/x86_64/tst-quad1.c: New file.
30682 * sysdeps/x86_64/tst-quad1pie.c: New file.
30683 * sysdeps/x86_64/tst-quad2.c: Likewise.
30684 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30685 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30686 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30687 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30688 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30689
f34d6f84
ST
306902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30691
f42d41d1
ST
30692 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30693 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30694 * streams/stropts.h (t_scalar_t): Define type.
30695
3c3571fc
ST
30696 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30697 (_PATH_PRESERVE): Set to "/var/lib".
30698 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30699
61f06bd3
ST
30700 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30701 instead of int.
30702
918d4d71
ST
30703 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30704 if __dir_mkfile succeeded.
30705
f34d6f84
ST
30706 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30707 checking for _hurd_dtablesize. Unlock it right after having
30708 finished _hurd_dtable allocation.
30709
10589b4a
TS
307102012-05-10 Thomas Schwinge <thomas@schwinge.name>
30711
674cdbc7
TS
30712 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30713 * sysdeps/mach/hurd/configure: Regenerated.
30714 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30715 special-casing to...
30716 * sysdeps/gnu/configure.in: ... this new file.
30717 * sysdeps/unix/sysv/linux/configure: Regenerated.
30718 * sysdeps/gnu/configure: New generated file.
30719
8e41b99f
TS
30720 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30721 for Linux: use nsec instead of usec, as well as:
30722 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30723 members of type struct timespec.
30724 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30725 New macros.
30726 (struct stat64): Likewise.
30727 (_STATBUF_ST_NSEC): New macro.
30728 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30729
10589b4a
TS
30730 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30731 __strtoul_internal rather than strtoul.
30732
63643c85
PT
307332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30734
30735 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30736 and reject them.
30737
3faebe6a
ST
307382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30739
30740 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30741 which preserves existing values.
30742 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30743
c6474b07
PT
307442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30745
30746 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30747 TIMEOUT values. Return EINVAL for NFDS values either negative or
30748 greater than FD_SETSIZE.
30749
1043890b
ST
307502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30751
30752 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30753 allocated, call __vm_protect to finish enabling the existing space, and
30754 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30755 allocate the remainder.
30756
37ed8b9b
PT
307572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30758
30759 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30760 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30761
db653660
ST
307622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30763
37ed8b9b
PT
30764 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30765 sysdeps/mach/hurd/readlink.c.
b29d4053 30766
db653660
ST
30767 * posix/tst-sysconf.c (posix_options): Only use
30768 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30769 _POSIX_SYNCHRONIZED_IO when they are defined
30770 * sysdeps/mach/hurd/bits/posix_opt.h:
30771 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30772 (_XOPEN_REALTIME): Undefine macro.
30773 (_XOPEN_REALTIME_THREADS): Undefine macro.
30774 (_XOPEN_SHM): Undefine macro.
30775 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30776 macro to -1.
30777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30778 macro to -1.
30779 (_POSIX_ASYNC_IO): Undefine macro.
30780 (_POSIX_PRIORITIZED_IO): Undefine macro.
30781 (_POSIX_SPIN_LOCKS): Define macro to -1.
30782
ee16e894
ST
30783 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30784 SA_NODEFER, SA_RESETHAND.
30785 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30786 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30787 F_DUPFD_CLOEXEC.
30788
6103ae3b
TS
307892012-05-10 Thomas Schwinge <thomas@schwinge.name>
30790
30791 * elf/Makefile (pldd-modules): Define unconditionally.
30792
80b4e5f3
TS
307932012-05-10 Thomas Schwinge <thomas@schwinge.name>
30794
30795 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30796
edadcbd6
ST
307972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30798
30799 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30800 Return ENOENT when name is empty.
30801 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30802
80694780
TS
308032012-05-10 Thomas Schwinge <thomas@schwinge.name>
30804
1792c087
TS
30805 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30806
80694780
TS
30807 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30808
6b645f0d
ST
308092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30810
80694780
TS
30811 Fix mlock in all cases except non-readable pages.
30812 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30813 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30814
6b645f0d
ST
30815 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30816 (__mkdir): When path is `/', just fail with EEXIST.
30817 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30818
e468f8a3
TS
308192012-05-10 Thomas Schwinge <thomas@schwinge.name>
30820
30821 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30822 <sys/uio.h> (for writev).
30823 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30824 and <sys/param.h> (for MIN).
30825
a4186cff
PT
308262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30827
30828 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30829 REQUESTED_TIME. Properly set the remaining time and return EINTR
30830 if interrupted.
30831
510bbf14
TS
308322012-05-10 Thomas Schwinge <thomas@schwinge.name>
30833
30834 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30835 Depend on against $(link-rpcuserlibs).
30836
5d5722e8
ST
308372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30838
a4186cff
PT
30839 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30840 (__libc_stack_end): Do not use attribute_relro.
30841 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30842 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30843 to libthread-provided value.
a4186cff
PT
30844 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30845 attribute_relro.
5d5722e8 30846
37233df9
TS
308472012-05-10 Thomas Schwinge <thomas@schwinge.name>
30848
be971a2b
TS
30849 [BZ #3748]
30850 * bits/libc-lock.h (__libc_once_get): New macro.
30851 * sysdeps/mach/bits/libc-lock.h: Likewise.
30852 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30853 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30854 instead of using implementation details.
30855
37233df9
TS
30856 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30857 * libio/freopen.c: Likewise.
30858 * libio/freopen64.c: Likewise.
30859 * misc/syslog.c: Likewise.
30860 * nscd/connections.c: Likewise.
30861 * nscd/netgroupcache.c: Likewise.
30862 * sysdeps/posix/getcwd.c: Likewise.
30863
38de94a5
RM
308642012-05-10 Roland McGrath <roland@hack.frob.com>
30865
30866 * math/w_ilogbf.c: Add #include <limits.h>.
30867
67530489
ST
308682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30869
a4186cff 30870 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30871 path instead of returning without unlocking.
30872
67530489
ST
30873 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30874 immediate-write ioctls.
30875 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30876
5aa3a74a
TS
308772012-05-10 Thomas Schwinge <thomas@schwinge.name>
30878
18bad2ae
TS
30879 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30880 __builtin_frame_address instead of making assumptions about the
30881 location of the return address relative to DATA. Force early load of
30882 the return address.
30883 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30884 __builtin_frame_address.
30885
5aa3a74a
TS
30886 dup3 for GNU Hurd.
30887 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30888 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30889 implement dup3 and do some further code clean-ups.
30890 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30892
ecd0de9a
ST
308932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30894
cd9fa985
ST
30895 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30896
a4186cff
PT
30897 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30898 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30899 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30900 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30901 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30902 d->port.lock.
802ca5a5 30903
a4186cff
PT
30904 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30905 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30906 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30907
bcf55240
TS
309082012-05-10 Thomas Schwinge <thomas@schwinge.name>
30909
6960eb42
TS
30910 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30911 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30912 definitions.
30913
eb43375f
TS
30914 accept4 for GNU Hurd.
30915 * include/sys/socket.h (__libc_accept4): New prototype.
30916 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30917 to implement __libc_accept4.
30918 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30919 __libc_accept4.
30920 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30921
bcf55240
TS
30922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30923 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30924 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30925 signal-defines.sym.
30926
6178c55b
ST
309272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30928
a4186cff 30929 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30930
6f080c2f
TS
309312012-05-10 Thomas Schwinge <thomas@schwinge.name>
30932
30933 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30934 assertion on O_CLOEXEC flag.
30935 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30936 * hurd/intern-fd.c: Likewise.
30937 * hurd/port2fd.c: Likewise.
30938
bcfe3a54
ST
309392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30940
30941 [BZ #3906]
30942 * bits/in.h (IPV6_PKTINFO): Define new macro.
30943 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30944
89c9aa49
AZ
309452012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30946
30947 [BZ #13954]
30948 [BZ #13955]
30949 [BZ #13956]
30950 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30951 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30952 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30953 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30955 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30956 * math/libm-test.inc (logb_test) : Additional logb tests.
30957
021db4be
AJ
309582012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30959 Andreas Jaeger <aj@suse.de>
30960
30961 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30962 * configure: Regenerated.
30963 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30964 * config.make.in (link-obsolete-rpc): New substituted variable.
30965 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30966 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30967 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30968 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30969 so that libc.a contains the symbols.
30970 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30971 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30972 * sunrpc/auth_none.c: Likewise.
30973 * sunrpc/auth_unix.c: Likewise.
30974 * sunrpc/authdes_prot.c: Likewise.
30975 * sunrpc/authuxprot.c: Likewise.
30976 * sunrpc/clnt_gen.c: Likewise.
30977 * sunrpc/clnt_perr.c: Likewise.
30978 * sunrpc/clnt_raw.c: Likewise.
30979 * sunrpc/clnt_simp.c: Likewise.
30980 * sunrpc/clnt_tcp.c: Likewise.
30981 * sunrpc/clnt_udp.c: Likewise.
30982 * sunrpc/clnt_unix.c: Likewise.
30983 * sunrpc/des_crypt.c: Likewise.
30984 * sunrpc/des_soft.c: Likewise.
30985 * sunrpc/get_myaddr.c: Likewise.
30986 * sunrpc/key_call.c: Likewise.
30987 * sunrpc/key_prot.c: Likewise.
30988 * sunrpc/netname.c: Likewise.
30989 * sunrpc/pm_getmaps.c: Likewise.
30990 * sunrpc/pm_getport.c: Likewise.
30991 * sunrpc/pmap_clnt.c: Likewise.
30992 * sunrpc/pmap_prot.c: Likewise.
30993 * sunrpc/pmap_prot2.c: Likewise.
30994 * sunrpc/pmap_rmt.c: Likewise.
30995 * sunrpc/publickey.c: Likewise.
30996 * sunrpc/rpc_cmsg.c: Likewise.
30997 * sunrpc/rpc_common.c: Likewise.
30998 * sunrpc/rpc_dtable.c: Likewise.
30999 * sunrpc/rpc_prot.c: Likewise.
31000 * sunrpc/rpc_thread.c: Likewise.
31001 * sunrpc/rtime.c: Likewise.
31002 * sunrpc/svc.c: Likewise.
31003 * sunrpc/svc_auth.c: Likewise.
31004 * sunrpc/svc_raw.c: Likewise.
31005 * sunrpc/svc_run.c: Likewise.
31006 * sunrpc/svc_tcp.c: Likewise.
31007 * sunrpc/svc_udp.c: Likewise.
31008 * sunrpc/svc_unix.c: Likewise.
31009 * sunrpc/svcauth_des.c: Likewise.
31010 * sunrpc/xcrypt.c: Likewise.
31011 * sunrpc/xdr.c: Likewise.
31012 * sunrpc/xdr_array.c: Likewise.
31013 * sunrpc/xdr_float.c: Likewise.
31014 * sunrpc/xdr_intXX_t.c: Likewise.
31015 * sunrpc/xdr_mem.c: Likewise.
31016 * sunrpc/xdr_rec.c: Likewise.
31017 * sunrpc/xdr_ref.c: Likewise.
31018 * sunrpc/xdr_sizeof.c: Likewise.
31019 * sunrpc/xdr_stdio.c: Likewise.
31020
b5c086a2
RM
310212012-05-10 Roland McGrath <roland@hack.frob.com>
31022
31023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31024 change. Update copyright years.
31025
6d74dd09
JM
310262012-05-10 Joseph Myers <joseph@codesourcery.com>
31027
31028 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31029
28e72501
MK
310302012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
31031 Joseph Myers <joseph@codesourcery.com>
31032 Paul Pluzhnikov <ppluzhnikov@google.com>
31033
31034 [BZ #14012]
31035 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31036 requiring rpcgen.
31037 [cross-compiling] (extra-libs): Likewise.
31038 [cross-compiling] (extra-libs-others): Likewise.
31039 [cross-compiling] (librpcsvc-routines): Likewise.
31040 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31041 [cross-compiling] (omit-deps): Likewise.
31042 (sunrpc-CPPFLAGS): New variable.
31043 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31044 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31045 (cross-rpcgen-objs): New variable.
31046 (extra-objs): Append $(cross-rpcgen-objs).
31047 ($(cross-rpcgen-objs)): New rule.
31048 ($(objpfx)cross-rpcgen): Likewise.
31049 (rpcgen-cmd): Define to use $(built-program-file). Expand
31050 comment.
31051 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31052 ($(objpfx)x%.stmp): Likewise.
31053 * sunrpc/proto.h [IS_IN_build] (_): Define.
31054 [IS_IN_build] (_libc_intl_domainname): Likewise.
31055
c8c59454
L
310562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31059 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31060 and R_X86_64_TPOFF64.
31061
6f27cd16
JM
310622012-05-10 Joseph Myers <joseph@codesourcery.com>
31063
31064 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31065 sysdeps/unix/sysv/syscalls.list.
31066 (stime): Likewise.
31067 (utime): Likewise.
31068 * sysdeps/unix/sysv/syscalls.list: Remove file.
31069
02467e1c
PE
310702012-05-10 Paul Eggert <eggert@cs.ucla.edu>
31071
31072 [BZ #3440]
31073 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31074 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31075 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31076 (__LC_IDENTIFICATION): Make these macros useful in #if
31077 expressions, as required by C99.
31078
da392631
AS
310792012-05-10 Andreas Schwab <schwab@linux-m68k.org>
31080
31081 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31082 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
31083 after this.
31084
8115f29b
L
310852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
31086
31087 * stdlib/longlong.h: Updated from GCC.
31088
bdd74070
AJ
310892012-05-09 Andreas Jaeger <aj@suse.de>
31090
edfe0dbe
AJ
31091 * nscd/nscd.c (run_modes): Make named enum, reorder so that
31092 default is first entry.
31093 (run_mode): Set type.
31094 (main): Remove informal message about syslog.
31095 (options): Fix typo.
31096
bcfe3a54
ST
31097 [BZ #14053]
31098 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 31099 to asm.
bcfe3a54
ST
31100 (lrint): Likewise.
31101 (llrintf): Likewise.
31102 (llrint): Likewise.
31103 (rint): Likewise.
31104 (rintf): Likewise.
31105 (nearbyint): Likewise.
31106 (nearbyintf): Likewise.
bdd74070 31107
91d8d69e
AJ
311082012-05-09 Andreas Jaeger <aj@suse.de>
31109 Pedro Alves <palves@redhat.com>
31110
31111 * nscd/nscd.c (run_mode): Use enum.
31112 (main): Cleanup coding style issue.
31113
bb90b80b
AJ
311142012-05-09 Alexandre Oliva <aoliva@redhat.com>
31115 Andreas Jaeger <aj@suse.de>
31116
bcfe3a54
ST
31117 * nscd/nscd.c (go_background): Replaced with...
31118 (run_mode): ... this.
bb90b80b 31119 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
31120 (options): Add -F --foreground.
31121 (main): Implement it.
31122 (parse_opt): Parse it.
bb90b80b 31123
1a4b75a1
AJ
311242012-05-09 Andreas Jaeger <aj@suse.de>
31125
31126 [BZ #14083]
31127 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31128 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31129 -Wconversion warning.
31130 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31131 Likewise.
31132
b1cc2472
JM
311332012-05-09 Joseph Myers <joseph@codesourcery.com>
31134
31135 * conform/data/locale.h-data (NULL): Use macro-constant. Require
31136 == 0.
31137 (LC_ALL): Use macro-int-constant.
31138 (LC_COLLATE): Likewise.
31139 (LC_CTYPE): Likewise.
31140 (LC_MESSAGES): Likewise.
31141 (LC_MONETARY): Likewise.
31142 (LC_NUMERIC): Likewise.
31143 (LC_TIME): Likewise.
31144 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31145 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31147 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31148 Specify type.
31149 [C99-based standards] (float_t): Expect type.
31150 [C99-based standards] (double_t): Expect type.
31151 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
31152 type.
31153 [C99-based standards] (HUGE_VALL): Likewise.
31154 [C99-based standards] (INFINITY): Likewise.
31155 [C99-based standards] (NAN): Likewise.
31156 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31157 [C99-based standards] (FP_NAN): Likewise.
31158 [C99-based standards] (FP_NORMAL): Likewise.
31159 [C99-based standards] (FP_SUBNORMAL): Likewise.
31160 [C99-based standards] (FP_ZERO): Likewise.
31161 [C99-based standards] (FP_FAST_FMA): Use
31162 optional-macro-int-constant. Specify type. Require == 1.
31163 [C99-based standards] (FP_FAST_FMAF): Likewise.
31164 [C99-based standards] (FP_FAST_FMAL): Likewise.
31165 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31166 [C99-based standards] (FP_ILOGBNAN): Likewise.
31167 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31168 Specify type.
31169 [C99-based standards] (MATH_ERREXCEPT): Likewise.
31170 [C99-based standards] (math_errhandling): Specify type.
31171 [ISO99 || ISO11] (signgam): Do not allow.
31172 [non-C99-based standards] (copysignf): Do not allow.
31173 [non-C99-based standards] (exp2f): Likewise.
31174 [non-C99-based standards] (log2f): Likewise.
31175 [non-C99-based standards] (modff): Allow.
31176 [non-C99-based standards] (erff): Do not allow.
31177 [non-C99-based standards] (erfcf): Likewise.
31178 [non-C99-based standards] (gammaf): Likewise.
31179 [non-C99-based standards] (hypotf): Likewise.
31180 [non-C99-based standards] (j0f): Likewise.
31181 [non-C99-based standards] (j1f): Likewise.
31182 [non-C99-based standards] (jnf): Likewise.
31183 [non-C99-based standards] (lgammaf): Likewise.
31184 [non-C99-based standards] (tgammaf): Likewise.
31185 [non-C99-based standards] (y0f): Likewise.
31186 [non-C99-based standards] (y1f): Likewise.
31187 [non-C99-based standards] (ynf): Likewise.
31188 [non-C99-based standards] (isnanf): Likewise.
31189 [non-C99-based standards] (acoshf): Likewise.
31190 [non-C99-based standards] (asinhf): Likewise.
31191 [non-C99-based standards] (atanhf): Likewise.
31192 [non-C99-based standards] (cbrtf): Likewise.
31193 [non-C99-based standards] (expm1f): Likewise.
31194 [non-C99-based standards] (ilogbf): Likewise.
31195 [non-C99-based standards] (log1pf): Likewise.
31196 [non-C99-based standards] (logbf): Likewise.
31197 [non-C99-based standards] (nextafterf): Likewise.
31198 [non-C99-based standards] (remainderf): Likewise.
31199 [non-C99-based standards] (rintf): Likewise.
31200 [non-C99-based standards] (scalbf): Likewise.
31201 [non-C99-based standards] (copysignl): Likewise.
31202 [non-C99-based standards] (exp2l): Likewise.
31203 [non-C99-based standards] (log2l): Likewise.
31204 [non-C99-based standards] (modfl): Allow.
31205 [non-C99-based standards] (erfl): Do not allow.
31206 [non-C99-based standards] (erfcl): Likewise.
31207 [non-C99-based standards] (gammal): Likewise.
31208 [non-C99-based standards] (hypotl): Likewise.
31209 [non-C99-based standards] (j0l): Likewise.
31210 [non-C99-based standards] (j1l): Likewise.
31211 [non-C99-based standards] (jnl): Likewise.
31212 [non-C99-based standards] (lgammal): Likewise.
31213 [non-C99-based standards] (tgammal): Likewise.
31214 [non-C99-based standards] (y0l): Likewise.
31215 [non-C99-based standards] (y1l): Likewise.
31216 [non-C99-based standards] (ynl): Likewise.
31217 [non-C99-based standards] (isnanl): Likewise.
31218 [non-C99-based standards] (acoshl): Likewise.
31219 [non-C99-based standards] (asinhl): Likewise.
31220 [non-C99-based standards] (atanhl): Likewise.
31221 [non-C99-based standards] (cbrtl): Likewise.
31222 [non-C99-based standards] (expm1l): Likewise.
31223 [non-C99-based standards] (ilogbl): Likewise.
31224 [non-C99-based standards] (log1pl): Likewise.
31225 [non-C99-based standards] (logbl): Likewise.
31226 [non-C99-based standards] (nextafterl): Likewise.
31227 [non-C99-based standards] (remainderl): Likewise.
31228 [non-C99-based standards] (rintl): Likewise.
31229 [non-C99-based standards] (scalbl): Likewise.
31230 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31231 [non-C99-based standards] (FP_*): Do not allow.
31232 [C99-based standards] (FP_*): Change to
31233 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31234 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31235 allow.
31236 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31237 (SIG_ERR): Likewise.
31238 [X/Open-based standards] (SIG_HOLD): Likewise.
31239 (SIG_IGN): Likewise.
31240 (SIGABRT): Use macro-int-constant. Specify type. Require
31241 positive value.
31242 (SIGFPE): Likewise.
31243 (SIGILL): Likewise.
31244 (SIGINT): Likewise.
31245 (SIGSEGV): Likewise.
31246 (SIGTER): Likewise.
31247 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31248 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31249 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31250 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31251 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31252 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31253 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31254 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31255 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31256 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31257 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31258 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31259 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31260 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31261 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31262 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31263 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31264 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31265 [X/Open-based standards] (SIGTRAP): Likewise.
31266 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31267 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31268 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31269 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31270 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31271 allow.
31272
b9f1922d
IW
312732012-05-08 Ian Wienand <ianw@vmware.com>
31274
31275 [BZ #14080]
31276 * time/tzset.c (__tzset_parse_tz): Update default rules for
31277 daylight time changes in the Energy Policy Act of 2005.
31278
1db86e88
AJ
312792012-05-09 Andreas Jaeger <aj@suse.de>
31280
31281 [BZ #13983]
31282 * elf/ldconfig.c (parse_conf): Change string to make clear that
31283 ldconfig only issued a warning if ld.so.conf does not exist.
31284
dee4a4e3
DM
312852012-05-08 David S. Miller <davem@davemloft.net>
31286
ee0db190
DM
31287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31288 movxtod instead of popping the value on the stack.
31289
dee4a4e3
DM
31290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31291
6a43ec98
CD
312922012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31293
31294 * config.h.in: Add HAVE_ARM_PCS_VFP.
31295
05c2c961
RMG
312962012-05-08 Roland Mc Grath <roland@hack.frob.com>
31297
bcfe3a54
ST
31298 [BZ #13979]
31299 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31300 checking but the checks are disabled for any reason.
05c2c961 31301
4b30f61a
L
313022012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31303
31304 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31305 and ELF64_R_TYPE with ELFW(R_TYPE).
31306
eee2bc67
JM
313072012-05-08 Joseph Myers <joseph@codesourcery.com>
31308
7ea5391a
JM
31309 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31310 (ulimit): Likewise.
31311
eee2bc67
JM
31312 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31313 (settimeofday): Likewise.
31314
abb66a67
MF
313152012-05-08 Mike Frysinger <vapier@gentoo.org>
31316
31317 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31318 a struct th_u2 inside the union, and move tu_block/tu_code into
31319 a new th_u3 union of tu_block/tu_code inside of that. Move
31320 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31321 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31322 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31323 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31324 (th_stuff): Change to th_u1.tu_stuff.
31325 (th_data): Define.
31326 (th_msg): Change to th_u1.th_u2.tu_data.
31327
7f18b530
DM
313282012-05-07 David S. Miller <davem@davemloft.net>
31329
05760585
DM
31330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31331
7f18b530
DM
31332 [BZ #14074]
31333 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31334 (SETUP_PIC_REG): Use it.
31335 (SETUP_PIC_REG_LEAF): Use it.
31336
495fd99f
JM
313372012-05-07 Joseph Myers <joseph@codesourcery.com>
31338
31339 [BZ #13885]
31340 [BZ #13923]
31341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31342 USE_AS_EXPM1L.
31343 (EXPL_FINITE): Likewise.
31344 (FLDLOG): Likewise.
31345 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31346 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31347 e_expl.S.
31348 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31349 USE_AS_EXPM1L.
31350 (EXPL_FINITE): Likewise.
31351 (FLDLOG): Likewise.
31352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31353 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31354 e_expl.S.
31355 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31356 test of -max_value argument for long double.
31357 * sysdeps/i386/fpu/libm-test-ulps: Update.
31358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31359
6693d694
DM
313602012-05-06 David S. Miller <davem@davemloft.net>
31361
31362 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31363 quad soft-float symbols whose references which are compiler
31364 generated.
31365 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31366
6c23e11c
JM
313672012-05-06 Joseph Myers <joseph@codesourcery.com>
31368
d8b82cad
JM
31369 [BZ #13884]
31370 [BZ #13914]
31371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31372 USE_AS_EXP10L.
31373 (EXPL_FINITE): Likewise.
31374 (FLDLOG): Likewise.
31375 (c0): Likewise.
31376 (c1): Likewise.
31377 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31378 Adjust comments for base varying.
31379 (__expl_finite): Change alias to EXPL_FINITE.
31380 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31381 e_expl.S.
31382 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31383 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31384 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31385 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31386 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31387 USE_AS_EXP10L.
31388 (EXPL_FINITE): Likewise.
31389 (FLDLOG): Likewise.
31390 (c0): Likewise.
31391 (c1): Likewise.
31392 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31393 Adjust comments for base varying.
31394 (__expl_finite): Change alias to EXPL_FINITE.
31395 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31396 tests for bugs.
31397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31398
6c23e11c
JM
31399 [BZ #14064]
31400 * math/libm-test.inc (check_float_internal): Correct ulp
31401 calculation for subnormal expected results.
31402
29ba805c
AJ
314032012-05-06 Andreas Jaeger <aj@suse.de>
31404
31405 * Makeconfig (+math-flags): New, set to -frounding-math.
31406 (+cflags): Add +math-flags so that all of glibc gets compiled with
31407 it.
31408
31409 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31410
7b17aeda
JM
314112012-05-05 Joseph Myers <joseph@codesourcery.com>
31412
5779f134
JM
31413 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31414 Disable one test.
31415
41498f4d
JM
31416 [BZ #13787]
31417 [BZ #13922]
31418 [BZ #14036]
31419 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31420 (__ieee754_expl): Allow for and saturate large arguments.
31421 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31422 (u_threshold): Likewise.
31423 (__exp): Call __ieee754_exp before checking for overflow and
31424 underflow.
31425 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31426 (u_threshold): Likewise.
31427 (__expf): Call __ieee754_expf before checking for overflow and
31428 underflow.
31429 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31430 (u_threshold): Likewise.
31431 (__expl): Call __ieee754_expl before checking for overflow and
31432 underflow.
31433 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31434 (__ieee754_expl): Allow for and saturate large arguments.
31435 * math/libm-test.inc (exp_test): Add another test. Do not allow
31436 missing overflow exception on overflow.
31437 (expm1_test): Do not allow missing overflow exception on overflow.
31438
6698b8bf
JM
31439 * sysdeps/i386/fpu/e_expl.c: Move to ...
31440 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31441 rather than using inline asm.
31442 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31443 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31444 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31445
7b17aeda
JM
31446 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31447 (nice): Likewise.
31448 (poll): Likewise.
31449 (signal): Likewise.
31450 (time): Likewise.
31451 (times): Likewise.
31452
f7c85819
JM
314532012-05-04 Joseph Myers <joseph@codesourcery.com>
31454
31455 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31456 sysdeps/unix/common/syscalls.list.
31457 (fchmod): Likewise.
31458 (fchown): Likewise.
31459 (ftruncate): Likewise.
31460 (getrusage): Likewise.
31461 (gettimeofday): Likewise.
31462 (setpgid): Likewise.
31463 (setregid): Likewise.
31464 (setreuid): Likewise.
31465 (sigaction): Likewise.
31466 (truncate): Likewise.
31467 (vhangup): Likewise.
31468 * sysdeps/unix/common/syscalls.list: Remove file.
31469 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31470 * sysdeps/unix/sysv/linux/Implies: Likewise.
31471
336270d0
L
314722012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31473
31474 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31476 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31477 Moved to ...
31478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31479 Here.
31480 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31481 to ...
31482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31483 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31484 to ...
31485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31486 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31487 to ...
31488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31489 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31490 to ...
31491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31492 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31493 to ...
31494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31495 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31496 to ...
31497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31498 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31499 to ...
31500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31501 Here.
31502 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31503 to ...
31504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31505 Here.
31506 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31507 to ...
31508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31509 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31510 Moved to ...
31511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31512 Here.
31513 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31514 to ...
31515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31516
d128e450
JM
315172012-05-04 Joseph Myers <joseph@codesourcery.com>
31518
fa8ee516
JM
31519 * sysdeps/unix/common/bits/dirent.h: Remove file.
31520 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31521
d128e450
JM
31522 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31523 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31524 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31525 * sysdeps/unix/bsd/isatty.c: Likewise.
31526 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31527 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31528 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31529
ff8faaf0 315302012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 31531
62881be4 31532 [BZ #13563]
31dc8730
AZ
31533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31534 long double comparison inaccuracies.
31535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31537
6fef930c
AS
315382012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31539
31540 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31541 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31542
8f203e6c
JM
315432012-05-04 Joseph Myers <joseph@codesourcery.com>
31544
31545 [BZ #14049]
31546 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31547 nonzero digits before rounding a hex value.
31548 * stdlib/tst-strtod.c (tests): Add another test.
31549
5197d9c2
AK
315502012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31551
31552 * sysdeps/s390/fpu/libm-test-ulps: Update.
31553
f0c1dedf
AJ
315542012-05-03 Andreas Jaeger <aj@suse.de>
31555
31556 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31557 does not get optimized out.
31558 (malloc_opt_barrier): New.
31559
a65ef2ae 315602012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 31561 Roland McGrath <roland@hack.frob.com>
a65ef2ae 31562
2b942cb7 31563 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 31564 intermediate file deletion.
2b942cb7 31565 (generated): Add .symlist files.
a65ef2ae 31566
54b71e02
JM
315672012-05-03 Joseph Myers <joseph@codesourcery.com>
31568
31569 [BZ #13775]
31570 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31571 Redirect under this condition.
31572 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31573 [__USE_GNU] (__dprintf_chk): Not under this condition.
31574 [__USE_GNU] (__vdprintf_chk): Likewise.
31575 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31576 under this condition.
31577 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31578 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31579 [__USE_XOPEN2K8] (vdprintf): Likewise.
31580 [__USE_GNU] (__dprintf_chk): Not under this condition.
31581 [__USE_GNU] (__vdprintf_chk): Likewise.
31582 [__USE_GNU] (dprintf): Likewise.
31583 [__USE_GNU] (vdprintf): Likewise.
31584
d3dfcc41
RM
315852012-05-03 Roland McGrath <roland@hack.frob.com>
31586
31587 * elf/Makefile (common-generated): Set this instead of generated for
31588 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31589 $(all-built-dso)-derived lists.
31590
7ac30cc5
AJ
315912012-05-03 Andreas Jaeger <aj@suse.de>
31592
0c51e550
AJ
31593 * sysdeps/i386/fpu/libm-test-ulps: Update.
31594
7ac30cc5
AJ
31595 * FAQ: Removed.
31596 * FAQ.in: Likewise.
31597 * scripts/gen-FAQ.pl: Likewise.
31598 * manual/install.texi (Installation): Point to online location of
31599 FAQ.
31600 * Makefile (files-for-dist): Remove FAQ.
31601 (FAQ): Remove.
31602
d4c2917f
AM
316032012-05-02 Allan McRae <allan@archlinux.org>
31604
31605 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31606 (LDFLAGS-reldepmod5.so): Likewise.
31607 (LDFLAGS-reldep6mod1.so): Likewise.
31608 (LDFLAGS-reldep6mod4.so): Likewise.
31609 (LDFLAGS-reldep8mod3.so): Likewise.
31610 (LDFLAGS-unload4mod1.so): Likewise.
31611 (LDFLAGS-unload4mod2.so): Likewise.
31612 (LDFLAGS-tst-initorder): Likewise.
31613 (LDFLAGS-tst-initordera2.so): Likewise.
31614 (LDFLAGS-tst-initordera3.so): Likewise.
31615 (LDFLAGS-tst-initordera4.so): Likewise.
31616 (LDFLAGS-tst-initorderb2.so): Likewise.
31617 (LDFLAGS-noload): Likewise.
31618 (LDFLAGS-next): Likewise.
31619 (LDFLAGS-order2mod1.so): Likewise.
31620 (LDFLAGS-order2mod2.so): Likewise.
31621 (LDFLAGS-tst-initorder2): Likewise.
31622 (LDFLAGS-tst-initorder2a.so): Likewise.
31623 (LDFLAGS-tst-initorder2b.so): Likewise.
31624 (LDFLAGS-tst-initorder2c.so): Likewise.
31625 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31626
d77f993f
DM
316272012-05-02 David S. Miller <davem@davemloft.net>
31628
31629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31630
171a70b4
PP
316312012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31632
31633 [BZ #14055]
31634 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31635
0be196ad
AJ
316362012-05-02 Andreas Jaeger <aj@suse.de>
31637
31638 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31639 since we manipulate rounding mode.
31640 (CPPFLAGS-test-idouble.c): Likewise.
31641 (CPPFLAGS-test-ifloat.c): Likewise.
31642 (CFLAGS-test-ldouble.c): Likewise.
31643 (CFLAGS-test-double.c): Likewise.
31644 (CFLAGS-test-float.c): Likewise.
31645 (CFLAGS-test-misc.c): Likewise.
31646 (CFLAGS-test-test-fenv.c): Likewise.
31647
4f9d04aa
AZ
316482012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31649
2b942cb7
RM
31650 [BZ #2550]
31651 [BZ #2570]
31652 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31653 comparisons to determine direction to adjust input.
4f9d04aa 31654
82a79e7d
RM
316552012-05-01 Roland McGrath <roland@hack.frob.com>
31656
f5a01ca9
RM
31657 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31658 output to the target.
31659
90fe4186
RM
31660 * scripts/localplt.awk: New file.
31661 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31662 (check-localplt-CFLAGS): Variable removed.
31663 ($(all-built-dso:=.jmprel)): New static pattern rule.
31664 (generated): Add those targets.
31665 (localplt-built-dso): New variable.
31666 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31667
31668 * elf/check-localplt.c: File removed.
31669
82397ed6
RM
31670 * scripts/check-execstack.awk: New file.
31671 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31672 (check-execstack-CFLAGS): Variable removed.
31673 ($(objpfx)check-execstack.h): Target removed.
31674 ($(objpfx)execstack-default): New target.
31675 (generated): Add that instead of check-execstack.h.
31676 ($(all-built-dso:=.phdr)): New static pattern rule.
31677 (generated): Add those targets.
31678 * elf/check-execstack.c: File removed.
31679
82a79e7d
RM
31680 * scripts/check-textrel.awk: New file.
31681 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31682 (check-textrel-CFLAGS): Variable removed.
31683 (all-built-dso): Use := to define.o
31684 ($(all-built-dso:=.dyn)): New static pattern rule.
31685 (generated): Add those targets.
31686 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31687 * config.make.in (READELF): New substituted variable.
31688 * elf/check-textrel.c: File removed.
31689
62fde54f 316902012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 31691
615605c9
JM
31692 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31693 allow.
31694 * conform/data/ctype.h-data [C99-based standards] (isblank):
31695 Expect function.
31696 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31697 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31699 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31700 Specify type. Require positive value.
31701 (EILSEQ): Likewise.
31702 (ERANGE): Likewise.
31703 [ISO || POSIX] (EILSEQ): Do not expect.
31704 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31705 Specify type. Require positive value.
31706 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31707 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31708 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31709 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31710 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31711 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31712 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31713 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31714 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31715 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31716 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31717 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31718 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31719 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31720 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31721 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31722 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31723 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31724 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31725 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31726 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31727 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31728 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31729 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31730 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31731 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31732 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31733 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31734 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31735 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31736 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31737 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31738 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31739 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31740 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31741 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31742 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31743 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31744 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31745 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31746 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31747 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31748 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31749 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31750 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31751 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31752 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31753 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31754 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31755 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31756 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31757 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31758 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31759 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31760 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31761 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31762 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31763 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31764 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31765 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31766 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31767 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31768 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31769 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31770 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31771 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31772 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31773 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31774 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31775 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31776 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31777 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31778 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31779 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31780 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31781 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31782 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31783 Require >= 2.
31784 (FLT_ROUNDS): Expect as macro, not constant.
31785 (FLT_MANT_DIG): Use macro-int-constant.
31786 (DBL_MANT_DIG): Likewise.
31787 (LDBL_MANT_DIG): Likewise.
31788 (FLT_DIG): Likewise.
31789 (DBL_DIG): Likewise.
31790 (LDBL_DIG): Likewise.
31791 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31792 (DBL_MIN_EXP): Likewise.
31793 (LDBL_MIN_EXP): Likewise.
31794 (FLT_MAX_EXP): Use macro-int-constant.
31795 (DBL_MAX_EXP): Likewise.
31796 (LDBL_MAX_EXP): Likewise.
31797 (FLT_MAX_10_EXP): Likewise.
31798 (DBL_MAX_10_EXP): Likewise.
31799 (LDBL_MAX_10_EXP): Likewise.
31800 (FLT_MAX): Use macro-constant.
31801 (DBL_MAX): Likewise.
31802 (LDBL_MAX): Likewise.
31803 (FLT_EPSILON): Use macro-constant. Give upper bound.
31804 (DBL_EPSILON): Likewise.
31805 (LDBL_EPSILON): Likewise.
31806 (FLT_MIN): Likewise.
31807 (DBL_MIN): Likewise.
31808 (LDBL_MIN): Likewise.
31809 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31810 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31811 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31812 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31813 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31814 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31815 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31816 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31817 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31818 [ISO11] (FLT_TRUE_MIN): Likewise.
31819 [ISO11] (LDBL_TRUE_MIN): Likewise.
31820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31821 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31822 (SCHAR_MIN): Use macro-int-constant. Specify type.
31823 (SCHAR_MAX): Likewise.
31824 (UCHAR_MAX): Likewise.
31825 (CHAR_MIN): Likewise.
31826 (CHAR_MAX): Likewise.
31827 (MB_LEN_MAX): Use macro-int-constant.
31828 (SHRT_MIN): Use macro-int-constant. Specify type.
31829 (SHRT_MAX): Likewise.
31830 (USHRT_MAX): Likewise.
31831 (INT_MAX): Likewise.
31832 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31833 bound negative.
31834 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31835 bound with "U".
31836 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31837 bound with "L".
31838 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31839 bound negative. Suffix upper bound with "L".
31840 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31841 bound with "UL".
31842 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31843 Specify type.
31844 [C99-based standards] (LLONG_MAX): Likewise.
31845 [C99-based standards] (ULLONG_MAX): Likewise.
31846 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31847 == 0.
31848 [ISO11] (max_align_t): Require type.
31849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31850
c9140a62
JM
31851 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31852 from $CFLAGS, without defining away __attribute__ calls.
31853 (checknamespace): Use $CFLAGS_namespace.
31854
9af0bf29
JM
31855 * conform/conformtest.pl (@keywords): Only include C99 keywords
31856 for standards based on C99 or C11.
31857
343222a2
JM
31858 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31859 Disable tests.
31860 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31861 UNIX98]: Likewise.
31862
661f8cf0
JM
31863 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31864 usability of symbols in #if.
31865
ee74b9cb
JM
31866 * conform/conformtest.pl: If macro or constant types start
31867 "promoted:", expect the symbol to be of the following type
31868 promoted by the integer promotions.
62fde54f 31869
aafc49b3
JM
31870 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31871 in one place. Also handle "macro-constant".
31872
fefdf574
JM
31873 * conform/conformtest.pl: Only accept expected macro values with
31874 "==". Parse all "macro" lines in one place.
31875 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31876
f2d922fe
JM
31877 * conform/conformtest.pl: Handle braced types on "constant" lines
31878 instead of handling "typed-constant".
31879 * conform/data/signal.h-data: Use "constant" instead of
31880 "typed-constant".
31881
d22956c9
JM
31882 * conform/conformtest.pl: Handle "optional-" at start of lines in
31883 one place rather than duplicating several cases. Handle each
31884 format of "macro" line with initial "optional-".
31885
028e2e38
JM
31886 * conform/conformtest.pl: Only accept expected constant or
31887 optional-constant values with "==". Parse all "constant" lines in
31888 one place. Parse all "optional-constant" lines in one place.
31889 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31890 * conform/data/fmtmsg.h-data: Likewise.
31891 * conform/data/netinet/in.h-data: Likewise.
31892 * conform/data/tar.h-data: Likewise.
31893 * conform/data/limits.h-data: Use "==" form on "constant" and
31894 "optional-constant" lines.
31895
1b8f2850
JM
31896 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31897 Use -std=c99 for XOPEN2K.
31898 (@knownproblems): Remove.
31899 (newtoken): Don't check %isknown.
31900
a05a144b
JM
31901 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31902 Do not expect macro.
31903 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31904 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31905 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31906 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31907 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31908 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31909 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31910 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31911 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31912 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31913 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31914 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31915 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31916 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31917 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31918 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31919 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31920 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31921 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31922 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31923 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31927 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31928 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31929 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31930 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31931 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31932 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31933 [XPG3] (acosh): Likewise.
31934 [XPG3] (asinh): Likewise.
31935 [XPG3] (atanh): Likewise.
31936 [XPG3] (cbrt): Likewise.
31937 [XPG3] (expm1): Likewise.
31938 [XPG3] (ilogb): Likewise.
31939 [XPG3] (log1p): Likewise.
31940 [XPG3] (logb): Likewise.
31941 [XPG3] (nextafter): Likewise.
31942 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31943 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31944 [XPG3] (remainder): Likewise.
31945 [XPG3] (rint): Likewise.
31946 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31947 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31948 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31949 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31950 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31951 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31952 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31953 [UNIX98 || XOPEN2K] (scalb): Expect.
31954 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31955 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31956 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31957 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31958 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31959 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31960 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31961 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31962 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31963 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31964 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31965 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31966 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31967 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31968 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31969 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31970 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31971 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31972 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31973 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31974 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31975 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31976 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31977 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31979 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31980 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31981 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31982 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31983 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31984 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31985 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31986 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31988 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31989 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31990 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31991 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31992 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31993 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31994 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31995 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31996 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31997 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31998 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31999 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32000 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32001 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32002 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32003 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32004 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32005 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32006 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32007 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32008 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32009 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32010 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32011 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32012 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32013 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32014 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32015 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32016 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32017 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32018 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32019 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32020 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32021 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32022 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32023 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32024 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32025 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32026 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32027 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32028 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32029 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32030 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32031 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32032 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32033 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32034 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32035 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32036 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32037 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32038 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32039 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32040 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32041 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32042 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32043 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32044 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32045 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32046 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32047 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32048 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32050 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32051 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32052 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32053 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32054 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32055 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32056 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32057 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32059 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32060 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32061 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32062 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32063 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32064 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32065 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32066 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32067 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32068 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32069 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32070 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32071 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32072 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32073 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32074 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32075 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32076 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32077 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32078 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32079 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32080 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32081 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32082 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32083 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32084 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32085 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32086 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32087 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32088 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32089 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32090 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32091
73c5ebe3
JM
32092 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32093 _XOPEN_SOURCE_EXTENDED for XPG4.
32094
39c33b6c
JM
32095 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32096
62fde54f
JM
32097 * Makeconfig (localtime): Remove variable.
32098 (inst_localtime-file): Likewise.
32099
0741d64c
AS
321002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32101
32102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32103 Update.
32104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32105 Update.
32106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32107 Update.
32108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32109 Update.
32110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32111 Update.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32113 Update.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32115 Update.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32117 Update.
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32119 Update.
32120
7cb029ee
JM
321212012-05-01 Joseph Myers <joseph@codesourcery.com>
32122
32123 [BZ #2550]
32124 [BZ #2570]
32125 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32126 comparisons to determine direction to adjust input.
32127 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32128 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32130 Likewise.
32131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32132 Likewise.
32133 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32134 Likewise.
32135 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32136 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32137 Likewise.
32138 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32139 Likewise.
32140 * math/libm-test.inc (nexttoward_test): Add more tests.
32141
412bd966
AS
321422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
32143
32144 [BZ #14040]
32145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32146 in version GLIBC_2.1, not GLIBC_2.0.
32147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32148 Likewise.
32149
9568c0c2
JM
321502012-04-30 Joseph Myers <joseph@codesourcery.com>
32151
adfbc8ac
JM
32152 [BZ #13942]
32153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32154 (1 - x) * (1 + x).
32155 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32156 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32157 * math/libm-test.inc (acos_test): Add more tests.
32158 (asin_test): Likewise.
32159 * sysdeps/i386/fpu/libm-test-ulps: Update.
32160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32161
5ba3cc69
JM
32162 [BZ #14034]
32163 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32164 of square root.
32165 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32166 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32167 * math/libm-test.inc (acos_test_tonearest): New function.
32168 (acos_test_towardzero): Likewise.
32169 (acos_test_downward): Likewise.
32170 (acos_test_upward): Likewise.
32171 (asin_test_tonearest): Likewise.
32172 (asin_test_towardzero): Likewise.
32173 (asin_test_downward): Likewise.
32174 (asin_test_upward): Likewise.
32175 (main): Call the new functions.
32176 * sysdeps/i386/fpu/libm-test-ulps: Update.
32177 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32178
9568c0c2
JM
32179 [BZ #13884]
32180 [BZ #13924]
32181 * math/e_exp10.c: Include <float.h>.
32182 (__ieee754_exp10): Handle underflow here rather than multiplying
32183 large negative argument by M_LN10.
32184 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32185 of __ieee754_expf.
32186 * math/e_exp10l.c: Include <float.h>.
32187 (__ieee754_exp10l): Handle underflow here rather than multiplying
32188 large negative argument by M_LN10l.
32189 * math/libm-test.inc (exp10_test): Add another test. Do not allow
32190 spurious overflow exception on underflow.
32191
5ac3ea17
MP
321922012-04-29 Marek Polacek <polacek@redhat.com>
32193
32194 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32195 (__fortify_function): New macro.
32196 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32197 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32198 __extern_always_inline.
32199 * libio/bits/stdio2.h: Likewise.
32200 * libio/bits/stdio.h: Likewise.
32201 * string/string.h: Likewise.
32202 * string/bits/string3.h: Likewise.
32203 * include/stdio.h: Likewise.
32204 * stdlib/bits/stdlib.h: Likewise.
32205 * stdlib/stdlib.h: Likewise.
32206 * rt/bits/mqueue2.h: Likewise.
32207 * rt/mqueue.h: Likewise.
32208 * posix/bits/unistd.h: Likewise.
32209 * posix/unistd.h: Likewise.
32210 * io/bits/poll2.h: Likewise.
32211 * io/bits/fcntl2.h: Likewise.
32212 * io/fcntl.h: Likewise.
32213 * io/sys/poll.h: Likewise.
32214 * misc/bits/syslog.h: Likewise.
32215 * misc/bits/syslog-ldbl.h: Likewise.
32216 * misc/sys/syslog.h: Likewise.
32217 * socket/bits/socket2.h: Likewise.
32218 * socket/sys/socket.h: Likewise.
32219 * debug/tst-chk1.c: Likewise.
32220 * wcsmbs/bits/wchar2.h: Likewise.
32221 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32222 * wcsmbs/wchar.h: Likewise.
32223
ecf0ebfb
AJ
322242012-04-29 Andreas Jaeger <aj@suse.de>
32225
32226 * Makerules (tests): Remove enable-check-abi protection.
32227 (check-abi-warn): Remove.
32228 (check-abi-%): Remove check-abi-warn usage.
32229
32230 * configure.in: Remove check-abi configure option.
32231 * configure: Regenerated.
32232 * config.make.in (enable-check-abi): Remove.
32233
6d5c57fa
AS
322342012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32235
24c5d07e 32236 [BZ #14033]
ded5180a
AS
32237 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32238 double functions to double *_finite functions.
32239
7e0d315d
AS
32240 [BZ #13941]
32241 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32242 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32243 LDBL_MIN_EXP.
32244 * stdio-common/Makefile (tests): Add tst-sprintf3.
32245 * stdio-common/tst-sprintf3.c: New file.
32246
6d5c57fa
AS
32247 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32248 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32249
0749ff8b
JM
322502012-04-28 Joseph Myers <joseph@codesourcery.com>
32251
32252 * conform/conformtest.pl: Remove duplicate typed-constant
32253 handling.
32254
8dbd5d7b
DM
322552012-04-28 David S. Miller <davem@davemloft.net>
32256
32257 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32258 (check-abi-%): Remove AWK script prerequisite and explicit
32259 abilist directory.
32260 (check-abi): Rewrite to just diff the symlist with the abilist.
32261 (config-tls, config-abi-config): Delete, no longer used.
32262 (update-abi-%): Remove AWK script and explicit abilist directory.
32263 (update-abi): Rewrite to simply compare and conditionally copy the
32264 symlist and the sysdep abilist file. Remove update-abi-config
32265 checks.
32266 * abilist/ld.abilist: Remove.
32267 * abilist/libBrokenLocale.abilist: Remove.
32268 * abilist/libanl.abilist: Remove.
32269 * abilist/libcrypt.abilist: Remove.
32270 * abilist/libdl.abilist: Remove.
32271 * abilist/librt.abilist: Remove.
32272 * abilist/libthread_db.abilist: Remove.
32273 * abilist/libutil.abilist: Remove.
32274 * scripts/extract-abilist.awk: Remove.
32275 * scripts/merge-abilist.awk: Remove.
32276 * sysdeps/generic/libcidn.abilist: New file.
32277 * sysdeps/generic/libnss_compat.abilist: New file.
32278 * sysdeps/generic/libnss_db.abilist: New file.
32279 * sysdeps/generic/libnss_dns.abilist: New file.
32280 * sysdeps/generic/libnss_files.abilist: New file.
32281 * sysdeps/generic/libnss_hesiod.abilist: New file.
32282 * sysdeps/generic/libnss_nis.abilist: New file.
32283 * sysdeps/generic/libnss_nisplus.abilist: New file.
32284 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32285 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32286 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32287 file.
32288 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32289 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32290 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32291 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32292 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32293 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32294 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32295 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32296 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32297 file.
32298 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32299 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32300 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32301 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32302 file.
32303 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32304 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32305 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32306 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32307 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32308 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32309 file.
32310 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32311 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32312 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32313 file.
32314 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32316 New file.
32317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32318 New file.
32319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32320 New file.
32321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32322 New file.
32323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32324 New file.
32325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32326 New file.
32327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32328 New file.
32329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32330 New file.
32331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32332 New file.
32333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32334 New file.
32335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32336 New file.
32337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32338 New file.
32339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32340 New file.
32341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32342 file.
32343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32344 New file.
32345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32346 New file.
32347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32348 file.
32349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32350 New file.
32351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32352 New file.
32353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32354 file.
32355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32356 New file.
32357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32358 New file.
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32360 New file.
32361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32362 New file.
32363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32364 New file.
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32366 New file.
32367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32369 file.
32370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32371 New file.
32372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32373 file.
32374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32375 file.
32376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32377 file.
32378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32379 file.
32380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32381 file.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32383 New file.
32384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32385 file.
32386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32387 file.
32388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32389 New file.
32390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32391 file.
32392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32394 file.
32395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32396 New file.
32397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32398 file.
32399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32400 file.
32401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32402 file.
32403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32404 file.
32405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32406 file.
32407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32408 New file.
32409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32410 file.
32411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32412 file.
32413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32414 New file.
32415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32416 file.
32417 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32418 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32419 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32420 file.
32421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32422 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32423 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32424 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32425 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32427 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32428 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32429 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32430 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32433 file.
32434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32435 New file.
32436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32437 file.
32438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32439 file.
32440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32441 file.
32442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32443 file.
32444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32445 file.
32446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32447 New file.
32448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32449 New file.
32450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32451 file.
32452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32453 New file.
32454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32455 file.
32456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32458 file.
32459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32460 New file.
32461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32462 file.
32463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32464 file.
32465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32466 file.
32467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32468 file.
32469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32470 file.
32471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32472 New file.
32473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32474 New file.
32475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32476 file.
32477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32478 New file.
32479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32480 file.
32481
41d73a1b
JM
324822012-04-28 Joseph Myers <joseph@codesourcery.com>
32483
32484 * conform/conformtest.pl: Fix typo in handling typed-constant from
32485 allow-header.
32486
28aeeda4
JM
324872012-04-27 Joseph Myers <joseph@codesourcery.com>
32488
adae8f5e
JM
32489 * README: Cut down references to pre-2.6 Linux kernels and
32490 Linuxthreads. Update lists of configurations in libc and ports
32491 and sort alphabetically. Say "or newer" with Linux kernel version
32492 requirements.
32493
28aeeda4
JM
32494 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32495
a462cb63
RA
324962012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32497
32498 [BZ #887]
32499 * math/libm-test.inc (logb_test_downward): New test to expose
32500 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32501 rounding mode.
32502
6ad3493e
JM
325032012-04-27 Joseph Myers <joseph@codesourcery.com>
32504
32505 [BZ #14027]
32506 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32507 to be done.
32508 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32509 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32510
2ce4f015
JM
325112012-04-26 Joseph Myers <joseph@codesourcery.com>
32512
5aeb141a
JM
32513 * sysdeps/unix/i386/brk.S: Remove file.
32514 * sysdeps/unix/i386/dl-brk.S: Likewise.
32515 * sysdeps/unix/i386/pipe.S: Likewise.
32516 * sysdeps/unix/i386/sigreturn.S: Likewise.
32517 * sysdeps/unix/i386/syscall.S: Likewise.
32518 * sysdeps/unix/i386/vfork.S: Likewise.
32519 * sysdeps/unix/i386/wait.S: Likewise.
32520
7143acae
JM
32521 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32522 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32523
2ce4f015
JM
32524 * configure.in (arm*-none*): Do not allow without
32525 --enable-hacker-mode.
32526 (netbsd*): Remove case setting base_os.
32527 (386bsd*): Likewise.
32528 (freebsd*): Likewise.
32529 (bsdi*): Likewise.
32530 (osf*): Likewise.
32531 (sunos*): Likewise.
32532 (ultrix*): Likewise.
32533 (newsos*): Likewise.
32534 (dynix*): Likewise.
32535 (*bsd*): Likewise.
32536 (sysv*): Likewise.
32537 (isc*): Likewise.
32538 (esix*): Likewise.
32539 (sco*): Likewise.
32540 (minix*): Likewise.
32541 (irix4*): Likewise.
32542 (irix6*): Likewise.
32543 (solaris[2-9]*): Likewise.
32544 (none): Likewise.
32545 * configure: Regenerated.
32546
0ac229c8
AZ
325472012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32548
32549 [BZ #11521]
32550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32551 overflow or cancellation in calculating denominator.
32552 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32554 down expression to avoid unexpected rounding in newer GCCs.
32555 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32556
33f244f4
DM
325572012-04-26 David S. Miller <davem@davemloft.net>
32558
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32560 long-double compat symbols.
32561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32574
cfa1f3e8
DM
325752012-04-25 David S. Miller <davem@davemloft.net>
32576
32577 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32578 HWCAP_* values only after the memory barriers have been defined.
32579 (atomic_full_barrier): Define.
32580 (atomic_read_barrier): Define.
32581 (atomic_write_barrier): Define.
32582
6e236b92
SP
325832012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32584
32585 * shlib-versions: Add libgcc_s version information.
32586 * sysdeps/generic/libgcc_s.h: Remove.
32587 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32588 libgcc_s.h.
32589 * sysdeps/gnu/unwind-resume.c: Likewise.
32590 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32591
aab39a09
DM
325922012-04-25 David S. Miller <davem@davemloft.net>
32593
32594 * sysdeps/unix/sparc/brk.S: Delete.
32595 * sysdeps/unix/sparc/dl-brk.S: Delete.
32596 * sysdeps/unix/sparc/pipe.S: Delete.
32597 * sysdeps/unix/sparc/sysdep.S: Delete.
32598 * sysdeps/unix/sparc/sysdep.h: Delete.
32599 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
32600 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32601 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32602 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32603 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
32604 (JUMPTARGET): Remove.
32605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32606 sysdeps/unix/sparc/sysdep.h
32607 (ENTRY, END): Remove.
32608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32609
a3cc4f48
JM
326102012-04-25 Joseph Myers <joseph@codesourcery.com>
32611
2ed8cda2
JM
32612 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32613 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32614 -DIS_IN_build.
32615
35d76d59
JM
32616 * timezone/README: Update upstream location and email address for
32617 tzcode and tzdata.
32618 * timezone/zdump.c: Update from tzcode 2012b.
32619 * timezone/zic.c: Likewise.
32620
a3cc4f48
JM
32621 * configure.in (libc_cv_as_needed): Remove test.
32622 * configure: Regenerated.
32623 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32624 conditional definition.
32625 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32626 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32627 * config.make.in (have-as-needed): Remove variable.
32628
ceab42c3
SP
326292012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32630 Paul Pluzhnikov <ppluzhnikov@google.com>
32631
32632 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32633 strings correctly.
32634
3ce2865f
CLT
326352012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32636
32637 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32638 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32639 * sysdeps/sh/strlen.S: Likewise.
32640
f37e0d68
JM
326412012-04-24 Joseph Myers <joseph@codesourcery.com>
32642
ae186e9a
JM
32643 * sysdeps/unix/fork.S: Remove file.
32644 * sysdeps/unix/i386/fork.S: Likewise.
32645 * sysdeps/unix/sparc/fork.S: Likewise.
32646
b96914af
JM
32647 * sysdeps/unix/system.c: Remove file.
32648 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32649
f37e0d68
JM
32650 * sysdeps/unix/getegid.S: Remove file.
32651 * sysdeps/unix/geteuid.S: Likewise.
32652
87ef29ca
RM
326532012-04-24 Roland McGrath <roland@hack.frob.com>
32654
83bcd236
RM
32655 * scripts/check-localplt.awk: New file.
32656 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32657 of diff.
32658 * scripts/data/localplt-generic.data: Add a comment.
32659
87ef29ca
RM
32660 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32661 NODE when __dir_mkfile failed.
32662 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32663 Reported by Ludovic Courtès <ludo@gnu.org>.
32664
e5a6e567
AJ
326652012-04-24 Andreas Jaeger <aj@suse.de>
32666
32667 * Makerules (common-clean): Also remove gen-as-const-headers
32668 files.
32669
c1820385
JM
326702012-04-24 Joseph Myers <joseph@codesourcery.com>
32671
32672 * Makerules (native-compile): Do not change working directory for
32673 build. Use $(OUTPUT_OPTION) in command.
32674 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32675
94e02fc4
AZ
326762012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32677
32678 [BZ #13886]
32679 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32680 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32681 * math/libm-test.inc (floor_test): Add more tests.
32682 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32683
3a533ca3
JM
326842012-04-24 Joseph Myers <joseph@codesourcery.com>
32685
940ab4b3
JM
32686 * sysdeps/unix/getdents.c: Remove file.
32687 * sysdeps/unix/sysv/getdents.c: Likewise.
32688 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32689
90e037bd
JM
32690 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32691 sysdeps/unix/mman/syscalls.list.
32692 (mmap): Likewise.
32693 (mprotect): Likewise.
32694 (msync): Likewise.
32695 (munmap): Likewise.
32696 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32697 * sysdeps/unix/mman/syscalls.list: Remove.
32698 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32699
3a533ca3
JM
32700 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32701 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32702 * configure: Regenerated.
32703 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32704 $(libgcc_s_suffix).
32705 * config.make.in (libgcc_s_suffix): Remove variable.
32706
1ad743de
JM
327072012-04-23 Joseph Myers <joseph@codesourcery.com>
32708
4ad451e2
JM
32709 * sysdeps/unix/sysv/gethostname.c: Move to ...
32710 * sysdeps/posix/gethostname.c: ... here.
32711
5e37ce39
JM
32712 * sysdeps/unix/execve.S: Remove file.
32713
1ad743de
JM
32714 * sysdeps/unix/_exit.S: Remove file.
32715
4e681b5b
AJ
327162012-04-23 Andreas Jaeger <aj@suse.de>
32717
32718 [BZ #13739]
32719 * manual/Makefile: Remove make dist support, there's no
32720 need for a stand-alone documentation tar ball.
32721 (TEXI2DVI): Define always, it's not in Makeconfig.
32722 (dist): Removed.
32723 (tar-it): Removed.
32724 (edition): Removed.
32725 (glibc-doc-$(edition).tar): Removed
32726 (%.Z): Removed.
32727 (%.gz): Removed.
32728 (%.uu): Removed.
32729 (ETAGS): Remove, it's in Makeconfig.
32730 (move-if-change): Remove, it's in Makeconfig.
32731
38686a03 327322012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
32733
32734 [BZ #13970]
32735 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32736 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32737 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32738 (strtod_l, strtof_l, strtold_l): Remove __wur.
32739 It is not necessarily an error to ignore strtol's return value.
32740 One can reliably look at the stored endptr to decide whether
32741 the number had valid syntax.
32742
7c0616fa
AJ
327432012-04-21 Andreas Jaeger <aj@suse.de>
32744
803cb6b7 32745 [BZ #13739]
7c0616fa
AJ
32746 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32747
b0fe253f
JM
327482012-04-21 Joseph Myers <joseph@codesourcery.com>
32749
32750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32751 * sysdeps/unix/sysv/Versions: Remove file.
32752
8280f22d
MT
327532012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32754
32755 [BZ #13927]
32756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32757
75ce411f 327582012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
32759
32760 [BZ #7064]
32761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32762 version from __vm86.
32763
097d59fa
JM
327642012-04-20 Joseph Myers <joseph@codesourcery.com>
32765
a90f3bcb
JM
32766 * sysdeps/unix/common/lxstat.c: Remove file.
32767 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32768
edc7ea78
JM
32769 * sysdeps/unix/sysv/Makefile: Remove file.
32770
cb78c221
JM
32771 * sysdeps/unix/sysv/direct.h: Remove file.
32772
efa6a45f
JM
32773 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32774 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32775 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32776 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32777 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32778 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32779 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32780
9c9f2d0c
JM
32781 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32782
4541c83b
JM
32783 * sysdeps/unix/xmknod.c: Remove file.
32784 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32785
f5d153a0
JM
32786 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32787
aa746595
JM
32788 * sysdeps/unix/sysv/i386/time.S: Remove file.
32789
cce5905e
JM
32790 * sysdeps/unix/fxstat.c: Remove file.
32791 * sysdeps/unix/xstat.c: Likewise.
32792 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32793
37fa3841
JM
32794 * sysdeps/unix/sysv/sigaction.c: Remove file.
32795
ff1962a3
JM
32796 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32797 (sysdep_headers): Remove variable.
32798 [termio.h not in sysdep_headers] (generated): Likewise.
32799 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32800 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32801 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32802 * sysdeps/unix/sysv/tcflow.c: Likewise.
32803 * sysdeps/unix/sysv/tcflush.c: Likewise.
32804 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32805 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32806 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32807 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32808 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32809
e7740d31
JM
32810 * sysdeps/unix/siglist.c: Remove file.
32811
ee06f18b
JM
32812 * sysdeps/unix/getppid.S: Remove file.
32813
097d59fa
JM
32814 * sysdeps/unix/mkdir.c: Remove file.
32815 * sysdeps/unix/rmdir.c: Likewise.
32816
ff3d51ec
AS
328172012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32818
32819 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32820 ERR_MAX value.
32821 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32822 errlist-compat value.
32823
50f81fd7
DM
328242012-04-18 David S. Miller <davem@davemloft.net>
32825
32826 * sysdeps/generic/memcopy.h (reg_char): Delete.
32827 * debug/strcat_chk.c: Use char, not reg_char.
32828 * debug/strcpy_chk.c: Likewise.
32829 * debug/strncat_chk.c: Likewise.
32830 * debug/strncpy_chk.c: Likewise.
32831 * string/memchr.c: Likewise.
32832 * string/memrchr.c: Likewise.
32833 * string/rawmemchr.c: Likewise.
32834 * string/strcat.c: Likewise.
32835 * string/strchr.c: Likewise.
32836 * string/strchrnul.c: Likewise.
32837 * string/strcmp.c: Likewise.
32838 * string/strcpy.c: Likewise.
32839 * string/strncat.c: Likewise.
32840 * string/strncmp.c: Likewise.
32841 * string/strncpy.c: Likewise.
32842
8ff41c46
WS
328432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32844
32845 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32846 __builtin_memcopy is called when src and dest ranges are known to not
32847 overlap.
32848
6b652f46
WS
328492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32850
32851 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32852 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32853 fwd_align_merge macro call.
32854 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32855 bwd_align_merge macro call.
32856 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32857
b282631e
WS
328582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32859
32860 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32861 bwd_align_merge macros.
32862 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32863 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32864 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32865
95aa737c
DM
328662012-04-18 David S. Miller <davem@davemloft.net>
32867
32868 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32869
7a99a614
AJ
328702012-04-18 Andreas Jaeger <aj@suse.de>
32871
32872 [BZ# 6794]
32873 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32874 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32876
32877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32878 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32880
32881 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32882 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32883 Adjust for changed ldbl-128 files.
32884
32885 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32886 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32887 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32888
e5270c23
DM
328892012-04-17 David S. Miller <davem@davemloft.net>
32890
32891 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32892
fb5e92c9
AS
328932012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32894
32895 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32896 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32897 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32898 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32899 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32900 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32901
76da7265
AZ
329022012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32903
32904 [BZ #6794]
32905 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32906 * math/libm-test.inc: Add ilogb errno and exception tests.
32907 * math/w_ilogb.c: New file: ilogb wrapper.
32908 * math/w_ilogbf.c: New file: ilogbf wrapper.
32909 * math/w_ilogbl.c: New file: ilogbl wrapper.
32910 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32911 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32912 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32913 exception being thrown with 0.0 as argument.
32914 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32915 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32916 exception being thrown with 0.0 as argument.
32917 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32918 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32919 exception being thrown with 0.0 as argument.
32920 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32921 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32922 exception being thrown with 0.0 as argument.
32923 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32924 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32925 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32926 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32927 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32928 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32929 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32930 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32931 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32932
0396e69d
PB
329332012-04-17 Petr Baudis <pasky@ucw.cz>
32934
32935 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32936 with altivec.
32937
750b5926
MP
329382012-04-16 Marek Polacek <polacek@redhat.com>
32939
32940 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32941
751728a1
MP
329422012-04-16 Marek Polacek <polacek@redhat.com>
32943
32944 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32945 operands of fdivp instruction.
32946
34a27407
L
329472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32948
32949 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32950 * elf/tst-auditmod3b.c: Likewise.
32951 * elf/tst-auditmod4b.c: Likewise.
32952 * elf/tst-auditmod5b.c: Likewise.
32953 * elf/tst-auditmod6b.c: Likewise.
32954 * elf/tst-auditmod6c.c: Likewise.
32955 * elf/tst-auditmod7b.c: Likewise.
32956 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32957 * sysdeps/x86_64/preconfigure.in: Likewise.
32958 * sysdeps/x86_64/preconfigure: Regenerated.
32959
7e73e17d
L
329602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32961
32962 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32963 __ILP32__.
32964
c7a6ab72
AB
329652012-04-13 Antoine Balestrat <merkil33@gmail.com>
32966
32967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32968 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32969
a9e8e0e0
CL
329702012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32971
32972 [BZ #13973]
32973 * locale/iso-639.def: Fix gl language name. Spotted by
32974 Yaron Shahrabani.
32975
ec98af7d
RM
329762012-04-12 Roland McGrath <roland@hack.frob.com>
32977
32978 [BZ #2074]
32979 * libio/libio.h (__io_write_fn): Update comment.
32980
247c3ede
PB
329812012-04-12 Petr Baudis <pasky@ucw.cz>
32982
32983 [BZ #2074]
32984 * stdio.texi (Hook Functions): The user provided writer function
32985 is not allowed to return -1.
32986
55939d6d
DM
329872012-04-11 David S. Miller <davem@davemloft.net>
32988
32989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32990
90020f5a
MF
329912012-04-11 Mike Frysinger <vapier@gentoo.org>
32992
32993 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32994 Add a leading slash to rtkaio.
32995
288f9098
JM
329962012-04-11 Jim Meyering <meyering@redhat.com>
32997
90020f5a
MF
32998 [BZ #11959]
32999 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33000 It is not necessarily an error to ignore fwrite's return
33001 value. One can reliably use ferror to test for errors after
33002 the fact.
288f9098 33003
4be2b570
L
330042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * bits/types.h (__snseconds_t): New type.
33007 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33008
33009 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33011 (__SNSECONDS_T_TYPE): Likewise.
33012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33013 (__SNSECONDS_T_TYPE): Likewise.
33014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33015 (__SNSECONDS_T_TYPE): Likewise.
33016
288f9098 330172012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
33018
33019 [BZ #2636]
33020 * manual/time.texi (Processor Time): Return type of times is
33021 elapsed real time since an arbitrary point in the past.
33022 (CPU Time): Move CLK_TCK from here...
33023 (Processor Time): ...to here. Correct description.
33024 * manual/conf.texi (Constants for Sysconf): Correct description of
33025 _SC_CLK_TCK.
33026
d7dd4413
DM
330272012-04-10 David S. Miller <davem@davemloft.net>
33028
33029 [BZ #13967]
33030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33031 where the is a gap between DT_REL(A) and DT_JMPREL.
33032
b46068fc
L
330332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
33034
33035 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33036 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33037 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33038
73d65cc3
SP
330392012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33040
33041 * elf/dl-support.c (_dl_inhibit_cache): New variable.
33042 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33043 (dl_main): Handle --inhibit-cache.
33044 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33045 _dl_inhibit_cache.
33046 * elf/dl-load.c (_dl_map_object): Use it.
33047 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33048
bcc8d661
JM
330492012-04-09 Joseph Myers <joseph@codesourcery.com>
33050
8f9a2fae
JM
33051 [BZ #13872]
33052 * sysdeps/i386/fpu/e_powl.S (p78): New object.
33053 (__ieee754_powl): Saturate large exponents rather than testing for
33054 overflow of y*log2(x).
33055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33056 * math/libm-test.inc (pow_test): Do not permit spurious overflow
33057 exceptions.
33058
bcc8d661
JM
33059 [BZ #11521]
33060 * math/s_ctan.c: Include <float.h>.
33061 (__ctan): Avoid internal overflow or cancellation in calculating
33062 denominator.
33063 * math/s_ctanf.c: Likewise.
33064 * math/s_ctanl.c: Likewise.
33065 * math/s_ctanh.c: Likewise.
33066 * math/s_ctanhf.c: Likewise.
33067 * math/s_ctanhl.c: Likewise.
33068 * math/libm-test.inc (ctan_test): Add more tests.
33069 (ctanh_test): Likewise.
33070 * sysdeps/i386/fpu/libm-test-ulps: Update.
33071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33072
823fbbb4
AJ
330732012-04-09 Andreas Jaeger <aj@suse.de>
33074
03879793
AJ
33075 [BZ #6894]
33076 * manual/filesys.texi (Directory Entries): Mention that d_namlen
33077 is an optional BSD extension.
33078
823fbbb4
AJ
33079 [BZ #10254]
33080 * manual/stdio.texi (Opening Streams): Document additional fopen
33081 parameters.
33082
8de131cb
RM
330832012-04-09 Roland McGrath <roland@hack.frob.com>
33084
33085 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33086 %eax without telling the compiler.
33087
c0ed9d7d
CD
330882012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
33089
33090 [BZ # 13963]
33091 * manual/install.texi: Use sourceware.org.
33092
c483f6b4
JM
330932012-04-09 Joseph Myers <joseph@codesourcery.com>
33094
d7dd9453
JM
33095 [BZ #13873]
33096 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33097 (__ieee754_pow): Generate overflow and underflow using huge*huge
33098 and tiny*tiny rather than just returning constant infinity or zero
33099 for large exponents.
33100 * math/libm-test.inc (pow_test): Require overflow exceptions for
33101 applicable cases of large exponents.
33102
c483f6b4
JM
33103 [BZ #706]
33104 * sysdeps/i386/fpu/e_pow.S (p10): New object.
33105 (__ieee754_pow): Use iterative multiplication algorithm only for
33106 integer exponents with absolute value below 1024. Check for odd
33107 integer exponents when using algorithm for real exponents.
33108 * math/libm-test.inc (pow_test): Add more tests.
33109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33110
d2de7579
JM
331112012-04-08 Joseph Myers <joseph@codesourcery.com>
33112
33113 [BZ #13705]
33114 * math/libm-test.inc (exp_test): Do not allow overflow exception
33115 on underflow test.
33116
f77f1232
AJ
331172012-04-08 Aurelien Jarno <aurelien@aurel32.net>
33118
33119 [BZ #13705]
33120 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33121 instead of __kernel_standard_f.
33122
3884932b
MF
331232012-04-08 Mike Frysinger <vapier@gentoo.org>
33124
33125 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33126 * sysdeps/x86_64/memset_chk.S: Likewise.
33127
54472e9c
AJ
331282012-04-08 Andreas Jaeger <aj@suse.de>
33129
6ab0fbfc
AJ
33130 [BZ #10153]
33131 * manual/startup.texi (Environment Access): Describe return value
33132 for putenv and setenv.
33133
61efba8c
AJ
33134 [BZ #6895]
33135 * manual/filesys.texi (Directory Entries): Add description for
33136 DT_LNK.
33137
95c3f29a
AJ
33138 [BZ #6890]
33139 * manual/filesys.texi (Directory Entries): Clarify that it's file
33140 system not operating system in the description of DT_UNKNOWN.
33141
54472e9c
AJ
33142 [BZ #6578]
33143 * manual/syslog.texi (closelog): Fix reference, it's openlog.
33144
624254b1
SC
331452012-04-08 Stephen Compall <s11@member.fsf.org>
33146
33147 [BZ #6649]
33148 * manual/llio.texi (Opening and Closing Files): Add cross
33149 reference to explain mode argument.
33150
1e4920e0
MF
331512012-04-07 Mike Frysinger <vapier@gentoo.org>
33152
33153 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33154 * sysdeps/x86_64/memset_chk.S: Likewise.
33155
5ed848f3
DM
331562012-04-07 David S. Miller <davem@davemloft.net>
33157
33158 * elf/elf.h (R_SPARC_WDISP10): Define.
33159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33160 R_SPARC_SIZE32.
33161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33162 R_SPARC_SIZE64 and R_SPARC_H34.
33163
96154cd8
CD
331642012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
33165
33166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33167 conditions and remove no longer applicable assertion.
33168
9904dc47
L
331692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33170
33171 * bits/byteswap.h: Include <features.h>.
33172 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33173 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33174
f8887d0a
L
331752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
33176
33177 * bits/byteswap.h (__bswap_16): Removed.
33178 Include <bits/byteswap-16.h> to get __bswap_16.
33179 * sysdeps/i386/bits/byteswap.h: Likewise.
33180 * sysdeps/s390/bits/byteswap.h: Likewise.
33181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33182 * bits/byteswap-16.h: New file.
33183 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33184 * sysdeps/s390/bits/byteswap-16.h: Likewise.
33185 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33186 * string/Makefile (headers): Add bits/byteswap-16.h.
33187
62470f60
PP
331882012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33189
33190 [BZ #13895]
33191 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33192 extra indirection.
33193 * nss/Makefile (tests-static, tests): Add tst-nss-static.
33194 * nss/tst-nss-static.c: New.
33195
4dad7bab
RM
331962012-04-06 Robert Millan <rmh@gnu.org>
33197
33198 [BZ #6486]
33199 * manual/llio.texi (File Position Primitive): lseek
33200 refers to WHENCE when it really means OFFSET.
33201
e9142a17
AJ
332022012-04-06 Andreas Jaeger <aj@suse.de>
33203
2c040eff
AJ
33204 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33205 strncmp declarations.
33206
e9142a17
AJ
33207 * abilist/libc.abilist: Add __poll and __ppoll.
33208
ff9f1c5f
DM
332092012-04-05 David S. Miller <davem@davemloft.net>
33210
dcd2ae90
DM
33211 * scripts/check-local-headers.sh: Accept a host triplet in the
33212 path matched by the exclude regexp.
33213
993eb054
DM
33214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33215 definition.
33216 * sysdeps/powerpc/powerpc32/dl-machine.h
33217 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33218 * sysdeps/s390/s390-32/dl-machine.h
33219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33220 * sysdeps/sparc/sparc32/dl-machine.h
33221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33222 * sysdeps/sparc/sparc64/dl-machine.h
33223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33224
ff9f1c5f
DM
33225 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33226 lazy binding.
48e2e132 33227 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
33228 undefined symbol errors.
33229
48e2e132 33230 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
33231 DT_NEEDED entries.
33232
e80d6f94
MM
332332012-04-05 Michael Matz <matz@suse.de>
33234
33235 [BZ #13592]
33236 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33237
349fa79f
AJ
332382012-04-05 Andreas Jaeger <aj@suse.de>
33239
33240 [BZ #13908]
33241 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33242 comment.
33243
f402708f
KK
332442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33245
33246 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33247 which ROUND is no valid rounding mode.
33248
2ecccfc9
KK
332492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33250
33251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33252 read again.
33253 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33254
8a53f50f
KK
332552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33256
33257 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33258 an exception using FPU order intentionally.
33259
332602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33261
33262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33263 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33264 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33265 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33266
d653abb7
SJ
332672012-04-05 Simon Josefsson <simon@josefsson.org>
33268
33269 [BZ #12340]
33270 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33271 EINVAL when BUFLEN is too smal.
33272
c3b1bf7d
TS
332732012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33274
33275 [BZ #13553]
33276 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33277 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33278
b1aa60f3
AJ
332792012-04-03 Andreas Jaeger <aj@suse.de>
33280
c3b1bf7d 33281 [BZ #13938]
67f60a26
AJ
33282 * manual/setjmp.texi (System V contexts): Fix sentence.
33283
b1aa60f3
AJ
33284 [BZ #13926]
33285 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33286 New macro for this case.
33287 [!__GNUC__] (__bswap_64): New inline function for this case.
33288 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33289 * bits/byteswap.h: Likewise.
33290 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33291 ull, guard with __GLIBC_HAVE_LONG_LONG.
33292
33293 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33294 __GLIBC_HAVE_LONG_LONG.
33295
33296 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33297 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33298
39c59c35
TMQMF
332992012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33300
33301 [BZ #13691]
33302 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33303 inptr and inend, rather than using last_ch.
33304
135ffda8
DM
333052012-04-02 David S. Miller <davem@davemloft.net>
33306
33307 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33308 * stdio-common/printf-parse.h (read_int): Change return type to
33309 'int', return -1 on INT_MAX overflow.
33310 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33311 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33312 overflows INT_MAX. Check for overflow of in-format-string precision
33313 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33314 SIZE_MAX not INT_MAX for integer overflow test.
33315 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33316 skip the construct in the format string but do not record anything.
33317 * stdio-common/bug22.c: Adjust to test both width/prevision
33318 INT_MAX overflow as well as total length INT_MAX overflow. Check
33319 explicitly for proper errno values.
33320
228c019e
TS
333212012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33322
302cadd3
TS
33323 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33324 CHAR_MAX.
33325 * string/test-strcmp.c [! WIDE]: Likewise.
33326 * time/tst-mktime2.c: Likewise for INT_MAX.
33327 * string/test-string.h: #include <sys/param.h> for MIN.
33328
228c019e
TS
33329 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33330 * sysdeps/i386/init-first.c (init): Likewise.
33331 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33332 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33333 * sysdeps/sh/init-first.c (init): Likewise.
33334
cfa633f5
UD
333352012-04-01 Ulrich Drepper <drepper@gmail.com>
33336
33337 * po/ru.po: Update from translation team.
d1635ef8 33338 * po/vi.po: Likewise.
cfa633f5 33339
6cd0a5ea
SP
333402012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33341
33342 * resolv/nss_dns/dns-host.c: Merge copyright years.
33343
4b43400f
LD
333442012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33345
33346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33347 Optimize memcpy with prefetch if
33348 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33349 src, dst pointers have unequal 16 byte alignments.
33350
48c41d04
SP
333512012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33352
33353 [BZ #13928]
33354 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33355 from a CNAME entry and return the minimum ttl for the query.
33356 (gaih_getanswer_slice): Likewise.
33357
b8dc394d
JL
333582012-03-30 Jeff Law <law@redhat.com>
33359
33360 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33361 due to long keys.
33362 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33363 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33364
2f5a5ed0
JL
33365 * resolv/nss_dns/dns-host.c: Update copyright year.
33366
1d39e359
UD
333672012-03-30 Ulrich Drepper <drepper@gmail.com>
33368
c030f70c 33369 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 33370 requests to save a system call. Fix check that all bytes are sent.
c030f70c 33371
1d39e359
UD
33372 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33373 comments for sendmmsg.
33374
333752012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
33376
33377 [BZ #13691]
33378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33379 with only 1 character between 0x0041 and 0x01b0.
33380 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33381 * wcsmbs/tst-mbsnrtowcs.c: New file.
33382
20fde227
DM
333832012-03-29 David S. Miller <davem@davemloft.net>
33384
33385 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33386 small copies by hand.
33387
984a4237
JL
333882012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33389
33390 [BZ #13761]
57f41c40
AS
33391 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33392 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33393 group memberships.
984a4237 33394
18c9d62b
DM
333952012-03-28 David S. Miller <davem@davemloft.net>
33396
88d85d4f
DM
33397 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33398 that branches into memcpy.
33399 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33401 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33402 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33403 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33404 bits.
33405 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33406 implementation too.
33407 * sysdeps/sparc/mempcpy.S: New file.
33408
e5aa83e1
DM
33409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33410 the IFUNC routine in the libc case.
33411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33412
88570753
DM
33413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33414 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33415 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33417 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33418 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33419 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33420 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33421
249d7567
DM
33422 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33423 loop to 256 bytes instead of 64 bytes and fix test signedness.
33424
18c9d62b
DM
33425 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33426 * sysdeps/sparc/sparc32/Makefile: rather than here...
33427 * sysdeps/sparc/sparc64/Makefile: and here.
33428
05f3d1f6
UD
334292012-03-28 Ulrich Drepper <drepper@gmail.com>
33430
33431 * malloc/mallocbug.c: Avoid warnings about unused variables.
33432
86ae07a8
JL
334332012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33434
33435 [BZ #13760]
33436 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33437 in the right place. Discard and retry query if response is
33438 larger than input buffer size.
33439
41bf21a1
JM
334402012-03-28 Joseph Myers <joseph@codesourcery.com>
33441
d6270972
JM
33442 [BZ #369]
33443 [BZ #2678]
33444 [BZ #3866]
33445 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33446 x for large integer exponent.
33447 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33448 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33449 sign of result as needed afterwards.
33450 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33451 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33452 result for underflowing pow the same as for overflow.
33453 (__kernel_standard_l): Handle powl overflow and underflow here
33454 rather than calling __kernel_standard.
33455 * math/libm-test.inc (pow_test): Add more tests.
33456
414fca03 33457 [BZ #3868]
41bf21a1
JM
33458 [BZ #13879]
33459 [BZ #13910]
33460 [BZ #13911]
33461 [BZ #13912]
33462 [BZ #13913]
33463 [BZ #13915]
33464 [BZ #13916]
33465 [BZ #13917]
33466 [BZ #13918]
33467 [BZ #13919]
33468 [BZ #13920]
33469 [BZ #13921]
33470 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33471 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33472 (__kernel_standard_l): New function.
33473 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33474 __kernel_standard.
33475 * math/w_acosl.c (__acosl): Likewise.
33476 * math/w_asinl.c (__asinl): Likewise.
33477 * math/w_atan2l.c (__atan2l): Likewise.
33478 * math/w_atanhl.c (__atanhl): Likewise.
33479 * math/w_coshl.c (__coshl): Likewise.
33480 * math/w_exp10l.c (__exp10l): Likewise.
33481 * math/w_exp2l.c (__exp2l): Likewise.
33482 * math/w_fmodl.c (__fmodl): Likewise.
33483 * math/w_hypotl.c (__hypotl): Likewise.
33484 * math/w_j0l.c (__j0l, __y0l): Likewise.
33485 * math/w_j1l.c (__j1l, __y1l): Likewise.
33486 * math/w_jnl.c (__jnl, __ynl): Likewise.
33487 * math/w_lgammal.c (__lgammal): Likewise.
33488 * math/w_log10l.c (__log10l): Likewise.
33489 * math/w_log2l.c (__log2l): Likewise.
33490 * math/w_logl.c (__logl): Likewise.
33491 * math/w_powl.c (__powl): Likewise.
33492 * math/w_remainderl.c (__remainderl): Likewise.
33493 * math/w_scalbl.c (sysv_scalbl): Likewise.
33494 * math/w_sinhl.c (__sinhl): Likewise.
33495 * math/w_sqrtl.c (__sqrtl): Likewise.
33496 * math/w_tgammal.c (__tgammal): Likewise.
33497 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33498 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33499 * math/libm-test.inc (acos_test): Add more tests.
33500 (acosh_test): Likewise.
33501 (asin_test): Likewise.
33502 (atanh_test): Likewise.
33503 (exp_test): Likewise.
33504 (exp10_test): Likewise.
33505 (exp2_test): Likewise.
33506 (expm1_test): Likewise.
33507 (lgamma_test): Likewise.
33508 (log_test): Likewise.
33509 (log10_test): Likewise.
33510 (log1p_test): Likewise.
33511 (log2_test): Likewise.
33512 (pow_test): Do not allow some spurious overflow exceptions.
33513 (sqrt_test): Add more tests.
33514 (tgamma_test): Likewise.
33515 (y0_test): Likewise.
33516 (y1_test): Likewise.
33517 (yn_test): Likewise.
33518
dd62fda6
AB
335192012-03-27 Anton Blanchard <anton@samba.org>
33520
33521 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33522 MAP_HUGETLB.
33523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33526
1e3cdfda
AJ
335272012-03-27 David S. Miller <davem@davemloft.net>
33528
b855ab85
DM
33529 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33530
1e3cdfda
AJ
33531 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33532 have-as-vis3 check.
33533
335342012-03-27 Andreas Jaeger <aj@suse.de>
33535
33536 * sysdeps/x86_64/elf/configure.in: Moved to ...
33537 * sysdeps/x86_64/configure.in: ... here.
33538 * sysdeps/x86_64/elf/start.S: Moved to ...
33539 * sysdeps/x86_64/start.S: ... here.
33540 * sysdeps/x86_64/elf/configure: Delete.
33541
33542 * sysdeps/x86_64/configure.in: Merge contents from
33543 sysdeps/i386/configure.in (without i686 check).
33544
33545 * sysdeps/i386/elf/Versions: Merge into ...
33546 * sysdeps/i386/Versions: ... this.
33547 * sysdeps/i386/elf/Versions: Delete file.
33548 * sysdeps/i386/elf/start.S: Moved to ...
33549 * sysdeps/i386/start.S: ...here.
33550 * sysdeps/i386/elf/configure.in: Merge into...
33551 * sysdeps/i386/configure.in: ...here.
33552 * sysdeps/i386/elf/configure.in: Delete file.
33553 * sysdeps/i386/elf/configure: Delete file.
33554
33555 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33556 * debug/backtracesyms.c: ... here.
33557 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33558 * debug/backtracesymsfd.c: ... here.
33559 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33560 * sysdeps/generic/ifunc-sel.h: ... here.
33561
33562 * sysdeps/unix/i386/start.c: Delete file.
33563 * sysdeps/unix/sparc/start.c: Delete file.
33564 * sysdeps/unix/start.c: Delete file.
33565
33566 * sysdeps/sh/elf/configure.in: Moved to ...
33567 * sysdeps/sh/configure.in: ... here.
33568 * sysdeps/sh/elf/start.S: Moved to ...
33569 * sysdeps/sh/start.S: ... here.
33570 * sysdeps/sh/elf/configure: Delete file.
33571
33572 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33573 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33574 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33575 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33576 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33577 * sysdeps/powerpc/powerpc64/start.S: here.
33578 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33579 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33580 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33581 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33582 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33583
33584 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33585 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33586 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33587 * sysdeps/powerpc/powerpc32/start.S: ... here.
33588 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33589 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33590 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33591
33592 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33593 * sysdeps/powerpc/ifunc-sel.h: ... here.
33594 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33595 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33596
33597 * sysdeps/sparc/elf/configure.in: Moved to ...
33598 * sysdeps/sparc/configure.in: ... here.
33599 * sysdeps/sparc/elf/configure: Delete file.
33600 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33601 * sysdeps/sparc/sparc32/start.S: ... here.
33602 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33603 * sysdeps/sparc/sparc64/start.S: ... here.
33604 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33605 * sysdeps/sparc/sparc32/Makefile: ... this.
33606 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33607 * sysdeps/sparc/sparc64/Makefile: ... this.
33608
33609 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33610 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33611 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33612 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33613 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33614 * sysdeps/s390/s390-32/setjmp.S: ... here.
33615 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33616 * sysdeps/s390/s390-32/configure.in: ... here.
33617 * sysdeps/s390/s390-32/elf/configure: Delete file.
33618 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33619 * sysdeps/s390/s390-32/start.S: ... here.
33620
33621 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33622 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33623 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33624 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33625 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33626 * sysdeps/s390/s390-64/setjmp.S: ... here.
33627 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33628 * sysdeps/s390/s390-64/configure.in: ... here
33629 * sysdeps/s390/s390-64/elf/configure: Delete file.
33630 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33631 * sysdeps/s390/s390-64/start.S: ... here.
33632 * sysdeps/s390/s390-64/elf/configure: Delete.
33633
33634 * configure.in: Remove support for elf directories in sysdeps.
33635
33636 * configure: Regenerated.
33637 * sysdeps/i386/configure: Regenerated.
33638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33640 * sysdeps/s390/s390-32/configure: Regenerated.
33641 * sysdeps/s390/s390-64/configure: Regenerated.
33642 * sysdeps/sh/configure: Regenerated.
33643 * sysdeps/sparc/configure: Regenerated.
33644 * sysdeps/x86_64/configure: Regenerated.
33645
a3f61311
AS
336462012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33647
c876e002
AS
33648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33649
a3f61311
AS
33650 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33651 denormal result into account.
33652
ac4c54f0
RM
336532012-03-25 Roland McGrath <roland@hack.frob.com>
33654
33655 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33656 Reported by Allan McRae <allan@archlinux.org>.
33657
6a9b9c02
JL
336582012-03-23 Jeff Law <law@redhat.com>
33659
33660 * nss/getnssent.c (__nss_getent): Fix typo.
33661
4c42a0c1
DM
336622012-03-23 David S. Miller <davem@davemloft.net>
33663
33664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33665
1532c7ac
L
336662012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33667
33668 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33669 to pad to uint64_t for each field.
33670 (dl_tls_index): Replace unsigned long with uint64_t.
33671
3ff42526
PP
336722012-03-23 Daniel Jacobowitz <dmj@google.com>
33673 Paul Pluzhnikov <ppluzhnikov@google.com>
33674
33675 [BZ #6528]
33676 * grp/Makefile (otherlibs): Don't set it.
33677 * inet/Makefile (otherlibs): Likewise.
33678 * login/Makefile (otherlibs): Likewise.
33679 * nscd/Makefile (otherlibs): Likewise.
33680 * posix/Makefile (otherlibs): Likewise.
33681 * pwd/Makefile (otherlibs): Likewise.
33682 * rt/Makefile (otherlibs): Likewise.
33683 * sunrpc/Makefile (otherlibs): Likewise.
33684 * nss/Makefile (otherlibs): Likewise.
33685 Add libnss_files to routines and static-only-routines.
33686 ($(objpfx)getent): Remove rule.
33687 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33688 static-only-routines.
33689
7c69cd14
JM
336902012-03-22 Joseph Myers <joseph@codesourcery.com>
33691
33692 [BZ #13892]
33693 * math/s_cexp.c: Include <float.h>.
33694 (__cexp): Handle exp result overflowing not necessarily
33695 overflowing both real and imaginary parts of result.
33696 * math/s_cexpf.c: Likewise.
33697 * math/s_cexpl.c: Likewise.
33698 * math/libm-test.inc (cexp_test): Add more tests.
33699 * sysdeps/i386/fpu/libm-test-ulps: Update.
33700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33701
81b035fe
L
337022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33703
33704 * include/link.h (ELFW): New macro.
33705 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33706 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33707
1da7940c
L
337082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33709
33710 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33711 with uint64_t.
33712
b749dbb9
L
337132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33714
33715 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33716 declaration.
33717 (struct La_x32_retval): Likewise.
33718
2ff87f3f
L
337192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33720
33721 * sysdeps/x86_64/preconfigure.in: New file.
33722 * sysdeps/x86_64/preconfigure: New generated file.
33723
c0df8e69
JM
337242012-03-22 Joseph Myers <joseph@codesourcery.com>
33725
48e44791
JM
33726 [BZ #13824]
33727 * math/e_exp2l.c: Include <float.h>.
33728 (__ieee754_exp2l): Handle overflow and underflow cases
33729 separately. Only pass fractional part of argument to
33730 __ieee754_expl.
33731 * math/libm-test.inc (exp2_test): Add more tests.
33732
c0df8e69
JM
33733 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33734 negating x to take absolute value.
33735 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33736 Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33739 Likewise.
33740 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33741 computing low part if x was negated.
33742 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33743
c8e43ba7
L
337442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33745
33746 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33747 la_x32_gnu_pltexit.
33748 (pltexit): Cast int_retval to ptrdiff_t.
33749 * elf/tst-auditmod3b.c: Likewise.
33750 * elf/tst-auditmod4b.c: Likewise.
33751 * elf/tst-auditmod5b.c: Likewise.
33752 * elf/tst-auditmod6b.c: Likewise.
33753 * elf/tst-auditmod6c.c: Likewise.
33754 * elf/tst-auditmod7b.c: Likewise.
33755
33756 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33757 and x32_gnu_pltexit.
33758
33759 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33760 __ELF_NATIVE_CLASS.
33761 (La_x32_regs): New macro.
33762 (La_x32_retval): Likewise.
33763 (la_x32_gnu_pltenter): New function prototype.
33764 (la_x32_gnu_pltexit): Likewise.
33765
7998fa78
AS
337662012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33767
dcb33988
AS
33768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33769 exponent.
33770
233fc563
AS
33771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33772
7998fa78
AS
33773 * configure.in (libc_cv_cc_nofma): Check for option to disable
33774 generation of FMA instructions.
33775 * configure: Regenerate.
33776 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33777 * sysdeps/ieee754/dbl-64/Makefile: New file.
33778 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33779 Remove brandred-fma4.
33780 (CFLAGS-brandred-fma4.c): Remove.
33781 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33782 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33783 define.
33784 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33785 define.
33786
8e95c99a
L
337872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33788
33789 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33790 LLONG_MAX != LONG_MAX.
33791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33792 (_fitoa_word): Likewise.
33793 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33794 LLONG_MAX != LONG_MAX.
33795 * stdio-common/_itowa.h: Include <_itoa.h>.
33796 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33797 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33798 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33799 only if not defined.
33800 (_ITOA_WORD_TYPE): Likewise.
33801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33802 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33803
6f4db457
DM
338042012-03-21 David S. Miller <davem@davemloft.net>
33805
33806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33807
7785fe5a
L
338082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33809
33810 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33811 of x86_64 when setting libc_cv_slibdir, libdir and
33812 libc_cv_localedir.
33813 * sysdeps/unix/sysv/linux/configure: Regenerated.
33814
4535cd55
JM
338152012-03-21 Joseph Myers <joseph@codesourcery.com>
33816
33817 * manual/lang.texi (Old Varargs): Remove section.
33818 (How Variadic): Update menu.
33819 (va_start): Do not mention varargs.h.
33820
17228132
TS
338212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33822 Joseph Myers <joseph@codesourcery.com>
33823
33824 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33825 link test.
33826 * configure: Regenerated.
33827
8149f976
TS
338282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33829
05f3d1f6
UD
33830 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33831 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33832 conformtest.pl
8149f976 33833
1a4ac776
JM
338342012-03-21 Joseph Myers <joseph@codesourcery.com>
33835
be22ce65
JM
33836 * NOTES: Remove.
33837 * Makefile (files-for-dist): Remove NOTES.
33838 (NOTES): Remove rule.
33839 * README: Don't refer to NOTES.
33840 * manual/creature.texi: Don't include macros.texi.
33841 * manual/intro.texi (creature.texi): Remove comment referring to
33842 NOTES.
33843
40b601fb
JM
33844 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33845 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33846 * configure: Regenerated.
33847 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33848 LIBC_TRY_CC_OPTION.
33849 (libc_cv_as_i686): Likewise.
33850 (libc_cv_cc_avx): Likewise.
33851 (libc_cv_cc_sse2avx): Likewise.
33852 (libc_cv_cc_fma4): Likewise.
33853 (libc_cv_cc_novzeroupper): Likewise.
33854 * sysdeps/i386/configure: Regenerated.
33855
1a4ac776
JM
33856 [BZ #13883]
33857 * sysdeps/i386/fpu/s_cexp.S: Remove.
33858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33859 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33860 * math/libm-test.inc (cexp_test): Add more tests.
33861 * sysdeps/i386/fpu/libm-test-ulps: Update.
33862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33863
a458e7fe
AM
338642012-03-21 Allan McRae <allan@archlinux.org>
33865
33866 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33867
0cb7efc5
JM
338682012-03-21 Joseph Myers <joseph@codesourcery.com>
33869
33870 [BZ #13871]
33871 * math/w_exp2.c: Do not include <float.h>.
33872 (o_threshold, u_threshold): Remove.
33873 (__exp2): Calculate result before checking finiteness and calling
33874 __kernel_standard.
33875 * math/w_exp2f.c: Likewise.
33876 * math/w_exp2l.c: Likewise.
33877 * math/libm-test.inc (exp2_test): Require overflow exception for
33878 1e6 input.
2460d3aa
JM
33879
33880 [BZ #3866]
33881 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33882 range of signed 64-bit integers before using fistpll. Remove
33883 checks for whether integers fit in mantissa bits.
33884 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33885 the range of signed 32-bit integers before using fistpl. Remove
33886 checks for whether integers fit in mantissa bits.
33887 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33888 (__ieee754_powl): Test for y outside the range of signed 64-bit
33889 integers before using fistpll. Reduce 64-bit values to 63-bit
33890 ones as needed.
33891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33892 divide-by-zero is raised for zero to large negative powers.
33893 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33894 (__ieee754_powl): Test for y outside the range of signed 64-bit
33895 integers before using fistpll. Reduce 64-bit values to 63-bit
33896 ones as needed.
33897 * math/libm-test.inc (pow_test): Add more tests.
33898
eb96ffb0
L
338992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33900
33901 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33902 <stdio-common/_itoa.h>.
33903 * debug/segfault.c: Likewise.
33904 * elf/dl-cache.c: Likewise.
33905 * elf/dl-minimal.c: Likewise.
33906 * elf/dl-misc.c: Likewise.
33907 * elf/dl-sysdep.c: Likewise.
33908 * elf/dl-version.c: Likewise.
33909 * elf/rtld.c: Likewise.
33910 * hurd/hurdsock.c: Likewise.
33911 * hurd/lookup-retry.c: Likewise.
33912 * malloc/malloc.c: Likewise.
33913 * malloc/mtrace.c: Likewise.
33914 * nscd/nscd_getgr_r.c: Likewise.
33915 * nscd/nscd_getpw_r.c: Likewise.
33916 * nscd/nscd_getserv_r.c: Likewise.
33917 * posix/getopt_init.c: Likewise.
33918 * posix/wordexp.c: Likewise.
33919 * stdio-common/_itoa.c: Likewise.
33920 * stdio-common/printf_fphex.c: Likewise.
33921 * stdio-common/vfprintf.c: Likewise.
33922 * string/_strerror.c: Likewise.
33923 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33924 * sysdeps/i386/i686/hp-timing.h: Likewise.
33925 * sysdeps/mach/_strerror.c: Likewise.
33926 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33927 * sysdeps/mach/hurd/sethostid.c: Likewise.
33928 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33929 * sysdeps/mach/xpg-strerror.c: Likewise.
33930 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33931 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33932 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33933 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33934 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33935 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33937 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33938 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33939 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33940 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33941 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33942 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33943 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33944 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33945 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33946 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33947 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33948 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33949 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33950 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33951
33952 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33953
33954 * stdio-common/_itoa.h: Moved to ...
33955 * sysdeps/generic/_itoa.h: Here.
33956
33957 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33958
33959 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33960 instead of "_itoa.h" and "_itowa.h".
33961 * stdio-common/vfprintf.: Likewise.
33962
d1af992d
L
339632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33964
33965 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33966 <bits/wordsize.h>.
33967 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33968 (__signbit): Likwise.
33969 (llrintf): Likwise.
33970 (llrint): Likwise.
33971
114883e0
L
339722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33973
33974 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33975 __WORDSIZE != 64.
33976
c135cc1b
JM
339772012-03-20 Joseph Myers <joseph@codesourcery.com>
33978
33979 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33980 OVERFLOW_EXCEPTION_OK.
33981 * math/libm-test.inc ("Philosophy"): Update comment about
33982 exception testing.
33983 (OVERFLOW_EXCEPTION): Define.
33984 (OVERFLOW_EXCEPTION_OK): Likewise.
33985 (INVALID_EXCEPTION_OK): Renumber.
33986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33987 (IGNORE_ZERO_INF_SIGN): Likewise.
33988 (test_exceptions): Handle FE_OVERFLOW.
33989 (exp10_test): Expect overflow exceptions.
33990 (exp2_test): Likewise.
33991 (expm1_test): Likewise.
33992 (nextafter_test): Likewise.
33993 (pow_test): Likewise.
33994 (scalbn_test): Likewise.
33995 (scalbln_test): Likewise.
33996
95443d88
L
339972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33998
33999 * sysdeps/x86_64/bits/atomic.h
34000 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34001 64bit integer.
34002 (atomic_exchange_acq): Likewise.
34003 (__arch_exchange_and_add_body): Likewise.
34004 (__arch_add_body): Likewise.
34005 (atomic_add_negative): Likewise.
34006 (atomic_add_zero): Likewise.
34007
490df6c4
L
340082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34009
c2722551 34010 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
34011 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34012
5e52b189
L
340132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34014
34015 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34016 Check __x86_64__ instead of __WORDSIZE.
34017
a9879d4c
L
340182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34019
34020 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34021
5df98260
DM
340222012-03-19 David S. Miller <davem@davemloft.net>
34023
e1497744
DM
34024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34025
5df98260
DM
34026 * sysdeps/sparc/fpu/fenv_private.h: New file.
34027 * sysdeps/sparc/fpu/math_private.h: Use it.
34028 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34029 Remove.
57f41c40 34030 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
34031 (libc_feholdexcept_setroundl): Remove.
34032 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34033 Remove.
34034 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34035 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34036
b4c35121
L
340372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34038
34039 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34040 int64_t instead of long int.
34041 (INSERT_WORDS64): Likwise.
34042
56965fd7
L
340432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
34044
34045 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34046 _Unwind_GetCFA return to _Unwind_Ptr first.
34047
83d1aec8
JM
340482012-03-19 Joseph Myers <joseph@codesourcery.com>
34049
1897ad44
JM
34050 [BZ #13629]
34051 * math/s_clog.c: Include <float.h>.
34052 (__clog): Scale large or subnormal inputs.
34053 * math/s_clogf.c: Likewise.
34054 * math/s_clogl.c: Likewise.
34055 * math/s_clog10.c: Include <float.h>.
34056 (M_LOG10_2): Define.
34057 (__clog10): Scale large or subnormal inputs.
34058 * math/s_clog10f.c: Likewise.
34059 * math/s_clog10l.c: Likewise.
34060 * math/libm-test.inc (clog_test): Add more tests.
34061 (clog10_test): Likewise.
34062 * sysdeps/i386/fpu/libm-test-ulps: Update.
34063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34064
7726d6a9
JM
34065 [BZ #11451]
34066 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34067 x and y.
34068 * math/libm-test.inc (atan2_test): Add another test.
34069
83d1aec8
JM
34070 * Makerules (common-objdir-compile): Remove.
34071 * sysdeps/unix/Makefile (config-generated): Do not add
34072 $(unix-generated) to variable.
34073 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34074 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34075 Remove rule.
34076 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34077 Likewise.
34078 [generic bits/local_lim.h] (before-compile): Do not append to
34079 variable.
34080 [generic bits/local_lim.h] (common-generated): Likewise.
34081 [generic sys/param.h] (before-compile): Do not append to variable.
34082 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34083 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34085 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34086 include.
34087 [generic sys/param.h] (sys/param.h-includes): Remove variable.
34088 [generic sys/param.h] (sys/param.h-includes): Remove rule.
34089 [generic sys/param.h] ($(addprefix
34090 $(common-objpfx),$(sys/param.h-includes))): Likewise.
34091 [generic sys/param.h] (common-generated): Do not append to
34092 variable.
34093 [generic sys/param.h] (sysdep_headers): Likewise.
34094 [generic bits/errno.h] (before-compile): Do not append to
34095 variable.
34096 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34097 rule.
34098 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34099 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34100 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34101 [generic bits/errno.h] (common-generated): Do not append to
34102 variable.
34103 [generic bits/ioctls.h] (before-compile): Do not append to
34104 variable.
34105 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34106 rule.
34107 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34108 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34109 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34110 rule.
34111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34112 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34113 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34114 [generic bits/ioctls.h] (common-generated): Do not append to
34115 variable.
34116 [generic sys/syscall.h] (syscall.h): Remove variable.
34117 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34118 rule.
34119 [generic sys/syscall.h] (before-compile): Do not append to
34120 variable.
34121 [generic sys/syscall.h] (common-generated): Likewise.
34122 * sysdeps/unix/errnos-tmpl.c: Remove file.
34123 * sysdeps/unix/errnos.awk: Likewise.
34124 * sysdeps/unix/ioctls-tmpl.c: Likewise.
34125 * sysdeps/unix/ioctls.awk: Likewise.
34126 * sysdeps/unix/mk-local_lim.c: Likewise.
34127 * sysdeps/unix/snarf-ioctls: Likewise.
34128
4851a949
RH
341292012-03-19 Richard Henderson <rth@twiddle.net>
34130
bd37f2ee
RH
34131 * sysdeps/i386/fpu/fenv_private.h: New file.
34132 * sysdeps/i386/fpu/math_private.h: Use it.
34133 (math_opt_barrier, math_force_eval): Remove.
34134 (libc_feholdexcept_setround_53bit): Remove.
34135 (libc_feupdateenv_53bit): Remove.
34136 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34137 (math_opt_barrier, math_force_eval): Remove.
34138 (libc_feholdexcept): Remove.
34139 (libc_feholdexcept_setround): Remove.
34140 (libc_fetestexcept, libc_fesetenv): Remove.
34141 (libc_feupdateenv_test): Remove.
34142 (libc_feupdateenv, libc_feholdsetround): Remove.
34143 (libc_feresetround): Remove.
34144
d0adc922
RH
34145 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34146 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34147
0fe0f1f8
RH
34148 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34149 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34150 (libc_feupdateenv_testl): New.
34151 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34152 (libc_feupdateenv_testf): New.
34153 (libc_feupdateenv): Use libc_feupdateenv_test.
34154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34156
eb92c487
RH
34157 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34158 (libc_feholdsetroundf, libc_feholdsetroundl): New.
34159 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34160 (libc_feresetround_noex): New.
34161 (libc_feresetround_noexf): New.
34162 (libc_feresetround_noexl): New.
34163 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34164 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34165 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34167 SET_RESTORE_ROUND.
34168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34170 (__cos): Likewise.
34171 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34172 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34173 SET_RESTORE_ROUND_NOEX.
34174 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34175 SET_RESTORE_ROUND_NOEXF.
34176 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34177 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34178 (libc_feholdsetroundf): New.
34179 (libc_feresetround, libc_feresetroundf): New.
34180
7d2e8012
RH
34181 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34182 (libc_feholdexcept_setround_53bit): Convert from macro to function.
34183 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
34184
b4dabbb4
RH
34185 * sysdeps/generic/math_private.h: Include <fenv.h>.
34186 (default_libc_feholdexcept): New.
34187 (default_libc_feholdexcept_setround): New.
34188 (default_libc_fesetenv, default_libc_feupdateenv): New.
34189 (libc_feholdexcept): Only define if undefined.
34190 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34191 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34192 (libc_feholdexcept_setroundl): Likewise.
34193 (libc_feholdexcept_setround_53bit): Likewise.
34194 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34195 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34196 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34197 (libc_feupdateenv_53bit): Likewise.
34198 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34199 (libc_feholdexcept): Convert from macro to inline function.
34200 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34201 (libc_fesetenv, libc_feupdateenv): Likewise.
34202
4851a949
RH
34203 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34204 not previously defined.
34205 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34206 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34207 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34208 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34209 * sysdeps/ieee754/flt-32/math_private.h: New file.
34210 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34211 math_private.h below SET_FLOAT_WORD.
34212 (__isnan, __isinf_ns, __finite): Remove.
34213 (__isnanf, __isinf_nsf, __finitef): Remove.
34214
e79d442e
AS
342152012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34216
34217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34218
90b80344
DM
342192012-03-17 David S. Miller <davem@davemloft.net>
34220
34221 [BZ #6471]
34222 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34223 for 2.16.
34224
edc21804
DM
342252012-03-16 David S. Miller <davem@davemloft.net>
34226
77e927af
DM
34227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34228 warnings.
34229
374976dd
DM
34230 [BZ #6471]
34231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34232 properly.
34233 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34234 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34235 sysdep_routines when subdir is sysvipc.
34236 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34237 __getshmlba helper.
34238
edc21804
DM
34239 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34240
473c3ef3
L
342412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34242
34243 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34244 [__LP64__].
34245
eb0f39b6
L
342462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34247
34248 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34249 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34250 (__lround): Renamed to ...
34251 (__llround): This. Replace long int with long long int.
34252 Define lround functions as aliases of llround functions.
34253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34254
6b6cd74b
L
342552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34256
34257 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34258 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34259 adresses to uintptr_t. Replace "long int" and "unsigned long
34260 int" with "greg_t" on va_arg.
34261
f1a77b01
L
342622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34263
34264 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34265 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34266
34267 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34268 Move e_machine check before EI_CLASS check. Handle x32
34269 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34270 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34271 SKIP_EM_IA_64 and include
34272 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34273
34274 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34275 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34276 (add_system_dir): New macro.
34277
34278 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34279 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34280
11b90b9f
JM
342812012-03-16 Joseph Myers <joseph@codesourcery.com>
34282
c36e1d23
JM
34283 [BZ #2551]
34284 [BZ #2552]
34285 [BZ #2553]
34286 [BZ #2554]
34287 [BZ #2562]
34288 [BZ #2563]
34289 [BZ #2565]
34290 [BZ #2566]
34291 [BZ #2576]
34292 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34293 (y0): Likewise.
34294 * math/w_j0f.c (j0f): Likewise.
34295 (y0f): Likewise.
34296 * math/w_j0l.c (__j0l): Likewise.
34297 (__y0l): Likewise.
34298 * math/w_j1.c (j1): Likewise.
34299 (y1): Likewise.
34300 * math/w_j1f.c (j1f): Likewise.
34301 (y1f): Likewise.
34302 * math/w_j1l.c (__j1l): Likewise.
34303 (__y1l): Likewise.
34304 * math/w_jn.c (jn): Likewise.
34305 (yn): Likewise.
34306 * math/w_jnf.c (jnf): Likewise.
34307 (ynf): Likewise.
34308 * math/w_jnl.c (__jnl): Likewise.
34309 (__ynl): Likewise.
34310 * math/libm-test.inc (j0_test): Add more tests.
34311 (j1_test): Likewise.
34312 (jn_test): Likewise. Add trailing semicolon to existing test.
34313 (y0_test): Likewise.
34314 (y1_test): Likewise.
34315 * sysdeps/i386/fpu/libm-test-ulps: Update.
34316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34317
11b90b9f
JM
34318 [BZ #13851]
34319 [BZ #13854]
34320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34321 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34322 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34323 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34324 (__tanl): Set errno for infinite argument.
34325 * sysdeps/i386/fpu/mptan.c: Remove.
34326 * sysdeps/i386/fpu/s_tan.S: Likewise.
34327 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34328 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34329 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34330 * math/libm-test.inc (tan_test): Add more tests and enable more
34331 tests for double and long double.
34332 * sysdeps/i386/fpu/libm-test-ulps: Update.
34333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34334
6a1bd2a1
JK
343352012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34336
34337 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34338 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34339
10a803e0
RM
343402012-03-16 Roland McGrath <roland@hack.frob.com>
34341
34342 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34343 * configure.in: Use it for both main tree and add-ons.
34344 * configure: Regenerated.
34345
f196c7f7
L
343462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34347
34348 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34349
8848d99d
JM
343502012-03-16 Joseph Myers <joseph@codesourcery.com>
34351
96cbe7f4
JM
34352 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34353 in comment.
34354
8848d99d
JM
34355 [BZ #13851]
34356 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34357 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34358 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34359 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34360 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34361 infinite argument.
34362 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34363 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34364 != 0 for prec == 2.
34365 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34366 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34367 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34368 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34369 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34370 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34371 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34372 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34373 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34374 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34375 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34376 * math/libm-test.inc (cos_test): Add more tests and enable more
34377 tests for long double.
34378 (sin_test): Likewise.
34379 (sincos_test): Likewise.
34380 * sysdeps/i386/fpu/libm-test-ulps: Update.
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382
dd7f4703
DM
343832012-03-16 David S. Miller <davem@davemloft.net>
34384
34385 * sysdeps/sparc/fpu/math_private.h: New file.
34386
006f1daa
DM
343872012-03-15 David S. Miller <davem@davemloft.net>
34388
c0c83bc8
DM
34389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34390 file.
e6a62e18 34391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
34392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34393 file.
e6a62e18
DM
34394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34400 sysdep routines.
34401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34402
88cb87d9
DM
34403 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34404 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34405
006f1daa 34406 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
34407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34408 sparc-ifunc.h
006f1daa 34409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34411 Likewise.
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34413 Likewise.
006f1daa
DM
34414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
34417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34418 Likewise.
006f1daa
DM
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
34423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34424 Likewise.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34426 Likewise.
006f1daa
DM
34427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34451
11e0098e
AS
344522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34453
34454 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34455 scaling.
34456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34457
e85b09d0
AJ
344582012-03-15 Andreas Jaeger <aj@suse.de>
34459
34460 [BZ #13852]
34461 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34462 ieee754/flt-32 implementation for sin, cos and sincos.
34463 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34464 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34465 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34466 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34467 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34468 ieee754/flt-32 implementation for tan.
34469
34470 * math/libm-test.inc (cos_test): Enable some large input tests for
34471 float as well
34472 (sin_test): Likewise.
34473 (sincos_test): Likewise.
34474 (tan_test): Add tests for large input.
34475
34476 * sysdeps/i386/fpu/libm-test-ulps: Update.
34477
81c64153
AJ
344782012-03-15 Andreas Jaeger <aj@suse.de>
34479
34480 [BZ #13658]
34481 * math/libm-test.inc (cos_test): Add more test cases.
34482 (sin_test): Likewise.
34483 (sincos_test): Likewise.
34484
7bbfa5c6
AJ
344852012-03-15 Andreas Jaeger <aj@suse.de>
34486
34487 [BZ #13837]
34488 * math/libm-test.inc (cos_test): Add a test case for large input
34489 value.
34490 (sin_test): Likewise.
34491 (sincos_test): Likewise.
34492
57f41c40
AS
344932012-03-15 Andreas Jaeger <aj@suse.de>
34494 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
34495
34496 [BZ #13658]
0671f479 34497 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
34498 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34499 * sysdeps/i386/fpu/branred.c: Likewise.
34500 * sysdeps/i386/fpu/dosincos.c: Likewise.
34501 * sysdeps/i386/fpu/mpa.c: Likewise.
34502 * sysdeps/i386/fpu/s_cos.S: Likewise.
34503 * sysdeps/i386/fpu/s_sin.S: Likewise.
34504 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34505 * sysdeps/i386/fpu/sincos32.c: Likewise.
34506
34507 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34508 Define.
34509 (libc_feupdateenv_53bit): Define.
34510 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34511 Define.
34512 (libc_feupdateenv_53bit): Define.
34513
34514 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34515 53 bit (without extend i386 double precision).
34516
34517 * math/libm-test.inc (sincos_test): Add tests for large input.
34518 (sin): Likewise.
34519 (cos): Likewise.
34520
34521 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34522
9cad04ea
AS
345232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34524
34525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34526
f7062b9a
DM
345272012-03-15 David S. Miller <davem@davemloft.net>
34528
34529 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34532 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
34544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34545 file.
f7062b9a 34546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34548 file.
f7062b9a 34549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
34550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34551 file.
f7062b9a 34552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
34553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34554 file.
f7062b9a
DM
34555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34557 fmin/fmax sysdep routines.
34558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34559
7bd951ff
DM
345602012-03-14 David S. Miller <davem@davemloft.net>
34561
559398ab
DM
34562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34591 routines.
34592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34593 file.
559398ab 34594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34596 file.
559398ab 34597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34599 file.
559398ab 34600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34602 file.
559398ab 34603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34605 file.
559398ab 34606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34608 file.
34609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34610 file.
34611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34612 file.
34613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34614 file.
34615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34616 New file.
34617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34618 file.
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34620 file.
559398ab 34621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
34622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34623 file.
559398ab 34624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
34625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34626 file.
559398ab 34627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
34628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34629 file.
559398ab 34630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
34631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34632 VIS3 routines.
559398ab
DM
34633
34634 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34635 New file.
34636
5a1c1e32
DM
34637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34638
eae47a36
DM
34639 * sysdeps/sparc/configure.in: New file.
34640 * sysdeps/sparc/configure: Generate.
34641 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34642 * configure: Regenerate.
34643 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34644 * config.make.in (have-as-vis3): New.
34645 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34646 available use -Av9d instead of -Av9a.
34647 * sysdeps/sparc/sparc64/Makefile: Likewise.
34648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34650 New file.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34652 file.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34654 New file.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34656 file.
eae47a36
DM
34657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34662
c0c83bc8
DM
34663 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34664 fzeros/fnegs to load 0x80000000 into a float register instead of
34665 using the stack.
7bd951ff
DM
34666 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34667
bd951ccb
JM
346682012-03-14 Joseph Myers <joseph@codesourcery.com>
34669
34670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34671 bits/syscall.h.
34672 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34673 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34674 ($(inst_includedir)/bits/syscall.h): Remove rule.
34675 ($(objpfx)bits/syscall.d): Include instead of
34676 $(objpfx)syscall-list.d.
34677 (generated): Change syscall-list.h and syscall-list.d to
34678 bits/syscall.h and bits/syscall.d.
34679
bb4e6db2
RM
346802012-03-14 Roland McGrath <roland@hack.frob.com>
34681
34682 [BZ #13846]
34683 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34684
aa4a2ae1
JM
346852012-03-14 Joseph Myers <joseph@codesourcery.com>
34686
e456826d
JM
34687 [BZ #13841]
34688 * math/s_csqrt.c: Include <float.h>.
34689 (__csqrt): Scale large or subnormal inputs.
34690 * math/s_csqrtf.c: Likewise.
34691 * math/s_csqrtl.c: Likewise.
34692 * math/libm-test.inc (csqrt_test): Add more tests.
34693 * sysdeps/i386/fpu/libm-test-ulps: Update.
34694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34695
aa4a2ae1
JM
34696 [BZ #13840]
34697 * math/libm-test.inc (hypot_test): Add more tests.
34698
7c10fd35
DM
346992012-03-13 David S. Miller <davem@davemloft.net>
34700
34701 [BZ #13840]
34702 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34703 double-precision for the calculation instead of scaling.
34704
f453b98b
JM
347052012-03-13 Joseph Myers <joseph@codesourcery.com>
34706
34707 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34708 manipulate bits before adding and subtracting TWO52[sx].
34709 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34711 Likewise.
34712 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34713
09a3453f
DM
347142012-03-13 David S. Miller <davem@davemloft.net>
34715
8e59da90
DM
34716 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34717 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34719 rtld-global-offsets.h
34720 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34721
2a8ab7f2
DM
34722 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34723 large parameters.
34724
10f62770
DM
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34726
5f0bdb18
DM
34727 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34728 'err' in the ifdef scope in which it is actually used.
34729
09a3453f
DM
34730 * nss/nss_db/db-init.c: Include string.h
34731
b4b2eb5e
DM
347322012-03-12 David S. Miller <davem@davemloft.net>
34733
98bb2f1c
DM
34734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34735 masking out of the most significant byte of random value used.
34736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34737 Fix coding style in previous change.
34738
b4b2eb5e
DM
34739 * sysdeps/unix/sysv/linux/kernel-features.h
34740 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34741 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34742 expression.
34743 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34744 later.
34745
6e226b09
DM
347462012-03-11 David S. Miller <davem@davemloft.net>
34747
a1bcbd40
DM
34748 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34749 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34751 for 'resultvar' otherwise things get truncated on 64-bit.
34752
cb9d6174
DM
34753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34754 Fix masking out of the most significant byte of random value used.
34755
6e226b09
DM
34756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34757
058c132d
AS
347582012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34759
34760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34761
2d2cd515
DM
347622012-03-09 David S. Miller <davem@davemloft.net>
34763
34764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34765 variables with appropriate CPP guards.
57f41c40
AS
34766 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34767 from the frame pointer, not the stack pointer. Correct layout
34768 comments. Fix test on resulting framesize and the management of
34769 the outregs buffer for pltexit. Preserve floating point return
34770 values across _dl_call_pltexit call.
2d2cd515
DM
34771 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34772 framesize and the management of the outregs buffer for pltexit.
34773 Preserve floating point return values across _dl_call_pltexit
34774 call.
57f41c40
AS
34775 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34776 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34777 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
34778 (print_exit): Fix format string for return register value.
34779
9a07f9d0
JM
347802012-03-10 Joseph Myers <joseph@codesourcery.com>
34781
34782 * sunrpc/Makefile (others): Add rpcgen.
34783 ($(objpfx)rpcgen): Remove special build rule and dependency on
34784 libc.
34785 * sunrpc/rpcgen.c: New file.
34786
547b5e30
PE
347872012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34788
c524201a
PE
34789 [BZ #13673]
34790 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34791 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34792 * sysdeps/i386/crti.S: Likewise.
34793 * sysdeps/i386/crtn.S: Likewise.
34794 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34795 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34796 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34797 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34798 * sysdeps/sh/crti.S: Likewise.
34799 * sysdeps/sh/crtn.S: Likewise.
34800 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34801
7b6235f2
PE
34802 [BZ #13673]
34803 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34804 with URL.
34805 * locale/programs/locfile-kw.gperf: Likewise.
34806 * locale/programs/charmap-kw.h: Regenerated.
34807 * locale/programs/locfile-kw.h: Likewise.
34808
547b5e30
PE
34809 [BZ #13673]
34810 * intl/plural.y: Replace FSF snail mail address with URL.
34811 * intl/plural.c: Regenerated.
34812
5f0a5dae
RH
348132012-03-09 Richard Henderson <rth@twiddle.net>
34814
34815 * include/math_private.h: Remove file.
34816 * math/math_private.h: Move file ...
34817 * sysdeps/generic/math_private.h: ... here.
34818
b8c03620
RH
34819 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34820 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34821 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34822
4e234f5d 34823 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34824 and <math_private.h>.
34825 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34826 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34827 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34828 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34829 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34830 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34831 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34833 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34834 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34835 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34836 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34837 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34839 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34840 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34842 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34843 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34844 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34846 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34847 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34849 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34850 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34851 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34855 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34857 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34858 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34859 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34868 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34869 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34870 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34871 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34872 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34874 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34875 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34876 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34884 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34894 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34895 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34896 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34897 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34907 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34910 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34912 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34913 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34916 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34917 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34918 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34919 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34920 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34921 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34922 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34925 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34926 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34927 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34928 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34929 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34930 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34931 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34932 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34933 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34935 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34936 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34937 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34938 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34939 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34941 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34942 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34943 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34944 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34945 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34946 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34947 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34948 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34949 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34950 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34951 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34952 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34953 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34954 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34955 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34956 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34958 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34959 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34960 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34961 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34962 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34963 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34964 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34966 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34968 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34969 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34970 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34971 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34972 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34973 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34974 * sysdeps/ieee754/k_standard.c: Likewise.
34975 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34976 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34978 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34979 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34980 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34981 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34983 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34984 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34986 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34987 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34988 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34989 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34990 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34991 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34992 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34993 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34994 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34995 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34996 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34997 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34998 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34999 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35000 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35001 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35002 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35003 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35005 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35006 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35007 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35008 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35009 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35012 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35013 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35014 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35015 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35016 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35019 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35020 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35021 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35023 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35024 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35025 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35026 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35027 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35028 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35029 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35030 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35031 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35032 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35033 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35034 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35035 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35036 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35037 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35040 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35045 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35047 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35048 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35049 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35052 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35054 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35055 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35056 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35057 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35060 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35071 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35091 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35093 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35094 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35096 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35097 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35098 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35099 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35100 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35101 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35102 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35103 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35104 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35105 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35106 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35107 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35108 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35109 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35110 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35114 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35115 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35118 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35119 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35120 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35121 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35122 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35123 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35124 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35125 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35126 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35127 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35129 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35134 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35135 * sysdeps/ieee754/s_lib_version.c: Likewise.
35136 * sysdeps/ieee754/s_matherr.c: Likewise.
35137 * sysdeps/ieee754/s_signgam.c: Likewise.
35138 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35140 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35141 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35142 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35143 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35144 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35145 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35146 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35147 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35149 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35150 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35151 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35152 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35155 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35156 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 35159
1991fa03
JM
351602012-03-09 Joseph Myers <joseph@codesourcery.com>
35161
35162 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35163 * sunrpc/rpc_main.c: Likewise.
35164 * sunrpc/rpc_svcout.c: Likewise.
35165
60d6f5a6
DM
351662012-03-09 David S. Miller <davem@davemloft.net>
35167
35168 * include/math_private.h: New file.
35169
4962050e
JM
351702012-03-09 Joseph Myers <joseph@codesourcery.com>
35171
02a6f887
JM
35172 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35173 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35174 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35175 from <bits/socket_type.h>.
35176 (enum __socket_type): Don't define here.
35177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35179 bits/socket_type.h.
35180
c6e013c1
JM
35181 [BZ #13566]
35182 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35183 checking __USE_GNU.
35184
4962050e
JM
35185 * Makerules ($(inst_includedir)/%.h): New rule.
35186 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35187 (install-others): Remove variable setting.
35188 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35189
38842f45
RH
351902012-03-08 Richard Henderson <rth@twiddle.net>
35191
67bb6da6
RH
35192 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35193 from macro to inline function; merge with the
35194 !__LIBC_INTERNAL_MATH_INLINES version.
35195 (__ieee754_sqrtf): Likewise.
35196
15194b4b
RH
35197 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35198 to inline function.
35199 (__rintf, __floor, __floorf): Likewise.
35200
64e21ede
RH
35201 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35202 macro to inline function.
35203 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35204
38842f45
RH
35205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35206 not <math/math_private.h>.
35207
c64bf5fe
DM
352082012-03-08 David S. Miller <davem@davemloft.net>
35209
35210 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35211 copyright year.
35212 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35213
82d86f28
TS
352142012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35215
35216 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35217 normalization.
35218 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35219 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35220
aea5d727
UD
352212012-03-08 Ulrich Drepper <drepper@gmail.com>
35222
35223 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35224 be defined individually, they must be defined as a block. Define
35225 S for printing a string instead of hidint the different by using a
35226 macro for adding the 'l'.
35227 * stdio-common/tst-fphex-wide.c: Adjust.
35228
70bca0a3
MP
352292012-03-07 Marek Polacek <polacek@redhat.com>
35230
35231 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35232
65b81130
MP
352332012-03-08 Marek Polacek <polacek@redhat.com>
35234
35235 [BZ #13806]
35236 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35237 * stdio-common/tst-fphex.c: Define a few macros to make the
35238 test reusable. Use them.
35239 * stdio-common/tst-fphex-wide.c: New file.
35240
07037eeb
JM
352412012-03-08 Joseph Myers <joseph@codesourcery.com>
35242
a7a93d50
JM
35243 [BZ #6911]
35244 * manual/macros.texi (gnusystems): New macro.
35245 (nongnusystems): Likewise.
35246 (gnulinuxhurdsystems): Likewise.
35247 (gnuhurdsystems): Likewise..
35248 (gnulinuxsystems): Likewise.
35249 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35250 variants of the GNU system, not "GNU system".
35251 * manual/conf.texi: Likewise.
35252 * manual/errno.texi: Likewise. Update example of errno macro
35253 expansion.
35254 * manual/filesys.texi: Likewise.
35255 (getumask): Document as specific to GNU/Hurd.
35256 * manual/install.texi: Likewise. Reword some references to
35257 GNU/Linux.
35258 * manual/intro.texi: Likewise.
35259 * manual/io.texi: Likewise.
35260 (File Name Portability): Detail which constraints are inapplicable
35261 to all GNU systems and which are only inapplicable to GNU/Hurd.
35262 * manual/job.texi: Likewise.
35263 * manual/llio.texi: Likewise.
35264 (O_NOCTTY): Document as present on GNU/Linux.
35265 * manual/maint.texi: Likewise.
35266 * manual/memory.texi: Likewise.
35267 * manual/pattern.texi: Likewise.
35268 * manual/pipe.texi: Likewise.
35269 * manual/process.texi: Likewise.
35270 * manual/resource.texi: Likewise.
35271 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35272 child on GNU/Hurd.
35273 * manual/setjmp.texi: Likewise.
35274 * manual/signal.texi: Likewise.
35275 * manual/startup.texi: Likewise.
35276 * manual/stdio.texi: Likewise.
35277 * manual/terminal.texi: Likewise.
35278 (ONLCR): Document as POSIX.
35279 (OXTABS): Document availability on GNU/Linux as XTABS.
35280 (ONOEOT): Document availability separately from other bits.
35281 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35282 * manual/time.texi: Likewise.
35283 * manual/users.texi: Likewise.
35284 * INSTALL: Regenerated.
35285 * sysdeps/gnu/errlist.c: Regenerated.
35286
07037eeb
JM
35287 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35288 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35289 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35290 puts.
35291 * configure: Regenerated.
35292
d1d3431a
JM
352932012-03-07 Joseph Myers <joseph@codesourcery.com>
35294
af6a1e37
JM
35295 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35296 default includes instead of AC_HEADER_CHECK.
35297 * sysdeps/i386/configure: Regenerated.
35298
d1d3431a
JM
35299 [BZ #10716]
35300 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35301 * math/s_cacoshf.c (__cacoshf): Likewise.
35302 * math/s_cacoshl.c (__cacoshl): Likewise.
35303 * math/s_casinh.c (__casinh): Set signs of result from argument.
35304 * math/s_casinhf.c (__casinhf): Likewise.
35305 * math/s_casinhl.c (__casinhl): Likewise.
35306 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35307 (casinh_test): Add more tests.
35308 * sysdeps/i386/fpu/libm-test-ulps: Update.
35309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35310
482ff4da
UD
353112012-03-07 Ulrich Drepper <drepper@gmail.com>
35312
872fda05
UD
35313 * po/zh_TW.po: Update from translation team.
35314
a4300c7a
UD
35315 * login/Makefile (distribute): Remove variable.
35316 * catgets/Makefile: Likewise.
35317 * mach/Makefile: Likewise.
35318 * malloc/Makefile: Likewise.
35319 * misc/Makefile: Likewise.
35320 * iconv/Makefile: Likewise.
35321 * nscd/Makefile: Likewise.
35322 * hurd/Makefile: Likewise.
35323 * manual/Makefile: Likewise.
35324 * locale/Makefile: Likewise.
35325 * intl/Makefile: Likewise.
35326 * conform/Makefile: Likewise.
35327 * nss/Makefile: Likewise.
35328 * time/Makefile: Likewise.
35329 * soft-fp/Makefile: Likewise.
35330 * dirent/Makefile: Likewise.
35331 * gmon/Makefile: Likewise.
35332 * po/Makefile: Likewise.
35333 * rt/Makefile: Likewise.
35334 * socket/Makefile: Likewise.
35335 * math/Makefile: Likewise.
35336 * signal/Makefile: Likewise.
35337 * debug/Makefile: Likewise.
35338 * elf/Makefile: Likewise.
35339 * timezone/Makefile: Likewise.
35340 * stdlib/Makefile: Likewise.
35341 * iconvdata/Makefile: Likewise.
35342 * sunrpc/Makefile: Likewise.
35343 * io/Makefile: Likewise.
35344 * argp/Makefile: Likewise.
35345 * inet/Makefile: Likewise.
35346 * hesiod/Makefile: Likewise.
35347 * grp/Makefile: Likewise.
35348 * csu/Makefile: Likewise.
35349 * wctype/Makefile: Likewise.
35350 * crypt/Makefile: Likewise.
35351 * libio/Makefile: Likewise.
35352 * string/Makefile: Likewise.
35353 * nis/Makefile: Likewise.
35354 * resolv/Makefile: Likewise.
35355 * stdio-common/Makefile: Likewise.
35356 * wcsmbs/Makefile: Likewise.
35357 * dlfcn/Makefile: Likewise.
35358 * posix/Makefile: Likewise.
35359
3b7c4e74 35360 [BZ #6959]
482ff4da
UD
35361 * timezone/Makefile: Don't install timezone files, just the programs
35362 and scripts.
35363
f72ed77d
UD
353642012-03-06 Ulrich Drepper <drepper@gmail.com>
35365
a000466f
UD
35366 * nss/databases.def: Add missing gshadow entry.
35367
f72ed77d
UD
35368 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35369
a53b7a4e
MP
353702012-03-06 Marek Polacek <polacek@redhat.com>
35371
35372 [BZ #13726]
35373 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35374 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35375 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35376 * stdio-common/tst-long-dbl-fphex.c: New file.
35377
e9258400
DM
353782012-03-06 David S. Miller <davem@davemloft.net>
35379
35380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35381 (set_obp_int): New function.
35382 (get_obp_int): New function.
35383 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
35384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35385 Avoid unused variable warnings on 'val' and use builtin_expect.
35386 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35387 __builtin_expect.
e9258400
DM
35388 (INLINE_CLONE_SYSCALL): Likewise.
35389
3bd2c723
DM
353902012-03-05 David S. Miller <davem@davemloft.net>
35391
35392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35393
bbb78d03
AS
353942012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35395
884c5db4
AS
35396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35397
bbb78d03
AS
35398 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35399 only for |x| >= 40.
35400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35401
1c9f702a 354022012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
35403
35404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35405 Replace gettimeofday with __vdso_gettimeofday.
35406
7be16f82
RM
35407 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35408 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35409 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
35410
35411 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35412 time with __vdso_time.
35413
ed58a00f
JM
354142012-03-05 Joseph Myers <joseph@codesourcery.com>
35415
35416 * manual/lang.texi (size_t): Note types to which size_t may be
35417 equivalent with the GNU C Library, but do not describe when
35418 differences between them are significant.
35419
30ee4ced
AJ
354202012-03-05 Andreas Jaeger <aj@suse.de>
35421
35422 * sysdeps/i386/fpu/libm-test-ulps: Update.
35423
b7cd39e8
JM
354242012-03-05 Joseph Myers <joseph@codesourcery.com>
35425
35426 [BZ #3976]
35427 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35428 (__ieee754_pow): Save and restore rounding mode and use
35429 round-to-nearest for main computations.
35430 * math/libm-test.inc (pow_test_tonearest): New function.
35431 (pow_test_towardzero): Likewise.
35432 (pow_test_downward): Likewise.
35433 (pow_test_upward): Likewise.
35434 (main): Call the new functions.
35435 * sysdeps/i386/fpu/libm-test-ulps: Update.
35436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
35437
35438 [BZ #3976]
35439 * math/libm-test.inc (cosh_test_tonearest): New function.
35440 (cosh_test_towardzero): Likewise.
35441 (cosh_test_downward): Likewise.
35442 (cosh_test_upward): Likewise.
35443 (sinh_test_tonearest): Likewise.
35444 (sinh_test_towardzero): Likewise.
35445 (sinh_test_downward): Likewise.
35446 (sinh_test_upward): Likewise.
35447 (main): Call the new functions.
35448 * sysdeps/i386/fpu/libm-test-ulps: Update.
35449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35450
6c6a98c9
TV
354512012-03-05 Tom de Vries <tom@codesourcery.com>
35452
35453 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35454 default stack guard is set in last bytes.
35455 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35456
21bb2d2e 354572012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 35458
21bb2d2e 35459 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 35460
21bb2d2e
AJ
35461 [BZ #13656]
35462 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35463 possibly allocate from heap instead of stack.
35464 * stdio-common/bug-vfprintf-nargs.c: New file.
35465 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 35466
c6922934
AS
354672012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35468
35469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35470
bc957d53
MP
354712012-03-03 Marek Polacek <polacek@redhat.com>
35472
35473 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35474 * math/math_private.h: Likewise.
35475 * stdlib/tst-strtod.c: Likewise.
35476 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35477 * sysdeps/x86_64/bits/atomic.h: Likewise.
35478
6358490d
DM
354792012-03-02 David S. Miller <davem@davemloft.net>
35480
35481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35485 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35486 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35487 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35488 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35489
01ae168d
RM
354902012-03-02 Roland McGrath <roland@hack.frob.com>
35491
d9a17c07
RM
35492 [BZ #13792]
35493 * manual/examples/README: New file, says the example source files
35494 can be used under GPL>=2.
35495 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35496 line containing just "*/".
35497 * manual/examples/add.c: Add copyright header (GPL>=2).
35498 * manual/examples/argp-ex1.c: Likewise.
35499 * manual/examples/argp-ex2.c: Likewise.
35500 * manual/examples/argp-ex3.c: Likewise.
35501 * manual/examples/argp-ex4.c: Likewise.
35502 * manual/examples/atexit.c: Likewise.
35503 * manual/examples/db.c: Likewise.
35504 * manual/examples/dir.c: Likewise.
35505 * manual/examples/dir2.c: Likewise.
35506 * manual/examples/execinfo.c: Likewise.
35507 * manual/examples/filecli.c: Likewise.
35508 * manual/examples/filesrv.c: Likewise.
35509 * manual/examples/fmtmsgexpl.c: Likewise.
35510 * manual/examples/genpass.c: Likewise.
35511 * manual/examples/inetcli.c: Likewise.
35512 * manual/examples/inetsrv.c: Likewise.
35513 * manual/examples/isockad.c: Likewise.
35514 * manual/examples/longopt.c: Likewise.
35515 * manual/examples/memopen.c: Likewise.
35516 * manual/examples/memstrm.c: Likewise.
35517 * manual/examples/mkfsock.c: Likewise.
35518 * manual/examples/mkisock.c: Likewise.
35519 * manual/examples/mygetpass.c: Likewise.
35520 * manual/examples/pipe.c: Likewise.
35521 * manual/examples/popen.c: Likewise.
35522 * manual/examples/rprintf.c: Likewise.
35523 * manual/examples/search.c: Likewise.
35524 * manual/examples/select.c: Likewise.
35525 * manual/examples/setjmp.c: Likewise.
35526 * manual/examples/sigh1.c: Likewise.
35527 * manual/examples/sigusr.c: Likewise.
35528 * manual/examples/stpcpy.c: Likewise.
35529 * manual/examples/strdupa.c: Likewise.
35530 * manual/examples/strftim.c: Likewise.
35531 * manual/examples/strncat.c: Likewise.
35532 * manual/examples/subopt.c: Likewise.
35533 * manual/examples/swapcontext.c: Likewise.
35534 * manual/examples/termios.c: Likewise.
35535 * manual/examples/testopt.c: Likewise.
35536 * manual/examples/testpass.c: Likewise.
35537 * manual/examples/timeval_subtract.c: Likewise.
35538
01ae168d
RM
35539 [BZ #13792]
35540 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35541 function to ...
35542 * manual/timeval_subtract.c.texi: ... here, new file.
35543
49efa33d
DM
355442012-03-02 David S. Miller <davem@davemloft.net>
35545
35546 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35547
28afd92d
JM
355482012-03-02 Joseph Myers <joseph@codesourcery.com>
35549
804360ed
JM
35550 [BZ #3976]
35551 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35552 (__sin): Save and restore rounding mode and use round-to-nearest
35553 for all computations.
35554 (__cos): Save and restore rounding mode and use round-to-nearest
35555 for all computations.
35556 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35557 <fenv.h>.
35558 (tan): Save and restore rounding mode and use round-to-nearest for
35559 all computations.
35560 * math/libm-test.inc (cos_test_tonearest): New function.
35561 (cos_test_towardzero): Likewise.
35562 (cos_test_downward): Likewise.
35563 (cos_test_upward): Likewise.
35564 (sin_test_tonearest): Likewise.
35565 (sin_test_towardzero): Likewise.
35566 (sin_test_downward): Likewise.
35567 (sin_test_upward): Likewise.
35568 (tan_test_tonearest): Likewise.
35569 (tan_test_towardzero): Likewise.
35570 (tan_test_downward): Likewise.
35571 (tan_test_upward): Likewise.
35572 (main): Call the new functions.
35573 * sysdeps/i386/fpu/libm-test-ulps: Update.
35574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35575
a6d06d7b
JM
35576 [BZ #10135]
35577 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35578 small n, then large n, before computing and testing k+n.
35579 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35581 Likewise.
35582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35583 Likewise.
35584 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35585 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35590 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35591 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35592 * math/libm-test.inc (scalbn_test): Add more tests.
35593 (scalbln_test): Likewise.
35594
07e12bb3
JM
35595 * manual/filesys.texi (mode_t): Describe constraints on size and
35596 signedness, not exact equivalence to a particular type.
35597 (ino_t): Likewise.
35598 (ino64_t): Likewise.
35599 (dev_t): Likewise.
35600 (nlink_t): Likewise.
35601 (blkcnt_t): Likewise.
35602 (blkcnt64_t): Likewise.
35603 * manual/llio.texi (off_t): Likewise.
35604
28afd92d
JM
35605 [BZ #3976]
35606 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35607 (__ieee754_exp): Save and restore rounding mode and use
35608 round-to-nearest for all computations.
35609 * math/libm-test.inc (exp_test_tonearest): New function.
35610 (exp_test_towardzero): Likewise.
35611 (exp_test_downward): Likewise.
35612 (exp_test_upward): Likewise.
35613 (main): Call the new functions.
35614 * sysdeps/i386/fpu/libm-test-ulps: Update.
35615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35616
b1eeb65d
CD
356172012-03-01 Chris Demetriou <cgd@google.com>
35618
35619 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35620 have predictable order.
35621
53362a4b
DM
356222012-03-01 David S. Miller <davem@davemloft.net>
35623
3c969083
DM
35624 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35625
759707de
DM
35626 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35627 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35628 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35629 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35630
dfdb8ff2
DM
35631 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35632 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35633 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35635 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35636 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35637 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35638 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35639 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35640
ead89f96
DM
35641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35642
7f66bd07
DM
35643 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35644 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35645 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35646
53362a4b
DM
35647 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35648 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35649 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35650 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35651 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35652 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35653 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35654 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35655 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35656 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35657 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35660 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35663 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35664 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35665 * sysdeps/sparc/elf/configure: Regenerated.
35666
7b1902cb
JM
356672012-03-01 Joseph Myers <joseph@codesourcery.com>
35668
bec039bc
JM
35669 * configure.in (AS, LD): Require binutils 2.20 or later.
35670 * configure: Regenerated.
35671 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35672 as required minimum version.
35673 * INSTALL: Regenerated.
35674
7b1902cb
JM
35675 [BZ #2541]
35676 [BZ #4108]
35677 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35678 before squaring exponent.
35679 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35680 bottom long double and 27 bits of top long double before squaring
35681 exponent.
35682 * math/libm-test.inc (erfc_test): Add more tests.
35683 * sysdeps/i386/fpu/libm-test-ulps: Update.
35684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35686
f775c276
KT
356872012-03-01 Kai Tietz <ktietz@redhat.com>
35688
35689 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35690 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35691 containing bit-fields.
35692 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35693 * soft-fp/single.h (_FP_UNION_S): Likewise.
35694 * soft-fp/double.h (_FP_UNION_D): Likewise.
35695
5b8a4d4a
JM
356962012-02-29 Joseph Myers <joseph@codesourcery.com>
35697
0bab47b6
JM
35698 [BZ #13786]
35699 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35700 not include ../strcmp.S.
35701 [USE_AS_STRNCASECMP_L]: Likewise.
35702 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35703 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35704 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35705 (__strncasecmp_l_ia32): Define as alias to
35706 __strncasecmp_l_nonascii.
35707
0fcad3e2
JM
35708 [BZ #5794]
35709 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35710 * sysdeps/i386/fpu/libm-test-ulps: Update.
35711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35712
5b8a4d4a
JM
35713 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35715
8fdceb2e
JL
357162012-02-29 Jeff Law <law@redhat.com>
35717
35718 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35719 out of bounds read.
35720
1f393a11
MP
357212012-02-29 Marek Polacek <polacek@redhat.com>
35722
35723 [BZ #13706]
35724 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35725 * elf/Makefile: Add rules to run tst-unused-dep.out.
35726
8847f037
DM
357272012-02-28 David S. Miller <davem@davemloft.net>
35728
35729 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35730 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35733 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35734 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35735
169d7f11
JM
357362012-02-29 Joseph Myers <joseph@codesourcery.com>
35737
35738 * math/libm-test.inc (llround_test): Move one test from
35739 lround_test. Use TEST_f_L in moved test.
35740 (lround_test): Move misplaced test to llround_test. Add testcase
35741 from bug 2561.
35742
39adf059
UD
357432012-02-28 Ulrich Drepper <drepper@gmail.com>
35744
35745 * sysdeps/x86_64/fpu/e_expf.S: New file.
35746 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35747
71b5d1c5
SB
357482012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35749
35750 [BZ #13637]
35751 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35752 of remain_len that may cause incomplete multi-byte character and
35753 false match.
35754 * posix/bug-regex33.c: New file.
35755 * posix/Makefile (tests): Add bug-regex33.
35756
1f77f049
JM
357572012-02-28 Joseph Myers <joseph@codesourcery.com>
35758
35759 * manual/macros.texi: New file.
35760 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35761 * manual/libc.texinfo: Include macros.texi.
35762 * manual/creatute.texi: Likewise.
35763 * manual/install.texi: Likewise.
35764 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35765 @glibcadj{} in references to the GNU C Library.
35766 * manual/charset.texi: Likewise.
35767 * manual/conf.texi: Likewise.
35768 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35769 when not using those macros.
35770 * manual/creature.texi: Likewise.
35771 * manual/crypt.texi: Likewise.
35772 * manual/errno.texi: Likewise.
35773 * manual/filesys.texi: Likewise.
35774 * manual/header.texi: Likewise.
35775 * manual/install.texi: Likewise.
35776 * manual/intro.texi: Likewise.
35777 * manual/io.texi: Likewise.
35778 * manual/job.texi: Likewise.
35779 * manual/lang.texi: Likewise.
35780 * manual/libc.texiinfo: Likewise.
35781 * manual/llio.texi: Likewise.
35782 * manual/locale.texi: Likewise.
35783 * manual/maint.texi: Likewise.
35784 * manual/math.texi: Likewise.
35785 * manual/memory.texi: Likewise.
35786 * manual/message.texi: Likewise.
35787 * manual/nss.texi: Likewise.
35788 * manual/pattern.texi: Likewise.
35789 * manual/process.texi: Likewise.
35790 * manual/resource.texi: Likewise.
35791 * manual/search.texi: Likewise.
35792 * manual/setjmp.texi: Likewise.
35793 * manual/signal.texi: Likewise.
35794 * manual/socket.texi: Likewise.
35795 * manual/startup.texi: Likewise.
35796 * manual/stdio.texi: Likewise.
35797 * manual/string.texi: Likewise.
35798 * manual/sysinfo.texi: Likewise.
35799 * manual/syslog.texi: Likewise.
35800 * manual/terminal.texi: Likewise.
35801 * manual/time.texi: Likewise.
35802 * manual/users.texi: Likewise.
35803 * INSTALL: Regenerated.
35804 * NOTES: Regenerated.
d40c5d54 35805 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35806
450bf206
AS
358072012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35808
35809 * include/dirent.h: Include <dirstream.h> before
35810 <dirent/dirent.h>.
35811
741a235b
DM
358122012-02-28 David S. Miller <davem@davemloft.net>
35813
35814 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35815 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35816 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35818
d6b5aa58
DM
358192012-02-27 David S. Miller <davem@davemloft.net>
35820
1aff59a3
DM
35821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35823 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35824 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35825
d6b5aa58
DM
35826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35827 frame pointer instead of stack pointer relative arg slot.
35828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35829 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35830 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35831
433f48bf
CD
358322012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35833
35834 [BZ #3992]
35835 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35836
d674b76d
DM
358372012-02-27 David S. Miller <davem@davemloft.net>
35838
35839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35845 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35846 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35847
0e7727f7
JM
358482012-02-27 Joseph Myers <joseph@codesourcery.com>
35849
35850 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35851 later. Allow versions 5-9.
43be4ca2 35852 * configure: Regenerated.
0e7727f7
JM
35853 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35854 required minimum version and 4.6 as recommended version. Do not
35855 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35856 * INSTALL: Regenerated.
0e7727f7 35857
a78bc654
DM
358582012-02-27 David S. Miller <davem@davemloft.net>
35859
428d5830
DM
35860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35866 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35867 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35868
a78bc654
DM
35869 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35870 manipulate bits before adding and subtracting TWO112[sx].
35871 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35872
4579f81c
RM
358732012-02-27 Roland McGrath <roland@hack.frob.com>
35874
36c8acb4
RM
35875 [BZ #13775]
35876 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35877 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35878 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35879 being in POSIX, because they are in 1003.1-2008.
35880
84ad622b
RM
35881 * rt/tst-aio.c: Include <fcntl.h>.
35882 * rt/tst-aio7.c: Likewise.
35883 * rt/tst-aio64.c: Likewise.
35884
4579f81c
RM
35885 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35886
abd923db
JM
358872012-02-27 Joseph Myers <joseph@codesourcery.com>
35888
35889 * manual/install.texi (--with-headers): Describe headers as
35890 interface headers, not private headers.
35891 (Specific advice for GNU/Linux systems): Describe use of headers
35892 from "make headers_install", not private headers from older
35893 kernels.
43be4ca2 35894 * INSTALL: Regenerated.
abd923db
JM
35895 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35896 Change to 2.6.19.
35897 * sysdeps/unix/sysv/linux/configure: Regenerated.
35898
6664049b
JM
35899 * manual/llio.texi (fclean): Remove documentation.
35900
bb8b6697
JM
35901 * manual/Makefile (libc-texi-generated): New variable. Include
35902 version.texi.
35903 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35904 $(libc-texi-generated), not duplicated list of files.
35905 (version.texi, stamp-version): New rules.
35906 (realclean): Remove $(libc-texi-generated), not individual files
35907 from that list. Do not remove dir-add.texinfo.
35908 * manual/libc.texinfo: Comment out uses of edition numbers and
35909 references to printed manual. Remove last-updated dates.
35910 (EDITION): Comment out.
35911 (ISBN): Likewise.
35912 (VERSION, UPDATED): Remove.
35913 (version.texi): Include.
35914
12e5c3b9
AS
359152012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35916
35917 * sysdeps/posix/spawni.c: Include <signal.h>.
35918 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35919 * sysdeps/pthread/aio_fsync.c: Likewise.
35920
4efeffc1 359212012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35922
ba63ba08
UD
35923 * conform/Makefile (tests): Run only when not cross-compiling and
35924 when fast-check is not defined.
35925
d94a4670
UD
35926 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35927 * conform/data/limits.h-data: Fixes for POSIX2008.
35928 * conform/run-conformtest.sh: Run all tests.
35929 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35930 headers.
35931 * include/bits/dlfcn.h: Likewise.
35932 * include/langinfo.h: Likewise.
35933 * include/monetary.h: Likewise.
35934 * include/sys/poll.h: Likewise.
35935
35936 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35937 for __USE_GNU.
35938 * posix/spawn.h: Define __need_sigset_t.
35939 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35940 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35941 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35942 to get sigevent_t only.
35943 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35944 only for __USE_GNU.
35945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35946 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35947 process_vm_writev only for __USE_GNU.
35948 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35949
35950 * conform/Makefile: For now ignore errors from run-conformtest.
35951 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35952 POSIX to avoid namespace pollution. Don't prepend headers.
35953 * conform/data/aio.h-data: Fixes for POSIX testing.
35954 * conform/data/fcntl.h-data: Likewise.
35955 * conform/data/glob.h-data: Likewise.
35956 * conform/data/grp.h-data: Likewise.
35957 * conform/data/pthread.h-data: Likewise.
35958 * conform/data/pwd.h-data: Likewise.
35959 * conform/data/signal.h-data: Likewise.
35960 * conform/data/spawn.h-data: Likewise.
35961 * conform/data/stdio.h-data: Likewise.
35962 * conform/data/stdlib.h-data: Likewise.
35963 * conform/data/stropts.h-data: Likewise.
35964 * conform/data/sys/mman.h-data: Likewise.
35965 * conform/data/sys/stat.h-data: Likewise.
35966 * conform/data/sys/types.h-data: Likewise.
35967 * conform/data/sys/wait.h-data: Likewise.
35968 * conform/data/time.h-data: Likewise.
35969 * conform/data/unistd.h-data: Likewise.
35970 * conform/data/utime.h-data: Likewise.
35971
35972 * io/sys/stat.h: fchmod was always in POSIX.
35973 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35974 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35975 * rt/aio.h: Define __need_timespec before including <time.h>.
35976 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35977 struct. Add forward declaration of pthread_attr_t and use it in
35978 sigevent.
35979 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35980 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35981 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35982 always remove CLK_TCK definition.
35983
c20105c3
AS
359842012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35985
35986 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35987
7a270350
UD
359882012-02-25 Ulrich Drepper <drepper@gmail.com>
35989
31341567
UD
35990 * conform/run-conformtest.sh: New file.
35991 * conform/Makefile: Run run-conformtest for tests.
35992 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35993 support.
35994
35995 * conform/data/uchar.h-data: New file.
35996 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35997 * conform/data/arpa/inet.h-data: Likewise.
35998 * conform/data/assert.h-data: Likewise.
35999 * conform/data/complex.h-data: Likewise.
36000 * conform/data/cpio.h-data: Likewise.
36001 * conform/data/ctype.h-data: Likewise.
36002 * conform/data/dirent.h-data: Likewise.
36003 * conform/data/dlfcn.h-data: Likewise.
36004 * conform/data/errno.h-data: Likewise.
36005 * conform/data/fcntl.h-data: Likewise.
36006 * conform/data/float.h-data: Likewise.
36007 * conform/data/fmtmsg.h-data: Likewise.
36008 * conform/data/fnmatch.h-data: Likewise.
36009 * conform/data/ftw.h-data: Likewise.
36010 * conform/data/glob.h-data: Likewise.
36011 * conform/data/grp.h-data: Likewise.
36012 * conform/data/iconv.h-data: Likewise.
36013 * conform/data/inttypes.h-data: Likewise.
36014 * conform/data/langinfo.h-data: Likewise.
36015 * conform/data/libgen.h-data: Likewise.
36016 * conform/data/limits.h-data: Likewise.
36017 * conform/data/locale.h-data: Likewise.
36018 * conform/data/math.h-data: Likewise.
36019 * conform/data/monetary.h-data: Likewise.
36020 * conform/data/mqueue.h-data: Likewise.
36021 * conform/data/ndbm.h-data: Likewise.
36022 * conform/data/net/if.h-data: Likewise.
36023 * conform/data/netdb.h-data: Likewise.
36024 * conform/data/netinet/in.h-data: Likewise.
36025 * conform/data/nl_types.h-data: Likewise.
36026 * conform/data/poll.h-data: Likewise.
36027 * conform/data/pthread.h-data: Likewise.
36028 * conform/data/pwd.h-data: Likewise.
36029 * conform/data/regex.h-data: Likewise.
36030 * conform/data/sched.h-data: Likewise.
36031 * conform/data/search.h-data: Likewise.
36032 * conform/data/semaphore.h-data: Likewise.
36033 * conform/data/setjmp.h-data: Likewise.
36034 * conform/data/signal.h-data: Likewise.
36035 * conform/data/spawn.h-data: Likewise.
36036 * conform/data/stdarg.h-data: Likewise.
36037 * conform/data/stdio.h-data: Likewise.
36038 * conform/data/stdlib.h-data: Likewise.
36039 * conform/data/string.h-data: Likewise.
36040 * conform/data/strings.h-data: Likewise.
36041 * conform/data/stropts.h-data: Likewise.
36042 * conform/data/sys/ipc.h-data: Likewise.
36043 * conform/data/sys/mman.h-data: Likewise.
36044 * conform/data/sys/msg.h-data: Likewise.
36045 * conform/data/sys/resource.h-data: Likewise.
36046 * conform/data/sys/select.h-data: Likewise.
36047 * conform/data/sys/sem.h-data: Likewise.
36048 * conform/data/sys/shm.h-data: Likewise.
36049 * conform/data/sys/socket.h-data: Likewise.
36050 * conform/data/sys/stat.h-data: Likewise.
36051 * conform/data/sys/statvfs.h-data: Likewise.
36052 * conform/data/sys/time.h-data: Likewise.
36053 * conform/data/sys/timeb.h-data: Likewise.
36054 * conform/data/sys/times.h-data: Likewise.
36055 * conform/data/sys/types.h-data: Likewise.
36056 * conform/data/sys/uio.h-data: Likewise.
36057 * conform/data/sys/un.h-data: Likewise.
36058 * conform/data/sys/utsname.h-data: Likewise.
36059 * conform/data/sys/wait.h-data: Likewise.
36060 * conform/data/syslog.h-data: Likewise.
36061 * conform/data/tar.h-data: Likewise.
36062 * conform/data/termios.h-data: Likewise.
36063 * conform/data/utime.h-data: Likewise.
36064 * conform/data/utmpx.h-data: Likewise.
36065 * conform/data/varargs.h-data: Likewise.
36066 * conform/data/wchar.h-data: Likewise.
36067 * conform/data/wctype.h-data: Likewise.
36068 * conform/data/wordexp.h-data: Likewise.
36069
36070 * include/stropts.h: New file.
36071 * include/uchar.h: New file.
36072 * include/aio.h: Changes to allow conformtest.pl to use the headers.
36073 * include/assert.h: Likewise.
36074 * include/ctype.h: Likewise.
36075 * include/dirent.h: Likewise.
36076 * include/dlfcn.h: Likewise.
36077 * include/fcntl.h: Likewise.
36078 * include/fnmatch.h: Likewise.
36079 * include/glob.h: Likewise.
36080 * include/grp.h: Likewise.
36081 * include/libio.h: Likewise.
36082 * include/locale.h: Likewise.
36083 * include/math.h: Likewise.
36084 * include/net/if.h: Likewise.
36085 * include/netdb.h: Likewise.
36086 * include/netinet/in.h: Likewise.
36087 * include/pthread.h: Likewise.
36088 * include/pwd.h: Likewise.
36089 * include/regex.h: Likewise.
36090 * include/sched.h: Likewise.
36091 * include/search.h: Likewise.
36092 * include/setjmp.h: Likewise.
36093 * include/signal.h: Likewise.
36094 * include/stdio.h: Likewise.
36095 * include/stdlib.h: Likewise.
36096 * include/string.h: Likewise.
36097 * include/sys/cdefs.h: Likewise.
36098 * include/sys/mman.h: Likewise.
36099 * include/sys/msg.h: Likewise.
36100 * include/sys/resource.h: Likewise.
36101 * include/sys/select.h: Likewise.
36102 * include/sys/socket.h: Likewise.
36103 * include/sys/stat.h: Likewise.
36104 * include/sys/statvfs.h: Likewise.
36105 * include/sys/time.h: Likewise.
36106 * include/sys/times.h: Likewise.
36107 * include/sys/uio.h: Likewise.
36108 * include/sys/utsname.h: Likewise.
36109 * include/sys/wait.h: Likewise.
36110 * include/termios.h: Likewise.
36111 * include/time.h: Likewise.
36112 * include/ulimit.h: Likewise.
36113 * include/unistd.h: Likewise.
36114 * include/utime.h: Likewise.
36115 * include/wchar.h: Likewise.
36116 * include/wctype.h: Likewise.
36117 * include/wordexp.h: Likewise.
36118
36119 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36120
7a270350
UD
36121 * time/time.h: TIME_UTC must be a macro.
36122 Make timespec_get available for ISO C11 only as well.
36123
7724defc
UD
361242012-02-24 Ulrich Drepper <drepper@gmail.com>
36125
36126 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36127 Reported by Peng Haitao <penght@cn.fujitsu.com>.
36128
6b1d1d46
JM
361292012-02-24 Joseph Myers <joseph@codesourcery.com>
36130
36131 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 36132
0f8bbd69
JM
361332012-02-24 Joseph Myers <joseph@codesourcery.com>
36134
36135 * manual/texinfo.tex: Update to version 2012-01-19.16.
36136
66ab80bc
JM
361372012-02-24 Joseph Myers <joseph@codesourcery.com>
36138
36139 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36140
74981cc5
RM
361412012-02-24 Roland McGrath <roland@hack.frob.com>
36142
ee968201
RM
36143 [BZ #13738]
36144 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36145 * manual/fdl-1.3.texi: New file.
36146 * manual/fdl-1.1.texi: File removed.
36147
74981cc5
RM
36148 [BZ #13738]
36149 * manual/libc.texinfo (FDL_VERSION): New @set.
36150 Use it for mention of FDL in cover text.
36151 (Documentation License): Use it in @include file name.
36152
7bb764bc
JM
361532012-02-22 Joseph Myers <joseph@codesourcery.com>
36154 Roland McGrath <roland@hack.frob.com>
36155
36156 [BZ #5461]
57f41c40
AS
36157 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36158 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
36159 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36160 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
36161 name.
36162 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36163
6cbeae47
JM
361642012-02-22 Joseph Myers <joseph@codesourcery.com>
36165
36166 [BZ #2547]
36167 [BZ #11365]
36168 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36169 manipulate bits before adding and subtracting TWO23[sx].
36170 * math/libm-test.inc (nearbyint_test): Add more tests.
36171
fe45ce09
JM
361722012-02-22 Joseph Myers <joseph@codesourcery.com>
36173
36174 [BZ #2548]
36175 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36176 bits before adding and subtracting TWO23[sx].
36177 * math/libm-test.inc (rint_test): Add more tests.
36178 (rint_test_tonearest): Likewise.
36179 (rint_test_towardzero): Likewise.
36180 (rint_test_downward): Likewise.
36181 (rint_test_upward: Likewise.
36182
ff3b3d82
JM
361832012-02-22 Joseph Myers <joseph@codesourcery.com>
36184
36185 [BZ #10110]
36186 * include/stdc-predef.h: New file. Extracted from features.h.
36187 * include/features.h: Include stdc-predef.h.
36188 * Makefile (headers): Add stdc-predef.h.
36189 * CONFORMANCE (Compiler limitations): Update.
36190
ef0aab35
JM
361912012-02-22 Joseph Myers <joseph@codesourcery.com>
36192
36193 * manual/libc.texinfo (VERSION, UPDATED): Revert.
36194
58639409
DM
361952012-02-21 David S. Miller <davem@davemloft.net>
36196
36197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36199
c0e70b25
DM
362002012-02-20 David S. Miller <davem@davemloft.net>
36201
36202 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36203 using a normal save/restore sequence, rather than allocating a
36204 dummy stack frame just to store a frame pointer and restore.
36205 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36206
fb06851d
JM
362072012-02-21 Joseph Myers <joseph@codesourcery.com>
36208
36209 * manual/install.texi: Fix stray word in line-wrapped comment.
36210
7a8b71c3
DM
362112012-02-20 David S. Miller <davem@davemloft.net>
36212
d510c123
DM
36213 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36214 both binutils and gcc support GOTDATA.
36215
0722d7c2
DM
36216 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36217 "rd %pc" in the PIC register setup sequences.
36218
3d2b3019
DM
36219 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36220 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36221 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36222 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36223 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36225 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36227 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36228 (SYSCALL_ERROR_HANDLER): Likewise.
36229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36232 (SYSCALL_ERROR_HANDLER): Likewise.
36233
c80098a9
DM
36234 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36235 (HAVE_GCC_GOTDATA): New.
36236 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36237 relocation support in both binutils and gcc.
36238 * sysdeps/sparc/elf/configure: Regenerate.
36239
3a2545a0
DM
36240 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36241 * sysdeps/sparc/sparc32/elf/configure: Delete.
36242 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36243 * sysdeps/sparc/sparc64/elf/configure: Delete.
36244 * sysdeps/sparc/elf/configure.in: New file.
36245 * sysdeps/sparc/elf/configure: Generate.
36246
7a8b71c3
DM
36247 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36248 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36249 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36250 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36251 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36252
f1e86fca
JM
362532012-02-21 Joseph Myers <joseph@codesourcery.com>
36254
36255 * manual/install.texi: Do not mention specific glibc version
36256 numbers.
36257 * manual/libc.texinfo (VERSION, UPDATED): Update.
36258 (@copying): Use @copyright{} and range of years.
36259
0e7dfaef
JM
362602012-02-21 Joseph Myers <joseph@codesourcery.com>
36261
36262 [BZ #13695]
36263 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36264 [crti.S not in sysdirs] (generated): Do not append.
36265 [crti.S not in sysdirs] (omit-deps): Likewise.
36266 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36267 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36268 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36269 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36270 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36271 Likewise.
36272 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36273 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36274 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36275 * csu/defs.awk: Remove file.
36276 * sysdeps/generic/initfini.c: Likewise.
36277 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36278 variable.
36279 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36280 Likewise.
36281
599af3ca
JM
362822012-02-20 Joseph Myers <joseph@codesourcery.com>
36283
36284 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36285 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36286 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36287 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36288 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36289 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36290 <bits/epoll.h>.
36291 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36292 (__EPOLL_PACKED): Define to empty if not defined by
36293 <bits/epoll.h>.
36294 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36296 bits/epoll.h.
36297
0e499750
JM
362982012-02-20 Joseph Myers <joseph@codesourcery.com>
36299
36300 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36301 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36303 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36304 <bits/timerfd.h>.
36305 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36307 bits/timerfd.h.
36308
5ad91f6e
JM
363092012-02-20 Joseph Myers <joseph@codesourcery.com>
36310
36311 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36312 in C locale.
36313 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36314 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36317
06b99b02
AJ
363182012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36319
36320 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36321 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36322
7638c0fd
AS
363232012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36324
36325 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36326 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36327 defined.
36328 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36329 Likewise.
36330 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36331 entry for 2.16.
36332
92221550
AJ
363332012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36334
36335 * math/w_acos.c: Use non-signaling floating-point comparisons.
36336 * math/w_acosf.c: Likewise.
36337 * math/w_acosh.c: Likewise.
36338 * math/w_acoshf.c: Likewise.
36339 * math/w_acoshl.c: Likewise.
36340 * math/w_acosl.c: Likewise.
36341 * math/w_asin.c: Likewise.
36342 * math/w_asinf.c: Likewise.
36343 * math/w_asinl.c: Likewise.
36344 * math/w_atanh.c: Likewise.
36345 * math/w_atanhf.c: Likewise.
36346 * math/w_atanhl.c: Likewise.
36347 * math/w_exp2.c: Likewise.
36348 * math/w_exp2f.c: Likewise.
36349 * math/w_exp2l.c: Likewise.
36350 * math/w_j0.c: Likewise.
36351 * math/w_j0f.c: Likewise.
36352 * math/w_j0l.c: Likewise.
36353 * math/w_j1.c: Likewise.
36354 * math/w_j1f.c: Likewise.
36355 * math/w_j1l.c: Likewise.
36356 * math/w_jn.c: Likewise.
36357 * math/w_jnf.c: Likewise.
36358 * math/w_log.c: Likewise.
36359 * math/w_log10.c: Likewise.
36360 * math/w_log10f.c: Likewise.
36361 * math/w_log10l.c: Likewise.
36362 * math/w_log2.c: Likewise.
36363 * math/w_log2f.c: Likewise.
36364 * math/w_log2l.c: Likewise.
36365 * math/w_logf.c: Likewise.
36366 * math/w_logl.c: Likewise.
36367 * math/w_sqrt.c: Likewise.
36368 * math/w_sqrtf.c: Likewise.
36369 * math/w_sqrtl.c: Likewise.
36370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36371 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36372 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36373 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36374 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36375
ebaf36eb
JM
363762012-02-19 Joseph Myers <joseph@codesourcery.com>
36377
36378 [BZ #9739]
36379 * manual/string.texi (strnlen): Use correct parameter name in
36380 equivalent expression.
36381
71c254a6
JM
363822012-02-19 Joseph Myers <joseph@codesourcery.com>
36383
36384 [BZ #11174]
36385 * manual/users.texi (seteuid): Consistently use neweuid for
36386 argument name.
36387
16d2c631
JM
363882012-02-19 Joseph Myers <joseph@codesourcery.com>
36389
36390 [BZ #13704]
36391 * manual/nss.texi (Services in the NSS configuration): Correct
36392 list of services in example configuration file.
36393
cd837b09
NB
363942012-02-19 Nick Bowler <nbowler@draconx.ca>
36395
36396 [BZ #11322]
36397 * manual/arith.texi: Remove statements about negative zero
36398 behaving identically to zero.
36399
02c4bbad
JM
364002012-02-18 Joseph Myers <joseph@codesourcery.com>
36401
36402 [BZ #5993]
36403 * manual/install.texi: Do not document upgrading from libc5.
36404
366842e7
JM
364052012-02-18 Joseph Myers <joseph@codesourcery.com>
36406
36407 [BZ #4596]
36408 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36409
dd54084d
DM
364102012-02-18 David S. Miller <davem@davemloft.net>
36411
36412 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36413 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36414 %o7 across the call.
36415 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36416 instead.
36417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36418 SETUP_PIC_REG_LEAF.
36419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36420 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36421 * sysdeps/sparc/crtn.S: Likewise.
36422
2bcc53a3
UD
364232012-02-17 Ulrich Drepper <drepper@gmail.com>
36424
36425 * aout/Makefile: Remove.
36426
09c093b5
RK
364272012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36428
36429 [BZ #13058]
36430 * manual/examples/argp-ex1.c (main): Format definition in GNU
36431 style.
36432 * manual/examples/argp-ex2.c (main): Likewise.
36433 * manual/examples/argp-ex3.c (main): Likewise.
36434 * manual/examples/argp-ex4.c (main): Likewise.
36435 * manual/examples/longopt.c (main): Use new-style prototype
36436 definition.
36437 * manual/examples/strncat.c (main): Specify return type and use
36438 (void) for arguments.
36439 * manual/examples/subopt.c (main): Use char **argv argument.
36440
2ee633a2
JM
364412012-02-17 Joseph Myers <joseph@codesourcery.com>
36442
36443 [BZ #5077]
36444 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36445 rounding modes.
36446
0520adde
FB
364472012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36448
36449 [BZ #6907]
36450 * manual/string.texi (strchr): Change when strchrnul is
36451 recommended.
36452
3f4081cd
DGM
364532012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36454
36455 [BZ #174]
36456 * manual/locale.texi (setlocale): Document LOCPATH.
36457
d1b10e78
JM
364582012-02-17 Joseph Myers <joseph@codesourcery.com>
36459
36460 [BZ #10210]
36461 * manual/process.texi (execle): Move @dots{} before last argument.
36462
79c6869c
PB
364632012-02-17 Paul Bolle <pebolle@tiscali.nl>
36464
36465 [BZ #12047]
36466 * manual/charset.texi (Generic Charset Conversion): Fix typo
36467 (LC_TYPE -> LC_CTYPE).
36468
cc6e48bc
NB
364692012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36470
36471 [BZ #5805]
36472 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36473 (scalbnf): Likewise.
36474 (scalbnl): Likewise.
36475 (scalbln): Likewise.
36476 (scalblnf): Likewise.
36477 (scalblnl): Likewise.
36478 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36479 (vwarnx): Likewise.
36480 (verr): Likewise.
36481 (verrx): Likewise.
36482 * manual/filesys.texi (telldir): Use braces around return type.
36483 * manual/llio.texi (mmap): Add space after comma.
36484 (mmap64): Likewise.
36485 * manual/math.texi (jn): Use @var{} on parameter names.
36486 (jnf): Likewise.
36487 (jnl): Likewise.
36488 (yn): Likewise.
36489 (ynf): Likewise.
36490 (ynl): Likewise.
36491 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36492 line.
36493 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36494 "...".
36495 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36496 (sched_get_priority_max): Likewise.
36497 * manual/signal.texi (sigvec): Add space after comma.
36498 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36499 names.
36500 (if_indextoname): Likewise.
36501 (if_freenameindex): Likewise.
36502 (sendto): Use ',' instead of '.' in prototype.
36503 * manual/startup.texi (syscall): Use @dots{} instead of literal
36504 "...".
36505 * manual/stdio.texi (__fpending): Separate initial words of
36506 paragraph from @deftypefun line.
36507 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36508 "...".
36509 (vsyslog): Use @var{} on parameter names.
36510 * manual/terminal.texi (stty): Use @var{} on parameter names.
36511 * manual/users.texi (getutmp): Use @var{} on parameter names.
36512 (getutmpx): Likewise.
36513
5b23062f
JM
365142012-02-17 Joseph Myers <joseph@codesourcery.com>
36515
36516 [BZ #6884]
36517 * manual/stdio.texi (fopen): Fix typos in description of
36518 ",ccs=STRING".
36519
8dee4833
AJ
365202012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36521
36522 [BZ #4026]
36523 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36524 get clock_id definition.
36525
9078ce93
TS
365262012-02-17 Thomas Schwinge <thomas@schwinge.name>
36527
36528 [BZ #4822]
36529 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36530 (madvise): Cast every argument to void on its own.
36531
3835c55f
JM
365322012-02-17 Joseph Myers <joseph@codesourcery.com>
36533
36534 [BZ #9902]
36535 * manual/startup.texi (Exit Status): Fix typo.
36536
35c47e37
JM
365372012-02-17 Joseph Myers <joseph@codesourcery.com>
36538
36539 [BZ #10140]
36540 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36541 * manual/examples/argp-ex2.c: Likewise.
36542 * manual/examples/argp-ex3.c: Likewise.
36543
e3b69ca7
RH
365442012-02-16 Richard Henderson <rth@redhat.com>
36545
36546 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36547 * sysdeps/s390/s390-32/initfini.c: Remove.
36548 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36549 * sysdeps/s390/s390-64/initfini.c: Remove.
36550
df83af67
KK
365512012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36552
36553 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36554 compiler output for sysdeps/generic/initfini.c.
36555 * sysdeps/sh/elf/initfini.c: Remove file.
36556
f63f3380
DM
365572012-02-16 David S. Miller <davem@davemloft.net>
36558
fb59b3a4
DM
36559 [BZ #11494]
36560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36561
f63f3380
DM
36562 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36563 * sysdeps/sparc/crti.S: New file.
36564 * sysdeps/sparc/crtn.S: New file.
36565 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36566 * sysdeps/sparc/sparc64/Makefile: Likewise.
36567
df6a4a4a
MF
365682012-02-15 Mike Frysinger <vapier@gentoo.org>
36569
6dd8f3dc 36570 [BZ #3335]
df6a4a4a
MF
36571 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36572
1cac7236
RM
365732012-02-15 Roland McGrath <roland@hack.frob.com>
36574
d2c736f8
RM
36575 [BZ #4822]
36576 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36577
1cac7236
RM
36578 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36579 (write, read, close): Likewise.
36580 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36581
8e475601
JM
365822012-02-15 Joseph Myers <joseph@codesourcery.com>
36583
36584 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36585 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36586 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36587 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36588 <bits/signalfd.h>.
36589 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36591 bits/signalfd.h.
36592
ed656b40
MP
365932012-02-14 Marek Polacek <polacek@redhat.com>
36594
36595 * sysdeps/x86_64/crti.S: New file.
36596 * sysdeps/x86_64/crtn.S: New file.
36597 * sysdeps/x86_64/elf/initfini.c: Remove file.
36598
2a979d3a
JM
365992012-02-13 Joseph Myers <joseph@codesourcery.com>
36600
36601 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36602 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36603 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36604 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36605 <bits/inotify.h>.
36606 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36608 bits/inotify.h.
36609
2a418ac3
JM
366102012-02-13 Joseph Myers <joseph@codesourcery.com>
36611
36612 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36613 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36614 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36615 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36616 <bits/eventfd.h>.
36617 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36619 bits/eventfd.h.
36620
fb779be7
TS
366212012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36622
e19e83c5
RM
36623 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36624 __feraiseexcept instead of feraiseexcept.
7c35ffed 36625
fb779be7
TS
36626 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36627 nanosleep invocations.
36628 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36629 strings, and add error checking for a nanosleep invocations.
36630
59ba27a6
PE
366312012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36632
36633 Replace FSF snail mail address with URLs, as per GNU coding standards.
36634 Most of the snail mail addresses were wrong anyway, and omitting
36635 them makes the source code easier to maintain. Almost all of the
36636 changes are to license notices and to locale LC_IDENTIFICATION
36637 addresses, except for this one:
36638 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36639 not its snail mail address.
36640
57b957eb
RH
366412012-02-09 Richard Henderson <rth@twiddle.net>
36642
af850b1c
RH
36643 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36644 of kernel-features.h.
36645
57b957eb
RH
36646 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36647
6b73181a
MP
366482012-02-08 Marek Polacek <polacek@redhat.com>
36649
36650 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36651 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36652 * sysdeps/gnu/_G_config.h: Likewise.
36653 * sysdeps/generic/_G_config.h: Likewise.
36654
26ecc33a
AS
366552012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36656
6c6dbc63
AS
36657 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36658 tests.
36659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36660
e216c012
AS
36661 * sysdeps/powerpc/powerpc32/crti.S: New file.
36662 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36663 * sysdeps/powerpc/powerpc64/crti.S: New file.
36664 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36665
26ecc33a
AS
36666 * Makeconfig (have-initfini): Don't set.
36667 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36668 * configure.in (nopic_initfini): Don't substitute.
36669 * config.h.in (HAVE_INITFINI): Don't #undef.
36670 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36671 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36672
3add8e13
JM
366732012-02-08 Joseph Myers <joseph@codesourcery.com>
36674
36675 Support crti.S and crtn.S provided directly by architectures.
36676 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36677 [crti.S in sysdirs] (omit-deps): Likewise.
36678 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36679 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36680 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36681 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36682 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36683 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36684 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36685 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36686 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36687 compiler output for sysdeps/generic/initfini.c.
36688 * sysdeps/i386/elf/Makefile: Remove file.
36689 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36690
a22f12b4
MP
366912012-02-07 Marek Polacek <polacek@redhat.com>
36692
36693 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36694 * sysdeps/gnu/_G_config.h: Likewise.
36695 * sysdeps/mach/hurd/_G_config.h: Likewise.
36696
148cf100
MP
366972012-02-07 Marek Polacek <polacek@redhat.com>
36698
36699 * math/Makefile (tests): Add tst-CMPLX2.
36700 * math/tst-CMPLX2.c: New file.
36701
cfdc0dd7
AS
367022012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36703
84ba42c4
AS
36704 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36705
cfdc0dd7
AS
36706 * math/libm-test.inc (jn_test): Add missing L suffix.
36707
622c86f4
MP
367082012-02-06 Marek Polacek <polacek@redhat.com>
36709
36710 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36711 * sysdeps/i386/fpu/e_powf.S: Likewise.
36712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36713 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36715 * sysdeps/i386/fpu/e_pow.S: Likewise.
36716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36720 * sysdeps/i386/fpu/e_log2.S: Likewise.
36721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36723 * sysdeps/i386/fpu/e_powl.S: Likewise.
36724 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36727 * sysdeps/i386/fpu/e_logl.S: Likewise.
36728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36729 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36734 * sysdeps/i386/fpu/e_log.S: Likewise.
36735 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36736 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36737 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36738 * sysdeps/i386/fpu/e_logf.S: Likewise.
36739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36740 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36741 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36742 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36743 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36744 * sysdeps/i386/fpu/e_log10.S: Likewise.
36745 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36747 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36748 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36749 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36750 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36751 * sysdeps/i386/asm-syntax.h: Likewise.
36752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36755 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36756 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36757 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36758 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36759 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36760 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36761 * sysdeps/powerpc/sysdep.h: Likewise.
36762 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36763 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36764
d4a54ac6
JM
367652012-02-06 Joseph Myers <joseph@codesourcery.com>
36766
36767 [BZ #411]
36768 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36769
314054ea
JM
367702012-02-06 Joseph Myers <joseph@codesourcery.com>
36771
36772 * sysdeps/i386/sysdep.h: Include <features.h>.
36773 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36774 version.
36775
d8e0ca50
JM
367762012-02-05 Joseph Myers <joseph@codesourcery.com>
36777
36778 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36779 Define.
36780 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36781 LOAD_PIC_REG_STR.
36782
b1da7dd9
JM
367832012-02-03 Joseph Myers <joseph@codesourcery.com>
36784
36785 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36786 (SETUP_PIC_REG): Use GET_PC_THUNK.
36787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36788 macro.
36789
9a1d9254
JM
367902012-02-03 Joseph Myers <joseph@codesourcery.com>
36791
36792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36793 for non-PIC compilation.
36794 (SETUP_PIC_REG): Add .p2align directive.
36795 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36796 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36797 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36798 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36799 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36801 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36802 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36803 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36804 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36805 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36806 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36807 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36808 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36809 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36810 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36811 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36812 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36813 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36814 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36815 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36816 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36817 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36818 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36819 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36821 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36822 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36823 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36824 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36825 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36826 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36828 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36829 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36830 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36831 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36832 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36833 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36834 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36835 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36836
65dc3b75
JM
368372012-02-03 Joseph Myers <joseph@codesourcery.com>
36838
36839 * math/tst-CMPLX.c: Include <stdio.h>.
36840
d55bf177
JM
368412012-01-31 Joseph Myers <joseph@codesourcery.com>
36842
36843 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36844 float.
36845 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36846 * sysdeps/sparc/bits/mathdef.h: Likewise.
36847
69db4f8f
MP
368482012-01-31 Marek Polacek <polacek@redhat.com>
36849
36850 * libio/libio.h: Don't define _PARAMS.
36851 * locale/programs/config.h: Don't define PARAMS.
36852 * stdlib/strtol_l.c: Likewise.
36853 (__strtol_l): Remove PARAMS from the prototype.
36854
41b81892
UD
368552012-01-31 Ulrich Drepper <drepper@gmail.com>
36856
3b49edc0
UD
36857 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36858 names. Just use the correct names. Remove unnecessary wrapper
36859 functions.
36860 * malloc/arena.c: Likewise.
36861 * malloc/hooks.c: Likewise.
36862
41b81892
UD
36863 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36864 ARENA_TEST says not to. Simplify test for creation of a new arena.
36865 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36866
27a25b6e
UD
368672012-01-30 Ulrich Drepper <drepper@gmail.com>
36868
36869 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36870 into tail calls.
36871 (update_get_addr): New function.
36872 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36873 GET_ADDR_MODULE parameter.
36874
c8a89e7d
JM
368752012-01-30 Joseph Myers <joseph@codesourcery.com>
36876
36877 * crypt/cert.c: Remove __STDC__ conditionals.
36878 * crypt/crypt-entry.c: Likewise.
36879 * crypt/crypt_util.c: Likewise.
36880 * libio/filedoalloc.c: Likewise.
36881 * libio/fileops.c: Likewise.
36882 * libio/genops.c: Likewise.
36883 * libio/iofclose.c: Likewise.
36884 * libio/iofdopen.c: Likewise.
36885 * libio/iofopen.c: Likewise.
36886 * libio/iofopen64.c: Likewise.
36887 * libio/iogetdelim.c: Likewise.
36888 * libio/iopopen.c: Likewise.
36889 * libio/obprintf.c: Likewise.
36890 * libio/oldfileops.c: Likewise.
36891 * libio/oldiofclose.c: Likewise.
36892 * libio/oldiofdopen.c: Likewise.
36893 * libio/oldiofopen.c: Likewise.
36894 * libio/oldiopopen.c: Likewise.
36895 * libio/wfiledoalloc.c: Likewise.
36896 * libio/wgenops.c: Likewise.
36897 * locale/programs/xmalloc.c: Likewise.
36898 * misc/syslog.c: Likewise.
36899 * stdio-common/xbug.c: Likewise.
36900 * string/memchr.c: Likewise.
36901 * string/memcmp.c: Likewise.
36902 * string/memrchr.c: Likewise.
36903 * string/rawmemchr.c: Likewise.
36904 * sysdeps/posix/getcwd.c: Likewise.
36905 * time/strftime_l.c: Likewise.
36906
3b100462
JM
369072012-01-30 Joseph Myers <joseph@codesourcery.com>
36908
36909 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36910 * config.make.in (config-cflags-sse2avx): Define.
36911 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36912 Fix typo.
36913
607998af
CM
369142012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36915
36916 * scripts/config.guess: Update from upstream config git repository.
36917 * scripts/config.sub: Likewise.
36918
3601428f
CM
369192012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36920
3ac8b282
CM
36921 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36922 (EM_NUM): Update.
36923 (R_TILEPRO_*, R_TILEGX_*): New macros.
36924
e034841e
CM
36925 * scripts/firstversions.awk: Fix bug in version range handling.
36926
540d7568
CM
36927 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36928
3601428f
CM
36929 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36930
463de862
CM
36931 * include/sys/epoll.h: New file.
36932 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36933 libc_hidden_def.
36934
73139a76
UD
369352012-01-28 Ulrich Drepper <drepper@gmail.com>
36936
96bc5b45
UD
36937 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36938 Avoid unnecessary __WORDSIZE == 64 test.
36939 (fmaxf): Use VEX format if possible.
36940 (fmax): Likewise.
36941 (fminf): Likewise.
36942 (fmin): Likewise.
36943
56f6f6a2
UD
36944 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36945 * math/math_private.h: Remove libc_fegetround* and
36946 libc_fesetround*.
36947 * sysdeps/i386/configure.in: Check for -msse2avx.
36948 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36949 also if SSE2AVX is defined.
36950 Remove libc_fegetround* and libc_fesetround*.
36951 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36952 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36954 of HAS_YMM_USABLE.
36955 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36956 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36960
73139a76
UD
36961 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36962
d73f93a4
AZ
369632012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36964
36965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36966 size is not set.
36967 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36968
6ee65ed6
UD
369692012-01-27 Ulrich Drepper <drepper@gmail.com>
36970
36971 [BZ #13618]
36972 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36973 relocation.
36974 * Makeconfig (libm): Define.
36975 * elf/Makefile: Add rules to build and run tst-relsort1.
36976 * elf/tst-relsort1.c: New file.
36977 * elf/tst-relsort1mod1.c: New file.
36978 * elf/tst-relsort1mod2.c: New file.
36979
8db21882
JM
369802012-01-27 Joseph Myers <joseph@codesourcery.com>
36981
36982 * math/s_ldexp.c: Remove __STDC__ conditionals.
36983 * math/s_ldexpf.c: Likewise.
36984 * math/s_ldexpl.c: Likewise.
36985 * math/s_nextafter.c: Likewise.
36986 * math/s_nexttowardf.c: Likewise.
36987 * math/s_significand.c: Likewise.
36988 * math/s_significandf.c: Likewise.
36989 * math/s_significandl.c: Likewise.
36990 * math/w_jnl.c: Likewise.
36991 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36992 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36993 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36994 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36995 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37001 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37002 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37005 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37006 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37007 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37008 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37017 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37018 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37019 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37020 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37022 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37023 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37025 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37026 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37030 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37031 * sysdeps/ieee754/k_standard.c: Likewise.
37032 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37033 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37034 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37042 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37043 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37044 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37045 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37046 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37048 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37049 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37050 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37051 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37054 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37055 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37056 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37057 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37061 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37062 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37063 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37064 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37065 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37075 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37077 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37093 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37096 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37098 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37107 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37111 * sysdeps/ieee754/s_matherr.c: Likewise.
37112 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37113 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37114 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37115 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37116
965a54a4
JM
371172012-01-26 Joseph Myers <joseph@codesourcery.com>
37118
37119 * crypt/md5.h: Remove __STDC__ conditionals.
37120 * libio/libioP.h: Likewise.
37121 * locale/programs/config.h: Likewise.
37122 * sysdeps/generic/sysdep.h: Likewise.
37123 * sysdeps/i386/asm-syntax.h: Likewise.
37124 * sysdeps/s390/asm-syntax.h: Likewise.
37125 * sysdeps/unix/sysdep.h: Likewise.
37126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37128
7071ad79
JM
371292012-01-26 Joseph Myers <joseph@codesourcery.com>
37130
37131 * libio/libio.h: Remove __STDC__ conditionals.
37132 * malloc/obstack.h: Likewise.
37133 * math/complex.h: Likewise.
37134 * math/math.h: Likewise.
37135 * sysdeps/generic/_G_config.h: Likewise.
37136 * sysdeps/gnu/_G_config.h: Likewise.
37137 * sysdeps/mach/hurd/_G_config.h: Likewise.
37138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37139 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37140 * sysdeps/sparc/bits/mathdef.h: Likewise.
37141
afc5ed09
UD
371422012-01-26 Ulrich Drepper <drepper@gmail.com>
37143
37144 [BZ #13583]
37145 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 37146 Clean up HAS_* macros.
afc5ed09 37147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
37148 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37149 possible.
37150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37151 HAS_AVX.
37152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 37157
bdb6de1d
JM
371582012-01-25 Joseph Myers <joseph@codesourcery.com>
37159
37160 * elf/tst-unique3.cc (gets): Remove declaration.
37161 * elf/tst-unique3lib.cc (gets): Likewise.
37162 * elf/tst-unique3lib2.cc (gets): Likewise.
37163 * elf/tst-unique4.cc (gets): Likewise.
37164
b15549e6
UD
371652012-01-24 Ulrich Drepper <drepper@gmail.com>
37166
37167 * include/stdio.h: Add C++ protection. Add gets declarations and
37168 definitions.
37169 * debug/tst-chk1.c: Don't declare gets here.
37170 * stdio-common/tst-gets.c: Likewise.
37171
a037381f
JM
371722012-01-24 Joseph Myers <joseph@codesourcery.com>
37173
37174 * posix/glob: Remove directory.
37175
f1d4aa75
JM
371762012-01-24 Joseph Myers <joseph@codesourcery.com>
37177
37178 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37179
81c0c964
PT
371802012-01-22 Pino Toscano <toscano.pino@tiscali.it>
37181
37182 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37183 of the non-standard EPFNOSUPPORT.
37184
0ea698ae
ST
371852011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
37186
37187 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37188 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37189 ANYWHERE set to 1 only on KERN_NO_SPACE error.
37190
d220b117
UD
371912012-01-21 Ulrich Drepper <drepper@gmail.com>
37192
37193 * wcsmbs/uchar.h: Test __STDC_VERSION__.
37194
3e1aa84e
UD
371952012-01-20 Ulrich Drepper <drepper@gmail.com>
37196
37197 * nscd/aicache.c (addhstaiX): Do not cache negative results of
37198 transient errors.
37199 * nscd/grpcache.c (cache_addgr): Likewise.
37200 * nscd/hstcache.c (cache_addhst): Likewise.
37201 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37202 * nscd/pwdcache.c (cache_addpw): Likewise.
37203 * nscd/servicescache.c (cache_addserv): Likewise.
37204
400aa020
UD
372052012-01-16 Ulrich Drepper <drepper@gmail.com>
37206
d77e7869
UD
37207 * malloc/malloc.c: Various cleanups.
37208 * malloc/hooks.c: Likewise.
37209
400aa020
UD
37210 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37211 * stdlib/bug-fmtmsg1.c: New file.
37212
37213 * stdlib/fmtmsg.c (init): Add missing unlock.
37214 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37215
e0a309cf
MP
372162012-01-12 Marek Polacek <polacek@redhat.com>
37217
37218 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37219 and _GNU_SOURCE.
37220
929d11c7
WS
372212012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37222
37223 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37224 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37225 macro to ensure uniqueness of label name.
37226 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37227 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37228
41d0e869
UD
372292012-01-11 Ulrich Drepper <drepper@gmail.com>
37230
0cc5ed3b
UD
37231 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37232
41d0e869
UD
37233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37234 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37237
a47a831a
UD
372382012-01-10 Ulrich Drepper <drepper@gmail.com>
37239
daa891c0
UD
37240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37241
37242 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37243 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37244 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37245
e58ef0f2
UD
37246 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37247
a47a831a 37248 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
37249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 37251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
37252
37253 * math/bits/math-finite.h: Add ldexp support.
37254
a0bfc9c7
MP
372552012-01-10 Marek Polacek <polacek@redhat.com>
37256
37257 * locale/programs/localedef.h (show_archive_content): Add noreturn
37258 attribute.
37259
d6e97a1d
UD
372602012-01-09 Ulrich Drepper <drepper@gmail.com>
37261
37262 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37263
d5835c26
UD
372642012-01-08 Ulrich Drepper <drepper@gmail.com>
37265
e5f484c6
UD
37266 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37267
d5835c26
UD
37268 * io/Makefile (headers): Add bits/poll2.h.
37269
d1f741e9
WS
372702011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37271
37272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37273 typo #include statement.
37274
ec09c1c4
UD
372752012-01-08 Ulrich Drepper <drepper@gmail.com>
37276
37277 * include/sys/cdefs.h: Define __attribute_alloc_size.
37278 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37279 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37280 * elf/pldd.c: Likewise.
37281 * iconv/iconv_charmap.c: Likewise.
37282 * iconv/iconvconfig.c: Likewise.
37283 * iconv/strtab.c: Likewise.
37284 * locale/programs/locale.c: Likewise.
37285 * locale/programs/localedef.h: Likewise.
37286 * locale/programs/simple-hash.c: Likewise.
37287 * nscd/nscd.h: Likewise.
37288 * nss/makedb.c: Likewise.
37289 * sysdeps/generic/ldconfig.h: Likewise.
37290 * locale/programs/localedef.c: Remove xmalloc prototype.
37291 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37292
20b38e03
PP
372932012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37294
37295 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37296 appropriate.
37297
a0da5fe1
UD
372982012-01-08 Ulrich Drepper <drepper@gmail.com>
37299
1d5a644a 37300 * math/Makefile (tests): Add tst-CMPLX.
669704fd 37301 * math/tst-CMPLX.c: New file.
1d5a644a 37302
8784a6db
UD
37303 * math/complex.h (CMPLXL): Fix typo.
37304
d9a216c0
UD
37305 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37306 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37307 GLIBC_2.16.
37308 * debug/tst-chk1.c: Add poll and ppoll tests.
37309 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37310 * include/sys/poll.h: Add hidden proto for ppoll.
37311 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37312 * sysdeps/mach/hurd/ppoll.c: Likewise.
37313 * io/ppoll.c: Likewise.
37314 * debug/poll_chk.c: New file.
37315 * debug/ppoll_chk.c: New file.
37316 * include/bits/poll2.h: New file.
37317 * io/bits/poll2.h: New file.
37318
ac097f5c
UD
37319 [BZ #1350]
37320 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37321
2119dcfa
UD
37322 * configure.in: static is always set to yes. Remove.
37323 * config.make.in: Don't set build-static.
37324 * Makeconfig: Remove use of build-static.
37325 * dlfcn/Makefile: Likewise.
37326 * elf/Makefile: Likewise.
37327 * math/Makefile: Likewise.
37328 * misc/Makefile: Likewise.
37329 * nptl/Makefile: Likewise.
37330 * sysdeps/mach/hurd/Makefile: Likewise.
37331
121766a9
UD
37332 * configure.in: PWD_P is not used anymore.
37333 * config.make.in: Remove PWD_P entry.
37334
51a1d39c 37335 * configure.in: Remove last remnants of RANLIB.
8720d066 37336 No need to check for signed size_t anymore.
215f4bdc
UD
37337 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37338 and IA-64.
3857022a 37339 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
37340 * aclocal.m4: Likewise.
37341
d3ed7225
UD
37342 * wcsmbs/mbrtoc16.c: Implement using towc function.
37343 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37344 * wcsmbs/wcsmbsload.c: Likewise.
37345 * iconv/gconv_simple.c: Likewise.
37346 * iconv/gconv_int.h: Likewise.
37347 * iconv/gconv_builtin.h: Likewise.
37348 * iconv/iconv_prog.c: Remove CHAR16 handling.
37349
37350 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37351
37352 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37353
a0da5fe1
UD
37354 * configure.in: Remove --with-elf and --enable-bounded options.
37355 Dont set base_machine for ia64. More non-ELF conditions removed.
37356 Remove testing and setting of leading underscore information.
37357 * config.make.in (build-bounded): Set to no.
37358 * config.h.in: Remove NO_UNDERSCORES entry.
37359 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37360 them.
37361 * csu/start.c: Remove !NO_UNDERSCORE code.
37362 * locale/localeinfo.h: Likewise.
37363 * sysdeps/generic/machine-gmon.h: Likewise.
37364 * sysdeps/generic/sysdep.h: Likewise.
37365 * sysdeps/i386/sysdep.h: Likewise.
37366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37367 * sysdeps/mach/sysdep.h: Likewise.
37368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37370 * sysdeps/sh/sysdep.h: Likewise.
37371 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37372 * sysdeps/unix/i386/sysdep.S: Likewise.
37373 * sysdeps/unix/sparc/start.c: Likewise.
37374 * sysdeps/unix/sparc/sysdep.S: Likewise.
37375 * sysdeps/unix/sparc/sysdep.h: Likewise.
37376 * sysdeps/unix/start.c: Likewise.
37377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37378 * sysdeps/x86_64/sysdep.h: Likewise.
37379
df78418a
UD
373802012-01-07 Ulrich Drepper <drepper@gmail.com>
37381
a784e502
UD
37382 [BZ #13553]
37383 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37384 for non-gcc.
37385 * argp/argp-fmtstream.h: Use const instead __const.
37386 * argp/argp.h: Likewise.
37387 * assert/assert.h: Likewise.
37388 * bits/fenv.h: Likewise.
37389 * bits/sched.h: Likewise.
37390 * bits/sigset.h: Likewise.
37391 * bits/sigthread.h: Likewise.
37392 * catgets/nl_types.h: Likewise.
37393 * conform/data/pthread.h-data: Likewise.
37394 * crypt/crypt-private.h: Likewise.
37395 * crypt/crypt.h: Likewise.
37396 * crypt/crypt_util.c: Likewise.
37397 * ctype/ctype.h: Likewise.
37398 * debug/execinfo.h: Likewise.
37399 * debug/mbsnrtowcs_chk.c: Likewise.
37400 * debug/mbsrtowcs_chk.c: Likewise.
37401 * debug/wcsnrtombs_chk.c: Likewise.
37402 * debug/wcsrtombs_chk.c: Likewise.
37403 * debug/wcstombs_chk.c: Likewise.
37404 * dirent/dirent.h: Likewise.
37405 * dlfcn/dlfcn.h: Likewise.
37406 * elf/neededtest4.c: Likewise.
37407 * grp/grp.h: Likewise.
37408 * gshadow/gshadow.h: Likewise.
37409 * iconv/gconv.h: Likewise.
37410 * iconv/gconv_int.h: Likewise.
37411 * iconv/gconv_simple.c: Likewise.
37412 * iconv/iconv.h: Likewise.
37413 * iconv/loop.c: Likewise.
37414 * iconv/skeleton.c: Likewise.
37415 * include/aio.h: Likewise.
37416 * include/aliases.h: Likewise.
37417 * include/argz.h: Likewise.
37418 * include/arpa/inet.h: Likewise.
37419 * include/assert.h: Likewise.
37420 * include/dirent.h: Likewise.
37421 * include/dlfcn.h: Likewise.
37422 * include/execinfo.h: Likewise.
37423 * include/fcntl.h: Likewise.
37424 * include/fenv.h: Likewise.
37425 * include/glob.h: Likewise.
37426 * include/grp.h: Likewise.
37427 * include/libintl.h: Likewise.
37428 * include/mntent.h: Likewise.
37429 * include/netdb.h: Likewise.
37430 * include/pwd.h: Likewise.
37431 * include/rpc/netdb.h: Likewise.
37432 * include/sched.h: Likewise.
37433 * include/search.h: Likewise.
37434 * include/shadow.h: Likewise.
37435 * include/signal.h: Likewise.
37436 * include/stdio.h: Likewise.
37437 * include/stdlib.h: Likewise.
37438 * include/string.h: Likewise.
37439 * include/sys/socket.h: Likewise.
37440 * include/sys/stat.h: Likewise.
37441 * include/sys/statfs.h: Likewise.
37442 * include/sys/statvfs.h: Likewise.
37443 * include/sys/syslog.h: Likewise.
37444 * include/sys/time.h: Likewise.
37445 * include/sys/uio.h: Likewise.
37446 * include/time.h: Likewise.
37447 * include/unistd.h: Likewise.
37448 * include/utmp.h: Likewise.
37449 * include/wchar.h: Likewise.
37450 * include/wctype.h: Likewise.
37451 * inet/aliases.h: Likewise.
37452 * inet/arpa/inet.h: Likewise.
37453 * inet/netinet/ether.h: Likewise.
37454 * inet/netinet/in.h: Likewise.
37455 * intl/libintl.h: Likewise.
37456 * io/bits/fcntl2.h: Likewise.
37457 * io/fcntl.h: Likewise.
37458 * io/ftw.h: Likewise.
37459 * io/sys/poll.h: Likewise.
37460 * io/sys/stat.h: Likewise.
37461 * io/sys/statfs.h: Likewise.
37462 * io/sys/statvfs.h: Likewise.
37463 * io/utime.h: Likewise.
37464 * libio/bits/stdio.h: Likewise.
37465 * libio/bits/stdio2.h: Likewise.
37466 * libio/libio.h: Likewise.
37467 * libio/libioP.h: Likewise.
37468 * libio/stdio.h: Likewise.
37469 * locale/lc-ctype.c: Likewise.
37470 * locale/locale.h: Likewise.
37471 * login/utmp.h: Likewise.
37472 * malloc/arena.c: Likewise.
37473 * malloc/malloc.c: Likewise.
37474 * malloc/malloc.h: Likewise.
37475 * malloc/mcheck.c: Likewise.
37476 * malloc/mtrace.c: Likewise.
37477 * math/bits/mathcalls.h: Likewise.
37478 * math/fenv.h: Likewise.
37479 * math/math_private.h: Likewise.
37480 * misc/bits/error.h: Likewise.
37481 * misc/bits/syslog.h: Likewise.
37482 * misc/err.h: Likewise.
37483 * misc/error.h: Likewise.
37484 * misc/fstab.h: Likewise.
37485 * misc/mntent.h: Likewise.
37486 * misc/regexp.h: Likewise.
37487 * misc/search.h: Likewise.
37488 * misc/sgtty.h: Likewise.
37489 * misc/sys/mman.h: Likewise.
37490 * misc/sys/syslog.h: Likewise.
37491 * misc/sys/uio.h: Likewise.
37492 * misc/sys/xattr.h: Likewise.
37493 * misc/ttyent.h: Likewise.
37494 * nis/rpcsvc/ypclnt.h: Likewise.
37495 * nss/nss.h: Likewise.
37496 * posix/bits/unistd.h: Likewise.
37497 * posix/fnmatch.h: Likewise.
37498 * posix/glob.h: Likewise.
37499 * posix/sched.h: Likewise.
37500 * posix/spawn.h: Likewise.
37501 * posix/sys/wait.h: Likewise.
37502 * posix/unistd.h: Likewise.
37503 * posix/wordexp.h: Likewise.
37504 * pwd/pwd.h: Likewise.
37505 * resolv/netdb.h: Likewise.
37506 * resource/sys/resource.h: Likewise.
37507 * rt/aio.h: Likewise.
37508 * rt/bits/mqueue2.h: Likewise.
37509 * rt/mqueue.h: Likewise.
37510 * shadow/shadow.h: Likewise.
37511 * signal/signal.h: Likewise.
37512 * socket/send.c: Likewise.
37513 * socket/sendto.c: Likewise.
37514 * socket/sys/socket.h: Likewise.
37515 * stdio-common/printf.h: Likewise.
37516 * stdlib/bits/stdlib.h: Likewise.
37517 * stdlib/fmtmsg.h: Likewise.
37518 * stdlib/monetary.h: Likewise.
37519 * stdlib/stdlib.h: Likewise.
37520 * stdlib/ucontext.h: Likewise.
37521 * streams/stropts.h: Likewise.
37522 * string/argz.h: Likewise.
37523 * string/bits/string2.h: Likewise.
37524 * string/string.h: Likewise.
37525 * string/strings.h: Likewise.
37526 * sunrpc/rpc/auth.h: Likewise.
37527 * sunrpc/rpc/auth_des.h: Likewise.
37528 * sunrpc/rpc/clnt.h: Likewise.
37529 * sunrpc/rpc/netdb.h: Likewise.
37530 * sunrpc/rpc/pmap_clnt.h: Likewise.
37531 * sunrpc/rpc/xdr.h: Likewise.
37532 * sysdeps/generic/inttypes.h: Likewise.
37533 * sysdeps/generic/net/if.h: Likewise.
37534 * sysdeps/generic/sys/swap.h: Likewise.
37535 * sysdeps/gnu/net/if.h: Likewise.
37536 * sysdeps/gnu/utmpx.h: Likewise.
37537 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37538 * sysdeps/i386/i486/bits/string.h: Likewise.
37539 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37540 * sysdeps/s390/bits/string.h: Likewise.
37541 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37542 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37543 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37544 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37545 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37546 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37547 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37548 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37549 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37550 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37551 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37552 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37553 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37554 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37555 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37556 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37557 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37560 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37561 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37562 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37563 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37564 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37565 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37566 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37567 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37569 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37570 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37571 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37572 * sysvipc/sys/ipc.h: Likewise.
37573 * sysvipc/sys/msg.h: Likewise.
37574 * sysvipc/sys/sem.h: Likewise.
37575 * sysvipc/sys/shm.h: Likewise.
37576 * termios/termios.h: Likewise.
37577 * time/sys/time.h: Likewise.
37578 * time/time.h: Likewise.
37579 * wcsmbs/bits/wchar2.h: Likewise.
37580 * wcsmbs/uchar.h: Likewise.
37581 * wcsmbs/wchar.h: Likewise.
37582 * wctype/wctype.h: Likewise.
37583
0269750c
UD
37584 [BZ #13551]
37585 * Makeconfig: Remove all but ELF support including AIX support.
37586 * Makerules: Likewise.
37587 * config.h.in: Likewise.
37588 * config.make.in: Likewise.
37589 * configure: Likewise.
37590 * configure.in: Likewise.
37591 * csu/Makefile: Likewise.
37592 * csu/version.c: Likewise.
37593 * debug/Makefile: Likewise.
37594 * dlfcn/Makefile: Likewise.
37595 * elf/Makefile: Likewise.
37596 * extra-lib.mk: Likewise.
37597 * iconv/Makefile: Likewise.
37598 * include/libc-symbols.h: Likewise.
37599 * include/shlib-compat.h: Likewise.
37600 * resolv/Makefile: Likewise.
37601 * resolv/res_libc.c: Likewise.
37602 * rt/Makefile: Likewise.
37603 * sysdeps/i386/asm-syntax.h: Likewise.
37604 * sysdeps/i386/sysdep.h: Likewise.
37605 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37606 * sysdeps/mach/sysdep.h: Likewise.
37607 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37608 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37609 * sysdeps/s390/asm-syntax.h: Likewise.
37610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37611 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37612 * sysdeps/sh/sysdep.h: Likewise.
37613 * sysdeps/unix/sparc/sysdep.h: Likewise.
37614 * sysdeps/wordsize-32/divdi3.c: Likewise.
37615 * sysdeps/x86_64/sysdep.h: Likewise.
37616
00bbd29b
UD
37617 * argp/Versions: Remove _argp_unlock_xxx.
37618
37619 [BZ #13559]
37620 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37621 * abilist/libBrokenLocale.abilist: Likewise.
37622 * abilist/libanl.abilist: Likewise.
37623 * abilist/libc.abilist: Likewise.
37624 * abilist/libcrypt.abilist: Likewise.
37625 * abilist/libdl.abilist: Likewise.
37626 * abilist/libm.abilist: Likewise.
37627 * abilist/libnsl.abilist: Likewise.
37628 * abilist/libpthread.abilist: Likewise.
37629 * abilist/libresolv.abilist: Likewise.
37630 * abilist/librt.abilist: Likewise.
37631 * abilist/libthread_db.abilist: Likewise.
37632 * abilist/libutil.abilist: Likewise.
37633 * abilist/libnss_db.abilist: New file.
37634
37635 * scripts/abilist.awk: Add support for indirect functions.
37636
a2693a0e
UD
37637 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37638
3f05895f
UD
37639 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37640
ecb6fb48
UD
37641 * shlib-versions: Remove entries for ports architectures.
37642
664f8cb9
UD
37643 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37644 files in ports.
37645 * elf/stackguard-macros.h: Remove support for IA-64.
37646 * elf/tst-auditmod1.c: Likewise.
37647 * sysdeps/generic/ldsodefs.h: Likewise.
37648
7ae81d88
UD
37649 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37650 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37651 configure files.
37652
bdeba135
UD
37653 [BZ #13552]
37654 * configure.in: Remove --enable-omitfp support.
37655 * FAQ.in: Adjust.
37656 * config.make.in: Likewise.
37657 * Makeconfig: Likewise.
37658 * manual/install.texi: Likewise.
37659
d75a0a62
UD
37660 In case anyone cares, the IA-64 architecture could move to ports.
37661 * sysdeps/ia64/*: Removed.
37662 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 37663 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 37664
dcc9756b
UD
37665 [BZ #13555]
37666 * configure.in: Remove entries for unsupported architectures.
37667
d3761ebc 37668 [BZ #13533]
9954432e
UD
37669 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37670 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37671 routines.
37672 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37673 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37674 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37675 fall back to using wcrtomb.
37676 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37677 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37678 renaming.
37679 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37680 * wcsmbs/tst-c16c32-1.c: New file.
37681
37682 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37683 local variable.
37684
c3a87236
UD
37685 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37686
28926a1b
UD
37687 * elf/tst-unique3.cc: Add explicit declaration of gets.
37688 * elf/tst-unique3lib.cc: Likewise.
37689 * elf/tst-unique3lib2.cc: Likewise.
37690 * elf/tst-unique4.cc: Likewise.
37691
df78418a
UD
37692 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37693
8ecd6b2a
JM
376942012-01-06 Joseph Myers <joseph@codesourcery.com>
37695
37696 [BZ #13566]
37697 * assert/assert.h (static_assert): Don't define for C++.
37698 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37699 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37700
9f115170
UD
377012012-01-03 Ulrich Drepper <drepper@gmail.com>
37702
5e0d0300
UD
37703 * iconv/loop.c (single loop): Fix assertion in storing of
37704 remaining bytes.
37705
9f115170
UD
37706 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37707
81fb02b0
UD
377082012-01-01 Ulrich Drepper <drepper@gmail.com>
37709
37710 * posix/getconf.c: Update copyright year.
37711 * nss/getent.c: Likewise.
a316c1f6 37712 * nss/makedb.c: Likewise.
81fb02b0
UD
37713 * iconv/iconvconfig.c: Likewise.
37714 * iconv/iconv_prog.c: Likewise.
37715 * elf/ldconfig.c: Likewise.
a316c1f6
UD
37716 * elf/pldd.c: Likewise.
37717 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
37718 * catgets/gencat.c: Likewise.
37719 * csu/version.c: Likewise.
37720 * elf/ldd.bash.in: Likewise.
37721 * elf/sprof.c (print_version): Likewise.
37722 * locale/programs/locale.c: Likewise.
37723 * locale/programs/localedef.c: Likewise.
a316c1f6 37724 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
37725 * nscd/nscd.c (print_version): Likewise.
37726 * debug/xtrace.sh: Likewise.
37727 * malloc/memusage.sh: Likewise.
37728 * malloc/mtrace.pl: Likewise.
37729 * debug/catchsegv.sh: Likewise.
37730
2ba92745
JJ
377312011-12-30 Jakub Jelinek <jakub@redhat.com>
37732
37733 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37734 pure attribute.
37735
dadebdae
UD
377362011-12-24 Ulrich Drepper <drepper@gmail.com>
37737
d3761ebc 37738 [BZ #13533]
db6af3eb
UD
37739 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37740 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37741 transformations.
37742 * iconv/gconv_int.h: Likewise.
37743 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37744 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37745 from libc for GLIBC_2.16.
37746 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37747 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37748 * wcsmbs/uchar.h: Really define mbstate_t.
37749 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37750 * wcsmbs/c16rtomb.c: New file.
37751 * wcsmbs/mbrtoc16.c: New file.
37752 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37753 for C/POSIX locale.
37754 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37755 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37756
dadebdae
UD
37757 * wcsmbs/wchar.h: Add missing __restrict.
37758
67371b56
UD
377592011-12-23 Ulrich Drepper <drepper@gmail.com>
37760
74033a25
UD
37761 [BZ #13532]
37762 * time/Makefile (routines): Add timespec_get.
37763 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37764 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37765 timespec for ISO C11.
37766 * time/timespec_get.c: New file.
37767 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37768 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37769
380d7e87
UD
37770 [BZ #13531]
37771 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37772 * stdlib/stdlib.h: Declare aligned_alloc.
37773 * Versions.def: Add GLIBC_2.16 for libc.
37774 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37775
4e9e7a35
UD
37776 [BZ 13527]
37777 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37778 ISO C11.
37779
380d7e87 37780 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
37781 code.
37782
03a71829
UD
37783 [BZ #13528]
37784 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37785
839e283e
UD
37786 [BZ #13529]
37787 * assert/assert.h (static_assert): Define.
37788
ce5294e2 37789 * version.h: Update for 2.16 development version.
90fa7312 37790
8d44e150 37791 [BZ #13526]
d7809905
UD
37792 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37793 _ISOC11_SOURCE.
37794
c0da14cd
UD
37795 * version.h (RELEASE): Bump for 2.15 release.
37796 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37797
530a3249
MP
37798 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37799 Patch by Marek Polacek <mpolacek@redhat.com>.
37800
67371b56
UD
37801 * bits/byteswap.h: Protect long long constants with __extension__.
37802 * sysdeps/i386/bits/byteswap.h: Likewise.
37803 * sysdeps/ia64/bits/byteswap.h: Likewise.
37804 * sysdeps/s390/bits/byteswap.h: Likewise.
37805 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37806
15db4de1
LD
378072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37808
37809 [BZ #13540]
bbe315ea
LD
37810 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37811 destination buffer.
15db4de1
LD
37812 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37813
2b2596b1
MP
378142011-12-23 Marek Polacek <polacek@redhat.com>
37815
37816 * elf/dl-addr.c (determine_info): Add inline keyword.
37817 * elf/tst-auditmod4b.c (check_avx): Likewise.
37818 * elf/tst-auditmod6b.c (check_avx): Likewise.
37819 * elf/tst-auditmod6c.c (check_avx): Likewise.
37820 * elf/tst-auditmod7b.c (check_avx): Likewise.
37821
70c6c246
UD
378222011-12-23 Ulrich Drepper <drepper@gmail.com>
37823
37824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37825 !__SSE_MATH__.
37826
c044cf14
LD
378272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37828
15db4de1 37829 [BZ #13540]
c044cf14
LD
37830 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37831 processing for last bytes.
37832
6b13d9d9
BH
378332011-08-06 Bruno Haible <bruno@clisp.org>
37834
d455f537
BH
37835 [BZ #13061]
37836 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37837 U+0385, not to U+1FEE.
37838
6b13d9d9
BH
37839 [BZ #13062]
37840 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37841 entry for U+00A5 U+0301.
37842
db910efd
UD
378432011-12-22 Ulrich Drepper <drepper@gmail.com>
37844
27deeafc
UD
37845 [BZ #13166]
37846 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37847 buffer for the output is too small.
37848
aed9d171
UD
37849 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37850 optimization.
37851
db910efd
UD
37852 [BZ #13185]
37853 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37854 SSE flags if possible.
37855
2bd779ae
LD
378562011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37857
e7f9dac3 37858 [BZ #13540]
2bd779ae
LD
37859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37860 processing for last bytes.
37861
154bfc16
JM
378622011-12-22 Joseph Myers <joseph@codesourcery.com>
37863
37864 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37865 (syscall-list-default-options, syscall-list-default-condition)
37866 (syscall-list-includes): Define.
37867 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37868 list of ABIs and options and #if conditions for each ABI. Do not
37869 handle common syscalls between ABIs specially.
37870 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37871 Remove.
37872 (syscall-list-variants, syscall-list-32bit-options)
37873 (syscall-list-32bit-condition, syscall-list-64bit-options)
37874 (syscall-list-64bit-condition): Define.
37875 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37876 (syscall-list-variants, syscall-list-32bit-options)
37877 (syscall-list-32bit-condition, syscall-list-64bit-options)
37878 (syscall-list-64bit-condition): Define.
37879 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37880 Remove.
37881 (syscall-list-variants, syscall-list-32bit-options)
37882 (syscall-list-32bit-condition, syscall-list-64bit-options)
37883 (syscall-list-64bit-condition): Define.
37884 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37885 Remove.
37886 (syscall-list-variants, syscall-list-32bit-options)
37887 (syscall-list-32bit-condition, syscall-list-64bit-options)
37888 (syscall-list-64bit-condition): Define.
37889
21eaf3a5
UD
378902011-12-22 Ulrich Drepper <drepper@gmail.com>
37891
16c6f992
UD
37892 * locale/iso-639.def: Add brx entry.
37893
41043168
UD
37894 [BZ #13328]
37895 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37896 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37897
21eaf3a5
UD
37898 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37899 __feraiseexcept_renamed.
37900
e3a851a2
UD
379012011-12-21 Ulrich Drepper <drepper@gmail.com>
37902
4920765e
UD
37903 [BZ #13538]
37904 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37905 EPOLLET with unsigned values.
37906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37908
e3a851a2
UD
37909 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37910 to large cancellation.
37911 * math/s_cacoshf.c: Likewise.
37912 * math/s_cacoshl.c: Likewise.
37913
b27e24b8
RK
379142011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37915
37916 [BZ #13305]
aebefeee 37917 [BZ #12786]
b27e24b8
RK
37918 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37919 * math/s_cacoshf.c: Likewise.
37920 * math/s_cacoshl.c: Likewise.
37921
ee190f67
UD
379222011-12-21 Ulrich Drepper <drepper@gmail.com>
37923
37924 [BZ #13439]
37925 * iconv/gconv.h: Define __GCONV_SWAP.
37926 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37927 * iconvdata/utf-16.c: Likewise.
37928 * iconvdata/utf-32.c: Likewise.
37929
707f25df
AS
379302011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37931
37932 [BZ #13524]
37933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37934 numerator after shifting it by one limb.
37935
d2daaa1e
RÁE
379362011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37937
37938 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37939 under [__USE_EXTERN_INLINES].
37940
a4647e72
UD
379412011-12-17 Ulrich Drepper <drepper@gmail.com>
37942
37943 [BZ #13446]
37944 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37945
f0b264f1
AZ
379462011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37947
37948 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37949 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37950 optimized code.
37951 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37952 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37953 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37954 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37955 for strncasecmp/strncasecmp_l compilation.
37956 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37957 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37958
8ef4f244
MP
379592011-12-08 Marek Polacek <mpolacek@redhat.com>
37960
37961 [BZ #13484]
37962 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37963 of __asm__.
37964
97ac2654
UD
379652011-12-17 Ulrich Drepper <drepper@gmail.com>
37966
37967 [BZ #13506]
37968 * time/tzfile.c (__tzfile_read): Check values from file header.
37969
91d2a845
WS
379702011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37971
37972 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37973 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37974 * powerpc/powerpc32/dl-start.S: Likewise.
37975 * powerpc/powerpc32/elf/start.S: Likewise.
37976 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37977 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37978 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37979 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37980 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37981 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37982 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37983 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37984 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37985 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37986 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37987 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37988 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37989 * powerpc/powerpc32/memset.S: Likewise.
37990 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37991 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37992 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37993 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37994 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37995 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37996 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37997 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37998 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37999 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38000 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38001 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38002 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38003
a1267ba1
AZ
380042011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38005
38006 * math/libm-test.inc: Added more nearbyint tests.
38007 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38011
ad8ac1bd
RL
380122011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
38013
38014 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38015 FD_CLOEXEC.
38016
1d3e4b61
UD
380172011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38018
38019 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38020 Add wcscpy-ssse3 wcscpy-c.
38021 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38022 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38023 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38024 * sysdeps/x86_64/wcschr.S: New file.
38025 * sysdeps/x86_64/wcsrchr.S: New file.
38026 * string/test-strcmp.c: Remove checking of wcscmp function for
38027 wrong alignments.
38028 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38029 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38030 wcsrchr-sse2 wcsrchr-c.
38031 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38032 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38033 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38034 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38035 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38036 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38037 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38038 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38039 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38040 * wcsmbc/wcschr.c (WCSCHR): New macro.
38041
5b330a2d
UD
380422011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38043
38044 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38045 * wcsmbs/test-wcsrchr.c: New file.
38046 * string/test-strrchr.c: Add wcsrchr support.
38047 (WIDE): New macro.
38048 * wcsmbs/test-wcscpy.c: New file.
38049 * string/test-strcpy.c: Add wcscpy support.
38050 (WIDE): New macro.
26428b7c 38051
f039c043
UD
380522011-12-10 Ulrich Drepper <drepper@gmail.com>
38053
38054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38055 the inner loop.
38056
850fb039
AS
380572011-12-06 Andreas Schwab <schwab@linux-m68k.org>
38058
38059 [BZ #13472]
38060 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38061
4efbd5cb
UD
380622011-12-04 Ulrich Drepper <drepper@gmail.com>
38063
52ff5dd0 38064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 38065 Minor optimizations.
52ff5dd0 38066
4efbd5cb
UD
38067 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38068 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38069 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38070
8a426e12
UD
380712011-12-03 Ulrich Drepper <drepper@gmail.com>
38072
aff2453d
UD
38073 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38074 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38075 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38076 for gcc to avoid warnings.
38077 * inet/Makefile (tests): Add tst-checks.
38078 * inet/tst-checks.c: New file.
38079
38080 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38081 warning.
38082
38083 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38084 __wmemcmp_sse2.
38085
38086 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38087 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38088
8a426e12
UD
38089 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38090
9bea3473
UD
380912011-12-02 Ulrich Drepper <drepper@gmail.com>
38092
3a965496
UD
38093 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38094 problem.
38095
9bea3473
UD
38096 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38097
f101631b
UD
380982011-11-29 Joseph Myers <joseph@codesourcery.com>
38099
38100 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38101 conditional on GCC version.
38102 (__arch_compare_and_exchange_val_8_acq)
38103 (__arch_compare_and_exchange_val_16_acq)
38104 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38105 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38106 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38107
a98275aa
UD
381082011-12-02 Joseph Myers <joseph@codesourcery.com>
38109
38110 * sysdeps/sh/backtrace.c: New file.
38111
d4cc29a2
AS
381122011-12-02 Andreas Schwab <schwab@redhat.com>
38113
38114 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
38115 parenthesis.
38116
6257af2d
AS
381172011-12-01 Andreas Schwab <schwab@redhat.com>
38118
38119 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38120 falling back to utime.
38121
b5f44c1a
AS
381222011-11-30 Andreas Schwab <schwab@redhat.com>
38123
38124 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38125 expectations for float.
38126
f3a6cc0a
AS
381272011-11-29 Andreas Schwab <schwab@redhat.com>
38128
38129 * locale/weight.h (findidx): Add parameter len.
38130 * locale/weightwc.h (findidx): Likewise.
38131 * posix/fnmatch_loop.c (FCT): Adjust caller.
38132 * posix/regcomp.c (build_equiv_class): Likewise.
38133 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38134 * posix/regexec.c (check_node_accept_bytes): Likewise.
38135 * string/strcoll_l.c (STRCOLL): Likewise.
38136 * string/strxfrm_l.c (STRXFRM): Likewise.
38137
9d65ea3a
UD
381382011-11-17 Ulrich Drepper <drepper@gmail.com>
38139
38140 * Makefile.in: Remove CVSOPT handling.
38141 * configure.in: Remove use of AC_REVISION.
38142 * iconvdata/Makefile (distribute): No need to filter out CVS.
38143 * scripts/list-sources.sh: Remove CVS, subversion and monotone
38144 handling.
38145
5583a086
AS
381462011-11-16 Andreas Schwab <schwab@redhat.com>
38147
38148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38149 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38150 [USE_AS_STRNCASECMP_L]: Likewise.
38151 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38152 NO_TLS_DIRECT_SEG_REFS.
38153 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38154 Fix argument offsets for non-PIC.
38155 [USE_AS_STRNCASECMP_L]: Likewise.
38156 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38157 NO_TLS_DIRECT_SEG_REFS.
38158
d62a8200
UD
381592011-11-15 Ulrich Drepper <drepper@gmail.com>
38160
9d65ea3a 38161 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
38162 O_CLOEXEC.
38163 * locale/loadlocale.c (_nl_load_locale): Likewise.
38164
09f93bd3
AS
381652011-11-15 Andreas Schwab <schwab@redhat.com>
38166
446514f9
AS
38167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38168 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38169 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38170 (SYSCALL_GETTIME): Set errno on error.
38171
09f93bd3
AS
38172 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38173 count references to noai6ai_cached.
38174
312be3f9
UD
381752011-11-15 Ulrich Drepper <drepper@gmail.com>
38176
38177 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38178
38179 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38180 FD_CLOEXEC for /proc/self/maps.
38181
38182 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38183 FD_CLOEXEC for /proc/meminfo.
38184
38185 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38186 gai.conf.
38187
38188 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
38189 FD_CLOEXEC for given file.
38190
38191 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38192
38193 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38194 FD_CLOEXEC for /etc/hosts.
38195 (_gethtent): Likewise.
38196
38197 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38198
38199 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38200 cancellation and set FD_CLOEXEC for /etc/netgroup.
38201
38202 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38203 reading /etc/publickey.
38204
38205 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38206 allow cancellation when reading /etc/group.
38207
38208 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38209 cancellation.
38210 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38211
38212 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38213 when using data file.
38214
38215 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38216
38217 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38218 (write_nis_obj): Use "c" and "e" in fopen.
38219
38220 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38221
38222 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38223
38224 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38225
38226 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38227
38228 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38229 locale.alias.
38230
38231 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38232
38233 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38234
38235 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38236
38237 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38238 file parsing and set FD_CLOEXEC.
38239
82af0fa8
UD
382402011-11-14 Ulrich Drepper <drepper@gmail.com>
38241
38242 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38243
a5fb313c
AS
382442011-11-14 Andreas Schwab <schwab@redhat.com>
38245
38246 * malloc/arena.c (arena_get2): Don't call reused_arena when
38247 _int_new_arena failed.
38248
6abf3465
UD
382492011-11-14 Ulrich Drepper <drepper@gmail.com>
38250
38251 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38252 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38253 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38254 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38255 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38257 to compile strcasecmp and strncasecmp.
38258 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38259 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38260
38261 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38262
76e3966e
UD
382632011-11-13 Ulrich Drepper <drepper@gmail.com>
38264
38265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38266 locale-defines.sym to gen-as-const-headers.
38267 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38268 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38270 to compile strcasecmp and strncasecmp.
38271 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38272 strcasecmp_l and strncasecmp_l.
38273 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38274 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38275 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38276 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38277 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38278 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38279 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38280 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38281 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38282 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38283 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38284
ab26144e
UD
382852011-11-12 Ulrich Drepper <drepper@gmail.com>
38286
7edb22ef
UD
38287 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38288 result of SYSDEP_GETTIME_CPU to retval.
38289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38290 parameter list to macro. Remove trailing semicolon. Adjust users.
38291
9694fc44
UD
38292 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38293 variable.
38294
8ad89ef8
UD
38295 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38296 mantissa words.
38297 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38298
0c822ef9
UD
38299 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38300 from unused variable.
38301
874e0564
UD
38302 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38303 DWARF definitions.
38304 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38305 for assembling.
38306
3a2edc79
UD
38307 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38308 over namespaces.
38309
f3c2577f
UD
38310 * sunrpc/rpc_prot.c (rejected): Fix case value.
38311
294ce126
UD
38312 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38313 unsigned long long int to avoid warnings in shift.
38314
5e2b63c6
UD
38315 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38316 of use of trans.
38317 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38318 variable tmp.
38319
e7f4b08e
UD
38320 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38321 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38323
ab26144e
UD
38324 * nis/nis_table.c (nis_list): Use variable of correct type for
38325 result of __follow_path call.
38326
8a6d5255
AZ
383272011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38328
38329 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38330 of math functions ceil, trunc, floor, round, and sqrt, when
38331 avaliable on the platform.
38332 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38333 name clash.
38334 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38335 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38336 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38337
aaddc98c
MP
383382011-10-30 Marek Polacek <mpolacek@redhat.com>
38339
38340 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38341 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38342
95b7042b
RM
383432011-11-11 Roland McGrath <roland@hack.frob.com>
38344
38345 * include/unistd.h: Fix __readlink return type.
38346 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38347
57769839
UD
383482011-11-11 Ulrich Drepper <drepper@gmail.com>
38349
38350 * stdlib/ucontext.h: Undo last change for makecontext.
38351
edc5984d
AS
383522011-11-11 Andreas Schwab <schwab@redhat.com>
38353
98591e58
AS
38354 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38355
edc5984d
AS
38356 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38357 * setjmp/setjmp.h: Mark functions as non-leaf.
38358 * setjmp/bits/setjmp2.h: Likewise.
38359 * stdlib/ucontext.h: Likewise.
38360
77cdc054
AS
383612011-11-10 Andreas Schwab <schwab@redhat.com>
38362
38363 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38364 (reused_arena): Don't check arena limit.
38365 (arena_get2): Atomically check arena limit.
38366
fe72eebd
UD
383672011-11-08 Ulrich Drepper <drepper@gmail.com>
38368
5f078c32
UD
38369 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38370 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38371
fe72eebd
UD
38372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38373 instructions.
38374
ae1bc2fa
AS
383752011-11-07 Andreas Schwab <schwab@redhat.com>
38376
7583a88d
AS
38377 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38378 handler when locking.
38379
ae1bc2fa
AS
38380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38381 Fix size of allocated buffer.
38382
10fb0bfa
AS
383832011-11-04 Andreas Schwab <schwab@redhat.com>
38384
998832a4
AS
38385 [BZ #10103]
38386 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38387 declarations for long double functions.
38388 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38389
10fb0bfa
AS
38390 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38391
3d7ba52b
AS
383922011-11-03 Andreas Schwab <schwab@redhat.com>
38393
a9ae54a1
AS
38394 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38395 installed.
38396
3d7ba52b
AS
38397 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38398 is disabled.
38399
bc8db248
ST
384002011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38401
38402 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38403
45b96dd6
AS
384042011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38405
647776f6
AS
38406 * include/alloca.h (stackinfo_alloca_round): Define.
38407 (extend_alloca): Use it.
38408 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38409 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38410 here.
38411
d91a8b93
AS
38412 * scripts/check-local-headers.sh: Ignore libaudit.h.
38413
45b96dd6
AS
38414 * nscd/Makefile (extra-objs): Make recursively expanded.
38415
432d41ce
UD
384162011-11-01 Ulrich Drepper <drepper@gmail.com>
38417
34372fc6
UD
38418 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38420
fadb59f8
UD
38421 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38422 * posix/tst-rfc3484-2.c: Likewise.
38423 * posix/tst-rfc3484-3.c: Likewise.
38424
78239589
UD
38425 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38426 process_vm_writev.
38427 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38428 process_vm_writev.
38429 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38430 process_vm_writev from libc using GLIBC_2.15 version.
38431
432d41ce
UD
38432 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38433
02f9c6cf
PP
384342011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38435
38436 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38437 stack usage.
38438
3a2c0242
UD
384392011-10-31 Ulrich Drepper <drepper@gmail.com>
38440
f4ec4833
UD
38441 [BZ #13367]
38442 * nss/getent.c (initgroups_keys): Show error message in case no group
38443 names are given.
38444
3a2c0242
UD
38445 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38446 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38447 __bump_nl_timestamp.
38448 * nscd/connections (nscd_init): When host database is served open
38449 netlink socket and request notification about configuration changes.
38450 (main_loop_poll): Track netlink file descriptor and bump timestamp
38451 in case data becomes available.
38452 (main_loop_epoll): Likewise.
38453 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38454 (database_pers_head): Add extra_data fileds.
38455 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38456 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38457 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38458 Adjust caller.
38459 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38460 in6ai data, call __free_in6ai.
38461 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38462 Add -DHAVE_NETLINK.
38463 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38464 interface information. Reuse previous data if netlink timestamp
38465 is not changed.
38466 (__bump_nl_timestamp): New function.
38467 (__free_in6ai): New function.
38468
636064eb
UD
384692011-10-30 Ulrich Drepper <drepper@gmail.com>
38470
38471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38472 close_not_cancel_no_status here.
38473 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38474
9beb2334
UD
384752011-10-29 Ulrich Drepper <drepper@gmail.com>
38476
6ef76f3b
UD
38477 [BZ #13276]
38478 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38479 return value.
38480
0ffc4f3e 38481 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
38482 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38483 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38484
cb95113e
UD
384852011-07-03 Andreas Jaeger <aj@suse.de>
38486
38487 [BZ #10709]
38488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38489 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38490 * math/libm-test.inc (sin_test): Add test case.
38491
a1b560ff
UD
384922011-10-29 Ulrich Drepper <drepper@gmail.com>
38493
c9aaface
UD
38494 [BZ #13337]
38495 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38496 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38497
d272e7f1
UD
38498 * elf/chroot_canon.c (chroot_canon): Cleanups.
38499
1bc33071
UD
38500 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38501
1760874d
TJ
38502 [BZ #13335]
38503 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38504 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38505
51d91b18
UD
38506 * string/test-strchr.c: Make usable for strchrnul testing.
38507 * string/test-strchrnul.c: New file.
38508 * string/Makefile (strop-tests): Add strchrnul.
38509
a1b560ff 38510 * po/it.po: Update from translation team.
b611fb81 38511 * po/es.po: Likewise.
a1b560ff 38512
a5b81e1f
UD
385132011-10-28 Ulrich Drepper <drepper@gmail.com>
38514
fd52bc6d
UD
38515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38516 the three constants needed as parameters. Drop the others.
38517 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38518 __m128i_strloadu_tolower.
52e4b9eb
UD
38519 Create and initialize variable zero and use it in all the places
38520 where _mm_setzero_si128 was used.
fd52bc6d 38521
a5b81e1f
UD
38522 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38523 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38524 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38525 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38526 anymore.
38527 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38528 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38529 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38530 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38531 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38532 __mpranred, __mptan.
38533 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38534 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38535 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38536 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38537 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38538 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38540 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38541 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38542
b4343346
AS
385432011-10-28 Andreas Schwab <schwab@redhat.com>
38544
0c92d8a8
AS
38545 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38546 redefine if SHARED.
38547 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38548
b4343346
AS
38549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38550 wide char related routines to wcsmbs subdir.
38551
3871f58f
AS
385522011-10-27 Andreas Schwab <schwab@redhat.com>
38553
38554 [BZ #13344]
38555 * misc/sys/cdefs.h (__THROWNL): Define.
38556 * posix/unistd.h: Use __THREADNL instead of __THREAD
38557 for memory synchronization functions.
38558
94d44d9f
RM
385592011-10-26 Roland McGrath <roland@hack.frob.com>
38560
21b64b15 38561 [BZ #13349]
94d44d9f
RM
38562 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38563 doesn't exist.
38564 * manual/stdio.texi (Obstack Streams): Node removed.
38565
f6ce9294
AS
385662011-10-26 Andreas Schwab <schwab@redhat.com>
38567
80479147
AS
38568 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38570 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38571
f6ce9294
AS
38572 * math/math_private.h (math_force_eval): Allow non-addressable
38573 arguments.
38574 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38575
618280a1
UD
385762011-10-25 Ulrich Drepper <drepper@gmail.com>
38577
e0016b11
UD
38578 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38579 file is not needed.
38580
38581 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38582 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38586 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38588 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38589 Add AVX variants.
38590 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38591 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38592 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38593 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38594 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38595 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38596 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38598 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38599 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38600 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38601 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38603 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38605 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38606 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38607 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38608 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38609
38610 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38611 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38612
618280a1
UD
38613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38614 place. Use VEX encoding when compiling for AVX.
38615
37822576
AS
386162011-10-25 Andreas Schwab <schwab@redhat.com>
38617
1f1e1947
AS
38618 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38620
37822576
AS
38621 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38622
31ea014d
UD
386232011-10-25 Ulrich Drepper <drepper@gmail.com>
38624
d7826aa1 38625 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 38626 useless if() expression.
d7826aa1
UD
38627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38636 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38638 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38639 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38640 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38641 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38642 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38643 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38645 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38646
31ea014d
UD
38647 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38648
16437fec
AS
386492011-10-25 Andreas Schwab <schwab@redhat.com>
38650
38651 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38652 condition.
38653 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38654
31d3cc00
UD
386552011-10-25 Ulrich Drepper <drepper@gmail.com>
38656
38657 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38658 .text section. Avoid duplicate constants.
38659 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38669 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38671 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38676 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38682 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38683 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38684 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38685 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38686 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38687 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38689 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38690 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38691 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38692 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38693 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38694 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38695 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38696 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38697 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38698 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38699 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38700 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38701 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38702 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38703 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38704
58985aa9
UD
387052011-10-24 Ulrich Drepper <drepper@gmail.com>
38706
202c9deb
UD
38707 * sysdeps/x86_64/dla.h: Move to ...
38708 * sysdeps/x86_64/fpu/dla.h: ...here.
38709 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38710 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 38711
af968f62
UD
38712 * config.make.in: Add have-mfma4 entry.
38713 * configure.in: Substitute libc_cv_cc_fma4.
38714 * math/Makefile (dbl-only-routines): Add sincostab.
38715 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38716 Use __sincostab not sincos.
38717 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38718 name is a macro.
38719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38723 using __copysign.
38724 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38725 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38726 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38727 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38728 and __inv.
38729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38730 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38731 __copysign.
38732 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38733 define aliases when function name is a macro.
38734 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38735 sysdeps/ieee754/dbl-64/sincos.tbl.
38736 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38737 fma4-enabled routines.
38738 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38739 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38740 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38741 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38742 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38743 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38744 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38745 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38746 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38747 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38748 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38750 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38751 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38752 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38753 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38754 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38755 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38756 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38758 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38761 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38762 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38763 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38765 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38766 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38767 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38768
58985aa9
UD
38769 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38770 rename.
38771 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38779
a201fbcf
AS
387802011-10-24 Andreas Schwab <schwab@redhat.com>
38781
38782 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38783
fc2ee42a
LD
387842011-10-23 Ulrich Drepper <drepper@gmail.com>
38785
bb3129bd
UD
38786 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38787
0275fff8
UD
38788 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38789 prediction.
38790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38791
2fa2ae85
UD
38792 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38793 Remove unused variable magic_bits.
38794 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38795
fc2ee42a
LD
38796 * string/strnlen.c: Define and use STRNLEN macro.
38797 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38798 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38800 * wcsmbs/wcslen.c: Define and use WCSLEN.
38801 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38802 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38803 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38804 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38805 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38806 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38807 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38808
ce7dd29f
LD
388092011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38810
38811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38812 strnlen-sse2-no-bsf.
38813 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38815 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38816 Add strnlen support.
38817 (USE_AS_STRNLEN): New macro.
38818 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38819 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38820 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38821 * sysdeps/x86_64/wcslen.S: New file.
38822
979c70a3
MZ
388232011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38824
38825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38826 XMM-moves are used for copying on small sizes.
38827
2d09f82f
LD
388282011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38829
38830 * wcsmbs/Makefile (strop-tests): Add wcschr.
38831 * wcsmbs/test-wcschr.c: New file.
38832 * string/test-strchr.c: Update.
38833 Add wcschr support.
38834 (WIDE): New macro.
38835
619fccca
LD
388362011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38837
2d09f82f 38838 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38839 * wcsmbs/test-wcslen.c: New file.
38840 * string/test-strlen.c: Update.
38841 Add wcslen support.
38842 (WIDE): New macro.
38843
09f699ea
UD
388442011-10-23 Ulrich Drepper <drepper@gmail.com>
38845
38846 * po/it.po: Update from translation team.
38847
95584d3b
LD
388482011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38849
38850 * sysdeps/x86_64/wcscmp.S: Update.
38851 Fix wrong comparison semantics.
38852 wcscmp shall use signed comparison not unsigned.
38853 Don't use substraction to avoid overflow bug.
38854 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38855 * wcsmbc/wcscmp.c: Likewise.
38856 * string/test-strcmp.c: Likewise.
38857 Add new tests to check cases with negative values.
38858
c8b3296b
UD
388592011-10-23 Ulrich Drepper <drepper@gmail.com>
38860
38861 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38862 * sysdeps/x86_64/dla.h: ...here. New file.
38863 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38872
246ad57a
AS
388732011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38874
38875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38876 __ynl_finite aliases.
38877
a1a87169
UD
388782011-10-22 Ulrich Drepper <drepper@gmail.com>
38879
0d355eb7
UD
38880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38881
a1a87169
UD
38882 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38883 define DLA_FMA.
38884 [DLA_FMA] (EMULV): Use DLA_FMA.
38885 [DLA_FMA] (MUL12): Use EMULV.
38886 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38887 that are not needed.
38888 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38895
ee2aafe0
AS
388962011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38897
38898 * math/s_nan.c: Undef __nan.
38899 * math/s_nanf.c: Undef __nanf.
38900 * math/s_nanl.c: Undef __nanl.
38901 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38902 "math_private.h".
38903
bc62c2fb
UD
389042011-10-22 Ulrich Drepper <drepper@gmail.com>
38905
77425c63
UD
38906 * math/s_catan.c: Add branch predictions.
38907 * math/s_catanf.c: Likewise.
38908 * math/s_catanh.c: Likewise.
38909 * math/s_catanhf.c: Likewise.
38910 * math/s_catanhl.c: Likewise.
38911 * math/s_catanl.c: Likewise.
38912 * math/s_cexp.c: Likewise.
38913 * math/s_cexpf.c: Likewise.
38914 * math/s_cexpl.c: Likewise.
38915 * math/s_clog.c: Likewise.
38916 * math/s_clog10.c: Likewise.
38917 * math/s_clog10f.c: Likewise.
38918 * math/s_clog10l.c: Likewise.
38919 * math/s_clogf.c: Likewise.
38920 * math/s_clogl.c: Likewise.
38921 * math/s_csqrt.c: Likewise.
38922 * math/s_csqrtf.c: Likewise.
38923 * math/s_csqrtl.c: Likewise.
38924 * math/s_ctanf.c: Likewise.
38925 * math/s_ctanh.c: Likewise.
38926 * math/s_ctanhf.c: Likewise.
38927 * math/s_ctanhl.c: Likewise.
38928 * math/s_ctanl.c: Likewise.
38929
bc62c2fb
UD
38930 * math/math_private.h: Define __nan, __nanf, __nanl.
38931 * math/s_cacosh.c: Include <math_private.h>.
38932 * math/s_cacoshl.c: Likewise.
38933 * math/s_casinh.c: Likewise.
38934 * math/s_casinhf.c: Likewise.
38935 * math/s_casinhl.c: Likewise.
38936 * math/s_ccos.c: Rely entire on ccosh.
38937 * math/s_ccosf.c: Rely entire on ccoshf.
38938 * math/s_ccosl.c: Rely entirely on ccoshl.
38939 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38940 Remove tests for FE_INVALID.
38941 * math/s_ccoshf.c: Likewise.
38942 * math/s_ccoshl.c: Likewise.
38943 * math/s_csin.c: Likewise.
38944 * math/s_csinf.c: Likewise.
38945 * math/s_csinh.c Likewise.
38946 * math/s_csinhf.c: Likewise.
38947 * math/s_csinhl.c: Likewise.
38948 * math/s_csinl.c: Likewise.
38949 * math/s_ctan.c: Likewise.
38950 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38951 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38952 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38953
8ec250a4
UD
389542011-10-21 Ulrich Drepper <drepper@gmail.com>
38955
c196fed8
UD
38956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38957 compilation problems.
38958
8ec250a4
UD
38959 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38960 __builtin_expect.
38961
8d4f46c6
UD
389622011-10-20 Ulrich Drepper <drepper@gmail.com>
38963
ed72b654
UD
38964 * sysdeps/i386/configure.in: Test for -mfma4 option.
38965 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38966 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38967 COMMON_CPUID_INDEX_80000001.
38968 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38969 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38970 use it if FMA3 is not supported.
38971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38972
8d4f46c6
UD
38973 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38974 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38975
d45c60c2
AS
389762011-10-20 Andreas Schwab <schwab@redhat.com>
38977
38978 [BZ #12892]
38979 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38980 it would create a cycle with a link time dependency.
38981
d9a4d2ab
UD
389822011-10-19 Ulrich Drepper <drepper@gmail.com>
38983
855d1560
UD
38984 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38985 instruction.
38986 * string/Makefile (strop-tests): Add rawmemchr.
38987 * string/test-rawmemchr.c: New file.
38988
d9a4d2ab
UD
38989 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38990 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38991 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38992 when compiling str{,n}casecmp and when AVX is available. Hook up
38993 new optimized code in initializers.
38994
8f3b1ffe
AS
389952011-10-19 Andreas Schwab <schwab@redhat.com>
38996
38997 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38998 __feraiseexcept instead of feraiseexcept.
38999
d38f1dba
UD
390002011-10-18 Ulrich Drepper <drepper@gmail.com>
39001
d9a8d0ab
UD
39002 * math/math_private.h: Define defaults for libc_fetestexcept and
39003 libc_feupdateenv.
39004 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39005 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39006 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39007 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39008 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39009 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39010 libc_fetestexcept and libc_feupdateenv.
39011
4855e3dd
UD
39012 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39013 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39014 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39015 * sysdeps/x86_64/fpu/math_private.h: Define special version of
39016 libc_feholdexcept_setround.
39017
581d30e3
UD
39018 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39019 Add s_nearbyint-c and s_nearbyintf-c.
39020 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39021 nearbyintf inlines.
39022 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39023 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39024 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39025 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39026
d38f1dba
UD
39027 * math/math_private.h: Define defaults for libc_fegetround,
39028 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39029 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39030 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39031 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39032 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39033 standard functions.
39034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39035 Remove comments and hacks for old compiler versions.
39036 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39037 libc_fegetround, libc_fesetround, libc_feholdexcept, and
39038 libc_feholdexceptl.
39039
caa6c9d8
AS
390402011-10-18 Andreas Schwab <schwab@redhat.com>
39041
39042 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
39043 (__feraiseexcept_renamed): Add __NTH.
39044 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
39045 namespace violations.
39046
97c066e6
UD
390472011-10-17 Ulrich Drepper <drepper@gmail.com>
39048
99ce7b04
UD
39049 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39050
1004d182
UD
39051 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39052
228a984d
UD
39053 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39054 recently added interfaces.
39055 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39056
c8553a6a
UD
39057 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39058 about macro parameter expansion.
39059
ed22dcf6
UD
39060 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39061 __NO_MATH_INLINES is defined. Cleanups.
39062
39063 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39064 and __floorf is target has SSE4.1.
39065 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39067 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39068 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39069
b171c137
UD
39070 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39071 name.
39072 (floorf): Likewise.
39073
97c066e6
UD
39074 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39075
629f62ef
AS
390762011-10-17 Andreas Schwab <schwab@redhat.com>
39077
49a43d80
AS
39078 * misc/sys/cdefs.h: Fix last change.
39079
629f62ef
AS
39080 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39081 database lookup.
39082
e453f6cd
UD
390832011-10-16 Ulrich Drepper <drepper@gmail.com>
39084
aa78043a
UD
39085 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39086
ad0f5cad
UD
39087 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39093 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39094 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39096 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39097 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39098 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39099 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39100 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39101 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39102 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39103 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39104 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39105 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39106 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39107 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39108 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39109
39110 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39111 ceil, ceilf, floor, floorf.
39112
39113 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39114 Perform IRELATIVE relocations last.
39115
e453f6cd
UD
39116 * elf/do-rel.h: Add another parameter nrelative, replacing the
39117 local variable with the same name. Change name of the function
39118 to end in Rel or Rela (uppercase).
39119 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39120 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
39121 elf_dynamic_do_##reloc function.
39122
fd5bdc09
UD
391232011-10-15 Ulrich Drepper <drepper@gmail.com>
39124
79b195b5
UD
39125 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39126 is sufficient, at least on modern CPUs.
39127
d4a28569
UD
39128 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39129
b61099b5
UD
39130 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39132
bcf01e6d
UD
39133 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39134 __expl_finite.
39135 * math/bits/math-finite.h: Add entries for exp.
39136 * math/e_expl.c: Add __*_finite alias.
39137 * sysdeps/i386/fpu/e_exp.S: Likewise.
39138 * sysdeps/i386/fpu/e_expf.S: Likewise.
39139 * sysdeps/i386/fpu/e_expl.c: Likewise.
39140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39141 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39144 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39145 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39146 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39147
ba1a0d59
UD
39148 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39149 is sufficient, at least on modern CPUs.
39150
fd5bdc09
UD
39151 * ctype/ctype-info.c (__ctype_init): Define.
39152 * include/ctype.h (__ctype_init): Declare.
39153 (__ctype_b_loc): The variable is always initialized.
39154 (__ctype_toupper_loc): Likewise.
39155 (__ctype_tolower_loc): Likewise.
39156 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39157 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39158
7872cfb0
AS
391592011-10-15 Andreas Schwab <schwab@linux-m68k.org>
39160
b468825a
AS
39161 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39162
7872cfb0
AS
39163 * configure.in: Also look in $cxxmachine/include for C++ system
39164 headers.
39165
be13f7bf
LD
391662011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39167
39168 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39169 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39170 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39171 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
39172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39173 (USE_AS_WMEMCMP): New macro.
39174 Fixing indents.
39175 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39176 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39177 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39178 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39180 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39181 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39183 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39184 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39186 (USE_AS_WMEMCMP): New macro.
39187 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39188 * sysdeps/string/test-memcmp.c: Update.
39189 Fix simple_wmemcmp.
39190 Add new tests.
39191 * wcsmbs/wmemcmp.c: Update.
39192 (WMEMCMP): New macro.
39193 Fix overflow bug.
39194
556a2007
AJ
391952011-10-12 Andreas Jaeger <aj@suse.de>
39196
39197 [BZ #13268]
39198 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39199
538faaa7
UD
392002011-10-15 Ulrich Drepper <drepper@gmail.com>
39201
ab6737ff
UD
39202 * libio/iofwide.c (do_length): Avoid warning.
39203
538faaa7
UD
39204 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39205
396a21b1
UD
392062011-10-14 Ulrich Drepper <drepper@gmail.com>
39207
cdf2901f
UD
39208 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39209
38ad40ce
UD
39210 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39211 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39212 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39213 * sysdeps/i386/i686/fpu/e_log.S: New file.
39214 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39215 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39216
396a21b1
UD
39217 * ctype/ctype.h: Add support for inlined isXXX functions when
39218 compiling C++ code.
39219
6b1f68c9
AS
392202011-10-14 Andreas Schwab <schwab@redhat.com>
39221
349290c0
AS
39222 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39223
6b1f68c9
AS
39224 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39225
f2282d42
RM
392262011-10-13 Roland McGrath <roland@hack.frob.com>
39227
39228 [BZ #13291]
39229 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39230
5298ffa8
AS
392312011-10-13 Andreas Schwab <schwab@redhat.com>
39232
714fad23
AS
39233 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39234 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39235 feraiseexcept.
39236
81dcc7fb
AS
39237 * sysdeps/x86_64/memrchr.S: Check for zero size.
39238
5298ffa8
AS
39239 * string/stratcliff.c: Add memrchr tests.
39240
951fbcec
LD
392412011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39242
39243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39244 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39245 rawmemchr-sse2 rawmemchr-sse2-bsf.
39246 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39247 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39248 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39249 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39250 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39251 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39252 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39253 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39254 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39255 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39256 * string/memrchr.c (MEMRCHR): New macro.
39257
0ac5ae23
UD
392582011-10-12 Ulrich Drepper <drepper@gmail.com>
39259
39260 Add integration with gcc's -ffinite-math-only and optimize wrapper
39261 functions in libm.
39262 * Versions.def: Define GLIBC_2.15 version for libm.
39263 * math/Makefile (headers): Add bits/math-finite.h.
39264 * math/bits/math-finite.h: New file.
39265 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39266 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39267 * math/e_acoshl.c: Add __*_finite alias.
39268 * math/e_acosl.c: Likewise.
39269 * math/e_asinl.c: Likewise.
39270 * math/e_atan2l.c: Likewise.
39271 * math/e_atanhl.c: Likewise.
39272 * math/e_coshl.c: Likewise.
39273 * math/e_exp10.c: Likewise.
39274 * math/e_exp10f.c: Likewise.
39275 * math/e_exp10l.c: Likewise.
39276 * math/e_exp2l.c: Likewise.
39277 * math/e_fmodl.c: Likewise.
39278 * math/e_gammal_r.c: Likewise.
39279 * math/e_hypotl.c: Likewise.
39280 * math/e_j0l.c: Likewise.
39281 * math/e_j1l.c: Likewise.
39282 * math/e_jnl.c: Likewise.
39283 * math/e_lgammal_r.c: Likewise.
39284 * math/e_log10l.c: Likewise.
39285 * math/e_log2l.c: Likewise.
39286 * math/e_logl.c: Likewise.
39287 * math/e_powl.c: Likewise.
39288 * math/e_sinhl.c: Likewise.
39289 * math/e_sqrtl.c: Likewise.
39290 * math/e_scalb.c: Completely rewritten and optimized.
39291 * math/e_scalbf.c: Likewise.
39292 * math/e_scalbl.c: Likewise.
39293 * math/w_acos.c: Likewise.
39294 * math/w_acosf.c: Likewise.
39295 * math/w_acosl.c: Likewise.
39296 * math/w_acosh.c: Likewise.
39297 * math/w_acoshf.c: Likewise.
39298 * math/w_acoshl.c: Likewise.
39299 * math/w_asin.c: Likewise.
39300 * math/w_asinf.c: Likewise.
39301 * math/w_asinl.c: Likewise.
39302 * math/w_atan2.c: Likewise.
39303 * math/w_atan2f.c: Likewise.
39304 * math/w_atan2l.c: Likewise.
39305 * math/w_atanh.c: Likewise.
39306 * math/w_atanhf.c: Likewise.
39307 * math/w_atanhl.c: Likewise.
39308 * math/w_exp10.c: Likewise.
39309 * math/w_exp10f.c: Likewise.
39310 * math/w_exp10l.c: Likewise.
39311 * math/w_fmod.c: Likewise.
39312 * math/w_fmodf.c: Likewise.
39313 * math/w_fmodl.c: Likewise.
39314 * math/w_j0.c: Likewise.
39315 * math/w_j0f.c: Likewise.
39316 * math/w_j0l.c: Likewise.
39317 * math/w_j1.c: Likewise.
39318 * math/w_j1f.c: Likewise.
39319 * math/w_j1l.c: Likewise.
39320 * math/w_jn.c: Likewise.
39321 * math/w_jnf.c: Likewise.
39322 * math/w_log.c: Likewise.
39323 * math/w_logf.c: Likewise.
39324 * math/w_logl.c: Likewise.
39325 * math/w_log10.c: Likewise.
39326 * math/w_log10f.c: Likewise.
39327 * math/w_log10l.c: Likewise.
39328 * math/w_log2.c: Likewise.
39329 * math/w_log2f.c: Likewise.
39330 * math/w_log2l.c: Likewise.
39331 * math/w_pow.c: Likewise.
39332 * math/w_powf.c: Likewise.
39333 * math/w_powl.c: Likewise.
39334 * math/w_remainder.c: Likewise.
39335 * math/w_remainderf.c: Likewise.
39336 * math/w_remainderl.c: Likewise.
39337 * math/w_scalb.c: Likewise.
39338 * math/w_scalbf.c: Likewise.
39339 * math/w_scalbl.c: Likewise.
39340 * math/w_sqrt.c: Likewise.
39341 * math/w_sqrtf.c: Likewise.
39342 * math/w_sqrtl.c: Likewise.
39343 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39344 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39345 used.
39346 * math/math_private.h: Declare __kernel_standard_f.
39347 * math/w_cosh.c: Remove cruft and optimize a bit.
39348 * math/w_coshf.c: Likewise.
39349 * math/w_coshl.c: Likewise.
39350 * math/w_exp2.c: Likewise.
39351 * math/w_exp2f.c: Likewise.
39352 * math/w_exp2l.c: Likewise.
39353 * math/w_hypot.c: Likewise.
39354 * math/w_hypotf.c: Likewise.
39355 * math/w_hypotl.c: Likewise.
39356 * math/w_lgamma.c: Likewise.
39357 * math/w_lgamma_r.c: Likewise.
39358 * math/w_lgammaf.c: Likewise.
39359 * math/w_lgammaf_r.c: Likewise.
39360 * math/w_lgammal.c: Likewise.
39361 * math/w_lgammal_r.c: Likewise.
39362 * math/w_sinh.c: Likewise.
39363 * math/w_sinhf.c: Likewise.
39364 * math/w_sinhl.c: Likewise.
39365 * math/w_tgamma.c: Likewise.
39366 * math/w_tgammaf.c: Likewise.
39367 * math/w_tgammal.c: Likewise.
39368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39370 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39371 Minor optimizations. Pretty printing. Remove cruft.
39372 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39373 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39374 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39375 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39376 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39377 * sysdeps/i386/fpu/e_asin.S: Likewise.
39378 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39379 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39380 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39381 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39382 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39383 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39384 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39385 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39386 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39387 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39388 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39389 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39390 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39391 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39392 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39393 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39394 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39395 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39396 * sysdeps/i386/fpu/e_log.S: Likewise.
39397 * sysdeps/i386/fpu/e_log10.S: Likewise.
39398 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39400 * sysdeps/i386/fpu/e_log2.S: Likewise.
39401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39403 * sysdeps/i386/fpu/e_logf.S: Likewise.
39404 * sysdeps/i386/fpu/e_logl.S: Likewise.
39405 * sysdeps/i386/fpu/e_pow.S: Likewise.
39406 * sysdeps/i386/fpu/e_powf.S: Likewise.
39407 * sysdeps/i386/fpu/e_powl.S: Likewise.
39408 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39409 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39410 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39411 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39414 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39415 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39416 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39420 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39421 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39422 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39423 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39424 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39428 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39429 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39430 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39431 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39433 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39437 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39438 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39441 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39442 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39443 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39444 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39445 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39446 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39447 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39448 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39449 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39450 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39451 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39452 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39453 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39454 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39455 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39456 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39457 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39458 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39459 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39465 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39466 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39467 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39472 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39473 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39474 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39476 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39477 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39478 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39479 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39481 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39486 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39487 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39488 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39489 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39490 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39491 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39492 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39497 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39498 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39500 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39506 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39507 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39508 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39509 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39510 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39511 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39512 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39513 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39514 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39515 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39516 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39517 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39518 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39519 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39520 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39521 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39523 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39524 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39525 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39526 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39527 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39528 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39529 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39530 (__isnanf): Likewise.
39531 (__isinf_ns): Likewise.
39532 (__isinf_nsf): Likewise.
39533 (__finite): Likewise.
39534 (__finitef): Likewise.
39535 (__ieee754_sqrt): Define as macro.
39536 (__ieee754_sqrtf): Define as macro.
39537 (__ieee754_sqrtl): Define as macro.
39538 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39539 inlined copy.
39540 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39541 __FINITE_MATH_ONLY__ consistent.
39542 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39543
12cc2fcd
AS
395442011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39545
a843a204
AS
39546 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39547 of rawmemchr.
39548
12cc2fcd
AS
39549 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39550
c853acd5
UD
395512011-10-09 Ulrich Drepper <drepper@gmail.com>
39552
39553 * po/ja.po: Update from translation team.
39554
c658d255
RM
395552011-10-08 Roland McGrath <roland@hack.frob.com>
39556
110946e4
RM
39557 * locale/programs/locarchive.c (prepare_address_space): New function.
39558 (create_archive, enlarge_archive, open_archive): Use it.
39559
50604220
RM
39560 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39561 inside [SHARED], where it is used.
39562
c658d255
RM
39563 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39564
39565 * nss/getent.c (netgroup_keys): Remove unused variable.
39566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39567
6a621eb7
UD
395682011-10-08 Ulrich Drepper <drepper@gmail.com>
39569
7edb55ce
UD
39570 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39571 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39572 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39573 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39574 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39575 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39576 * math/Makefile (libm-calls): Add s_isinf_ns.
39577 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39578 * math/multc3.c: Likewise.
39579 * math/s_casin.c: Likewise.
39580 * math/s_casinf.c: Likewise.
39581 * math/s_casinl.c: Likewise.
39582 * math/s_ccos.c: Likewise.
39583 * math/s_ccosf.c: Likewise.
39584 * math/s_ccosl.c: Likewise.
39585 * math/s_ctan.c: Likewise.
39586 * math/s_ctanf.c: Likewise.
39587 * math/s_ctanh.c: Likewise.
39588 * math/s_ctanhf.c: Likewise.
39589 * math/s_ctanhl.c: Likewise.
39590 * math/s_ctanl.c: Likewise.
39591 * math/w_fmod.c: Likewise.
39592 * math/w_fmodf.c: Likewise.
39593 * math/w_fmodl.c: Likewise.
39594 * math/w_remainder.c: Likewise.
39595 * math/w_remainderf.c: Likewise.
39596 * math/w_remainderl.c: Likewise.
39597 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39598 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39601 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39602 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39603 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39604 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39605
187da0ae
UD
39606 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39607 of the number.
39608 * stdio-common/printf_fphex.c: Likewise.
39609 * stdio-common/printf_size.c: Likewise.
39610
9277c064
UD
39611 * math/e_exp10.c: Include math_private.h using <...> not "...".
39612 * math/e_exp10f.c: Likewise.
39613 * math/e_exp10l.c: Likewise.
39614 * math/e_exp2l.c: Likewise.
39615 * math/e_j0l.c: Likewise.
39616 * math/e_j1l.c: Likewise.
39617 * math/e_jnl.c: Likewise.
39618 * math/e_lgammal_r.c: Likewise.
39619 * math/e_rem_pio2l.c: Likewise.
39620 * math/e_scalb.c: Likewise.
39621 * math/e_scalbf.c: Likewise.
39622 * math/e_scalbl.c: Likewise.
39623 * math/k_cosl.c: Likewise.
39624 * math/k_sinl.c: Likewise.
39625 * math/k_tanl.c: Likewise.
39626 * math/s_cacoshf.c: Likewise.
39627 * math/s_catan.c: Likewise.
39628 * math/s_catanf.c: Likewise.
39629 * math/s_catanh.c: Likewise.
39630 * math/s_catanhf.c: Likewise.
39631 * math/s_catanhl.c: Likewise.
39632 * math/s_catanl.c: Likewise.
39633 * math/s_ccosh.c: Likewise.
39634 * math/s_ccoshf.c: Likewise.
39635 * math/s_ccoshl.c: Likewise.
39636 * math/s_cexp.c: Likewise.
39637 * math/s_cexpf.c: Likewise.
39638 * math/s_cexpl.c: Likewise.
39639 * math/s_clog.c: Likewise.
39640 * math/s_clog10.c: Likewise.
39641 * math/s_clog10f.c: Likewise.
39642 * math/s_clog10l.c: Likewise.
39643 * math/s_clogf.c: Likewise.
39644 * math/s_clogl.c: Likewise.
39645 * math/s_csin.c: Likewise.
39646 * math/s_csinf.c: Likewise.
39647 * math/s_csinh.c: Likewise.
39648 * math/s_csinhf.c: Likewise.
39649 * math/s_csinhl.c: Likewise.
39650 * math/s_csinl.c: Likewise.
39651 * math/s_csqrt.c: Likewise.
39652 * math/s_csqrtf.c: Likewise.
39653 * math/s_csqrtl.c: Likewise.
39654 * math/s_ctan.c: Likewise.
39655 * math/s_ctanf.c: Likewise.
39656 * math/s_ctanh.c: Likewise.
39657 * math/s_ctanhf.c: Likewise.
39658 * math/s_ctanhl.c: Likewise.
39659 * math/s_ctanl.c: Likewise.
39660 * math/s_ldexp.c: Likewise.
39661 * math/s_ldexpf.c: Likewise.
39662 * math/s_ldexpl.c: Likewise.
39663 * math/s_significand.c: Likewise.
39664 * math/s_significandf.c: Likewise.
39665 * math/s_significandl.c: Likewise.
39666 * math/w_acos.c: Likewise.
39667 * math/w_acosf.c: Likewise.
39668 * math/w_acosh.c: Likewise.
39669 * math/w_acoshf.c: Likewise.
39670 * math/w_acoshl.c: Likewise.
39671 * math/w_acosl.c: Likewise.
39672 * math/w_asin.c: Likewise.
39673 * math/w_asinf.c: Likewise.
39674 * math/w_asinl.c: Likewise.
39675 * math/w_atan2.c: Likewise.
39676 * math/w_atan2f.c: Likewise.
39677 * math/w_atan2l.c: Likewise.
39678 * math/w_atanh.c: Likewise.
39679 * math/w_atanhf.c: Likewise.
39680 * math/w_atanhl.c: Likewise.
39681 * math/w_cosh.c: Likewise.
39682 * math/w_coshf.c: Likewise.
39683 * math/w_coshl.c: Likewise.
39684 * math/w_dremf.c: Likewise.
39685 * math/w_exp10.c: Likewise.
39686 * math/w_exp10f.c: Likewise.
39687 * math/w_exp10l.c: Likewise.
39688 * math/w_exp2.c: Likewise.
39689 * math/w_exp2f.c: Likewise.
39690 * math/w_fmod.c: Likewise.
39691 * math/w_fmodf.c: Likewise.
39692 * math/w_fmodl.c: Likewise.
39693 * math/w_hypot.c: Likewise.
39694 * math/w_hypotf.c: Likewise.
39695 * math/w_hypotl.c: Likewise.
39696 * math/w_j0.c: Likewise.
39697 * math/w_j0f.c: Likewise.
39698 * math/w_j0l.c: Likewise.
39699 * math/w_j1.c: Likewise.
39700 * math/w_j1f.c: Likewise.
39701 * math/w_j1l.c: Likewise.
39702 * math/w_jn.c: Likewise.
39703 * math/w_jnf.c: Likewise.
39704 * math/w_jnl.c: Likewise.
39705 * math/w_lgamma.c: Likewise.
39706 * math/w_lgamma_r.c: Likewise.
39707 * math/w_lgammaf.c: Likewise.
39708 * math/w_lgammaf_r.c: Likewise.
39709 * math/w_lgammal.c: Likewise.
39710 * math/w_lgammal_r.c: Likewise.
39711 * math/w_log.c: Likewise.
39712 * math/w_log10.c: Likewise.
39713 * math/w_log10f.c: Likewise.
39714 * math/w_log10l.c: Likewise.
39715 * math/w_log2.c: Likewise.
39716 * math/w_log2f.c: Likewise.
39717 * math/w_log2l.c: Likewise.
39718 * math/w_logf.c: Likewise.
39719 * math/w_logl.c: Likewise.
39720 * math/w_pow.c: Likewise.
39721 * math/w_powf.c: Likewise.
39722 * math/w_powl.c: Likewise.
39723 * math/w_remainder.c: Likewise.
39724 * math/w_remainderf.c: Likewise.
39725 * math/w_remainderl.c: Likewise.
39726 * math/w_scalb.c: Likewise.
39727 * math/w_scalbf.c: Likewise.
39728 * math/w_scalbl.c: Likewise.
39729 * math/w_sinh.c: Likewise.
39730 * math/w_sinhf.c: Likewise.
39731 * math/w_sinhl.c: Likewise.
39732 * math/w_sqrt.c: Likewise.
39733 * math/w_sqrtf.c: Likewise.
39734 * math/w_sqrtl.c: Likewise.
39735 * math/w_tgamma.c: Likewise.
39736 * math/w_tgammaf.c: Likewise.
39737 * math/w_tgammal.c: Likewise.
39738
6a621eb7
UD
39739 * po/ja.po: Update from translation team.
39740
bf582445
AJ
397412011-09-29 Andreas Jaeger <aj@suse.de>
39742
f9efbf3a
AJ
39743 [BZ #13179]
39744 * sunrpc/netname.c (netname2host): Fix logic.
39745
bf582445
AJ
39746 [BZ #6779]
39747 [BZ #6783]
39748 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39749 correctly.
39750 * math/w_remainder.c (__remainder): Likewise.
39751 * math/w_remainderf.c (__remainderf): Likewise.
39752 * math/libm-test.inc (remainder_test): Add test cases.
39753
48693bea
AK
397542011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39755
39756 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39757 sdiv_qrnnd.
39758
42622229
LD
397592011-10-07 Ulrich Drepper <drepper@gmail.com>
39760
39761 * string/test-memcmp.c: Avoid unncessary #defines.
39762 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39763
093ecf92
LD
397642011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39765
39766 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39767 Use new sse2 version for core i3 - i7 as it's faster
39768 than sse42 version.
39769 (bit_Prefer_PMINUB_for_stringop): New.
39770 * sysdeps/x86_64/rawmemchr.S: Update.
39771 Replace with faster SSE2 version.
39772 * sysdeps/x86_64/memrchr.S: New file.
39773 * sysdeps/x86_64/memchr.S: Update.
39774 Replace with faster SSE2 version.
39775
fde56e5c
MP
397762011-09-12 Marek Polacek <mpolacek@redhat.com>
39777
39778 * elf/dl-load.c (lose): Add cast to avoid warning.
39779
21fd49a9
UD
397802011-10-07 Ulrich Drepper <drepper@gmail.com>
39781
5a06e643
UD
39782 * po/ca.po: Update from translation team.
39783
684ae515
UD
39784 * inet/getnetgrent_r.c: Hook up nscd.
39785 * nscd/Makefile (routines): Add nscd_netgroup.
39786 (nscd-modules): Add netgroupcache.
39787 (CFLAGS-netgroupcache.c): Define.
39788 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39789 (cache_search): Add const to second parameter.
39790 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39791 INNETGR.
39792 (dbs): Add netgrdb entry.
39793 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39794 (verify_persistent_db): Handle netgrdb.
39795 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39796 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39797 GETFDNETGR.
39798 (netgroup_response_header): Define.
39799 (innetgroup_response_header): Define.
39800 (datahead): Add netgroup_response_header and innetgroup_response_header
39801 elements.
39802 * nscd/nscd.conf: Add entries for netgroup cache.
39803 * nscd/nscd.h (dbtype): Add netgrdb.
39804 (_PATH_NSCD_NETGROUP_DB): Define.
39805 (netgroup_iov_disabled): Declare.
39806 (xmalloc, xcalloc, xrealloc): Move declarations here.
39807 (cache_search): Adjust prototype.
39808 Add netgroup-related prototypes.
39809 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39810 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39811 (__nscd_innetgr): Declare.
39812 * nscd/selinux.c (perms): Use access_vector_t as element type and
39813 add netgroup-related initializers.
39814 * nscd/netgroupcache.c: New file.
39815 * nscd/nscd_netgroup.c: New file.
39816 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39817 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39818 For four parameters use innetgr.
39819 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39820 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39821 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39822 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39823
21fd49a9
UD
39824 * nscd/connections.c (register_traced_file): Don't register file
39825 for disabled databases.
39826
054c0457
UD
398272011-10-06 Ulrich Drepper <drepper@gmail.com>
39828
32b63198
UD
39829 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39830
054c0457
UD
39831 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39832 from tree and freeing node.
39833
64031225
JO
398342011-09-25 Jiri Olsa <jolsa@redhat.com>
39835
39836 * nss/nsswitch.c (__nss_database_lookup): Handle
39837 nss_parse_service_list out of memory case.
39838
0490345c
JO
398392011-09-15 Jiri Olsa <jolsa@redhat.com>
39840
39841 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39842 out of memory case.
39843
3a62d00d
AS
398442011-10-04 Andreas Schwab <schwab@redhat.com>
39845
39846 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39847 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39848 pass it down.
39849 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39850 elf_machine_rela, elf_machine_lazy_rel.
39851 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39852 (ELF_DYNAMIC_DO_REL): Likewise.
39853 (ELF_DYNAMIC_DO_RELA): Likewise.
39854 (ELF_DYNAMIC_RELOCATE): Likewise.
39855 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39856 to ELF_DYNAMIC_DO_REL.
39857 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39858 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39859 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39860 elf_machine_rela.
39861 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39862 skip_ifunc, don't call ifunc function if non-zero.
39863 (elf_machine_rela): Likewise.
39864 (elf_machine_lazy_rel): Likewise.
39865 (elf_machine_lazy_rela): Likewise.
39866 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39867 (elf_machine_lazy_rel): Likewise.
39868 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39869 Likewise.
39870 (elf_machine_lazy_rel): Likewise.
39871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39872 Likewise.
39873 (elf_machine_lazy_rel): Likewise.
39874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39875 (elf_machine_lazy_rel): Likewise.
39876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39877 (elf_machine_lazy_rel): Likewise.
39878 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39879 (elf_machine_lazy_rel): Likewise.
39880 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39881 (elf_machine_lazy_rel): Likewise.
39882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39883 (elf_machine_lazy_rel): Likewise.
39884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39885 (elf_machine_lazy_rel): Likewise.
39886
68577918
UD
398872011-09-28 Ulrich Drepper <drepper@gmail.com>
39888
39889 * nss/nss_files/files-init.c (_nss_files_init): Use static
39890 initialization for all the *_traced_file variables.
39891
68822d74
AS
398922011-09-28 Andreas Schwab <schwab@redhat.com>
39893
39894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39895
2056100b
RM
398962011-09-27 Roland McGrath <roland@hack.frob.com>
39897
39898 [BZ #13226]
39899 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39900
32c76b63
AS
399012011-09-27 Andreas Schwab <schwab@redhat.com>
39902
39903 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39904 Reread the line before reparsing it.
39905
bf972c9d
AS
399062011-09-26 Andreas Schwab <schwab@redhat.com>
39907
39908 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39909
e057a1b5
JM
399102011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39911 Maxim Kuvyrkov <maxim@codesourcery.com>
39912 Joseph Myers <joseph@codesourcery.com>
39913
39914 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39915 if needed for __stack_chk_guard.
39916
bc7e1c36
RM
399172011-09-19 Roland McGrath <roland@hack.frob.com>
39918
ecb1482f
RM
39919 * sysdeps/posix/spawni.c (script_execute): Always define it.
39920 It will be optimized away if unused.
39921 (maybe_script_execute): New function.
39922 (__spawni): Call it.
39923
bc7e1c36
RM
39924 * Makerules: Don't include tls.make.
39925 (config-tls): Always set to thread.
39926 * tls.make.c: File removed.
39927
1c3b002b
MF
399282011-09-19 Mike Frysinger <vapier@gentoo.org>
39929
39930 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39931 * config.make.in (CPPFLAGS-config): New substituted variable.
39932
2840865d
UD
399332011-09-15 Ulrich Drepper <drepper@gmail.com>
39934
88738eb6
UD
39935 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39936
cbf645a6 39937 [BZ #13192]
2840865d
UD
39938 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39939 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39940
b402e91a
RM
399412011-09-15 Roland McGrath <roland@hack.frob.com>
39942
39943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39944 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39946 (CALL_FAIL): Likewise.
39947 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39948 (CALL_FAIL): Macro removed.
39949 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39950
4c1a1f71
UD
399512011-09-15 Ulrich Drepper <drepper@gmail.com>
39952
39953 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39954 for __FINITE_MATH_ONLY__ == 1.
39955
edc121be
AS
399562011-09-15 Andreas Schwab <schwab@redhat.com>
39957
39958 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39959 __ieee754_sqrt instead of sqrt.
39960 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39961 __ieee754_sqrtf instead of sqrtf.
39962 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39963 __floorf instead of floorf.
39964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39965 __floorf, __truncf instead of floorf, truncf.
39966
cd205654
UD
399672011-09-14 Ulrich Drepper <drepper@gmail.com>
39968
ee4d0315
UD
39969 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39970
cd205654
UD
39971 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39972 __extern_always_inline.
39973 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39974 32-bit.
39975
48b67d71
AS
399762011-09-14 Andreas Schwab <schwab@redhat.com>
39977
39978 * elf/rtld.c (dl_main): Also relocate in dependency order when
39979 doing symbol dependency testing.
39980
1ae12c75
AS
399812011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39982
39983 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39984 Always define `refsym'.
39985
995a80df
AS
399862011-09-13 Andreas Schwab <schwab@redhat.com>
39987
e529793b
AS
39988 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39989 (__FD_ELT): Renamed from __FDELT.
39990 * misc/bits/select2.h (__FD_ELT): Likewise.
39991 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39992 __FD_MASK instead of __FDELT, __FDMASK.
39993 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39994 Likewise.
39995 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39996 Likewise.
39997
52d4fef8
AS
39998 * elf/Makefile (gen-ldd): Fix pattern.
39999
995a80df
AS
40000 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40001 (init_tls): Likewise.
40002
8682f8b0
UD
400032011-09-12 Ulrich Drepper <drepper@gmail.com>
40004
40005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40006
de82006d
AS
400072011-09-12 Andreas Schwab <schwab@redhat.com>
40008
a7c8e6a1
AS
40009 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40010 `struct cmsghdr *' instead of `void *'.
40011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40012 Likewise.
40013
0f31fe77
AS
400142011-09-11 Andreas Schwab <schwab@linux-m68k.org>
40015
40016 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40017 if non-absolute.
40018 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40019 ldd_rewrite_script.
0f31fe77 40020
32b4c839
UD
400212011-09-11 Ulrich Drepper <drepper@gmail.com>
40022
83cd1420
UD
40023 * configure.in: Remove --with-tls option.
40024 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40025 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40026 out in case it is missing.
40027 * sysdeps/ia64/elf/configure.in: Likewise.
40028 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40029 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40030 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40031 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40032 * sysdeps/sh/elf/configure.in: Likewise.
40033 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40034 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40035 * sysdeps/x86_64/elf/configure.in: Likewise.
40036 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40037 * sysdeps/mach/hurd/tls.h: Likewise.
40038
633f745d
UD
40039 [BZ #13067]
40040 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40041
f318beb8
UD
40042 [BZ #13090]
40043 * configure.in: Fix use of AC_INIT.
40044
32b4c839
UD
40045 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40046
3ce1f295
UD
400472011-09-10 Ulrich Drepper <drepper@gmail.com>
40048
bb016596
UD
40049 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40050 __set_errno.
8e58439c
UD
40051 * malloc/hooks.c: Likewise.
40052
aebae053 40053 [BZ #11929]
02d46fc4
UD
40054 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
40055 variables statically.
40056 (narenas): Initialize.
40057 (list_lock): Initialize.
bb016596
UD
40058 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
40059 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
40060 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40061 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
40062 Add initializers to main_arena and mp_.
40063 (malloc_state): Remove pagesize member. Change all users to use
40064 GLRO(dl_pagesize).
40065
40066 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40067 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
40068 is always initialized.
40069
22a89187
UD
40070 * malloc/malloc.c: Removed unused configurations and dead code.
40071 * malloc/arena.c: Likewise.
40072 * malloc/hooks.c: Likewise.
02d46fc4 40073 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 40074
d063d164
UD
40075 * include/tls.h: Removed. USE___THREAD must always be defined.
40076 * bits/libc-tsd.h: Don't handle !USE___THREAD.
40077 * elf/dl-libc.c: Likewise.
40078 * elf/dl-tsd.c: Likewise.
40079 * include/errno.h: Likewise.
40080 * include/netdb.h: Likewise.
40081 * include/resolv.h: Likewise.
40082 * inet/herrno-loc.c: Likewise.
40083 * inet/herrno.c: Likewise.
40084 * malloc/arena.c: Likewise.
40085 * malloc/hooks.c: Likewise.
40086 * malloc/malloc.c: Likewise.
40087 * resolv/res-state.c: Likewise.
40088 * resolv/res_libc.c: Likewise.
40089 * sysdeps/i386/dl-machine.h: Likewise.
40090 * sysdeps/ia64/dl-machine.h: Likewise.
40091 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40092 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40093 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40094 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40095 * sysdeps/sh/dl-machine.h: Likewise.
40096 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40097 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40098 * sysdeps/unix/i386/sysdep.S: Likewise.
40099 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40100 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40102 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40105 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40109 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40110 * sysdeps/x86_64/dl-machine.h: Likewise.
40111 * tls.make.c: Likewise.
40112
3ce1f295
UD
40113 * configure.in: Remove --with-__thread option. Make tests for
40114 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40115 tls_model attribute fail if no support is available. Remove
40116 USE_IN_LIBIO.
40117 * Makeconfig: Adjust for dropped configure option. All features are
40118 now mandatory.
40119 * Makerules: Likewise.
40120 * Versions.def: Likewise.
40121 * argp/argp-fmtstream.c: Likewise.
40122 * argp/argp-fmtstream.h: Likewise.
40123 * argp/argp-help.c: Likewise.
40124 * assert/assert.c: Likewise.
40125 * config.h.in: Likewise.
40126 * config.make.in: Likewise.
40127 * configure: Likewise.
40128 * configure.in: Likewise.
40129 * csu/Versions: Likewise.
40130 * csu/init.c: Likewise.
40131 * elf/tst-audit2.c: Likewise.
40132 * elf/tst-tls10.c: Likewise.
40133 * elf/tst-tls10.h: Likewise.
40134 * elf/tst-tls11.c: Likewise.
40135 * elf/tst-tls12.c: Likewise.
40136 * elf/tst-tls14.c: Likewise.
40137 * elf/tst-tlsmod11.c: Likewise.
40138 * elf/tst-tlsmod12.c: Likewise.
40139 * elf/tst-tlsmod13.c: Likewise.
40140 * elf/tst-tlsmod13a.c: Likewise.
40141 * elf/tst-tlsmod14a.c: Likewise.
40142 * elf/tst-tlsmod15b.c: Likewise.
40143 * elf/tst-tlsmod16a.c: Likewise.
40144 * elf/tst-tlsmod16b.c: Likewise.
40145 * elf/tst-tlsmod7.c: Likewise.
40146 * elf/tst-tlsmod8.c: Likewise.
40147 * elf/tst-tlsmod9.c: Likewise.
40148 * gmon/gmon.c: Likewise.
40149 * grp/fgetgrent_r.c: Likewise.
40150 * grp/putgrent.c: Likewise.
40151 * hurd/fopenport.c: Likewise.
40152 * include/libc-symbols.h: Likewise.
40153 * include/tls.h: Likewise.
40154 * intl/gettextP.h: Likewise.
40155 * intl/loadinfo.h: Likewise.
40156 * locale/global-locale.c: Likewise.
40157 * locale/localeinfo.h: Likewise.
40158 * mach/devstream.c: Likewise.
40159 * malloc/arena.c: Likewise.
40160 * malloc/set-freeres.c: Likewise.
40161 * misc/err.c: Likewise.
40162 * misc/getttyent.c: Likewise.
40163 * misc/mntent_r.c: Likewise.
40164 * posix/getopt.c: Likewise.
40165 * posix/wordexp.c: Likewise.
40166 * pwd/fgetpwent_r.c: Likewise.
40167 * resolv/Versions: Likewise.
40168 * resolv/res_hconf.c: Likewise.
40169 * shadow/fgetspent_r.c: Likewise.
40170 * shadow/putspent.c: Likewise.
40171 * stdio-common/printf_fphex.c: Likewise.
40172 * stdio-common/tmpfile.c: Likewise.
40173 * stdlib/abort.c: Likewise.
40174 * stdlib/fmtmsg.c: Likewise.
40175 * sunrpc/auth_unix.c: Likewise.
40176 * sunrpc/clnt_perr.c: Likewise.
40177 * sunrpc/clnt_tcp.c: Likewise.
40178 * sunrpc/clnt_udp.c: Likewise.
40179 * sunrpc/clnt_unix.c: Likewise.
40180 * sunrpc/openchild.c: Likewise.
40181 * sunrpc/svc_simple.c: Likewise.
40182 * sunrpc/svc_tcp.c: Likewise.
40183 * sunrpc/svc_udp.c: Likewise.
40184 * sunrpc/svc_unix.c: Likewise.
40185 * sunrpc/xdr.c: Likewise.
40186 * sunrpc/xdr_array.c: Likewise.
40187 * sunrpc/xdr_rec.c: Likewise.
40188 * sunrpc/xdr_ref.c: Likewise.
40189 * sunrpc/xdr_stdio.c: Likewise.
40190
1248c1c4
PB
401912011-09-09 Ulrich Drepper <drepper@gmail.com>
40192
40193 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40194
401952011-07-03 Andreas Jaeger <aj@suse.de>
40196
40197 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40198 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40199 regenerate with gen-libm-tests.pl.
40200
402012010-05-12 Petr Baudis <pasky@suse.cz>
40202
40203 [BZ #11589]
40204 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40205 around j0() zero points by switching to j1().
40206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40210
f22e1074
UD
402112011-09-09 Ulrich Drepper <drepper@gmail.com>
40212
f19009c1
UD
40213 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40214 instead of 0.
40215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 40216 instead of 0.
f19009c1
UD
40217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40218 Patch in part by Pavel Roskin <proski@gnu.org>.
40219
3f8cc204
UD
40220 [BZ #13138]
40221 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40222 realloc.
40223 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40224 Free memory block if necessary.
40225
f22e1074
UD
40226 [BZ #12847]
40227 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40228 be NULL. Don't lock in this case.
40229
0a2349f9
RM
402302011-09-09 Roland McGrath <roland@hack.frob.com>
40231
40232 * elf/elf.h (ELFOSABI_GNU): New macro.
40233 (ELFOSABI_LINUX): Define to that.
40234
f3cdd467
DZ
402352011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40236
40237 * string/strncat.c (strncat): Undef the symbol in case it has been
40238 defined in bits/string.h.
40239
74718d13
UD
402402011-09-09 Ulrich Drepper <drepper@gmail.com>
40241
633e9e0f
UD
40242 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40243
0a2349f9 40244 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
40245 link map.
40246
f9924780
AJ
402472011-08-17 Andreas Jaeger <aj@suse.de>
40248
40249 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40250
7f5517aa
PP
402512011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40252 Ian Lance Taylor <iant@google.com>
40253
40254 * math/libm-test.inc (lround_test): New testcase.
40255 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40256
762011fe
UD
402572011-09-08 Ulrich Drepper <drepper@gmail.com>
40258
92963737
UD
40259 * Makefile: Remove support for automatic cvs check-ins.
40260 * Makerules: Likewise.
40261 * config.make.in: Likewise.
40262 * configure.in: Likewise.
40263 * intl/Makefile: Likewise.
40264 * locale/Makefile: Likewise.
40265 * po/Makefile: Likewise.
40266 * posix/Makefile: Likewise.
40267 * sysdeps/gnu/Makefile: Likewise.
40268 * sysdeps/mach/hurd/Makefile: Likewise.
40269 * sysdeps/sparc/sparc32/Makefile: Likewise.
40270
b0727fd8
JS
40271 [BZ #13118]
40272 * posix/Makefile (bug-regex32-ENV): Define.
40273 Patch by John Stanley <jpsinthemix@verizon.net>.
40274
a0f33f99
UD
40275 * misc/Makefile (headers): Add bits/select2.h.
40276 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40277 * misc/bits/select2.h: New file.
40278 * include/bits/select2.h: New file.
40279 * debug/Makefile (routines): Add fdelt_chk.
40280 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40281 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40282 FD_ISSET.
40283 * debug/fdelt_chk.c: New file.
40284
762011fe
UD
40285 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40286 * wcsmbs/test-wmemcmp.c: Likewise.
40287 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 40288 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
40289
402902011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40291
40292 * string/Makefile (strop-tests): Add memcmp.
40293 * string/test-wmemcmp.c: New file.
40294 * string/test-memcmp.c: Add wmemcmp support.
40295
7f513ec8
RM
402962011-09-08 Roland McGrath <roland@hack.frob.com>
40297
0442afb4
RM
40298 [BZ #13153]
40299 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40300 2011-07-19 change.
40301
7f513ec8
RM
40302 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40303 garbage value in a __mach_port_mod_refs call in the cases of the
40304 task-self and thread-self ports.
40305
a12b2239
ST
403062011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40307
40308 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40309
610f9ab4
AS
403102011-09-08 Andreas Schwab <schwab@redhat.com>
40311
7f513ec8 40312 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 40313
48882a1a
LD
403142011-09-07 Ulrich Drepper <drepper@gmail.com>
40315
b49865be
UD
40316 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40317
fdc86bc9
UD
40318 * elf/dl-libc.c (dlerror_run): Pass back error code from
40319 dl_catch_error.
40320
c966526a
UD
40321 [BZ #13123]
40322 * elf/dl-load.c (lose): Free l_origin if it is valid.
40323
48882a1a
LD
40324 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40325 names.
40326 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40329 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40330 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40331 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40332
77a2a8b4
AZ
403332011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40334
40335 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40336 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40337 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40339 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40340 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40341 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40342 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40343 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40344 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40345
24f579d8
AM
403462011-08-15 Alan Modra <amodra@gmail.com>
40347
40348 [BZ #13092]
40349 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40350 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40351 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40352 ppc_mcount to static-only-routines.
40353 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40354 __mcount_internal.
40355 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40356 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40357
3d4837df
UD
403582011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40359
40360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40361 for finite and infinity parameters.
40362
22700377
WS
403632011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40364
40365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40366 and add nop instructions for throughput optimization.
40367 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40368
5025581e
WS
403692011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40370
40371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40372 aligned copy for power7 with vector-scalar instructions.
40373 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40374
08a300c9
L
403752011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40376
40377 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40378 AVX check.
40379
59178ef9
AS
403802011-09-07 Andreas Schwab <schwab@redhat.com>
40381
40382 [BZ #13144]
40383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40384 last change.
40385
e38ba7ab
UD
403862011-09-07 Ulrich Drepper <drepper@gmail.com>
40387
40388 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40389 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40390 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40391 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40392 clock_gettime.
40393
d53a73ac
UD
403942011-09-06 Ulrich Drepper <drepper@gmail.com>
40395
fc8bffcc
UD
40396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40397 Forgot to demangle the pointer.
40398
ceaa0c5d
UD
40399 * sysdeps/i386/sysdep.h: Define atom_text_section.
40400 * sysdeps/x86_64/sysdep.h: Likewise.
40401 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40402 section with atom_text_section.
40403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40404 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40405 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40407 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40408
a77d3c17
UD
40409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40410 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40411 already be defined. Change to take two parameters and don't assign
40412 result to variable. Adjust all users.
40413 Define INTERNAL_GETTIME if not already defined.
40414 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40415 call.
40416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40417 HAVE_CLOCK_GETTIME_VSYSCALL.
40418 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40419
d53a73ac
UD
40420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40421 gettimeofday vsyscall, just use time.
40422
a8f84144
AS
404232011-09-06 Andreas Schwab <schwab@redhat.com>
40424
40425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40426 <errno.h>.
40427
ef606249
UD
404282011-09-06 Ulrich Drepper <drepper@gmail.com>
40429
40430 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40431 syscall on x86-64.
40432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40433 syscall.
40434 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40436 syscall if possible.
40437
6585cb60
UD
404382011-09-05 Ulrich Drepper <drepper@gmail.com>
40439
40440 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40441 e_ident. Don't pass to find_mapsXX.
40442 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40443
a5f524e4
LD
404442011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40445
40446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40447 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40448 * sysdeps/x86_64/multiarch/strchr.S: Update.
40449 Check bit_slow_BSF bit.
40450 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40451 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40452 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40453
554881ef
UD
404542011-09-05 Ulrich Drepper <drepper@gmail.com>
40455
d96de963
UD
40456 [BZ #13134]
40457 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40458 before glibc 2.15.
40459 (tryshell): Define.
40460 (__spawni): Change last parameter to be flag. Test
40461 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40462 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40463 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40464 * posix/spawni.c: Likewise.
40465 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40466 * posix/spawnp.c: Likewise. Change normal version to use
40467 SPAWN_XFLAGS_USE_PATH.
40468 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40469 SPAWN_XFLAGS_TRY_SHELL.
40470
d48e5868
UD
40471 [BZ #13150]
40472 * posix/glob.h: Remove gcc 1.x support.
40473
554881ef
UD
40474 [BZ #13068]
40475 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40476
693fb948
LD
404772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40478
40479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40480 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40481 strrchr-sse2-bsf
40482 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40483 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40485 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40486 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40488
1b48c537
UD
404892011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40490
49d42c37
UD
40491 * sysdeps/x86_64/wcscmp.S: New file.
40492
1b48c537
UD
40493 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40494 wcscmp-c wcscmp-sse2
40495 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40496 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40498 * wcsmbs/wcscmp.c: Allow renaming.
40499
15c95c5d
DM
405002011-09-05 David S. Miller <davem@davemloft.net>
40501
40502 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40503 stack slot, rather than the struct return pointer slot.
40504 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40505 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40507 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40508
2f0ad8f3
UD
405092011-09-05 Ulrich Drepper <drepper@gmail.com>
40510
d88ae418
UD
40511 * po/ja.po: Update from translation team.
40512
2f0ad8f3
UD
40513 [BZ #13144]
40514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40515 kernel in 64-bit binaries.
40516
5f4318d1
DM
405172011-09-01 David S. Miller <davem@davemloft.net>
40518
40519 * elf/elf.h (HWCAP_SPARC_*): Move to..
40520 * sysdeps/sparc/sysdep.h: this new file and add new values.
40521 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40522 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40523 _DL_HWCAP_COUNT to 24.
40524 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40525 entries.
40526 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40527 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40528 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40530 instead of magic constants.
40531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40532
3ba57516
DM
405332011-08-31 David S. Miller <davem@davemloft.net>
40534
40535 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40537 Reimplement to do errno handling inline.
40538 (SYSCALL_ERROR_HANDLER): New macro.
40539 (__SYSCALL_STRING): Do not do errno handling in asm.
40540 (__CLONE_SYSCALL_STRING): Delete.
40541 (__INTERNAL_SYSCALL_STRING): Delete.
40542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40543 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40544 (PSEUDO): Reimplement to do errno handling inline.
40545 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40546 (SYSCALL_ERROR_HANDLER): New macro.
40547 (__SYSCALL_STRING): Do not do errno handling in asm.
40548 (__CLONE_SYSCALL_STRING): Delete.
40549 (__INTERNAL_SYSCALL_STRING): Delete.
40550 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40551 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40552 i386.
40553 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40554 (inline_syscall*): Add 'err' argument.
40555 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40556 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40557 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40558 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40559
40560 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40561 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40562
2bc17433
AS
405632011-08-30 Andreas Schwab <schwab@redhat.com>
40564
40565 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40566
fbeb5f4d
JO
405672011-08-29 Jiri Olsa <jolsa@redhat.com>
40568
40569 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40570 directive.
40571
ad69cc26
DM
405722011-08-24 David S. Miller <davem@davemloft.net>
40573
40574 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40575
39dd69df
AS
405762011-08-24 Andreas Schwab <schwab@redhat.com>
40577
40578 * elf/Makefile: Add rules to build and run unload8 test.
40579 * elf/unload8.c: New file.
40580 * elf/unload8mod1.c: New file.
40581 * elf/unload8mod1x.c: New file.
40582 * elf/unload8mod2.c: New file.
40583 * elf/unload8mod3.c: New file.
40584
40585 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40586 it wasn't used.
40587
2c0b250a
DM
405882011-08-23 David S. Miller <davem@davemloft.net>
40589
40590 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40591 subtract stack bias.
40592 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40593 %sp not %fp in calculations.
40594 (_JMPBUF_UNWINDS_ADJ): Likewise.
40595
22044b48
DM
40596 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40597 (aio_suspend): Call it to force an exception region around the
40598 AIO_MISC_WAIT() invocation.
40599
2cae4995
AS
406002011-08-23 Andreas Schwab <schwab@redhat.com>
40601
40602 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40603 backslash.
40604
873a772e
AJ
406052011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40606
40607 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40608 protection macro.
40609 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40610 and <dl-machine.h>.
40611 (Elf64_FuncDesc): Remove.
40612
25ad0df1
DM
406132011-08-22 David S. Miller <davem@davemloft.net>
40614
40615 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40616 sigaltstack check, add missing cfi directives.
40617 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40618 missing cfi directives, and sigaltstack handling.
40619
e888bcbe
AS
406202011-08-16 Andreas Schwab <schwab@redhat.com>
40621
40622 [BZ #11724]
40623 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40624 object is seen twice.
40625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40626
40627 * elf/Makefile (distribute): Add tst-initorder2.c.
40628 (tests): Add tst-initorder2.
40629 (modules-names): Add tst-initorder2a tst-initorder2b
40630 tst-initorder2c tst-initorder2d. Add rules to build them.
40631 ($(objpfx)tst-initorder2.out): New rule.
40632 * elf/tst-initorder2.c: New file.
40633 * elf/tst-initorder2.exp: New file.
40634
87162f46
AS
406352011-08-22 Andreas Schwab <schwab@redhat.com>
40636
70538b7f
AS
40637 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40638
f55ffe58
AS
40639 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40640 dependencies back to end of function.
40641
87162f46
AS
40642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40643 $(elfobjdir)/ld.so.
40644
91b392a4
UD
406452011-08-21 Ulrich Drepper <drepper@gmail.com>
40646
40647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40648 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40650 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40651 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40652 of __vdso_gettimeofday.
40653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40654 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40655 attribute_hidden.
40656 (_libc_vdso_platform_setup): Remove initialization of
40657 __vdso_gettimeofday and __vdso_time.
40658
5c43483f
UD
406592011-08-20 Ulrich Drepper <drepper@gmail.com>
40660
775a77e7
UD
40661 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40662 and fgetc_unlocked.
40663 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40664 getc_unlocked.
89f447ed 40665
49c74ba9
UD
40666 * elf/dl-open.c (add_to_global): Report additions to the global scope
40667 for LD_DEBUG=scopes.
40668 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 40669 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 40670
5c43483f
UD
40671 [BZ #13114]
40672 * stdio-common/Makefile (tests): Add bug24.
40673 * stdio-common/bug24.c: New file.
40674
a101b025
AJ
406752011-08-19 Andreas Jaeger <aj@suse.de>
40676
40677 [BZ #13114]
40678 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40679 non-existant file when using close-on-exec mode.
40680
c88f1766
UD
406812011-08-20 Ulrich Drepper <drepper@gmail.com>
40682
0276a718
UD
40683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40684 the very first instruction.
40685
c88f1766
UD
40686 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40687 the CFI state in the end.
40688 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40689 inclusion of dl-trampoline.h.
40690 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40691
51ccffa0
AS
406922011-08-19 Andreas Schwab <schwab@redhat.com>
40693
94d7165f
AS
40694 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40695 expectations for long double.
40696
51ccffa0
AS
40697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40698 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40699
fd708658 407002011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
40701
40702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40703 artificual limit depends upon the system page size.
40704
44f0a71e
UD
407052011-08-17 Ulrich Drepper <drepper@gmail.com>
40706
40707 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40708 * resolv/Makefile: Define CFLAGS-libresolv.
40709
8de79a24
AS
407102011-08-17 Andreas Schwab <schwab@redhat.com>
40711
40712 * nss/makedb.c (compute_tables): Make variables used in nested
40713 function static.
40714
27724598
UD
407152011-08-17 Ulrich Drepper <drepper@gmail.com>
40716
c5305d88
UD
40717 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40718 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40719 if buffer was too small.
40720
27724598
UD
40721 * elf/pldd.c (main): Attach to all threads in the process.
40722 Rewrite /proc handling to use *at functions.
40723
076fe015
UD
407242011-08-16 Ulrich Drepper <drepper@gmail.com>
40725
174baab3
UD
40726 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40727 specifies first scope to show.
40728 (dl_open_worker): Update callers. Move printing scope of new
40729 object to before the relocation.
44f0a71e 40730 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
40731 * sysdeps/generic/ldsodefs.h: Update declaration.
40732
076fe015
UD
40733 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40734 string for the scope number.
40735
a60df2c3
UD
407362011-08-14 Ulrich Drepper <drepper@gmail.com>
40737
40738 * nscd/servicescache.c (cache_addserv): Make sure written is always
40739 initialized.
40740
5e4287d1
RM
407412011-08-14 Roland McGrath <roland@hack.frob.com>
40742
85ae0589
RM
40743 * sysdeps/i386/i486/bits/atomic.h
40744 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40745 statement expression, so as to suppress "set but not used" warning.
40746 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40747
69f63097
RM
40748 * string/strncat.c (STRNCAT): Use prototype definition.
40749
675456ef
RM
40750 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40751 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40752 -Iprograms here.
40753 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40754 (localedef-modules): Add localedef.
40755 (locale-modules): Add locale.
40756
5e4287d1
RM
40757 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40758 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40759 to avoid a warning.
40760
9c96ff23
DM
407612011-08-14 David S. Miller <davem@davemloft.net>
40762
40763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40764 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40765
f9ddf089
UD
407662011-08-13 Ulrich Drepper <drepper@gmail.com>
40767
44f0a71e 40768 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
40769 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40770 * elf/rtld.c (dl_main): Set l_name of vDSO.
40771 Call _dl_show_scope when DL_DEBUG_SCOPES.
40772 (process_dl_debug): Recognize scopes flag and also set it for all.
40773 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40774 Declare _dl_show_scope.
40775
1dc27704
UD
40776 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40777 (do_dlopen): Pass caller_dlopen to dl_open.
40778 (__libc_dlopen_mode): Initialize caller_dlopen.
40779
f9ddf089
UD
40780 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40781 of libc. Make tolower call locale-independent. Optimize a bit by
40782 using isdigit instead of isalnum.
40783 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40784
9ac533d3
UD
407852011-08-12 Ulrich Drepper <drepper@gmail.com>
40786
40787 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40788 was a dependency or dynamically loaded.
40789
89edf2e9
UD
407902011-08-11 Ulrich Drepper <drepper@gmail.com>
40791
8e999d29
UD
40792 * intl/l10nflist.c: Allow architecture-specific pop function.
40793 * sysdeps/x86_64/l10nflist.c: New file.
40794
89edf2e9
UD
40795 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40796 classification.
40797
14d96785
AS
407982011-08-10 Andreas Schwab <schwab@redhat.com>
40799
40800 * include/dirent.h: Add libc_hidden_proto for scandirat and
40801 scandirat64. Don't declare __scandirat64.
40802 * dirent/scandirat.c: Add libc_hidden_def.
40803 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40804 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40805
6761ac04
DM
408062011-08-10 David S. Miller <davem@davemloft.net>
40807
40808 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40809 enum.
40810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40812 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40813
c55fbd1e
UD
408142011-08-09 Ulrich Drepper <drepper@gmail.com>
40815
40816 * Versions.def [libc]: Add GLIBC_2.15.
40817 * dirent/Makefile (routines): Add scandirat and scandirat64.
40818 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40819 GLIBC_2.15.
40820 * dirent/dirent.h: Declare scandirat and scandirat64.
40821 * dirent/scandirat.c: New file.
40822 * dirent/scandirat64.c: New file.
40823 * sysdeps/wordsize-64/scandirat.c: New file.
40824 * sysdeps/wordsize-64/scandirat64.c: New file.
40825 * dirent/opendir.c: Define opendirat.
40826 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40827 using scandirat.
40828 * dirent/scandir64.c: Adjust for scandir.c change.
40829 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40830 __scandirat64, and __scandir_cancel_handler.
40831 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40832 additional parameter and use openat instead of open (outside of ld.so).
40833 Add new __opendir as wrapper around __opendirat.
40834 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40835 here without requiring old scandirat implementation.
40836
879165f2
UD
408372011-08-08 Ulrich Drepper <drepper@gmail.com>
40838
40839 * dirent/scandir.c (cancel_handler): Renamed to
40840 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40841 defined. Adjust users.
40842 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40844
cb7e923b
UD
408452011-08-04 Ulrich Drepper <drepper@gmail.com>
40846
16292edd
UD
40847 * string/test-string.h (IMPL): Use __STRING to expand name and then
40848 stringify it.
40849
cb7e923b
UD
40850 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40851 of cleanups.
40852
cff82933
LD
408532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40854
40855 * string/Makefile: Update.
40856 (strop-tests): Append strncat.
40857 * string/test-wcscmp.c: New file.
40858 New comprehensive test for wcscmp.
40859 * string/test-strcmp.c: Update.
40860 (WIDE): New define.
40861
9be9bfcc
AS
408622011-07-22 Andreas Schwab <schwab@redhat.com>
40863
40864 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40865 line.
40866
2e96f1c7
AS
408672011-07-26 Andreas Schwab <schwab@redhat.com>
40868
40869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40870 encoding to ACE if AI_IDN.
40871
85188888
JJ
408722011-08-01 Jakub Jelinek <jakub@redhat.com>
40873
40874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40875 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40876
5fa16e9b
LD
408772011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40878
40879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40880 Fix overflow bug in strncat.
40881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40882
40883 * string/test-strncat.c: Update.
40884 Add new tests for checking overflow bugs.
40885
408862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40887
40888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40889 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40890 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40891 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40893 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40894 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40895 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40896 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40897
40898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40899 (USE_AS_STRCAT): Define.
40900 Add strcat and strncat support.
40901 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40902
8c1a459f
AS
409032011-07-25 Andreas Schwab <schwab@redhat.com>
40904
40905 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40906 __n bigger than INT_MAX+1.
40907 (__strncmp_g): Likewise.
40908
bba33c28
UD
409092011-07-23 Ulrich Drepper <drepper@gmail.com>
40910
798be72d
UD
40911 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40912 * libio/stido.h: Likewise.
40913
8accd4dc
UD
40914 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40915 (AF_NFC): Define.
40916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40917 (AF_NFC): Define.
40918
cbff0d96
UD
40919 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40922 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40923 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40924
9191c04a
UD
40925 [BZ #13021]
40926 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40927 installed.
40928
bba33c28
UD
40929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40930 typo.
40931 (_dl_x86_64_save_sse): Likewise.
40932
90f139dd
UD
409332011-07-22 Ulrich Drepper <drepper@gmail.com>
40934
1aae088a
UD
40935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40936 OSXSAVE.
40937 (_dl_x86_64_save_sse): Likewise.
40938
8e2045f5
UD
40939 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40940
90f139dd
UD
40941 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40942
1d002f25
AS
409432011-07-21 Andreas Schwab <schwab@redhat.com>
40944
40945 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40946 change.
40947 (_dl_x86_64_save_sse): Use correct AVX check.
40948
21137f89
UD
409492011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40950
40951 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40952 bug in strncpy/strncat.
40953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40954
a65c0b7a
UD
409552011-07-21 Ulrich Drepper <drepper@gmail.com>
40956
40957 * string/tester.c (test_strcat): Add tests for different alignments
40958 of source and destination.
40959 (test_strncat): Likewise.
40960
6986b98a
UD
409612011-07-20 Ulrich Drepper <drepper@gmail.com>
40962
90bb2039
UD
40963 [BZ #12852]
40964 * posix/glob.c (glob): Check passed in values before using them in
40965 expressions to avoid some overflows.
40966 (glob_in_dir): Likewise.
40967
5644ef54
UD
40968 [BZ #13007]
40969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40970 check for AVX enablement so that we don't crash with old kernels and
40971 new hardware.
40972 * elf/tst-audit4.c: Add same checks here.
40973 * elf/tst-audit6.c: Likewise.
40974
40975 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40976
bfc9dc9b
AS
409772011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40978
40979 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40980
702e64bb
UD
409812011-07-20 Ulrich Drepper <drepper@gmail.com>
40982
40983 * po/cs.po: Update from translation team.
40984 * po/bg.po: Likewise.
40985
295e904f
MP
409862011-07-12 Marek Polacek <mpolacek@redhat.com>
40987
40988 * misc/sys/cdefs.h: Add support for const attribute.
40989 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40990 to gnu_dev_{major,minor,makedev} functions.
40991
3ff94596
MP
409922011-07-20 Marek Polacek <mpolacek@redhat.com>
40993
40994 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40995
28b59fca
AS
409962011-07-20 Andreas Schwab <schwab@redhat.com>
40997
40998 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40999 strlen results.
41000
19df733e
AK
410012011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41002
41003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41004 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41005 register in order to avoid conflicts with the soft frame pointer
41006 being held in r11 when necessary.
41007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41008 (INTERNAL_VSYSCALL_NCS): Likewise.
41009
c8835729
MP
410102011-07-14 Marek Polacek <mpolacek@redhat.com>
41011
41012 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41013 * elf/dl-fini.c (_dl_fini): Adjust caller.
41014 * elf/dl-close.c (_dl_close_worker): Likewise.
41015 * sysdeps/generic/ldsodefs.h: Adjust declaration.
41016
b902330c
MP
410172011-07-15 Marek Polacek <mpolacek@redhat.com>
41018
8991e135
MP
41019 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41020 "aux_cache->nlibs < 0".
41021
b902330c
MP
41022 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41023 in the reload-count case.
41024
99710781
LD
410252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41026
41027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41028 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41029 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41030 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41031 * sysdeps/x86_64/multiarch/strcat.S: New file.
41032 * sysdeps/x86_64/multiarch/strncat.S: New file.
41033 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41034 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41035 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41036 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41038 (USE_AS_STRCAT): Define.
41039 Add strcat and strncat support.
41040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41041 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41042 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41043 * string/strncat.c: Update.
41044 (USE_AS_STRNCAT): Define.
41045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41046 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41047 and i7.
41048 * sysdeps/x86_64/multiarch/init-arch.h
41049 (bit_Prefer_PMINUB_for_stringop): New.
41050 (index_Prefer_PMINUB_for_stringop): Likewise.
41051 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41052 bit_Prefer_PMINUB_for_stringop.
41053
7dc6bd90
UD
410542011-07-19 Ulrich Drepper <drepper@gmail.com>
41055
41056 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41057 buffer64.
41058 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41059 of casting of buffer.
41060 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41061 buffer32 and buffer64.
41062 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41063 writes instead of casting of buffer.
41064 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41065 buffer32.
41066 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41067 casting of buffer.
41068
e0e72284
AS
410692011-07-19 Andreas Schwab <schwab@redhat.com>
41070
41071 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41072
feb1eb0b
UD
410732011-07-19 Ulrich Drepper <drepper@gmail.com>
41074
41075 * nscd/nscd.c (termination_handler): Don't do anything for a database
41076 if it has not yet been initialized.
41077
298711ff
UD
410782011-07-18 Ulrich Drepper <drepper@gmail.com>
41079
41080 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41081
410822011-07-15 Marek Polacek <mpolacek@redhat.com>
41083
41084 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41085
f9d68389
UD
410862011-07-18 Ulrich Drepper <drepper@gmail.com>
41087
41088 * po/nl.po: Update from translation team.
41089 * po/sv.po: Likewise.
41090
db290cf5
RM
410912011-07-16 Roland McGrath <roland@hack.frob.com>
41092
41093 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41094 now disallowed by GCC.
5c550700 41095
fd5e21c7
RM
41096 * configure.in (use-default-link): Default to yes if a test -shared
41097 link meets our qualifications.
41098 * configure: Regenerated.
41099
5c550700
RM
41100 * config.make.in (output-format): New variable.
41101 * configure.in: Check for ld --print-output-format support.
41102 * configure: Regenerated.
41103 * Makerules ($(common-objpfx)format.lds)
41104 [$(output-format) != unknown]: Just use $(output-format),
41105 instead of the linker-script munging.
41106
9fa2c032
RM
411072011-07-14 Roland McGrath <roland@hack.frob.com>
41108
a6928d51
RM
41109 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41110 of $(common-objpfx)shlib.lds.
41111 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41112
661607b3
RM
41113 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41114 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41115
9fa2c032
RM
41116 * configure.in (-z relro check): Adjust test code to add a large
41117 writable data section after it.
41118 * configure: Regenerated.
41119
defe9061
RM
411202011-07-11 Roland McGrath <roland@hack.frob.com>
41121
41122 * configure.in (-z relro check): Fix test code to make the variable
41123 truly const.
41124 * configure: Regenerated.
41125
319b9ad4
UD
411262011-07-11 Ulrich Drepper <drepper@gmail.com>
41127
41128 * nscd/nscd.h (struct traced_file): Define.
41129 (struct database_dyn): Remove inotify_descr, reset_res, and filename
41130 elements. Add traced_files.
41131 (inotify_fd): Declare.
41132 (register_traced_file): Declare.
41133 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41134 (inotify_fd): Export.
41135 (resolv_conf_descr): Remove.
41136 (nscd_init): Move inotify descriptor creation to main.
41137 Don't register files for notification here.
41138 (register_traced_file): New function.
41139 (invalidate_cache): Don't use reset_res to determine whether to call
41140 res_init, go through the list of registered files.
41141 (main_loop_poll): The inotify descriptors are now stored in the
41142 structures for the traced files.
41143 (main_loop_epoll): Likewise
41144 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
41145 to __nss_disable_nscd.
41146 * nscd/cache.c (prune_cache): There is no single inotify descriptor
41147 for a database anymore. Check the records for all the registered
41148 files instead.
41149 * nss/Makefile (libnss_files-routines): Add files-init.
41150 (libnss_db-routines): Add db-init.
41151 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41152 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41153 * nss/nss_db/db-init.c: New file.
41154 * nss/nss_files/files-init.c: New file.
41155 * nss/nsswitch.c (nss_load_library): New function. Broken out of
41156 __nss_lookup_function.
41157 (__nss_lookup_function): Call nss_load_library.
41158 (nss_load_all_libraries): New function.
41159 (__nss_disable_nscd): Take parameter with callback function for files
41160 to register. Set is_nscd. Load all the DSOs for the NSS modules
41161 used for the cached services.
41162 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41163 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41164 options for features to all the files in nscd.
41165
41166 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41167
23bee3e8
RM
411682011-07-10 Roland McGrath <roland@hack.frob.com>
41169
41170 * csu/elf-init.c (__libc_csu_init): Comment typo.
41171
46a5b7f0
UD
411722011-07-09 Ulrich Drepper <drepper@gmail.com>
41173
41174 * po/pl.po: Update from translation team.
41175 * po/ja.po: Likewise.
41176 * po/ru.po: Likewise.
41177 * po/ko.po: Likewise.
41178 * po/fr.po: Likewise.
41179
d30cf5bb
RM
411802011-07-09 Roland McGrath <roland@hack.frob.com>
41181
113ddea4
RM
41182 * configure.in (.ctors/.dtors header and trailer check):
41183 Use an empirical test on a built program.
41184 * configure: Regenerated.
41185
574920b4
RM
41186 * configure.in (-z relro check): Use an empirical test on a built DSO.
41187 Detect, but do not require, on ia64.
41188 * configure: Regenerated.
41189
d30cf5bb
RM
41190 * configure.in (READELF): Find it with AC_CHECK_TOOL.
41191 Update tests that use readelf to use $READELF instead.
41192 * configure: Regenerated.
41193
8538fdb3
UD
411942011-07-08 Ulrich Drepper <drepper@gmail.com>
41195
41196 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41197 if the result is not used.
41198
04d08991
AJ
411992011-07-05 Andreas Jaeger <aj@suse.de>
41200
41201 [BZ#9696]
41202 * stdlib/tst-strtod.c: Add testcase.
41203
de283087
AD
412042011-07-07 Ulrich Drepper <drepper@gmail.com>
41205
4e5f31c8 41206 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 41207 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
41208 The latter has a higher limit. Take additional parameter to pass to
41209 the new function.
41210 (__pathconf): Pass file to __statfs_link_max.
41211 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41212 __statfs_link_max.
41213 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41214 __statfs_link_max.
41215
de283087
AD
41216 [BZ #12868]
41217 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41219 Handle Lustre.
41220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41221 (__statfs_filesize_max): Likewise.
41222 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41223
c75fa153
AJ
412242011-07-05 Andreas Jaeger <aj@suse.de>
41225
41226 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41227
1a544854
UD
412282011-07-06 Marek Polacek <mpolacek@redhat.com>
41229
41230 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41231 `status' variable.
41232 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41233 Likewise.
41234
6f0eec67
UD
412352011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41236
41237 * Makefile (strop-tests): Add strncat.
41238 * string/test-strncat.c: New file.
41239
aae30307
UD
412402011-06-30 Marek Polacek <mpolacek@redhat.com>
41241
41242 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41243
c0cfb5eb
UD
412442011-06-21 Andreas Jaeger <aj@suse.de>
41245
41246 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41247 Copy rule from iconvdata/Makefile.
41248
01636b21
UD
412492011-07-06 Ulrich Drepper <drepper@gmail.com>
41250
41251 [BZ #12922]
41252 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41253 but no long options are defined, just return 'W'.
41254
9895c8bc
UD
412552011-06-22 Marek Polacek <mpolacek@redhat.com>
41256
41257 [BZ #9696]
41258 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41259
5d4cf042
UD
412602011-07-06 Ulrich Drepper <drepper@gmail.com>
41261
41262 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41263 netgroups to read.
960e5535 41264 (innetgr): Likewise.
5d4cf042 41265
751eb97e
RM
412662011-07-05 Roland McGrath <roland@hack.frob.com>
41267
41268 * config.make.in (install_root): Default to $(DESTDIR).
41269
f15f1e45
UD
412702011-07-05 Ulrich Drepper <drepper@gmail.com>
41271
41272 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41273
4e34ac6a
RM
412742011-07-02 Roland McGrath <roland@hack.frob.com>
41275
5e9b6af4
RM
41276 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41277
84f9ea0f
RM
41278 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41279 containing directory rather than embedding absolute directory names.
41280
ea5ee9f7
RM
41281 * scripts/check-local-headers.sh: Rewritten using awk.
41282 Match by word, not by line. Print error messages for matches.
41283 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41284
1b74661a
RM
41285 * Makerules [shlib-lds-flags empty]:
41286 ($(common-objpfx)libc_pic.opts): New target.
41287 ($(common-objpfx)libc_pic.os.clean): New target.
41288 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41289
41290 * config.make.in (OBJCOPY): New variable.
41291 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41292 * configure: Regenerated.
41293
f781ef40
RM
41294 * config.make.in (use-default-link): New variable.
41295 * configure.in (use_default_link): Grok --with-default-link to set it.
41296 * configure: Regenerated.
41297 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41298 (shlib-lds, shlib-lds-flags): Define to empty.
41299
2d4fa81e
RM
41300 * Makerules (shlib-lds): New variable.
41301 (shlib-lds-flags): New variable.
41302 (build-shlib, build-moduile, build-module-asneeded): Use it.
41303 ($(common-objpfx)libc.so): Use $(shlib-lds).
41304 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41305 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41306
31fffa6b
RM
41307 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41308 DT_FLAGS/DT_FLAGS_1 with zero flags.
41309
4e34ac6a
RM
41310 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41311 linker script munging.
41312
fcfc776b
UD
413132011-07-02 Ulrich Drepper <drepper@gmail.com>
41314
41315 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41316 as 128-bit value.
41317 * crypt/sha512.c (sha512_process_block): Perform total addition using
41318 128-bit if possible.
41319 (__sha512_finish_ctx): Likewise.
41320 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41321 as 64-bit value.
41322 * crypt/sha256.c (SWAP64): Define.
41323 (sha256_process_block): Perform total addition using 64-bit if
41324 possible.
41325 (__sha256_finish_ctx): Likewise.
41326
99231d9a
UD
413272011-07-01 Ulrich Drepper <drepper@gmail.com>
41328
41329 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41331 * nscd/hstcache.c (cache_addhst): Likewise.
41332 * nscd/grpcache.c (cache_addgr): Likewise.
41333 * nscd/aicache.c (addhstaiX): Likewise
41334 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41335
445b4a53
TK
413362011-07-01 Thorsten Kukuk <kukuk@suse.de>
41337
41338 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41340 * nscd/hstcache.c (cache_addhst): Likewise.
41341 * nscd/grpcache.c (cache_addgr): Likewise.
41342 * nscd/aicache.c (addhstaiX): Likewise
41343
6d4d8e8e
AS
413442011-07-01 Andreas Schwab <schwab@redhat.com>
41345
41346 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41347 domain only when needed.
41348
89f654c5
AS
413492011-06-30 Andreas Schwab <schwab@redhat.com>
41350
41351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41352 is always restored.
41353
cf3b23ff
UD
413542011-06-29 Ulrich Drepper <drepper@gmail.com>
41355
41356 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41357 are re-adding the entry.
41358 * nscd/servicescache.c (cache_addserv): Likewise.
41359
751626f9
AJ
413602011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41361
41362 * sysdeps/generic/dl-irel.h: fix protection against multiple
41363 inclusions.
41364 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41365
9113ea1f
UD
413662011-06-28 Ulrich Drepper <drepper@gmail.com>
41367
5c0b8d90
UD
41368 [BZ #12935]
41369 * malloc/memusage.sh: Fix quoting in message.
41370 * debug/xtrace.sh: Likewise.
41371
9113ea1f
UD
41372 * configure.in: Remove support for --experimental-malloc option, make
41373 it the default.
41374 * config.make.in: Likewise.
41375 * malloc/Makefile: Likewise.
41376
a4172181
AS
413772011-06-27 Andreas Schwab <schwab@redhat.com>
41378
41379 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41380 two-byte characters.
41381
78a7eee7
RM
413822011-06-27 Roland McGrath <roland@hack.frob.com>
41383
62bede13
RM
41384 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41385 AC_CACHE_CHECK invocation.
41386 * configure: Regenerated.
41387
78a7eee7
RM
41388 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41389
5ce33a62
UD
413902011-06-27 Ulrich Drepper <drepper@gmail.com>
41391
034807a9
UD
41392 [BZ #12350]
41393 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41394 bit from old_res_options.
41395
4902da17
UD
41396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41397
5ce33a62
UD
41398 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41399 value type for setfct.
41400
c2344f56
L
414012011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41402
41403 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41404 __gettimeofday instead of gettimeofday.
41405
68468076
UD
414062011-06-26 Ulrich Drepper <drepper@gmail.com>
41407
41408 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41409
acb0d739
L
414102011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41411
41412 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41413
41414 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41415 info.
41416
8912479f
L
414172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41418
41419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41420 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41421 strcpy-sse2-unaligned strncpy-sse2-unaligned
41422 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41423 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41424 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41425 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41426 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41429 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41430 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41431 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41432 (STRCPY): Support SSE2 and SSSE3 versions.
41433
d5495a11
UD
414342011-06-24 Ulrich Drepper <drepper@gmail.com>
41435
41436 [BZ #12874]
41437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41438 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41439 kernels which artificially limit size of requests.
41440
0b1cbaae
L
414412011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41442
41443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41444 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41445 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41446 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41447 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41448 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41449 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41450 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41451 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41452 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41453 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41454 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41455 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41456 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41457 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41459 Enable unaligned load optimization for Intel Core i3, i5 and i7
41460 processors.
41461 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41462 Define.
41463 (index_Fast_Unaligned_Load): Define.
41464 (HAS_FAST_UNALIGNED_LOAD): Define.
41465
07f494a0
MP
414662011-06-23 Marek Polacek <mpolacek@redhat.com>
41467
41468 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41469
fa3fc0fe
UD
414702011-06-22 Ulrich Drepper <drepper@gmail.com>
41471
41472 [BZ #12907]
41473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41474 until it is clear that the information is realy needed.
41475 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41476
e12df166
AS
414772011-06-22 Andreas Schwab <schwab@redhat.com>
41478
41479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41480
852eb34d
UD
414812011-06-22 Ulrich Drepper <drepper@gmail.com>
41482
84e2a551
UD
41483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41484 /sys/devices/system/cpu/online if it is usable.
41485
852eb34d
UD
41486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41487 reading the information from the /proc filesystem to once a second.
41488
6e502e19
UD
414892011-06-21 Andreas Jaeger <aj@suse.de>
41490
41491 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41492 NULL after inclusion of kernel headers.
41493
75d39ff2
UD
414942011-06-21 Ulrich Drepper <drepper@gmail.com>
41495
51f9aa6a
UD
41496 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41497 calls to internal_setent.
41498
c0244a9d
UD
41499 [BZ #12885]
41500 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41501 addresses using gethostbyname4_r ignore IPv4 addresses.
41502
c5e3c2ae
UD
41503 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41504 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41505
75d39ff2
UD
41506 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41507
42675c6f
DM
415082011-06-20 David S. Miller <davem@davemloft.net>
41509
41510 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41511 inclusions.
41512 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41513
41514 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41515 (elf_irel): Use it.
41516 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41517 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41518 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41519 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41520 * sysdeps/x86_64/dl-irel.h: Likewise.
41521
41522 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41523 * elf/dl-sym.c: Likewise.
41524
57912a71
UD
415252011-06-15 Ulrich Drepper <drepper@gmail.com>
41526
41527 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41528 need to dereference resplen2.
41529
ee22793d
AS
415302011-06-14 Andreas Schwab <schwab@redhat.com>
41531
41532 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41533
a9e836b0
UD
415342011-06-15 Ulrich Drepper <drepper@gmail.com>
41535
77fb9117
UD
41536 * Makeconfig: Define vardbdir and inst_vardbdir.
41537 * nss/Makefile: Add rules to install db-Makefile.
41538
40c1b22c
UD
41539 * nss/nss_db/db-XXX.c: Cleanup.
41540
9f2da732
UD
41541 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41542 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41543 GLIBC_PRIVATE.
41544 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41545 * nss/makedb.c: Implement -g option to specify that value strings
41546 are generated and should not be added to table iterated over for
41547 get*ent calls.
41548 * nss/nss_db/db-initgroups.c: New file.
41549
82e9a1f7
UD
41550 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41551 interface.
41552
c41af17e
UD
41553 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41554 (internal_getgrouplist): Adjust to name change.
41555 Update use_initgroups_entry if this is not the first call.
41556 * nss/databases.def: Add initgroups entry.
41557
a9e836b0
UD
41558 * nss/makedb.c (compute_tables): Check result of multiple hash table
41559 sizes to minimize maximum chain length.
41560
2666d441
UD
415612011-06-14 Ulrich Drepper <drepper@gmail.com>
41562
41563 * Versions.def: Add entry for libnss_db.
41564 * shlib-versions: Likewise.
41565 * nss/Makefile: Add rules to build libnss_db.
41566 * nss/Versions: Add libnss_db information. Organize libnss_files
41567 entries better.
41568 * nss/db-Makefile: Add gshadow support. Change rules for the new
41569 makedb progra. Some minor improvements to generate smaller files.
41570 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41571 here from...
41572 * nss/makedb.c: ...here.
41573 Improve database format to be smaller and require less memory at
41574 runtime.
41575 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41576 db anymore.
41577 * nss/nss_db/db-netgrp.c: Likewise.
41578 * nss/nss_db/db-open.c: Likewise.
41579 * nss/nss_files/flies-XXX.x: Adjust comments.
41580 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41581 * nss/nss_files/files-grp.c: Likewise.
41582 * nss/nss_files/files-hosts.c: Likewise.
41583 * nss/nss_files/files-network.c: Likewise.
41584 * nss/nss_files/files-proto.c: Likewise.
41585 * nss/nss_files/files-pwd.c: Likewise.
41586 * nss/nss_files/files-rpc.c: Likewise.
41587 * nss/nss_files/files-service.c: Likewise.
41588 * nss/nss_files/files-sgrp.c: Likewise.
41589 * nss/nss_files/files-spwd.c: Likewise.
41590 * nss/nss_db/db-alias.c: Removed.
41591 * nss/nss_db/dummy-db.h: Removed.
41592
9ee76b5a
UD
415932011-06-02 Ulrich Drepper <drepper@gmail.com>
41594
41595 * nss/makedb.c: Rewritten to not use database library.
41596 * nss/Makefile: Update to build new makedb program.
41597
c71ca1f8
AJ
415982011-06-14 Andreas Jaeger <aj@suse.de>
41599
41600 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41601 memset declaration.
41602
3154bfb8
UD
416032011-06-10 Andreas Schwab <schwab@redhat.com>
41604
41605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41606 tmpbuf.
41607
b350afab
RM
416082011-06-10 Roland McGrath <roland@hack.frob.com>
41609
decd4e50
RM
41610 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41611 * elf/Makefile ($(objpfx)ld.so): Likewise.
41612
5615eaf2
RM
41613 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41614 Don't list ld.so twice in dependencies.
41615
41616 * posix/bug-regex31.c: Include <stdlib.h>.
41617
41618 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41619
41620 * nis/nss_compat/compat-spwd.c
41621 (getspent_next_nss_netgr): Remove unused variable.
41622 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41623
41624 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41625 nonmembers" output to use the right array.
41626
41627 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41628
41629 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41630
41631 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41632 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41633 * catgets/gencat.c (read_input_file): Likewise.
41634 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41635
41636 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41637 variable definition inside #if's controlling its use.
41638
41639 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41640
41641 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41642
41643 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41644
41645 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41646 unreachable code.
41647
41648 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41649
b68e08db
RM
41650 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41651 * configure: Regenerated.
41652
b350afab
RM
41653 * Makerules: Revert last change.
41654 * elf/Makefile: Likewise.
41655
28368601
RM
416562011-06-09 Roland McGrath <roland@hack.frob.com>
41657
41658 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41659 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41660 (reloc-link): Likewise.
41661
11988f8f
UD
416622011-06-09 Ulrich Drepper <drepper@gmail.com>
41663
41664 * elf/Makefile: Add rules to build pldd.
41665 * elf/pldd.c: New file.
41666 * elf/pldd-xx.c: New file.
41667
e80fab37
UD
416682011-06-07 Ulrich Drepper <drepper@gmail.com>
41669
41670 * version.h: Update for 2.15 development version.
41671
9b849836
DM
416722011-06-07 David S. Miller <davem@davemloft.net>
41673
41674 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41675 ifuncs.
41676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41677 elf_machine_lazy_rel): Likewise.
41678 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41680 elf_machine_lazy_rel): Likewise.
41681 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41682 dl_hwcap via passed in argument.
41683 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41684 Likewise.
41685
5a31b283
AK
416862011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41687
41688 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41689
069e52f8
RM
416902011-06-06 Roland McGrath <roland@hack.frob.com>
41691
41692 [BZ #12849]
41693 * manual/fdl-1.1.texi: New file, verbatim from:
41694 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41695 * manual/lgpl-2.1.texi: New file, verbatim from:
41696 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41697 * manual/Makefile (licenses): New variable, list those new file names.
41698 (texis): Use it.
41699 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41700
41701 * manual/fdl.texi: File removed.
41702 * manual/lesser.texi: File removed.
41703 * manual/libc.texinfo (Copying, Documentation License):
41704 Use new @include file names, put @appendix directive before @include.
41705
f16846a5
JJ
417062011-06-04 Jakub Jelinek <jakub@redhat.com>
41707
41708 [BZ #12841]
41709 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41710 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41711 (mq_open): Add __NTH.
41712
3d29045b
L
417132011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41714
41715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41716 Assume Intel Core i3/i5/i7 processor if AVX is available.
41717
8c297311
UD
417182011-05-31 Ulrich Drepper <drepper@gmail.com>
41719
41720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41721 typo.
41722
c8fc0c91
UD
417232011-05-31 Andreas Schwab <schwab@redhat.com>
41724
41725 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41726 memory. Use alloca_account. Fix memory leak when retrying.
41727
5b27a807
UD
417282011-05-31 Ulrich Drepper <drepper@gmail.com>
41729
356f8bc6
UD
41730 * version.h (RELEASE): Bump for 2.14 release.
41731 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41732
5b27a807
UD
41733 * config.make.in (RANLIB): Remove entry.
41734
01f16ab0
UD
417352011-05-30 Ulrich Drepper <drepper@gmail.com>
41736
41fce8bd
UD
41737 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41738 (libc.pot): Work around missing support for .ksh extension in xgettext.
41739
4769ae77
UD
41740 [BZ #12684]
41741 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41742 if both request failed.
41743 (send_dg): In case of server errors clear resplen or *resplen2.
41744
6b1e7d19
UD
41745 [BZ #12454]
41746 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41747 when there are multiple maps.
41748 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41749 (_dl_fini): Remove test here.
41750
01f16ab0
UD
41751 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41752
b1ebd700
UD
417532011-05-29 Ulrich Drepper <drepper@gmail.com>
41754
7ae22829
UD
41755 [BZ #12350]
41756 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41757 bit from old_res_options.
41758 (gaih_inet): Likewise.
41759
553149f6 41760 [BZ #11099]
18a84741 41761 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
41762 as signed.
41763
652ffab1
UD
41764 * resolv/res_init.c (res_setoptions): Make the code more compact.
41765
16985fd0
UD
41766 [BZ #11558]
41767 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41768 set RES_USEVC.
41769
0464f746
UD
41770 [BZ #11634]
41771 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41772
7d17596c
UD
41773 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41774
cf6bbbd7
UD
41775 [BZ #11781]
41776 * malloc/malloc.h: Declare malloc hook variables as volatile.
41777
13f1ab36
UD
41778 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41779 in last patch.
41780
b1ebd700
UD
41781 [BZ #11799]
41782 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 41783 raise in the comment.
80e2212d
UD
41784 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41786 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 41787
ce67228d
UD
417882011-05-28 Ulrich Drepper <drepper@gmail.com>
41789
8887a920
UD
41790 [BZ #12811]
41791 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41792 grow the buffers more if it already has to be sufficient.
41793 (build_wcs_upper_buffer): Likewise.
41794 * posix/regexec.c (check_matching): Likewise.
41795 (clean_state_log_if_needed): Likewise.
41796 (extend_buffers): Don't enlarge buffers beyond size of the input
41797 buffer.
41798 Patches mostly by Emil Wojak <emil@wojak.eu>.
41799 * posix/bug-regex32.c: New file.
41800 * posix/Makefile (tests): Add bug-regex32.
41801
4f031072
UD
41802 * locale/findlocale.c (_nl_find_locale): Return right away if
41803 _nl_explode_name failed.
41804 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41805
d0478f0c
UD
41806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41807
de81b246
UD
41808 * debug/xtrace.sh: Unify messages.
41809 * malloc/memusage.sh: Likewise.
41810
c738465a
UD
41811 [BZ #12813]
41812 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41813 time symbol from vDSO. Substitute with vsyscall if not available.
41814 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41815 __vdso_time.
41816
f1f929d7
UD
41817 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41818 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41819 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41820 Add sendmmsg and internal_sendmmsg.
41821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41822 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41823 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41824
ce67228d
UD
41825 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41826 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41828
e57420c6
UD
418292011-05-27 Ulrich Drepper <drepper@gmail.com>
41830
a8509ca5
UD
41831 [BZ #12813]
41832 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41833 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41834 available.
41835 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41836 __vdso_getcpu.
41837
e57420c6
UD
41838 [BZ #12814]
41839 * iconvdata/Makefile (tests): Add bug-iconv9.
41840 * iconvdata/bug-iconv9.c: New file.
41841
4d07db15
AS
418422011-05-27 Andreas Schwab <schwab@redhat.com>
41843
41844 [BZ #12814]
41845 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41846
ea486f69
JJ
418472011-05-25 Jakub Jelinek <jakub@redhat.com>
41848
41849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41850 (struct user_regs_struct): Change intcs field back to cs.
41851
6f038433
UD
418522011-05-25 Ulrich Drepper <drepper@gmail.com>
41853
41854 * po/ja.po: Update from translation team.
41855
67f86a25
UD
418562011-05-23 Ulrich Drepper <drepper@gmail.com>
41857
41858 [BZ #12795]
41859 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41861
def7fbd6
AS
418622011-05-20 Andreas Schwab <schwab@redhat.com>
41863
41864 * stdlib/longlong.h: Update from GCC.
41865
f50ef8f1
AS
418662011-05-23 Andreas Schwab <schwab@redhat.com>
41867
41868 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41869 parameter name.
41870 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41871 Add parameter name.
41872 (__sysconf): Pass it down.
41873
de7ce8f1
UD
418742011-05-22 Ulrich Drepper <drepper@gmail.com>
41875
f2962a71
UD
41876 [BZ #12671]
41877 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41878 some situations.
41879 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41880 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41881 add in in __libc_use_alloca calls. Adjust callers.
41882 (glob): Use malloc in some situations.
41883
de7ce8f1
UD
41884 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41885 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41886 pltexit.
41887
aec84f53
UD
418882011-05-21 Ulrich Drepper <drepper@gmail.com>
41889
05bb4a68
UD
41890 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41891 and CLOCK_BOOTTIME_ALARM.
41892
7ea72f99
UD
41893 [BZ #12782]
41894 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41895 is returned.
41896
7e4afad5
UD
41897 * string/_strerror.c (__strerror_r): Print negative errors as signed
41898 numbers.
41899
8e211fec
UD
41900 [BZ #12777]
41901 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41902 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41903 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41904
f7d82dc9
UD
41905 * configure.in: Fix typo in redirection and correct removal of test
41906 files in two cases.
41907
cc9e536d
UD
41908 [BZ #12788]
41909 * locale/setlocale.c (new_composite_name): Fix test to check for
41910 identical name of all categories.
41911
aec84f53
UD
41912 [BZ #12792]
41913 * libio/filedoalloc.c (local_isatty): New function.
41914 (_IO_file_doallocate): Use local_isatty.
41915 * stdio-common/perror.c (perror): In case a new stream is used
41916 forward the stream error.
41917 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41918 error flag.
41919
78e64fdc
RT
419202011-05-20 Ulrich Drepper <drepper@gmail.com>
41921
34a9094f
UD
41922 [BZ #11869]
41923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41924 alloca.
41925 * include/alloca.h (extend_alloca_account): Define.
41926
78e64fdc
RT
41927 [BZ #11857]
41928 * posix/regex.h: Fix comments with documentation of user-accessible
41929 fields after compilation and describe correct free'ing of pattern
41930 after re_compile_pattern.
41931 Patch by Reuben Thomas <rrt@sc3d.org>.
41932
457bddfc
RA
419332011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41934
41935 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41936 and -mno-altivec to prevent the compiler from using Altivec and/or
41937 VSX instructions when the corresponding registers are not available.
41938
a4527b51
AS
419392011-05-19 Andreas Schwab <schwab@redhat.com>
41940
41941 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41942
ed690b2f
UD
419432011-05-19 Ulrich Drepper <drepper@gmail.com>
41944
41945 * libio/freopen.c (freopen): Use __dup2, not dup2.
41946 * libio/freopen64.c (freopen64): Likewise.
41947
8db73634
L
419482011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41949
41950 [BZ #12775]
41951 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41952 * math/Makefile (tests): Add test-powl.
41953 (CFLAGS-test-powl.c): Define.
41954 * math/test-powl.c: New file.
41955
0a197a9d
L
419562011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41957
41958 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41959
ee30c380
UD
419602011-05-17 Ulrich Drepper <drepper@gmail.com>
41961
41962 [BZ #11837]
41963 * iconvdata/gb18030.c: Update to GB18020-2005.
41964
6ce75379
UD
419652011-05-16 Ulrich Drepper <drepper@gmail.com>
41966
a4b89fd8
AR
41967 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41968 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41969 Patch by Aharon Robbins <arnold@skeeve.com>.
41970
ea389b12
UD
41971 [BZ #11892]
41972 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41973 on the stack.
41974
68a3f91f
UD
41975 [BZ #11895]
41976 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41977 through underflows.
41978
15cc7dd1
UD
41979 [BZ #12766]
41980 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41981 point to strings before performing equality test for error_one_per_line
41982 mode.
41983
f3799213
UD
41984 [BZ #11697]
41985 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41986
d79a9c94
UD
41987 [BZ #11820]
41988 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41989 (struct user_fpregs_struct): Avoid __uint*_t types.
41990
56e5eb46
UD
41991 [BZ #6420]
41992 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41993 symbol info. Use it instead of calling _dl_addr locally.
41994 (lock_and_info): New function.
41995 (tr_freehook): Call lock_and_info and pass symbol info as additional
41996 parameter to tr_where.
41997 (tr_mallochook): Likewise.
41998 (tr_reallochook): Likewise.
41999 (tr_memalignhook): Likewise.
42000
6ce75379
UD
42001 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
42002 used and couldn't be at all thread-safe.
42003
f8a3b5bf
UD
420042011-05-15 Ulrich Drepper <drepper@gmail.com>
42005
94b7cc37
UD
42006 * libio/freopen.c (freopen): Don't close old file descriptor
42007 before the new one is opened. Instead dup the new file descriptor
42008 to the old one after the new stream is created.
42009 * libio/freopen64.c (freopen64): Likewise.
42010 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42011 * libio/fileops.c (_IO_new_file_close_it): Handle new
42012 _IO_FLAGS2_NOCLOSE flag.
42013 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42014 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42015 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42016 _IO_FLAGS2_NOCLOSE flag.
42017 * include/unistd.h: Add hidden_proto for dup3.
42018 Define __have_dup3.
42019 * io/dup3.c: Define hidden symbol.
42020 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42021
bd25564e
UD
42022 [BZ #7101]
42023 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42024 when an incomplete long option is used.
42025 * posix/tst-getopt_long1.c: New file.
42026 * posix/Makefile (tests): Add tst-getopt_long1.
42027
c84cfef4
UD
42028 [BZ #10138]
42029 * scripts/config.guess: Update from autoconf-2.68.
42030 * scripts/config.sub: Likewise.
42031
3b85df27
UD
42032 [BZ #10157]
42033 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42034 tests into ...
42035 (has_cpuclock): ...this. New function.
42036 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42037 macro here based on has_cpuclock code.
42038
15a856b1
UD
42039 [BZ #10149]
42040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42041 First byte (not low byte) is now always NUL.
42042 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42043
05f399e6
UD
42044 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42045 Use non-cancelable interfaces.
42046
10a52685 42047 [BZ #9809]
94ecc67d
UD
42048 * locale/iso-639.def: Add entry for Sorani.
42049
f8a3b5bf
UD
42050 [BZ #11901]
42051 * include/stdlib.h: Move include protection to the right place.
42052 Define abort_msg_s. Declare __abort_msg with it.
42053 * stdlib/abort.c (__abort_msg): Adjust type.
42054 * assert/assert.c (__assert_fail_base): New function. Majority
42055 of code from __assert_fail. Allocate memory for __abort_msg with
42056 mmap.
42057 (__assert_fail): Now call __assert_fail_base.
42058 * assert/assert-perr.c: Remove bulk of implementation. Use
42059 __assert_fail_base.
42060 * include/assert.hL Declare __assert_fail_base.
42061 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42062 mmap.
42063 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42064
1af4e298
UD
420652011-05-14 Ulrich Drepper <drepper@gmail.com>
42066
f8a3b5bf 42067 [BZ #11952]
d26dfc60
MG
42068 [BZ #12453]
42069 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42070 until all modules are registered in the DTV.
42071 * elf/Makefile: Add rules to build and run tst-tls19.
42072 * elf/tst-tls19.c: New file.
42073 * elf/tst-tls19mod1.c: New file.
42074 * elf/tst-tls19mod2.c: New file.
42075 * elf/tst-tls19mod3.c: New file.
42076 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42077
2fc54d6f
UD
42078 [BZ #12083]
42079 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42080 correctly.
42081
98d76b46
UD
42082 [BZ #12601]
42083 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42084 two-byte sequence errors.
42085 * iconvdata/Makefile (tests): Add bug-iconv8.
42086 * iconvdata/bug-iconv8.c: New file.
42087
da3c19ef
UD
42088 [BZ #12626]
42089 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42090 buf2 definition.
42091
ca408c15
UD
42092 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42093
d6f67f7d
UD
42094 [BZ #12432]
42095 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42096 (dummy_getcfa): New function.
42097 (init): Get _Unwind_GetCFA address, use dummy if not found.
42098 (backtrace_helper): In recursion check, also check whether CFA changes.
42099 (__backtrace): Completely initialize arg.
42100
1af4e298 42101 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
42102 storing incomplete byte sequence in state object. Avoid testing for
42103 guaranteed too small input if we know there is enough data available.
1af4e298 42104
da62f81b
AS
421052011-05-11 Andreas Schwab <schwab@redhat.com>
42106
42107 * Makeconfig (+link-pie): Indent.
42108 * Rules (binaries-pie): Define if $(have-fpie) and
42109 $(build-shared).
42110 (binaries-shared): Also filter out $(binaries-pie).
42111 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42112 * nscd/Makefile (others-pie): Add nscd.
42113 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42114 ($(objpfx)nscd): Remove command override.
42115 * login/Makefile (others-pie): Add pt_chown.
42116 ($(objpfx)pt_chown): Remove command override.
42117 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42118 remove command overrides.
42119
fcabc0f8
UD
421202011-05-13 Ulrich Drepper <drepper@gmail.com>
42121
20030ae6
UD
42122 * libio/tst_putwc.c: Fix error messages.
42123
fcabc0f8
UD
42124 [BZ #12724]
42125 * libio/fileops.c (_IO_new_file_close_it): Always flush when
42126 currently writing and seek to current position when not.
42127 * libio/Makefile (tests): Add bug-fclose1.
42128 * libio/bug-fclose1.c: New file.
42129
320a5dc0
PB
421302011-05-12 Ulrich Drepper <drepper@gmail.com>
42131
42132 [BZ #12511]
42133 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42134 don't set DF_1_NODELETE here.
42135 (do_lookup_x): When entering new entry test for copy relocation
42136 and if necessary set DF_1_NODELETE flag.
42137 * elf/tst-unique4.cc: New file.
42138 * elf/tst-unique4.h: New file.
42139 * elf/tst-unique4lib.cc: New file.
42140 * elf/Makefile: Add rules to build and run tst-unique4.
42141 Patch by Piotr Bury <pbury@goahead.com>.
42142
22836f52
UD
421432011-05-11 Ulrich Drepper <drepper@gmail.com>
42144
f574184a
UD
42145 [BZ #12052]
42146 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42147
e1fb097f
UD
42148 [BZ #12625]
42149 * misc/mntent_r.c (addmntent): Flush the stream after the output
42150
22836f52
UD
42151 [BZ #12393]
42152 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42153 (is_trusted_path_normalize): Skip initial colon. Append slash
42154 to empty buffer. Duplicate is_trusted_path code but allow
42155 constructed patch to be prefix.
42156 (is_dst): Allow $ORIGIN followed by /.
42157 (_dl_dst_substitute): Correct clearing of check_for_trusted.
42158 Correct testing of result of is_trusted_path_normalize
42159 (decompose_rpath): Fix warning.
42160
7b3b0b2a
UD
421612011-05-10 Ulrich Drepper <drepper@gmail.com>
42162
42163 [BZ #11257]
42164 * grp/initgroups.c (internal_getgrouplist): When we found the service
42165 list through the initgroups entry in nsswitch.conf do not always
42166 continue on a successful lookup. Don't always use the
eac80ce2 42167 __nss_group_database value if it is set.
7b3b0b2a
UD
42168 * nss/nsswitch.conf (initgroups): Change action for successful db
42169 lookup to continue for compatibility.
42170
2a81eaa5
UD
421712011-05-09 Ulrich Drepper <drepper@gmail.com>
42172
be97a69e
UD
42173 [BZ #11532]
42174 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42175 and CP774 modules.
42176 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42177 and CP774 modules.
42178 * iconvdata/tst-tables.sh: Likewise.
42179 * iconvdata/cp770.c: New file.
42180 * iconvdata/cp771.c: New file.
42181 * iconvdata/cp772.c: New file.
42182 * iconvdata/cp773.c: New file.
42183 * iconvdata/cp774.c: New file.
42184 * iconvdata/testdata/CP770: New file.
42185 * iconvdata/testdata/CP770..UTF8: New file.
42186 * iconvdata/testdata/CP771: New file.
42187 * iconvdata/testdata/CP771..UTF8: New file.
42188 * iconvdata/testdata/CP772: New file.
42189 * iconvdata/testdata/CP772..UTF8: New file.
42190 * iconvdata/testdata/CP773: New file.
42191 * iconvdata/testdata/CP773..UTF8: New file.
42192 * iconvdata/testdata/CP774: New file.
42193 * iconvdata/testdata/CP774..UTF8: New file.
42194
42195 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42196 END CHARMAP line.
42197 * iconvdata/gen-8bit-gap.sh: Likewise.
42198 * iconvdata/gen-8bit.sh: Likewise.
42199
c1e9e399
UD
42200 * locale/iso-639.def: Add ary entry.
42201
24c55fb3 42202 [BZ #11258]
96b4b1b0
UD
42203 * locale/C-translit.h.in: Add U20A1 transliteration.
42204
bdc2f971
KB
42205 [BZ #12178]
42206 * locale/iso-639.def: Add wae entry.
42207 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42208
2952b117
UD
42209 [BZ #12545]
42210 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42211 for n.
42212
2a81eaa5
UD
42213 [BZ #12711]
42214 * locale/C-translit.h.in: Add entry for U20B9.
42215 Patch by pravin.d.s@gmail.com.
42216
28377d1b
UD
422172011-05-08 Ulrich Drepper <drepper@gmail.com>
42218
7fb90fb8
UD
42219 [BZ #12713]
42220 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42221 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
42222 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42223 in rtld. Use *stat64.
7fb90fb8 42224 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 42225 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 42226 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
42227 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42228 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42229 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42230 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42231 __fstatat64 macros.
7fb90fb8
UD
42232 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42233 * dirent/rewinddir.c: Add libc_hidden_def.
42234 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 42235 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 42236
28377d1b
UD
42237 * include/dirent.h (__alloc_dir): Add flags parameter.
42238 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42239 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42240 __alloc_dir.
42241 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42242 from fdopendir if O_CLOEXEC is already set.
42243
66bdbaa4
AM
422442011-03-15 Alan Modra <amodra@gmail.com>
42245
42246 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42247 l_tls_firstbyte_offset non-zero. Save padding offset in
42248 l_tls_firstbyte_offset for later use.
42249 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42250 freeing static tls block.
42251
95721191
JN
422522011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42253
42254 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42255 where #ifdef was intended. The intent is to prevent ARG_MAX from
42256 being defined by the kernel headers.
42257
f87dfb1f
UD
422582011-05-07 Ulrich Drepper <drepper@gmail.com>
42259
42260 [BZ #12734]
42261 * resolv/resolv.h: Define RES_NOTLDQUERY.
42262 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42263 no-tld-query and set RES_NOTLDQUERY.
42264 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42265 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42266 modern BIND to search name as TLD unless forbidden.
42267
47c3cd7a
UD
422682011-05-07 Petr Baudis <pasky@suse.cz>
42269 Ulrich Drepper <drepper@gmail.com>
42270
42271 [BZ #12393]
42272 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42273 (is_trusted_path): ...to here.
c1e9ea35 42274 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 42275 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 42276 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 42277
8a35c912
PP
422782011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42279
42280 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42281 __BEGIN/__END_DECLS.
42282
acd41f47
UD
422832011-05-06 Ulrich Drepper <drepper@gmail.com>
42284
42285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42286 NSS_STATUS_NOTFOUND if no record was found.
42287
597df647
AS
422882011-05-05 Andreas Schwab <schwab@redhat.com>
42289
42290 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42291 (headers-not-in-tirpc): Remove rpc/netdb.h
42292 * resolv/netdb.h: Revert last change.
42293
b9af1301
PP
422942011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42295
42296 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42297 circular dependency between libgcc.a and libc.a.
42298
4e34d5f5
AS
422992011-05-05 Andreas Schwab <schwab@redhat.com>
42300
42301 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42302 * nis/Makefile: Don't install rpcsvc/*.
42303 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42304 instead of <rpc/types.h>.
42305 (MAXHOSTNAMELEN): Define.
42306
00ee369c
AS
423072011-05-03 Andreas Schwab <schwab@redhat.com>
42308
42309 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42310
0b592a30
MB
423112011-04-28 Maciej Babinski <mbabinski@google.com>
42312
42313 [BZ #12714]
42314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42315 gethostbyname4_r when IPv6 results are possible.
42316
6e04cbbe
UD
423172011-05-02 Ulrich Drepper <drepper@gmail.com>
42318
42319 [BZ #12723]
42320 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42321 _PC_PIPE_BUF handling.
42322
e4ecafe0
BH
423232011-04-30 Bruno Haible <bruno@clisp.org>
42324
42325 [BZ #12717]
42326 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42327 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42328 to 'int'.
42329 * inet/getnameinfo.c (getnameinfo): Likewise.
42330
125ee683
UD
423312011-04-29 Ulrich Drepper <drepper@gmail.com>
42332
42333 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42334 to groups setting in database lookup.
42335 * nss/nsswitch.conf: Add initgroups entry.
42336
b722481a
EB
423372011-04-22 Ulrich Drepper <drepper@gmail.com>
42338
42339 [BZ #12685]
42340 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42341 mode string.
42342 Patch by Eric Blake <eblake@redhat.com>.
42343
4df46dbd
L
423442011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42345
42346 * sunrpc/Makefile (need-export-routines): Add svc_run.
42347 (routines): Remove svc_run.
42348 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42349 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42350 * sunrpc/svc_run.c (svc_run): Likewise.
42351 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42352
e84142d2
UD
423532011-04-21 Ulrich Drepper <drepper@gmail.com>
42354
42355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42356 problem in reallocation in last patch.
42357
877175d8
UD
423582011-04-20 Ulrich Drepper <drepper@gmail.com>
42359
42360 * sunrpc/Makefile: Move inclusion of Rules.
42361
ab8eed78
UD
423622011-04-19 Ulrich Drepper <drepper@gmail.com>
42363
42364 * nss/nss_files/files-initgroups.c: New file.
42365 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42366 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42367 _nss_files_initgroups_dyn.
42368
e3d8f584
RS
423692011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42370
42371 * elf/elf.h (R_ARM_IRELATIVE): Define.
42372
af190f45
UD
423732011-04-19 Ulrich Drepper <drepper@gmail.com>
42374
42375 * po/ru.po: Update from translation team.
42376
53cf59ef
UD
423772011-04-17 Ulrich Drepper <drepper@gmail.com>
42378
42379 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42380 dependencies.
42381
4c559bcd
MF
423822011-02-06 Mike Frysinger <vapier@gentoo.org>
42383
42384 [BZ #12653]
42385 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42386 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42390
4420675c
AS
423912011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42392
42393 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42394 differing bytes.
42395 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42396 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42398
75ea32ab
UD
423992011-04-17 Ulrich Drepper <drepper@gmail.com>
42400
42401 [BZ #12420]
42402 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42403 storing it.
42404 * stdlib/bug-getcontext.c: New file.
42405 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42406
27390476
AK
424072011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42408
42409 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42410 instructions into .machine "z9-109".
42411 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42412 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42413
10442705
AK
424142011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42415
42416 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42417 between environment variables and auxiliary vector.
42418
7b57bfe5
UD
424192011-04-16 Ulrich Drepper <drepper@gmail.com>
42420
42421 * Makefile: Add rules to build linkobj/libc.so.
42422 * include/libc-symbols.h: Define libc_hidden_nolink.
42423 * include/rpc/auth.h: Mark functions which are to be hidden.
42424 * include/rpc/auth_des.h: Likewise.
42425 * include/rpc/auth_unix.h: Likewise.
42426 * include/rpc/clnt.h: Likewise.
42427 * include/rpc/des_crypt.h: Likewise.
42428 * include/rpc/key_prot.h: Likewise.
42429 * include/rpc/pmap_clnt.h: Likewise.
42430 * include/rpc/pmap_prot.h: Likewise.
42431 * include/rpc/pmap_rmt.h: Likewise.
42432 * include/rpc/rpc_msg.h: Likewise.
42433 * include/rpc/svc.h: Likewise.
42434 * include/rpc/svc_auth.h: Likewise.
42435 * include/rpc/xdr.h: Likewise.
42436 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42437 * nss/Makefile: Likewise.
42438 * sunrpc/Makefile: Don't install headers. Build library with normal
42439 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42440 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42441 for the compat linking library. Remove use of INTDEF/INTUSE.
42442 * sunrpc/auth_none.c: Likewise.
42443 * sunrpc/auth_unix.c: Likewise.
42444 * sunrpc/authdes_prot.c: Likewise.
42445 * sunrpc/authuxprot.c: Likewise.
42446 * sunrpc/clnt_gen.c: Likewise.
42447 * sunrpc/clnt_perr.c: Likewise.
42448 * sunrpc/clnt_raw.c: Likewise.
42449 * sunrpc/clnt_simp.c: Likewise.
42450 * sunrpc/clnt_tcp.c: Likewise.
42451 * sunrpc/clnt_udp.c: Likewise.
42452 * sunrpc/clnt_unix.c: Likewise.
42453 * sunrpc/des_crypt.c: Likewise.
42454 * sunrpc/des_soft.c: Likewise.
42455 * sunrpc/get_myaddr.c: Likewise.
42456 * sunrpc/key_call.c: Likewise.
42457 * sunrpc/key_prot.c: Likewise.
42458 * sunrpc/netname.c: Likewise.
42459 * sunrpc/pm_getmaps.c: Likewise.
42460 * sunrpc/pm_getport.c: Likewise.
42461 * sunrpc/pmap_clnt.c: Likewise.
42462 * sunrpc/pmap_prot.c: Likewise.
42463 * sunrpc/pmap_prot2.c: Likewise.
42464 * sunrpc/pmap_rmt.c: Likewise.
42465 * sunrpc/publickey.c: Likewise.
42466 * sunrpc/rpc_cmsg.c: Likewise.
42467 * sunrpc/rpc_common.c: Likewise.
42468 * sunrpc/rpc_dtable.c: Likewise.
42469 * sunrpc/rpc_prot.c: Likewise.
42470 * sunrpc/rpc_thread.c: Likewise.
42471 * sunrpc/rtime.c: Likewise.
42472 * sunrpc/svc.c: Likewise.
42473 * sunrpc/svc_auth.c: Likewise.
42474 * sunrpc/svc_authux.c: Likewise.
42475 * sunrpc/svc_raw.c: Likewise.
42476 * sunrpc/svc_run.c: Likewise.
42477 * sunrpc/svc_simple.c: Likewise.
42478 * sunrpc/svc_tcp.c: Likewise.
42479 * sunrpc/svc_udp.c: Likewise.
42480 * sunrpc/svc_unix.c: Likewise.
42481 * sunrpc/svcauth_des.c: Likewise.
42482 * sunrpc/xcrypt.c: Likewise.
42483 * sunrpc/xdr.c: Likewise.
42484 * sunrpc/xdr_array.c: Likewise.
42485 * sunrpc/xdr_float.c: Likewise.
42486 * sunrpc/xdr_intXX_t.c: Likewise.
42487 * sunrpc/xdr_mem.c: Likewise.
42488 * sunrpc/xdr_rec.c: Likewise.
42489 * sunrpc/xdr_ref.c: Likewise.
42490 * sunrpc/xdr_sizeof.c: Likewise.
42491 * sunrpc/xdr_stdio.c: Likewise.
42492
e6c61494
UD
424932011-04-10 Ulrich Drepper <drepper@gmail.com>
42494
42495 [BZ #12650]
42496 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42497 * sysdeps/ia64/dl-tls.h: Likewise.
42498 * sysdeps/powerpc/dl-tls.h: Likewise.
42499 * sysdeps/s390/dl-tls.h: Likewise.
42500 * sysdeps/sh/dl-tls.h: Likewise.
42501 * sysdeps/sparc/dl-tls.h: Likewise.
42502 * sysdeps/x86_64/dl-tls.h: Likewise.
42503 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42504
34fe483e
AS
425052011-03-14 Andreas Schwab <schwab@redhat.com>
42506
42507 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42508 rpath element also skip the following colon.
42509 (expand_dynamic_string_token): Add is_path parameter and pass
42510 down to DL_DST_REQUIRED and _dl_dst_substitute.
42511 (decompose_rpath): Call expand_dynamic_string_token with
42512 non-zero is_path. Ignore empty rpaths.
42513 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42514 with zero is_path.
42515
f12a32e6
AS
425162011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42517
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42519 Make cancelable.
42520
38a7d692
UD
425212011-04-09 Ulrich Drepper <drepper@gmail.com>
42522
42523 [BZ #12655]
42524 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42525 Patch by Filipe David Manana <fdmanana@apache.org>.
42526
e451d22b
AS
425272011-04-07 Andreas Schwab <schwab@redhat.com>
42528
42529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42530 Maintain aligned stack.
42531 (CHECK_RSP): Remove unused macro.
42532
dedc7c7b
UD
425332011-04-03 Ulrich Drepper <drepper@gmail.com>
42534
42535 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42536 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42537
94521213
UD
425382011-04-02 Ulrich Drepper <drepper@gmail.com>
42539
42540 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42541
8cb700c0 42542 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 42543
0354e355
L
425442011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42545
42546 [BZ #12518]
42547 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42548 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42549 * sysdeps/x86_64/memmove.c: New file.
42550 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42551 (memcpy): Renamed to ...
42552 (__new_memcpy): This.
42553 (memcpy): Provide GLIBC_2_14 memcpy.
42554 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42555 (memcpy): Provide GLIBC_2_2_5 memcpy.
42556
8593482f
UD
425572011-04-01 Ulrich Drepper <drepper@gmail.com>
42558
42559 [BZ #12631]
42560 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42561
81a5726b
AS
425622011-03-30 Andreas Schwab <schwab@redhat.com>
42563
42564 * misc/syncfs.c: New file.
42565 * misc/Makefile (routines): Add syncfs.
42566 * posix/unistd.h: Declare syncfs.
42567 * sysdeps/unix/syscalls.list: Add syncfs.
42568
00e5419f
AS
425692011-04-01 Andreas Schwab <schwab@redhat.com>
42570
42571 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42572 open_by_handle_at.
42573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42578 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42580
748876bf
UD
425812011-04-01 Ulrich Drepper <drepper@gmail.com>
42582
658e451d
UD
42583 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42584 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42585 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42589 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42590
748876bf
UD
42591 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42592 sync_file_range.c with -fexceptions.
42593 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42594 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42595 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42596 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42597 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42598 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
42600 sync_file_range as cancellation point
42601 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42602 now a wrapper around __call_sync_file_range with cancellation handling.
42603 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42604 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42605 function name to __call_sync_file_range.
42606 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42607 Add call_sync_file_range.
748876bf 42608
6e63d5e1
AS
426092011-04-01 Andreas Schwab <schwab@redhat.com>
42610
42611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 42612 bits/timex.h.
6e63d5e1 42613
46998f74
UD
426142011-04-01 Ulrich Drepper <drepper@gmail.com>
42615
4c1423ed
UD
42616 * iconv/iconv.h: Fix typo in comment.
42617 * io/fcntl.h: Likewise.
42618 * libio/stdio.h: Likewise.
42619 * posix/spawn.h: Likewise.
42620 * posix/unistd.h: Likewise.
42621 * stdlib/stdlib.h: Likewise.
42622 * time/time.h: Likewise.
42623 * wcsmbs/wchar.h: Likewise.
42624
158648c0
UD
42625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42626 open_by_handle): Add.
42627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42628 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42629 Augment a few comments.
42630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42633 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42635 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42636 open_by_handle.
42637
46998f74
UD
42638 * io/fcntl.h (AT_EMPTY_PATH): Define.
42639
83fe108b
UD
426402011-03-30 Ulrich Drepper <drepper@gmail.com>
42641
42642 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42643 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42644 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42645 to...
42646 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
42647 * Versions.def: Add GLIBC_2.14.
42648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42649 Export.
83fe108b 42650
bb242059
UD
426512011-03-22 Ulrich Drepper <drepper@gmail.com>
42652
42653 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42654 round counter.
42655 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42656
c97a1282
L
426572011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42658
42659 [BZ #12597]
42660 * string/test-strncmp.c (do_page_test): New function.
42661 (check2): Likewise.
42662 (test_main): Call check2.
42663 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42664
2a115601
UD
426652011-03-20 Ulrich Drepper <drepper@gmail.com>
42666
42667 [BZ #12587]
42668 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42669 Handle cache information in CPU leaf 4.
42670 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42671
8126d904
UD
426722011-03-18 Ulrich Drepper <drepper@gmail.com>
42673
042c49c6 42674 [BZ #12583]
8126d904
UD
42675 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42676 character representation.
42677 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42678
ccfe366e
RA
426792011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42680
42681 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42682 END(__isnan) to END(__isnanf) to match function entry point/label
42683 EALIGN(__isnanf,...).
42684
c6e13027
JJ
426852011-03-10 Jakub Jelinek <jakub@redhat.com>
42686
42687 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42688
33f85a3f
UD
426892011-03-10 Ulrich Drepper <drepper@gmail.com>
42690
028478fa
UD
42691 [BZ #12510]
42692 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42693 copy from the symbol referenced in the relocation to initialize the
42694 used variable.
42695 Patch by Piotr Bury <pbury@goahead.com>.
42696 * elf/Makefile: Add rules to build and tst-unique3.
42697 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42698 * elf/tst-unique3.cc: New file.
42699 * elf/tst-unique3.h: New file.
42700 * elf/tst-unique3lib.cc: New file.
42701 * elf/tst-unique3lib2.cc: New file.
42702
33f85a3f
UD
42703 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42704
03592fc7
MF
427052011-03-10 Mike Frysinger <vapier@gentoo.org>
42706
42707 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42708 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42709 to _start.
03592fc7 42710
6a5ee102
UD
427112011-03-06 Ulrich Drepper <drepper@gmail.com>
42712
42713 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42714 to-be-loaded object along a path to loader is ld.so.
42715
7e4ba49c
HJ
427162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42717 Ulrich Drepper <drepper@gmail.com>
42718
42719 * sysdeps/x86_64/memset.S: After aligning destination, code
42720 branches to different locations depending on the value of
42721 misalignment, when multiarch is enabled. Fix this.
42722
427232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42724
42725 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42726 Set _x86_64_preferred_memory_instruction for AMD processsors.
42727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42728 Set bit_Prefer_SSE_for_memop for AMD processors.
42729
13a804de
UD
427302011-03-04 Ulrich Drepper <drepper@gmail.com>
42731
42732 * libio/fmemopen.c (fmemopen): Optimize a bit.
42733
9d25c392
AS
427342011-03-03 Andreas Schwab <schwab@redhat.com>
42735
42736 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42737
a5543c6a
RM
427382011-03-03 Roland McGrath <roland@redhat.com>
42739
42740 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42741
012d35f7
DM
427422011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42743
7e4ba49c 42744 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
42745 __bzero_ultra1 instead of __memset_ultra1.
42746
4bff6e01
AS
427472011-02-23 Andreas Schwab <schwab@redhat.com>
42748 Ulrich Drepper <drepper@gmail.com>
42749
42750 [BZ #12509]
42751 * include/link.h (struct link_map): Add l_orig_initfini.
42752 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42753 returning unsuccessfully.
42754 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42755 close of a file loaded at startup, restore the original l_initfini
42756 list.
42757 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42758 list, store the pointer.
42759 * elf/Makefile ($(objpfx)noload-mem): New rule.
42760 (noload-ENV): Define.
42761 (tests): Add $(objpfx)noload-mem.
42762 * elf/noload.c: Include <memcheck.h>.
42763 (main): Call mtrace. Close all opened handles.
42764
f2092faf
AS
427652011-02-17 Andreas Schwab <schwab@redhat.com>
42766
42767 [BZ #12454]
42768 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42769 dependencies are missing.
42770
6c8a2e88
ST
427712011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42772
f2092faf 42773 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
42774 Hurd needs munmap.
42775 * sysdeps/mach/hurd/ifreq.h: New file.
42776
84a42118
PB
427772011-01-27 Petr Baudis <pasky@suse.cz>
42778 Ulrich Drepper <drepper@gmail.com>
42779
071f805e 42780 [BZ 12445]#
84a42118
PB
42781 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42782 to extend_alloca().
42783 * stdio-common/bug23.c: New file.
42784 * stdio-common/Makefile (tests): Add bug23.
42785
e23fe25b
AS
427862010-09-28 Andreas Schwab <schwab@redhat.com>
42787 Ulrich Drepper <drepper@gmail.com>
42788
42789 [BZ #12489]
42790 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42791 before performing relro protection. At old place add assertion
42792 to make sure nothing changed.
42793
d3f02e10
NS
427942011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42795 Glauber de Oliveira Costa <glommer@gmail.com>
42796
42797 * elf/elf.h: Add new ARM TLS relocs.
42798
d55fd7a5
RA
427992011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42800
42801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42802 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42803 cast from r3.
42804 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42805 'tests' variable.
42806 * sysdeps/wordsize-64/tst-writev.c: New file.
42807
2206397e
RA
428082011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42809
42810 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42811 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42812 insns in _dl_start to prevent a TOC reference before relocs are
42813 resolved.
42814
e9433893
UD
428152011-02-15 Ulrich Drepper <drepper@gmail.com>
42816
42817 [BZ #12469]
42818 * Makeconfig: Remove RANLIB definition.
42819 * Makerules: Don't use RANLIB.
42820 * aclocal.m4: Remove ranlib test.
42821 * configure.in: No need to check for ranlib.
42822 * elf/rtld-Rules: Don't use RANLIB.
42823
f75286c6
ST
428242011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42825
8e31c82d
ST
42826 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42827 protection macro.
42828 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42829 inclusion protection macro.
42830
f75286c6
ST
42831 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42832 SIGRTMIN and SIGRTMAX and print information in that case only when
42833 SIGRTMIN is defined.
42834
c1d0e639
JJ
428352011-02-11 Jakub Jelinek <jakub@redhat.com>
42836
42837 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42838 arginfo fn returning -1.
42839
42840 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42841 and thousands string is zero terminated.
42842
edf9294e
AS
428432011-02-03 Andreas Schwab <schwab@redhat.com>
42844
42845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42846 sysdeps/unix/sysv/linux/bits/socket.h.
42847
2b7e92df
ST
428482011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42849
edf9294e
AS
42850 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42851 (__CPU_COUNT): Remove old macros.
42852 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42853 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42854 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42855 (__sched_cpualloc, __sched_cpufree): Add declarations.
42856
a4c7ea7b
UD
428572011-02-05 Ulrich Drepper <drepper@gmail.com>
42858
42859 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42860 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42861 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42862 (readdhstai): Return value of addhstaiX call.
42863 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42864 (addgrbyX): Return value returned by cache_addgr.
42865 (readdgrbyname): Return value returned by addgrbyX.
42866 (readdgrbygid): Likewise.
42867 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42868 (addpwbyX): Return value returned by cache_addpw.
42869 (readdpwbyname): Return value returned by addhstbyX.
42870 (readdpwbyuid): Likewise.
42871 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42872 (addservbyX): Return value returned by cache_addserv.
42873 (readdservbyname): Return value returned by addservbyX:
42874 (readdservbyport): Likewise.
42875 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42876 (addhstbyX): Return value returned by cache_addhst.
42877 (readdhstbyname): Return value returned by addhstbyX.
42878 (readdhstbyaddr): Likewise.
42879 (readdhstbynamev6): Likewise.
42880 (readdhstbyaddrv6): Likewise.
42881 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42882 (readdinitgroups): Return value returned by addinitgroupsX.
42883 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42884 (prune_cache): Keep track of timeout value of re-added entries.
42885 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42886 * nscd/nscd.h: Adjust prototypes of readd* functions.
42887
a0bf67cc
RM
428882011-02-04 Roland McGrath <roland@redhat.com>
42889
42890 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42891 (nis_stats): Likewise.
42892 * nis/nis_modify.c (nis_modify): Likewise.
42893 * nis/nis_remove.c (nis_remove): Likewise.
42894 * nis/nis_add.c (nis_add): Likewise.
42895
42896 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42897
42898 * posix/fnmatch_loop.c: Add some consts.
42899
42900 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42901
435b95eb
L
429022011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42903
42904 [BZ #12460]
42905 * config.make.in (config-cflags-novzeroupper): Define.
42906 * configure.in: Substitute libc_cv_cc_novzeroupper.
42907 * elf/Makefile (AVX-CFLAGS): Define.
42908 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42909 (CFLAGS-tst-auditmod4a.c): Likewise.
42910 (CFLAGS-tst-auditmod4b.c): Likewise.
42911 (CFLAGS-tst-auditmod6b.c): Likewise.
42912 (CFLAGS-tst-auditmod6c.c): Likewise.
42913 (CFLAGS-tst-auditmod7b.c): Likewise.
42914 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42915
8517b15e
UD
429162011-02-02 Ulrich Drepper <drepper@gmail.com>
42917
42918 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42919 function to the callback.
42920 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42921
10a656fe
AS
429222011-02-02 Andreas Schwab <schwab@redhat.com>
42923
42924 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42925 of errno.
42926
968dad0a
UD
429272011-01-19 Ulrich Drepper <drepper@gmail.com>
42928
9f94d2ea 42929 [BZ #11724]
968dad0a
UD
42930 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42931 of constructors.
42932 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42933 of destructors.
42934 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42935
42936 [BZ #11724]
42937 * elf/Makefile: Add rules to build and run new test.
42938 * elf/tst-initorder.c: New file.
42939 * elf/tst-initorder.exp: New file.
42940 * elf/tst-initordera1.c: New file.
42941 * elf/tst-initordera2.c: New file.
42942 * elf/tst-initordera3.c: New file.
42943 * elf/tst-initordera4.c: New file.
42944 * elf/tst-initorderb1.c: New file.
42945 * elf/tst-initorderb2.c: New file.
42946 * elf/tst-order-a1.c: New file.
42947 * elf/tst-order-a2.c: New file.
42948 * elf/tst-order-a3.c: New file.
42949 * elf/tst-order-a4.c: New file.
42950 * elf/tst-order-b1.c: New file.
42951 * elf/tst-order-b2.c: New file.
42952 * elf/tst-order-main.c: New file.
42953 New test case by George Gensure <werkt0@gmail.com>.
42954
86e92359
UD
429552010-10-01 Andreas Schwab <schwab@redhat.com>
42956
42957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42958 decoding ACE if AI_CANONIDN.
42959
5d5732b0
UD
429602011-01-18 Ulrich Drepper <drepper@gmail.com>
42961
42962 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42963
a77e8cbc
UD
429642011-01-17 Ulrich Drepper <drepper@gmail.com>
42965
6392473f
UD
42966 * version.h (RELEASE): Bump for 2.13 release.
42967 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42968
620a0529
UD
42969 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42970
18ba70a5
UD
42971 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42972 MADV_NOHUGEPAGE.
32465c3e
UD
42973 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42976 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42977 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42978 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42979
c0dafcf1
UD
42980 * posix/getconf.c: Update copyright year.
42981 * catgets/gencat.c: Likewise.
42982 * csu/version.c: Likewise.
42983 * debug/catchsegv.sh: Likewise.
42984 * debug/xtrace.sh: Likewise.
42985 * elf/ldconfig.c: Likewise.
42986 * elf/ldd.bash.in: Likewise.
42987 * elf/sprof.c (print_version): Likewise.
42988 * iconv/iconv_prog.c: Likewise.
42989 * iconv/iconvconfig.c: Likewise.
42990 * locale/programs/locale.c: Likewise.
42991 * locale/programs/localedef.c: Likewise.
42992 * malloc/memusage.sh: Likewise.
42993 * malloc/mtrace.pl: Likewise.
42994 * nscd/nscd.c (print_version): Likewise.
42995 * nss/getent.c: Likewise.
42996
a77e8cbc
UD
42997 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42998 PF_CAIF, and PF_ALG.
42999 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43000
77e8bddf
AS
430012011-01-16 Andreas Schwab <schwab@linux-m68k.org>
43002
1f20b93a
AS
43003 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43004 (modules-names): Use them.
43005 (ifunc-test-modules, ifunc-pie-tests): Define.
43006 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43007 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43008 (test-extras): Likewise.
43009 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43010 $(compile-command.c).
43011 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43012 (all-built-dso): Define.
43013 (check-textrel.out, check-execstack.out): Depend on it.
43014
77e8bddf
AS
43015 * configure.in: Don't override --enable-multi-arch.
43016
bc425b33
UD
430172011-01-15 Ulrich Drepper <drepper@gmail.com>
43018
43019 [BZ #6812]
43020 * nscd/hstcache.c (tryagain): Define.
43021 (cache_addhst): Return tryagain not notfound for temporary errors.
43022 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43023 failed.
43024
794c3ad3
UD
430252011-01-14 Ulrich Drepper <drepper@gmail.com>
43026
70181fdd
UD
43027 [BZ #10563]
43028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43029 to make the syscall.
43030 * sysdeps/unix/sysv/linux/setgroups.c: New file.
43031
794c3ad3
UD
43032 [BZ #12378]
43033 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43034 and fall back to matching as normal character if the string ends before
43035 the matching ']' is found. This is what POSIX requires.
43036 * posix/testfnm.c: Adjust test result.
43037 * posix/globtest.sh: Adjust test result. Add new test.
43038 * posix/tst-fnmatch.input: Likewise.
43039 * posix/tst-fnmatch2.c: Add new test.
43040
68dc9497
AS
430412010-12-28 Andreas Schwab <schwab@linux-m68k.org>
43042
43043 * elf/Makefile (check-execstack): Revert last change. Depend on
43044 check-execstack.h.
43045 (check-execstack.h): New target.
43046 (generated): Add check-execstack.h.
43047 * elf/check-execstack.c: Include "check-execstack.h".
43048 (main): Revert last change.
43049 (handle_file): Return zero if GNU_STACK is absent and
43050 DEFAULT_STACK_PERMS doesn't include PF_X.
43051
451f001b
UD
430522011-01-13 Ulrich Drepper <drepper@gmail.com>
43053
cfa28e56
UD
43054 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43055 in child fails because the descriptor is already closed.
8cf8ce17
UD
43056 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43057 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43058 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 43059
1086d70d
UD
43060 [BZ #12397]
43061 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43062 syscall.
43063
451f001b
UD
43064 [BZ #10484]
43065 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43066 temporary buffer used to handle multi lookups locally.
a85b5cb4 43067 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 43068
08769175
UD
430692011-01-12 Ulrich Drepper <drepper@gmail.com>
43070
43071 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43072 loader is ld.so.
43073
5e49c52e
UD
430742011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
43075
43076 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43077 alignment for SSE2.
43078
60522a5f
UD
430792011-01-12 Ulrich Drepper <drepper@gmail.com>
43080
43081 [BZ #12394]
43082 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43083 characters. When rounding increased number of integer digits recompute
43084 number of groups.
43085 * stdio-common/tst-grouping.c: New file.
43086 * stdio-common/Makefile: Add rules to build and run tst-grouping.
43087
f257bbd7
UD
430882011-01-09 Ulrich Drepper <drepper@gmail.com>
43089
43090 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43091 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
43092
43093 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43094 void.
43095 * bits/select.h: Likewise.
43096
fa9c15cb
UD
430972011-01-08 Ulrich Drepper <drepper@gmail.com>
43098
43099 * po/ja.po: Update from translation team.
43100
16c2895f
DM
431012011-01-04 David S. Miller <davem@sunset.davemloft.net>
43102
43103 [BZ #11155]
43104 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43105 implementation just like for lxstat, fxstatat, et al.
43106
2543fef2
JM
431072010-12-27 Jim Meyering <meyering@redhat.com>
43108
43109 [BZ #12348]
43110 * posix/regexec.c (build_trtable): Return failure indication upon
43111 calloc failure. Otherwise, re_search_internal could infloop on OOM.
43112
98727dbe
UD
431132010-12-25 Ulrich Drepper <drepper@gmail.com>
43114
5bd6dc5c
UD
43115 [BZ #12201]
43116 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43117 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43119 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43120
97983464
UD
43121 [BZ #12207]
43122 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43123
98727dbe
UD
43124 [BZ #12204]
43125 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43126 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43127
4a531bb0
L
431282010-12-15 H.J. Lu <hongjiu.lu@intel.com>
43129
43130 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43131 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43132 script has SORT_BY_INIT_PRIORITY.
43133 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43134 NO_CTORS_DTORS_SECTIONS is defined.
43135 * elf/soinit.c: Likewise.
43136 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43137 NO_CTORS_DTORS_SECTIONS is defined.
43138 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43139 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43140 * sysdeps/sh/init-first.c: Likewise.
43141 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43142
07eb4b71
UD
431432010-12-24 Ulrich Drepper <drepper@gmail.com>
43144
43145 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43146 always use the slow path.
43147
30950a5f
RA
431482010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
43149
43150 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43151 similar rule which adds the sysdep directories to the header search in
43152 order to pick up the correct platform stackinfo.h.
43153 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43154 perform test if it is, otherwise return successfully without testing.
43155 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43156 DEFAULT_STACK_PERMS define in stackinfo.h.
43157 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43158 defined in stackinfo.h.
43159 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43160 DEFAULT_STACK_PERMS defined in stackinfo.h.
43161 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43162 * sysdeps/ia64/stackinfo.h: Likewise.
43163 * sysdeps/s390/stackinfo.h: Likewise.
43164 * sysdeps/sh/stackinfo.h: Likewise.
43165 * sysdeps/sparc/stackinfo.h: Likewise.
43166 * sysdeps/x86_64/stackinfo.h: Likewise.
43167 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43168 PF_X for powerpc64. Retain PF_X for powerpc32.
43169
db753e2c
UD
431702010-12-19 Ulrich Drepper <drepper@gmail.com>
43171
14b697f7
UD
43172 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43173 accurately.
db753e2c
UD
43174 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43175 GETDENTS_64BIT_ALIGNED.
43176
28300719
UD
431772010-12-14 Ulrich Drepper <dreper@gmail.com>
43178
14b697f7 43179 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 43180
4f197237
AS
431812010-12-10 Andreas Schwab <schwab@redhat.com>
43182
dbb0472f
AS
43183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43184 _GNU_SOURCE.
43185
4f197237
AS
43186 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43187 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43188 Remove __restrict.
43189 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43190 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43191
fb88ac72
UD
431922010-12-09 Ulrich Drepper <drepper@gmail.com>
43193
43194 [BZ #11655]
43195 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43196 are initialized.
43197
42acbb92
JJ
431982010-12-09 Jakub Jelinek <jakub@redhat.com>
43199
43200 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43201
c038d98d
UD
432022010-12-03 Ulrich Drepper <drepper@gmail.com>
43203
43204 * po/it.po: Update from translation team.
43205
3a4a2499
L
432062010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43207
43208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43209 unused codes.
43210
1e24cf6e
UD
432112010-11-30 Ulrich Drepper <drepper@gmail.com>
43212
43213 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43214
a7690819
AS
432152010-11-24 Andreas Schwab <schwab@redhat.com>
43216
43217 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43218 specially.
43219 (gaih_getanswer_slice): Likewise.
43220
3bf8d1b1
JJ
432212010-10-20 Jakub Jelinek <jakub@redhat.com>
43222
43223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43224
6db52fbb
PB
432252010-05-31 Petr Baudis <pasky@suse.cz>
43226
43227 [BZ #11149]
43228 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43229 silently even in the chroot mode.
43230
eaca7569
UD
432312010-11-22 Ulrich Drepper <drepper@gmail.com>
43232
43233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43234 last patch a bit. Pretty printing
43235
3056dcdb
UD
432362010-05-31 Petr Baudis <pasky@suse.cz>
43237
43238 [BZ #10085]
43239 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43240 initialization of skip_initgroups_dyn.
43241
cf7c9078
UD
432422010-11-19 Ulrich Drepper <drepper@gmail.com>
43243
43244 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43245 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43246
a1fb5e3e
UD
432472010-11-16 Ulrich Drepper <drepper@gmail.com>
43248
43249 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43250
3540d66b
AS
432512010-11-11 Andreas Schwab <schwab@redhat.com>
43252
43253 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43254 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43255 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43256 ($(objpfx)tst-fnmatch-mem): New rule.
43257 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43258 * posix/tst-fnmatch.c (main): Call mtrace.
43259
13b69574
L
432602010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43261
43262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43263 Support Intel processor model 6 and model 0x2c.
43264
da93d214
LM
432652010-11-10 Luis Machado <luisgpm@br.ibm.com>
43266
43267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43268 signed comparison.
43269
8ca52c6e
L
432702010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43271
43272 [BZ #12205]
43273 * string/test-strncasecmp.c (check_result): New function.
43274 (do_one_test): Use it.
43275 (check1): New function.
43276 (test_main): Use it.
43277 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43278 Support strcasecmp and strncasecmp.
43279
69da074d
UD
432802010-11-08 Ulrich Drepper <drepper@gmail.com>
43281
43282 [BZ #12194]
43283 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43285
ff02d528
L
432862010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43287
43288 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43289 IFUNC support.
43290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43291 memset-x86-64.
43292 * sysdeps/x86_64/multiarch/bzero.S: New file.
43293 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43294 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43295 * sysdeps/x86_64/multiarch/memset.S: New file.
43296 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43298 Set bit_Prefer_SSE_for_memop for Intel processors.
43299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43300 Define.
43301 (index_Prefer_SSE_for_memop): Define.
43302 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43303
344d0b54
LM
433042010-11-04 Luis Machado <luisgpm@br.ibm.com>
43305
43306 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43307 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43308
c0dde15b
UD
433092010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43310
43311 [BZ #12191]
43312 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43313 (__x86_64_raw_data_cache_size_half): Likewise.
43314 (__x86_64_raw_shared_cache_size): Likewise.
43315 (__x86_64_raw_shared_cache_size_half): Likewise.
43316
43317 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43318 (__x86_64_raw_data_cache_size_half): Likewise.
43319 (__x86_64_raw_shared_cache_size): Likewise.
43320 (__x86_64_raw_shared_cache_size_half): Likewise.
43321 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43322 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43323 and __x86_64_raw_shared_cache_size_half. Round
43324 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43325 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43326 to multiple of 256 bytes.
43327
0e516e0e
MS
433282010-11-03 Ulrich Drepper <drepper@gmail.com>
43329
43330 [BZ #12167]
43331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43332 of inacessible symlinks. Verify result of symlink before returning it.
43333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43334 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43335
0e012e87
ER
433362010-10-28 Erich Ritz <erichritz@gmail.com>
43337
43338 * math/math.h (isinf): Fix typo in comment.
43339
de0ff7bc
UD
433402010-11-01 Ulrich Drepper <drepper@gmail.com>
43341
43342 * po/da.po: Update from translation team.
43343
fa41c84d
UD
433442010-10-26 Ulrich Drepper <drepper@gmail.com>
43345
43346 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43347 is added to the list.
43348
f0967738
AK
433492010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43350 Ulrich Drepper <drepper@gmail.com>
43351
43352 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43353 the global list here. Move code to...
43354 (_dl_add_to_namespace_list): ...here. New function.
43355 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43356 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43357 * elf/dl-load.c (lose): Don't remove the element from the list.
43358 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43359 (_dl_map_object): Likewise.
43360
433612010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
43362
43363 [BZ #12159]
43364 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43365 into all bytes of SSE register.
43366 Patch by Richard Li <richardpku@gmail.com>.
43367
f0967738 433682010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
43369
43370 [BZ #12140]
43371 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43372 perturbing.
43373
d0b9e94f
MB
433742010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43375
43376 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43377 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43378 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43381 submachine.
43382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43383
8e9f92e9
AS
433842010-10-22 Andreas Schwab <schwab@redhat.com>
43385
43386 * include/dlfcn.h (__RTLD_SECURE): Define.
43387 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43388 mode & __RTLD_SECURE instead.
43389 (open_path): Rename preloaded parameter to secure.
43390 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43391 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43392 * elf/dl-deps.c (openaux): Likewise.
43393 * elf/rtld.c (struct map_args): Remove is_preloaded.
43394 (map_doit): Don't use it.
43395 (dl_main): Likewise.
43396 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43397 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43398
bc96fbda
AS
433992010-09-09 Andreas Schwab <schwab@redhat.com>
43400
43401 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43402 (sysd-rules-targets): Remove duplicates.
43403 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43404 rtld-%.$o dependency.
43405
22cd1c9b
AS
434062010-10-18 Andreas Schwab <schwab@redhat.com>
43407
43408 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43409 _dl_map_object do it.
43410
18edac48
UD
434112010-10-19 Ulrich Drepper <drepper@gmail.com>
43412
43413 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43414 fast fma builtins, define the macros in the C99 standard.
43415 (FP_FAST_FMAF): Likewise.
43416 (FP_FAST_FMAL): Likewise.
43417 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43418
43419 * bits/mathdef.h: Update copyright year.
43420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43421
d2050124
MM
434222010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43423
43424 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43425 builtins, define the macros in the C99 standard.
43426 (FP_FAST_FMAF): Likewise.
43427 (FP_FAST_FMAL): Likewise.
43428 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43429 multiply/add.
43430 (FP_FAST_FMAF): Likewise.
43431
475facd1
JJ
434322010-10-15 Jakub Jelinek <jakub@redhat.com>
43433
43434 [BZ #3268]
43435 * math/libm-test.inc (fma_test): Some new testcases.
43436 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43437 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43438 y and infinite z. Do multiplication by C already in long double.
43439 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43441 y and infinite z. Do bitwise or of inexact bit into u.d.
43442 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43443 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43444 * sysdeps/i386/fpu/s_fma.S: Removed.
43445 * sysdeps/i386/fpu/s_fmal.S: Removed.
43446
7c08a05c
JJ
434472010-10-16 Jakub Jelinek <jakub@redhat.com>
43448
43449 [BZ #3268]
43450 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43452 computation is not scheduled after fetestexcept. Fix value
43453 of minimum denormal long double.
43454
f3f7372d
JJ
434552010-10-14 Jakub Jelinek <jakub@redhat.com>
43456
43457 [BZ #3268]
43458 * math/libm-test.inc (fma_test): Add some more tests.
43459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43460 correctly.
43461
14d43591
AS
434622010-10-15 Andreas Schwab <schwab@redhat.com>
43463
43464 * scripts/data/localplt-s390-linux-gnu.data: New file.
43465 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43466
5e908464
JJ
434672010-10-13 Jakub Jelinek <jakub@redhat.com>
43468
43469 [BZ #3268]
43470 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43471 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43472 instead of dbl-64.
43473 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43474 inlines.
43475 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43477 if one of x and y is very large and the other is subnormal.
43478 * sysdeps/s390/fpu/s_fmaf.c: New file.
43479 * sysdeps/s390/fpu/s_fma.c: New file.
43480 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43481 * sysdeps/powerpc/fpu/s_fma.S: New file.
43482 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43483 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43484 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43485
434862010-10-12 Jakub Jelinek <jakub@redhat.com>
43487
43488 [BZ #3268]
43489 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43490 fma tests.
43491 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43492 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43493 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43494 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43495 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43496 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43497 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43498
b833d51f
UD
434992010-10-12 Ulrich Drepper <drepper@redhat.com>
43500
43501 [BZ #12078]
43502 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43503 * posix/bug-regex31.input: Add test case.
43504
1751705d
UD
435052010-10-11 Ulrich Drepper <drepper@gmail.com>
43506
e9b9cbf5
UD
43507 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43508 * posix/bug-regex31.input: New file.
43509
43510 [BZ #12078]
43511 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43512 (parse_sub_exp): Fix last change, use postorder.
43513
ef06edbe
UD
43514 * posix/bug-regex31.c: New file.
43515 * posix/Makefile: Add rules to build and run bug-regex31.
43516
a129c80d
UD
43517 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43518
43519 [BZ #12078]
43520 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43521
b76b818e
UD
43522 [BZ #12108]
43523 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43524 to have entries in sys_siglist.
43525
1751705d
UD
43526 [BZ #12093]
43527 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43528 be NULL.
43529
9ff8d36f
JJ
435302010-10-07 Jakub Jelinek <jakub@redhat.com>
43531
43532 [BZ #3268]
43533 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43534 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43535 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43536 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43537 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43538 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43539 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43540 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43541 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43542 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43543 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43544 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43545 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43546 * math/ftestexcept.c (fetestexcept): Likewise.
43547 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43548 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43549 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43551 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43552 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43553 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43554
af325969
UD
435552010-10-11 Ulrich Drepper <drepper@gmail.com>
43556
c579b202 43557 [BZ #12107]
af325969
UD
43558 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43559 newline.
43560
67a67b95
UD
435612010-10-06 Ulrich Drepper <drepper@gmail.com>
43562
43563 * string/bug-strstr1.c: New file.
43564 * string/Makefile: Add rules to build and run bug-strstr1.
43565
5fb308bc
EB
435662010-10-05 Eric Blake <eblake@redhat.com>
43567
43568 [BZ #12092]
43569 * string/str-two-way.h (two_way_long_needle): Always clear memory
43570 when skipping input due to the shift table.
43571
45db99c7
UD
435722010-10-03 Ulrich Drepper <drepper@gmail.com>
43573
3b111893
UD
43574 [BZ #12005]
43575 * malloc/mcheck.c: Handle large requests.
43576
45db99c7
UD
43577 [BZ #12077]
43578 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43579 for strncmp and strncasecmp.
43580 * string/stratcliff.c: Add tests for strcmp and strncmp.
43581 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43582
cf7a1eb8
NI
435832010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43584
43585 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43586 __set_fpscr.
43587
6484ba5e
AJ
435882010-09-30 Andreas Jaeger <aj@suse.de>
43589
43590 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43591 (CGROUP_SUPER_MAGIC): Define.
43592 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43593 Handle btrfs and cgroup file systems.
43594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43595 Likewise.
43596
91c42559
LM
435972010-09-27 Luis Machado <luisgpm@br.ibm.com>
43598
43599 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43600 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43601
87a97932
AK
436022010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43603
43604 [BZ #12067]
43605 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43606 trying to locate the ELF header.
43607
c21cc9bc
AS
436082010-09-27 Andreas Schwab <schwab@redhat.com>
43609
43610 [BZ #11611]
43611 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43612 Mask out sign-bit copies when constructing f_fsid.
43613
315970f6
PB
436142010-09-24 Petr Baudis <pasky@suse.cz>
43615
43616 * debug/stack_chk_fail_local.c: Add missing licence exception.
43617 * debug/warning-nop.c: Likewise.
43618
1ac7a2c7
JM
436192010-09-15 Joseph Myers <joseph@codesourcery.com>
43620
43621 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43622 implementing getdents64 using getdents syscall, set d_type if
43623 __ASSUME_GETDENTS32_D_TYPE.
43624
56801c50
AS
436252010-09-16 Andreas Schwab <schwab@redhat.com>
43626
43627 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43628 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43629
dda51327
UD
436302010-09-21 Ulrich Drepper <drepper@redhat.com>
43631
43632 [BZ #12037]
43633 * posix/unistd.h: Undo change of feature selection for ftruncate from
43634 2010-01-11.
43635
8ffcee4a
UD
436362010-09-20 Ulrich Drepper <drepper@redhat.com>
43637
a545ecd9 43638 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
43639 detection.
43640
e24f0a8b
AS
436412010-09-20 Andreas Schwab <schwab@redhat.com>
43642
43643 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43644 fanotify_mark.
43645 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43646
7291c56f
AS
436472010-09-14 Andreas Schwab <schwab@redhat.com>
43648
43649 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43650 variables after CHECK_SP call.
43651 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43652
bc5fb037
AS
436532010-09-13 Andreas Schwab <schwab@redhat.com>
43654 Ulrich Drepper <drepper@redhat.com>
43655
43656 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43657 re-relocationg ld.so.
43658 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43659 _dl_init_paths call.
43660 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43661 here anymore.
43662
e66e7419
UD
436632010-09-14 Ulrich Drepper <drepper@redhat.com>
43664
43665 * resolv/res_init.c (__res_vinit): Count the default server we added.
43666
c044aa75
CLT
436672010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43668 Ulrich Drepper <drepper@redhat.com>
43669
43670 [BZ #11968]
43671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43672 (____longjmp_chk): Use %ebx for saving value across system call.
43673 Add unwind info.
43674
32cf4069
AS
436752010-09-06 Andreas Schwab <schwab@redhat.com>
43676
43677 * manual/Makefile: Don't mix pattern rules with normal rules.
43678
817328ee
AS
436792010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43680
43681 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43682 operation.
43683 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43684 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43685 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43686 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43688 Likewise.
43689
29fddf61
UD
436902010-09-04 Ulrich Drepper <drepper@redhat.com>
43691
43692 [BZ #11979]
43693 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43694 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43695
0959ffc9
UD
436962010-09-02 Ulrich Drepper <drepper@redhat.com>
43697
43698 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43699 * sysdeps/x86_64/addmul_1.S: Likewise.
43700 * sysdeps/x86_64/lshift.S: Likewise.
43701 * sysdeps/x86_64/mul_1.S: Likewise.
43702 * sysdeps/x86_64/rshift.S: Likewise.
43703 * sysdeps/x86_64/sub_n.S: Likewise.
43704 * sysdeps/x86_64/submul_1.S: Likewise.
43705
ece29840
ST
437062010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43707
0959ffc9
UD
43708 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43709 Define __sched_param instead of SCHED_* and sched_param when
ece29840 43710 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 43711 * bits/sched.h [__need_schedparam]
ece29840 43712 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
43713 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43714 (__defined_schedparam): Define to 1.
ece29840
ST
43715 (__sched_param): New structure, identical to sched_param.
43716 (__need_schedparam): Undefine.
43717
e53a31fe
MF
437182010-08-31 Mike Frysinger <vapier@gentoo.org>
43719
fdc0c10d
MF
43720 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43721 (epoll_create1): Declare.
43722
e53a31fe
MF
43723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43724
a726d796
AS
437252010-08-31 Andreas Schwab <schwab@redhat.com>
43726
43727 [BZ #7066]
43728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43729 shifting retval into place.
43730
2f3e3dc7
UD
437312010-09-01 Ulrich Drepper <drepper@redhat.com>
43732
f2933da9
UD
43733 * nis/rpcsvc/nis.h: Update copyright notice.
43734 * nis/rpcsvc/nis.x: Likewise.
43735 * nis/rpcsvc/nis_callback.h: Likewise.
43736 * nis/rpcsvc/nis_callback.x: Likewise.
43737 * nis/rpcsvc/nis_object.x: Likewise.
43738 * nis/rpcsvc/nis_tags.h: Likewise.
43739 * nis/rpcsvc/yp.h: Likewise.
43740 * nis/rpcsvc/yp.x: Likewise.
43741 * nis/rpcsvc/ypupd.h: Likewise.
43742 * nis/yp_xdr.c: Likewise.
43743 * nis/ypupdate_xdr.c: Likewise.
43744
2f3e3dc7
UD
43745 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43746 mainly the body of pmap_getport. Add parameters to specify timeouts.
43747 (pmap_getport): Use __libc_rpc_getport.
43748 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43749 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43750 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43751
f3dcc2f9
AS
437522010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43753
43754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43755 fanotify_mark.
43756
6d34eb5b
RM
437572010-08-27 Roland McGrath <roland@redhat.com>
43758
43759 * sysdeps/i386/i686/multiarch/Makefile
43760 (CFLAGS-varshift.c): New variable.
43761
9ea3de11
UD
437622010-08-27 Ulrich Drepper <drepper@redhat.com>
43763
c96d23fc
UD
43764 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43765 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43766
9ea3de11
UD
43767 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43768
43769 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43770
623aac7f
L
437712010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/x86_64/strlen.S: Unroll the loop.
43774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43775 strlen-sse2 strlen-sse2-bsf.
43776 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43777 __strlen_no_bsf if bit_Slow_BSF is set.
43778 (__strlen_sse42): Removed.
43779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43780 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43781
8b2b7715
RM
437822010-08-25 Roland McGrath <roland@redhat.com>
43783
43784 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43785 * sysdeps/x86_64/multiarch/varshift.c: New file.
43786 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43787 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43788 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43789 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43790
e73015f2
L
437912010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43792
43793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43794 strlen-sse2 strlen-sse2-bsf.
43795 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43796 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43797 (__strlen_sse2): Removed.
43798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43801 bit_Slow_BSF for Atom.
43802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43803 (index_Slow_BSF): Define.
43804 (HAS_SLOW_BSF): Define.
43805
df24a73e
UD
438062010-08-25 Ulrich Drepper <drepper@redhat.com>
43807
43808 [BZ #10851]
43809 * resolv/res_init.c (__res_vinit): When no server address at all
43810 is given default to loopback.
43811
f2ac4868
RM
438122010-08-24 Roland McGrath <roland@redhat.com>
43813
09055553
RM
43814 * configure.in: Remove config-name.h generation.
43815 * configure: Regenerated.
43816 * config-name.in: File removed.
43817 * scripts/config-uname.sh: New file.
43818 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43819 ($(objdir)config-name.h): New target.
43820
f2ac4868
RM
43821 * sunrpc/rpc_parse.h: Avoid nested comment.
43822
73f27d5e
RH
438232010-08-24 Richard Henderson <rth@redhat.com>
43824 Ulrich Drepper <drepper@redhat.com>
43825 H.J. Lu <hongjiu.lu@intel.com>
43826
43827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43829 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43830 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43831 _mm_alignr_epi8 with _mm_loadu_si128.
43832 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43833 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43834 (__m128i_shift_right): Removed.
43835 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43836 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43837 * sysdeps/x86_64/multiarch/varshift.h: New file.
43838 * sysdeps/x86_64/multiarch/varshift.S: New file.
43839
84b9230c
MF
438402010-08-21 Mike Frysinger <vapier@gentoo.org>
43841
43842 * configure.in: Move assembler checks to before sysdep dir checking.
43843
9bbd0ddc
PB
438442010-08-20 Petr Baudis <pasky@suse.cz>
43845
43846 * LICENSES: Sync the sunrpc license.
43847
9da4bb31
UD
438482010-08-19 Ulrich Drepper <drepper@redhat.com>
43849
a7ab6ec8
UD
43850 * sunrpc/auth_des.c: Update copyright notice once again.
43851 * sunrpc/auth_none.c: Likewise.
43852 * sunrpc/auth_unix.c: Likewise.
43853 * sunrpc/authdes_prot.c: Likewise.
43854 * sunrpc/authuxprot.c: Likewise.
43855 * sunrpc/bindrsvprt.c: Likewise.
43856 * sunrpc/clnt_gen.c: Likewise.
43857 * sunrpc/clnt_perr.c: Likewise.
43858 * sunrpc/clnt_raw.c: Likewise.
43859 * sunrpc/clnt_simp.c: Likewise.
43860 * sunrpc/clnt_tcp.c: Likewise.
43861 * sunrpc/clnt_udp.c: Likewise.
43862 * sunrpc/clnt_unix.c: Likewise.
43863 * sunrpc/des_crypt.c: Likewise.
43864 * sunrpc/des_soft.c: Likewise.
43865 * sunrpc/get_myaddr.c: Likewise.
43866 * sunrpc/getrpcport.c: Likewise.
43867 * sunrpc/key_call.c: Likewise.
43868 * sunrpc/key_prot.c: Likewise.
43869 * sunrpc/openchild.c: Likewise.
43870 * sunrpc/pm_getmaps.c: Likewise.
43871 * sunrpc/pm_getport.c: Likewise.
43872 * sunrpc/pmap_clnt.c: Likewise.
43873 * sunrpc/pmap_prot.c: Likewise.
43874 * sunrpc/pmap_prot2.c: Likewise.
43875 * sunrpc/pmap_rmt.c: Likewise.
43876 * sunrpc/rpc/auth.h: Likewise.
43877 * sunrpc/rpc/auth_unix.h: Likewise.
43878 * sunrpc/rpc/clnt.h: Likewise.
43879 * sunrpc/rpc/des_crypt.h: Likewise.
43880 * sunrpc/rpc/key_prot.h: Likewise.
43881 * sunrpc/rpc/netdb.h: Likewise.
43882 * sunrpc/rpc/pmap_clnt.h: Likewise.
43883 * sunrpc/rpc/pmap_prot.h: Likewise.
43884 * sunrpc/rpc/pmap_rmt.h: Likewise.
43885 * sunrpc/rpc/rpc.h: Likewise.
43886 * sunrpc/rpc/rpc_des.h: Likewise.
43887 * sunrpc/rpc/rpc_msg.h: Likewise.
43888 * sunrpc/rpc/svc.h: Likewise.
43889 * sunrpc/rpc/svc_auth.h: Likewise.
43890 * sunrpc/rpc/types.h: Likewise.
43891 * sunrpc/rpc/xdr.h: Likewise.
43892 * sunrpc/rpc_clntout.c: Likewise.
43893 * sunrpc/rpc_cmsg.c: Likewise.
43894 * sunrpc/rpc_common.c: Likewise.
43895 * sunrpc/rpc_cout.c: Likewise.
43896 * sunrpc/rpc_dtable.c: Likewise.
43897 * sunrpc/rpc_hout.c: Likewise.
43898 * sunrpc/rpc_main.c: Likewise.
43899 * sunrpc/rpc_parse.c: Likewise.
43900 * sunrpc/rpc_parse.h: Likewise.
43901 * sunrpc/rpc_prot.c: Likewise.
43902 * sunrpc/rpc_sample.c: Likewise.
43903 * sunrpc/rpc_scan.c: Likewise.
43904 * sunrpc/rpc_scan.h: Likewise.
43905 * sunrpc/rpc_svcout.c: Likewise.
43906 * sunrpc/rpc_tblout.c: Likewise.
43907 * sunrpc/rpc_util.c: Likewise.
43908 * sunrpc/rpc_util.h: Likewise.
43909 * sunrpc/rpcinfo.c: Likewise.
43910 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43911 * sunrpc/rpcsvc/key_prot.x: Likewise.
43912 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43913 * sunrpc/rpcsvc/mount.x: Likewise.
43914 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43915 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43916 * sunrpc/rpcsvc/rex.x: Likewise.
43917 * sunrpc/rpcsvc/rstat.x: Likewise.
43918 * sunrpc/rpcsvc/rusers.x: Likewise.
43919 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43920 * sunrpc/rpcsvc/spray.x: Likewise.
43921 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43922 * sunrpc/rtime.c: Likewise.
43923 * sunrpc/svc.c: Likewise.
43924 * sunrpc/svc_auth.c: Likewise.
43925 * sunrpc/svc_authux.c: Likewise.
43926 * sunrpc/svc_raw.c: Likewise.
43927 * sunrpc/svc_run.c: Likewise.
43928 * sunrpc/svc_simple.c: Likewise.
43929 * sunrpc/svc_tcp.c: Likewise.
43930 * sunrpc/svc_udp.c: Likewise.
43931 * sunrpc/svc_unix.c: Likewise.
43932 * sunrpc/svcauth_des.c: Likewise.
43933 * sunrpc/xcrypt.c: Likewise.
43934 * sunrpc/xdr.c: Likewise.
43935 * sunrpc/xdr_array.c: Likewise.
43936 * sunrpc/xdr_float.c: Likewise.
43937 * sunrpc/xdr_mem.c: Likewise.
43938 * sunrpc/xdr_rec.c: Likewise.
43939 * sunrpc/xdr_ref.c: Likewise.
43940 * sunrpc/xdr_sizeof.c: Likewise.
43941 * sunrpc/xdr_stdio.c: Likewise.
43942
9da4bb31
UD
43943 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43944 handling.
43945
bdaa77bc
AS
439462010-08-19 Andreas Schwab <schwab@redhat.com>
43947
43948 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43949
fe2f79db
LM
439502010-08-19 Luis Machado <luisgpm@br.ibm.com>
43951
43952 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43955 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43956 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43957 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43958 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43959 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43962 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43963 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43964 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43965 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43966
b9b42ee0
AB
439672010-07-26 Anton Blanchard <anton@samba.org>
43968
43969 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43970 * malloc/arena.c (heap_trim): Likewise.
43971
1c06ba31
UD
439722010-08-16 Ulrich Drepper <drepper@redhat.com>
43973
43974 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43975 here. Not...
43976 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43977 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43978
f8392f40
L
439792010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/i386/elf/Makefile: New file.
43982
3162f12e
AS
439832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43984
43985 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43986 from fanotify_init.
43987 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43989
28c90b2c
UD
439902010-08-15 Ulrich Drepper <drepper@redhat.com>
43991
43992 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43993 of strncasecmp_l.
1feccb6c 43994 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43995
ca6bb004
UD
439962010-08-14 Ulrich Drepper <drepper@redhat.com>
43997
e9f82e0d
UD
43998 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43999 strncase_l-nonascii.
44000 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44001 Add strncase_l-ssse3.
44002 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44003 * sysdeps/x86_64/strcmp.S: Likewise.
44004 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44005 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44006 * sysdeps/x86_64/strncase.S: New file.
44007 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44008 * sysdeps/x86_64/strncase_l.S: New file.
44009 * string/Makefile (strop-tests): Add strncasecmp.
44010 * string/test-strncasecmp.c: New file.
44011
44012 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44013 warning.
44014
ca6bb004
UD
44015 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44016 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44017
052fa7b3
AS
440182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
44019
44020 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44021
962dba78
UD
440222010-08-12 Ulrich Drepper <drepper@redhat.com>
44023
44024 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44026 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44027
bebff237
AM
440282010-05-01 Alan Modra <amodra@gmail.com>
44029
44030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44031 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44032 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44033 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44034 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44035 tidying. Don't tail-call __sigjmp_save for static lib.
44036 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44037 save location.
44038 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44039 (CALL_MCOUNT): Add eh info, and nop after bl.
44040 (TAIL_CALL_SYSCALL_ERROR): New macro.
44041 (PSEUDO_RET): Use it.
44042 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44043 Correct save location of integer regs and cr.
44044 (_dl_profile_resolve): Correct cr save location. Delete nops
44045 after bl when SHARED. Reduce cfi size a little by better
44046 placement of cfi directives.
44047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44048 make a stack frame. Instead use parm save area as a temp.
44049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44050 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
44051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44052 Don't make a stack frame for parent, use parm save area.
44053 Increase child stack frame to 112 bytes. Don't save unused reg,
44054 and adjust reg usage. Set up cfi on error recovery and
44055 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44057 (__makecontext): Add dummy nop after jump to exit.
44058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44059 Use correct parm save area and cr save, reduce stack frame.
44060 Correct cfi for possible PSEUDO_RET frame setup.
44061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44062 Branch to local label emitted by PSEUDO_RET rather than
44063 __syscall_error.
44064
02637374
AS
440652010-08-12 Andreas Schwab <schwab@redhat.com>
44066
44067 [BZ #11904]
44068 * locale/programs/locale.c (print_assignment): New function.
44069 (show_locale_vars): Use it.
44070
c3e2f19b
UD
440712010-08-11 Ulrich Drepper <drepper@redhat.com>
44072
3cdaa6ad
UD
44073 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44074 field.
44075 (struct statfs64): Likewise.
44076 (_STATFS_F_FLAGS): Define.
44077 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44079 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44080 (ST_VALID): Define locally.
44081 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44082 __statvfs_getflags, use the provided value.
44083 * sysdeps/unix/sysv/linux/kernel-features.h: Define
44084 __ASSUME_STATFS_F_FLAGS.
44085
754f7da3
UD
44086 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44087
10b3bedc
UD
44088 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44089 Add sys/fanotify.h.
44090 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44091 fanotify_mask for GLIBC_2.13.
44092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44093 fanotify_init and fanotify_mark.
44094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44095 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44096
c08fb0d7
UD
44097 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44098 Add prlimit.
44099 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44100 prlimit64 for GLIBC_2.13.
44101 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44102 prlimit64.
44103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44104 syscall.
44105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44106 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44107 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44108 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
44110 add prlimit alias.
44111 * sysdeps/unix/sysv/linux/prlimit.c: New file.
44112
15bac72b
UD
44113 [BZ #11903]
44114 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44115 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44116
c3e2f19b
UD
44117 * nss/Makefile: Add rules to build and run tst-nss-test1.
44118 * shlib-versions: Add entry for libnss_test1.
44119 * nss/nss_test1.c: New file.
44120 * nss/tst-nss-test1.c: New file.
44121
44122 * nss/nsswitch.c (__nss_database_custom): Define new variable.
44123 (__nss_configure_lookup): Set appropriate entry in
44124 __nss_configure_lookup to true.
44125 * nss/nsswitch.h: Define enum with indeces of databases in
44126 databases and __nss_database_custom arrays. Declare
44127 __nss_database_custom.
44128 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44129 to avoid using nscd when custom rules are installed.
44130 * nss/getXXbyYY_r.c: Likewise.
44131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44132
44133 * nss/nss_files/files-parse.c: Whitespace fixes.
44134
f15ce4d8
UD
441352010-08-09 Ulrich Drepper <drepper@redhat.com>
44136
44137 [BZ #11883]
44138 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44139 * posix/fnmatch_loop.c: Likewise.
44140
d22e4cc9
AK
441412010-07-17 Andi Kleen <ak@linux.intel.com>
44142
44143 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44144 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44145 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44146 * Versions.def [GLIBC_2.13]: Add.
44147
805bc17d
UD
441482010-08-06 Ulrich Drepper <drepper@redhat.com>
44149
44150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44151 Also fail if tpwd after pwuid call is NULL.
44152
5a42321d
ST
441532010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
44154
44155 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44156 when converting to ms.
44157
fd3ebeda
ST
441582010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44159
44160 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44161 EOPNOTSUPP errors with ENOTTY.
44162 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44163 EOPNOTSUPP errors with ENOTTY.
44164
73507d3a
UD
441652010-07-31 Ulrich Drepper <drepper@redhat.com>
44166
44167 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44168 Add strcasecmp_l-ssse3.
44169 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44170 strcasecmp.
44171 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44172 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44173 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44174
fe36dd02
UD
441752010-07-30 Ulrich Drepper <drepper@redhat.com>
44176
66f6765a
UD
44177 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44178
42e08a54
UD
44179 * string/Makefile (strop-tests): Add strcasecmp.
44180 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44181 strcasecmp_l-nonascii.
44182 (gen-as-const-headers): Add locale-defines.sym.
44183 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44184 * sysdeps/x86_64/strcasecmp.S: New file.
44185 * sysdeps/x86_64/strcasecmp_l.S: New file.
44186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44187 * sysdeps/x86_64/locale-defines.sym: New file.
44188 * string/test-strcasecmp.c: New file.
44189
fe36dd02
UD
44190 * string/test-strcasestr.c: Test both ends of the range of characters.
44191 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44192
48cbc0d6
RM
441932010-07-29 Roland McGrath <roland@redhat.com>
44194
76e6d6bc 44195 [BZ #11856]
48cbc0d6
RM
44196 * manual/locale.texi (Yes-or-No Questions): Fix example code.
44197
880113d9
UD
441982010-07-27 Ulrich Drepper <drepper@redhat.com>
44199
44200 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44201 for ld.so.
44202
deb9cabb
AS
442032010-07-27 Andreas Schwab <schwab@redhat.com>
44204
44205 * manual/memory.texi (Malloc Tunable Parameters): Document
44206 M_PERTURB.
44207
1c7570ff
RM
442082010-07-26 Roland McGrath <roland@redhat.com>
44209
44210 [BZ #11840]
44211 * configure.in (-fgnu89-inline check): Set and substitute
44212 gnu89_inline, not libc_cv_gnu89_inline.
44213 * configure: Regenerated.
44214 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44215
24fb0f88
UD
442162010-07-26 Ulrich Drepper <drepper@redhat.com>
44217
44218 * string/test-strnlen.c: New file.
44219 * string/Makefile (strop-tests): Add strnlen.
44220 * string/tester.c (test_strnlen): Add a few more test cases.
44221 * string/tst-strlen.c: Better error reporting.
44222
44223 * sysdeps/x86_64/strnlen.S: New file.
44224
8e96b93a
UD
442252010-07-24 Ulrich Drepper <drepper@redhat.com>
44226
44227 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44228 lower-latency instructions.
44229
dbc676d4
UD
442302010-07-23 Ulrich Drepper <drepper@redhat.com>
44231
44232 * string/test-strcasestr.c: New file.
44233 * string/test-strstr.c: New file.
44234 * string/Makefile (strop-tests): Add strstr and strcasestr.
44235 * string/str-two-way.h: Don't undefine MAX.
44236 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44237
f6a31e0e
AS
442382010-07-21 Andreas Schwab <schwab@redhat.com>
44239
44240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44241 strcasestr-nonascii.
44242 (CFLAGS-strcasestr-nonascii.c): Define.
44243 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44244 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44245 Remove unused attribute.
44246
5dbc3b6c
RM
442472010-07-20 Roland McGrath <roland@redhat.com>
44248
44249 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44250 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44251 ld.so.cache was broken. With it, there is no way to disable dsocaps
44252 like LD_HWCAP_MASK can disable hwcaps.
44253
23d101d8
EPM
442542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44255
44256 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44257
cc9f2e47
UD
442582010-07-16 Ulrich Drepper <drepper@redhat.com>
44259
44260 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44261 call in strcasestr.
44262 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44263 __strcasestr_sse42_nonascii.
44264 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44265 strcasestr-nonascii.c.
44266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44267
77c1b069
LM
442682010-06-15 Luis Machado <luisgpm@br.ibm.com>
44269
44270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44272 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44273 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44274
440566c3
UD
442752010-07-09 Ulrich Drepper <drepper@redhat.com>
44276
44277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44278 fcntl.
44279
5be9d05d
AS
442802010-07-06 Andreas Schwab <schwab@redhat.com>
44281
c30b7ee2 44282 [BZ #11577]
5be9d05d
AS
44283 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44284 dl_signal_cerror.
44285
8a492a67
UD
442862010-07-06 Ulrich Drepper <drepper@redhat.com>
44287
44288 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44289 _PC_PIPE_BUF using F_GETPIPE_SZ.
44290
713df3d5
RM
442912010-07-05 Roland McGrath <roland@redhat.com>
44292
44293 * manual/arith.texi (Rounding Functions): Fix rint description
44294 implicit in round description.
44295
702e8f14
UD
442962010-07-02 Ulrich Drepper <drepper@redhat.com>
44297
44298 * elf/Makefile: Fix linking for a few tests to make recent linker
44299 happy.
44300
52ed8be9
AS
443012010-06-30 Andreas Schwab <schwab@redhat.com>
44302
44303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44304 $(common-objpfx)libc_nonshared.a.
44305
f47c9a11
LM
443062010-06-21 Luis Machado <luisgpm@br.ibm.com>
44307
44308 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44309 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44310 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44311 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44312 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44313 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44314 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44315 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44330 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44331 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44332 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44333 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44334 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44335 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44336 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44337 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44338 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44339 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44340 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44341 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44356
6fb8cbcb
L
443572010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44358
44359 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44360 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44361 * string/memmove.c (memmove): Renamed to ...
44362 (MEMMOVE): ...this. Default to memmove.
44363 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44364 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44365 (END_CHK): Define.
44366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44367 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44368 mempcpy-ssse3-back memmove-ssse3-back.
44369 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44372 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44373 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44374 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44375 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44376 * sysdeps/x86_64/multiarch/memmove.c: New file.
44377 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44378 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44379 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44380 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44382 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44383 Define.
44384 (index_Fast_Copy_Backward): Define.
44385 (HAS_ARCH_FEATURE): Define.
44386 (HAS_FAST_REP_STRING): Define.
44387 (HAS_FAST_COPY_BACKWARD): Define.
44388
4e733bac 443892010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
44390
44391 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44392 Restore proper fallback handling.
44393
63c4ed22
UD
443942010-06-19 Ulrich Drepper <drepper@redhat.com>
44395
ac2b484c
UD
44396 [BZ #11701]
44397 * posix/group_member.c (__group_member): Correct checking loop.
44398
63c4ed22
UD
44399 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44400 OOM in getpwuid_r correctly. Return error number when the caller
44401 should return, otherwise -1.
44402 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44403 call returning > 0 value.
44404 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44405
765ade4b
AS
444062010-06-07 Andreas Schwab <schwab@redhat.com>
44407
44408 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44409 libc_nonshared.a from targets in modules-names.
44410
80da2e09
KS
444112010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44412
44413 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44414 requires it.
44415
158db122
LM
444162010-06-10 Luis Machado <luisgpm@br.ibm.com>
44417
44418 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44419 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44421 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44422
caa78cf8
AS
444232010-06-02 Andreas Schwab <schwab@redhat.com>
44424
44425 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44426
b2ef2c01
UD
444272010-06-14 Ulrich Drepper <drepper@redhat.com>
44428
44429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44430 and F_GETPIPE_SZ.
44431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44437
fbd643b6
RM
444382010-06-14 Roland McGrath <roland@redhat.com>
44439
44440 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44441
f32f2869
JJ
444422010-06-07 Jakub Jelinek <jakub@redhat.com>
44443
44444 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44445 __REDIRECT followed by __THROW.
44446 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44447 * posix/getopt.h (getopt): Likewise.
44448
2a50c078
EPM
444492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44450
44451 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44452 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44453 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44454 in AT_FLAGS.
44455 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44456 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44457
eb5ad2eb
LM
444582010-05-28 Luis Machado <luisgpm@br.ibm.com>
44459
44460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44461
3c88fe1e
L
444622010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44463
44464 [BZ #11640]
44465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44466 Properly check family and model.
44467
d2f73151
TY
444682010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44469
44470 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44471
ebd2e13d
LM
444722010-05-24 Luis Machado <luisgpm@br.ibm.com>
44473
44474 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44475
b32b8b45
UD
444762010-05-21 Ulrich Drepper <drepper@redhat.com>
44477
44478 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44479 symbol reference.
44480
9acbe24d
AS
444812010-05-19 Andreas Schwab <schwab@redhat.com>
44482
44483 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44484 symbol reference.
44485
f0ccf6ea
AS
444862010-05-21 Andreas Schwab <schwab@redhat.com>
44487
3d04ff3a
AS
44488 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44489 and internal_recvmmsg.
44490 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44491 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44492 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44493 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44494
f0ccf6ea
AS
44495 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44496 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44497 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44498
5b08ac57
AS
444992010-05-20 Andreas Schwab <schwab@redhat.com>
44500
44501 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44502
4828935d
LM
445032010-05-17 Luis Machado <luisgpm@br.ibm.com>
44504
44505 POWER7 optimizations.
44506 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44507 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44508
373d545e
UD
445092010-05-19 Ulrich Drepper <drepper@redhat.com>
44510
44511 * version.h: Update for 2.13 development version.
44512
21a2b1ae
AS
445132010-05-12 Andrew Stubbs <ams@codesourcery.com>
44514
44515 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44516 exceptions. Return 0.
44517
3f7dcb2b
RM
445182010-05-07 Roland McGrath <roland@redhat.com>
44519
44520 * elf/ldconfig.c (main): Add a const.
44521
5f24d53a 445222010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 44523
a160f8d8
UD
44524 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44525 (args_options): Add no-idn option.
44526 (ahosts_keys_int): Add idn_flags to ai_flags.
44527 (parse_option): Handle 'i' option to clear idn_flags.
44528
5f24d53a
UD
44529 * malloc/malloc.c (_int_free): Possible race in the most recently
44530 added check. Only act on the data if no current modification
44531 happened.
265bb1ce
UD
44532
44533See ChangeLog.17 for earlier changes.