]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Move remaining nptl/sysdeps/unix/sysv/linux/i386/ files.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-05-14 Roland McGrath <roland@hack.frob.com>
2
3 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9 Moved ...
10 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12 Moved ...
13 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15 Moved ...
16 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18 Moved ...
19 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23 Moved ...
24 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
28 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32 Moved ...
33 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35 Moved ...
36 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37 ... here.
38 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
42 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
43 Moved ...
44 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45 ... here.
46 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
47 Moved ...
48 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
53 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
54 Moved ...
55 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
56 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
57 Moved ...
58 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
59 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
60 Moved ...
61 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
62 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
63 Moved ...
64 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
65 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
66 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
67 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
68 Moved ...
69 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
70 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
71 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
72 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
73 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
74 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
75 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
76 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
77 Moved ...
78 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
79 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
80 Moved ...
81 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
82 ... here.
83 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
84 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
85 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
86 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
87 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
88 Moved ...
89 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
90 ... here.
91 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
92 Moved ...
93 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
94 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
95 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
96 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
97 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
98 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
99 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
100 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
101 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
102 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
103 Moved ...
104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
106 Moved ...
107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
109 Moved ...
110 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
111 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
112 Moved ...
113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
114 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
115 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
116 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
117 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
118 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
119 Moved ...
120 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
121 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
122 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
123 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
124 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
125 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
126 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
127 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
128 Moved ...
129 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
130 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
131 Moved ...
132 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
133 ... here.
134 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
135 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
136 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
137 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
139 Moved ...
140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
141 ... here.
142 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
143 Moved ...
144 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
145 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
146 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
147 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
148 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
150 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
151 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
152 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
153 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
154 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
155
156 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
157 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
158
159 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
160 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
161
162 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
163 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
164 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
165 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
166 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
167 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
168 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
169 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
170 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
171 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
172 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
173 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
174 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
175 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
176 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
178 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
180 Moved ...
181 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
183 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
184 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
185 Moved ...
186 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
187 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
188 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
190 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
194 Moved ...
195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
196 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
197 Moved ...
198 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
200 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
201 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
202 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
203 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
204 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
205 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
206 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
207 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
208 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
209 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
210 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
211 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
212 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
213 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
214 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
215
216 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
217 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
218 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
219 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
220 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
221
222 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
223 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
224 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
225 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
226 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
227 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
228 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
229 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
230 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
231 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
232
233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
235
236 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
237 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
238 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
239 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
240 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
241 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
242 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
243 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
244 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
245 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
246 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
247 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
248 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
249 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
251 Update #include.
252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
253 Likewise.
254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
255 Likewise.
256 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
257 Likewise.
258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
259 Likewise.
260 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
261 Likewise.
262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
263 Likewise.
264 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
265 Likewise.
266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
267 Likewise.
268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
269 Likewise.
270 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
273 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
274 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
275 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
277 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
279 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
280 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
281 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
282 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
283 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
284 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
285
286 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
287 that was previously under [RESET_PID].
288 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
289 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
290 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
291
292 * sysdeps/i386/nptl/Implies: New file.
293 * sysdeps/x86_64/nptl/Implies: New file.
294 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
295 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
296 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
297 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
298
299 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
300 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
301 (__libc_vfork): New strong alias.
302 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
303 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
304
305 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
306 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
307 (__libc_vfork): New strong alias.
308 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
309 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
310
311 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
312 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
313 (__libc_vfork): New strong alias.
314 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
315 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
316 * nptl/pt-vfork.c: New file.
317 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
318 (libpthread: GLIBC_2.20): New version set (empty).
319
3202014-05-14 Will Newton <will.newton@linaro.org>
321
322 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
323 rather than #if.
324
3252014-05-14 Joseph Myers <joseph@codesourcery.com>
326
327 [BZ #16564]
328 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
329 arguments with exponent 65 or above.
330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
331 arguments 0x1p113L or above.
332 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
333 to arguments 0x1p107L or above.
334 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
335 positive arguments with exponent 65 or above.
336 * math/auto-libm-test-in: Add more tests of log1p.
337 * math/auto-libm-test-out: Regenerated.
338
339 [BZ #16928]
340 * math/s_cacos.c (__cacos): Ensure zero real part of result from
341 non-finite arguments is +0.
342 * math/s_cacosf.c (__cacosf): Likewise.
343 * math/s_cacosl.c (__cacosl): Likewise.
344 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
345 * sysdeps/i386/fpu/libm-test-ulps: Update.
346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
347
348 [BZ #16927]
349 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
350 value.
351 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
352 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
353 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
354 for explicit high bit of mantissa when testing for argument equal
355 to 1.
356 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
357 * sysdeps/i386/fpu/libm-test-ulps: Update.
358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
359
360 [BZ #16516]
361 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
362 (__erf): Scale by 16 instead of 8 in potentially underflowing
363 case. Ensure exception if result actually underflows.
364 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
365 (__erff): Scale by 16 instead of 8 in potentially underflowing
366 case. Ensure exception if result actually underflows.
367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
368 (efx8): Remove variable.
369 (__erfl): Scale by 16 instead of 8 in potentially underflowing
370 case. Ensure exception if result actually underflows.
371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
372 (efx8): Remove variable.
373 (__erfl): Scale by 16 instead of 8 in potentially underflowing
374 case. Ensure exception if result actually underflows.
375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
376 (efx8): Remove variable.
377 (__erfl): Scale by 16 instead of 8 in potentially underflowing
378 case. Ensure exception if result actually underflows.
379 * math/auto-libm-test-in: Add more tests of erf.
380 * math/auto-libm-test-out: Regenerated.
381
3822014-05-14 Andreas Schwab <schwab@suse.de>
383
384 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
385 Remove code conditionalized on USE___THREAD.
386
387 * config.h.in (HAVE_PT_CHOWN): Define as 0.
388 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
389 not definedness.
390
3912014-05-14 Joseph Myers <joseph@codesourcery.com>
392
393 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
394 Define unconditionally.
395 (__ASSUME_O_CLOEXEC): Likewise.
396 (__ASSUME_SOCK_CLOEXEC): Likewise.
397 (__ASSUME_IN_NONBLOCK): Likewise.
398 (__ASSUME_PIPE2): Likewise.
399 (__ASSUME_EVENTFD2): Likewise.
400 (__ASSUME_SIGNALFD4): Likewise.
401 (__ASSUME_DUP3): Likewise.
402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
403 (__ASSUME_DUP3): Do not define.
404 (__ASSUME_EVENTFD2): Likewise.
405 (__ASSUME_IN_NONBLOCK): Likewise.
406 (__ASSUME_O_CLOEXEC): Likewise.
407 (__ASSUME_PIPE2): Likewise.
408 (__ASSUME_SIGNALFD4): Likewise.
409 (__ASSUME_SOCK_CLOEXEC): Likewise.
410 (__ASSUME_UTIMES): Undefine.
411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
412 (__ASSUME_UTIMES): Do not define.
413 (__ASSUME_O_CLOEXEC): Likewise.
414 (__ASSUME_SOCK_CLOEXEC): Likewise.
415 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
416 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
417 0x020621].
418 (__ASSUME_PIPE2): Likewise.
419 (__ASSUME_EVENTFD2): Likewise.
420 (__ASSUME_SIGNALFD4): Likewise.
421 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
422 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
423 Do not define.
424 (__ASSUME_EVENTFD2): Likewise.
425 (__ASSUME_SIGNALFD4): Likewise.
426 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
427 (__ASSUME_32BITUIDS): Likewise.
428 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
429 (__ASSUME_IPC64): Likewise.
430 (__ASSUME_ST_INO_64_BIT): Likewise.
431 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
432 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
433 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
434 (__ASSUME_UTIMES): Do not define.
435 (__ASSUME_PSELECT): Likewise.
436 (__ASSUME_PPOLL): Likewise.
437 (__ASSUME_O_CLOEXEC): Likewise.
438 (__ASSUME_SOCK_CLOEXEC): Likewise.
439 (__ASSUME_IN_NONBLOCK): Likewise.
440 (__ASSUME_PIPE2): Likewise.
441 (__ASSUME_EVENTFD2): Likewise.
442 (__ASSUME_SIGNALFD4): Likewise.
443 (__ASSUME_DUP3): Likewise.
444 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
445 (__ASSUME_UTIMES): Likewise.
446 (__ASSUME_O_CLOEXEC): Likewise.
447 (__ASSUME_SOCK_CLOEXEC): Likewise.
448 (__ASSUME_IN_NONBLOCK): Likewise.
449 (__ASSUME_PIPE2): Likewise.
450 (__ASSUME_EVENTFD2): Likewise.
451 (__ASSUME_SIGNALFD4): Likewise.
452 (__ASSUME_DUP3): Likewise.
453 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
454 (__ASSUME_UTIMES): Likewise.
455 (__ASSUME_O_CLOEXEC): Likewise.
456 (__ASSUME_SOCK_CLOEXEC): Likewise.
457 (__ASSUME_IN_NONBLOCK): Likewise.
458 (__ASSUME_PIPE2): Likewise.
459 (__ASSUME_EVENTFD2): Likewise.
460 (__ASSUME_SIGNALFD4): Likewise.
461 (__ASSUME_DUP3): Likewise.
462 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
463 Likewise.
464 (__ASSUME_UTIMES): Likewise.
465 (__ASSUME_EVENTFD2): Likewise.
466 (__ASSUME_SIGNALFD4): Likewise.
467 * sysdeps/unix/sysv/linux/tile/kernel-features.h
468 (__ASSUME_O_CLOEXEC): Likewise.
469 (__ASSUME_SOCK_CLOEXEC): Likewise.
470 (__ASSUME_IN_NONBLOCK): Likewise.
471 (__ASSUME_PIPE2): Likewise.
472 (__ASSUME_EVENTFD2): Likewise.
473 (__ASSUME_SIGNALFD4): Likewise.
474 (__ASSUME_DUP3): Likewise.
475 (__ASSUME_UTIMES): Undefine.
476
477 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
478 feclearexcept. Remove symbol versioning code.
479 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
480 symbol versioning code.
481 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
482 symbol versioning code.
483 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
484 feupdateenv. Remove symbol versioning code.
485 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
486 fegetexceptflag. Remove symbol versioning code.
487 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
488 fesetexceptflag. Remove symbol versioning code.
489 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
490 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
491 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
492 (__posix_fadvise64_l32): Remove prototype.
493 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
494 code.
495
4962014-05-13 Roland McGrath <roland@hack.frob.com>
497
498 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
499 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
500 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
501 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
502
5032014-05-13 Sami Kerola <kerolasa@iki.fi>
504
505 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
506 current working directory
507
5082014-05-13 Roland McGrath <roland@hack.frob.com>
509
510 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
511 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
512 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
513 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
514 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
515 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
516 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
517 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
518 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
519 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
520 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
521 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
522 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
523 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
524 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
526 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
527 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
528 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
529 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
530 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
531 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
532 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
533 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
534 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
535 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
536 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
538 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
539 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
540 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
541 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
542 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
543 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
544 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
545 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
546 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
547 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
548 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
549 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
550 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
551 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
552
553 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
554 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
555
556 * sysdeps/unix/sysv/linux/arm/Makefile
557 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
558 Add rt-aeabi_unwind_cpp_pr1.
559 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
560 Add nptl-aeabi_unwind_cpp_pr1.
561 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
562 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
563 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
564 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
565 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
566 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
567
568 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
569 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
570 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
571 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
572
573 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
574 Deconditionalize the code that was previously under [RESET_PID].
575 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
576
577 * sysdeps/generic/exit-thread.h: New file.
578 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
579 * include/unistd.h (__exit_thread): Remove declaration.
580 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
581 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
582 * csu/libc-start.c: Include <exit-thread.h>.
583 (LIBC_START_MAIN): Pass no argument to __exit_thread.
584 * nptl/pthread_create.c: Include <exit-thread.h>.
585 (start_thread): Call __exit_thread in place of __exit_thread_inline.
586 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
587 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
588 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
589 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
590 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
591 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
592 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
593 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
594 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
595 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
596 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
597 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
598 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
599 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
600 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
601 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
602
6032014-05-13 Andreas Schwab <schwab@suse.de>
604
605 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
606
6072014-05-12 Joseph Myers <joseph@codesourcery.com>
608
609 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
610 (__ASSUME_UTIMES): Do not condition on kernel version.
611 (__ASSUME_PSELECT): Define unconditionally.
612 (__ASSUME_PPOLL): Likewise.
613 (__ASSUME_ATFCTS): Likewise.
614 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
615 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
616 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
617 (__ASSUME_UTIMENSAT): Define unconditionally.
618 (__ASSUME_PRIVATE_FUTEX): Likewise.
619 (__ASSUME_FALLOCATE): Likewise.
620 (__ASSUME_O_CLOEXEC): Likewise.
621 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
622 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
623 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
624 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
625 (__ASSUME_IN_NONBLOCK): Likewise.
626 (__ASSUME_PIPE2): Likewise.
627 (__ASSUME_EVENTFD2): Likewise.
628 (__ASSUME_SIGNALFD4): Likewise.
629 (__ASSUME_DUP3): Likewise.
630 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
631 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
632 (__ASSUME_AT_RANDOM): Likewise.
633 (__ASSUME_PREADV): Likewise.
634 (__ASSUME_PWRITEV): Likewise.
635 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
636 (__ASSUME_F_GETOWN_EX): Define unconditionally.
637 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
638 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
639 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
640 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
641 (__ASSUME_O_CLOEXEC): Define unconditionally.
642 (__ASSUME_PSELECT): Do not undefine conditionally.
643 (__ASSUME_PPOLL): Likewise.
644 (__ASSUME_ATFCTS): Likewise.
645 (__ASSUME_SET_ROBUST_LIST): Likewise.
646 (__ASSUME_UTIMENSAT): Likewise.
647 (__ASSUME_FDATASYNC): Define unconditionally.
648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
649 (__ASSUME_SIGFRAME_V2): Likewise.
650 )__ASSUME_EVENTFD2): Likewise.
651 (__ASSUME_SIGNALFD4): Likewise.
652 (__ASSUME_PSELECT): Do not undefine conditionally.
653 (__ASSUME_PPOLL): Likewise.
654 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
655 (__ASSUME_PSELECT): Define unconditionally.
656 (__ASSUME_PPOLL): Likewise.
657 (__ASSUME_O_CLOEXEC): Likewise.
658 (__ASSUME_SOCK_CLOEXEC): Likewise.
659 (__ASSUME_IN_NONBLOCK): Likewise.
660 (__ASSUME_PIPE2): Likewise.
661 (__ASSUME_EVENTFD2): Likewise.
662 (__ASSUME_SIGNALFD4): Likewise.
663 (__ASSUME_DUP3): Likewise.
664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
665 (__ASSUME_O_CLOEXEC): Likewise.
666 (__ASSUME_SOCK_CLOEXEC): Likewise.
667 (__ASSUME_IN_NONBLOCK): Likewise.
668 (__ASSUME_PIPE2): Likewise.
669 (__ASSUME_EVENTFD2): Likewise.
670 (__ASSUME_SIGNALFD4): Likewise.
671 (__ASSUME_DUP3): Likewise.
672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
673 (__ASSUME_EVENTFD2): Likewise.
674 (__ASSUME_SIGNALFD4): Likewise.
675 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
676
6772014-05-12 Andreas Schwab <schwab@suse.de>
678
679 [BZ #16932]
680 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
681 (_nss_nis_gethostbyname4_r): Return error if item length is larger
682 than maximum RPC packet size.
683 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
684 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
685 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
686 (_nss_nis_getservbyport_r): Likewise.
687
6882014-05-12 Will Newton <will.newton@linaro.org>
689
690 * malloc/Makefile (tests): Add tst-mallopt.
691 * malloc/tst-mallopt.c: New file.
692
6932014-05-09 Roland McGrath <roland@hack.frob.com>
694
695 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
696 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
697
6982014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
699
700 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
701 (tst-tlsmod6.so): Likewise.
702
7032014-05-09 Roland McGrath <roland@hack.frob.com>
704
705 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
706
7072014-05-09 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #16064]
710 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
711 and <dl-procinfo.h>.
712 (__fegetenv): Save SSE state in envp->__eip if supported.
713 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
714 envp->__eip if supported.
715 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
716 and <dl-procinfo.h>.
717 (__fesetenv): Always set __eip, __cs_selector, __opcode,
718 __data_offset and __data_selector in environment to 0. Set SSE
719 state if supported.
720 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
721 test-fenv-sse.
722 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
723 -mfpmath=sse.
724 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
725
7262014-05-09 Will Newton <will.newton@linaro.org>
727
728 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
729 and libc_relro_required for ARM.
730 * sysdeps/arm/preconfigure: Regenerate.
731
7322014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
733 Stefan Liebler <stli@linux.vnet.ibm.com>
734
735 * config.make.in (enable-lock-elision): New Makefile variable.
736 * configure.ac: Likewise.
737 * configure: Regenerate.
738 * sysdeps/s390/configure.ac:
739 Add check for gcc transactions support.
740 * sysdeps/s390/configure: Regenerate.
741 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
742 Build elision files if enabled.
743 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
744 Add lock elision support for s390.
745 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
746 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
747 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
748 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
749 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
750 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
751 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
752 Likewise.
753 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
754 Likewise.
755 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
756 Likewise.
757 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
758 Likewise.
759 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
760 (__lll_timedlock_elision, __lll_lock_elision)
761 (__lll_unlock_elision, __lll_trylock_elision)
762 (lll_timedlock_elision, lll_lock_elision)
763 (lll_unlock_elision, lll_trylock_elision): Add.
764 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
765 (pthread_mutex_t): Add lock elision support for s390.
766
7672014-05-09 Will Newton <will.newton@linaro.org>
768
769 * sysdeps/arm/armv7/strcmp.S: New file.
770 * NEWS: Mention addition of ARMv7 optimized strcmp.
771
7722014-05-08 Roland McGrath <roland@hack.frob.com>
773
774 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
775 look for %.ac rather than %.in.
776
777 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
778 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
779 * sysdeps/mach/hurd/configure: Regenerated.
780 * sysdeps/unix/sysv/linux/configure: Regenerated.
781
782 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
783
7842014-05-07 Steve Ellcey <sellcey@mips.com>
785
786 [BZ# 16922]
787 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
788 (LONG_SUB): Ditto.
789 (PTR_SUB): Ditto.
790
7912014-05-07 Andreas Schwab <schwab@suse.de>
792
793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
794 when skipping over non-matching result from nscd.
795
7962014-05-07 Ondřej Bílka <neleai@seznam.cz>
797
798 [BZ #16876]
799 * nptl/sockperf.c (client): Check socket return value.
800
801 [BZ #16877]
802 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
803 nscd security class.
804
8052014-05-06 Roland McGrath <roland@hack.frob.com>
806
807 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
808 * sysdeps/arm/unwind.h: ... here.
809
8102014-05-06 Aurelien Jarno <aurelien@aurel32.net>
811
812 [BZ# 16916]
813 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
814 Define.
815
8162014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
817
818 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
819 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
820 multiarch strncpy for PPC64.
821 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
822 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
824 multiarch optimizations.
825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
826 (__libc_ifunc_impl_list): Likewise.
827 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
828 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
829 multiarch stpncpy for PPC64.
830 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
831 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
832
8332014-05-06 Andreas Schwab <schwab@suse.de>
834
835 [BZ #16912]
836 * gmon/mcount.c (_MCOUNT_DECL): Use
837 atomic_compare_and_exchange_bool_acq instead of
838 catomic_compare_and_exchange_bool_acq.
839
8402014-05-05 Roland McGrath <roland@hack.frob.com>
841
842 * elf/Makefile (others, install-bin): Remove pldd.
843 (pldd-modules): Variable removed.
844 ($(objpfx)pldd): Target removed.
845 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
846 (others, install-bin): Append pldd here.
847 ($(objpfx)pldd): New target.
848
849 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
850 to 0, so the first #if test emitted later doesn't see it undefined.
851 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
852 * sysdeps/gnu/errlist.c: Regenerated.
853
8542014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
855
856 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
857 [libc_hidden_builtin_def]: Define to empty value.
858 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
859 [libc_hidden_builtin_def]: Likewise.
860 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
861 [libc_hidden_builtin_def]: Likewise.
862 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
863 [libc_hidden_builtin_def]: Likewise.
864 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
865 __redirect_memcpy and define ifunc as default hidden symbol.
866 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
867 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
868
8692014-05-04 Adam Conrad <adconrad@0c3.net>
870
871 * locale/iso-4217.def: Reintroduce XDR currency.
872
8732014-05-04 Allan McRae <allan@archlinux.org>
874
875 * po/eo.po: Update Esperanto translation from translation project.
876
8772014-05-02 Carlos O'Donell <carlos@redhat.com>
878
879 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
880 and FEATURE_INDEX_MAX to 1.
881 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
882
8832014-05-01 Steve Ellcey <sellcey@mips.com>
884
885 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
886 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
887 * iconvdata/big5.c (ONE_DIRECTION): Define.
888 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
889 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
890 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
891 * iconvdata/cp932.c (ONE_DIRECTION): Define.
892 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
893 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
894 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
895 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
896 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
897 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
898 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
899 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
900 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
901 * iconvdata/gbk.c (ONE_DIRECTION): Define.
902 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
903 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
904 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
905 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
906 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
907 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
908 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
909 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
910 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
911 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
912 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
913 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
914 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
915 * iconvdata/iso646.c (ONE_DIRECTION): Define.
916 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
917 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
918 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
919 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
920 * iconvdata/johab.c (ONE_DIRECTION): Define.
921 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
922 * iconvdata/sjis.c (ONE_DIRECTION): Define.
923 * iconvdata/t.61.c (ONE_DIRECTION): Define.
924 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
925 * iconvdata/tscii.c (ONE_DIRECTION): Define.
926 * iconvdata/uhc.c (ONE_DIRECTION): Define.
927 * iconvdata/unicode.c (ONE_DIRECTION): Define.
928 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
929 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
930 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
931
9322014-05-01 Roland McGrath <roland@hack.frob.com>
933
934 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
935 (_IO_JUMPS_OFFSET): Define to 0.
936
937 * nptl/sysdeps/pthread/bits/libc-lock.h
938 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
939 (__libc_lock_define_initialized_recursive): Always define using
940 initializer. Modern compilers treat uninitialized (implicit zero) and
941 explicit zero initializers the same (i.e. put the datum in bss).
942
9432014-05-01 Andreas Schwab <schwab@linux-m68k.org>
944
945 * nscd/nscd-client.h: Include <string.h>.
946
9472014-05-01 David S. Miller <davem@davemloft.net>
948
949 [BZ #16885]
950 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
951 multiple zero bytes exist at the end of a string.
952 Reported by Aurelien Jarno <aurelien@aurel32.net>
953
954 * string/test-strcmp.c (check): Add explicit test for situations where
955 there are multiple zero bytes after the first.
956
9572014-05-01 Andreas Schwab <schwab@linux-m68k.org>
958
959 [BZ #16890]
960 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
961 when compiling wprintf.
962 * stdio-common/tstdiomisc.c (t3): New function.
963 (main): Call it.
964
9652014-05-01 Steve Ellcey <sellcey@mips.com>
966
967 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
968 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
969 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
970 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
971
9722014-05-01 Steve Ellcey <sellcey@mips.com>
973
974 * stdlib/longlong.h: Updated from GCC.
975
9762014-05-01 Will Newton <will.newton@linaro.org>
977 Bernard Ogden <bernie.ogden@linaro.org>
978
979 * NEWS: Update fixed bug list.
980
981 [BZ #15119]
982 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
983
9842014-04-30 David S. Miller <davem@davemloft.net>
985
986 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
987 (libc_feholdexcept_setround_sparc_ctx): New function.
988 (libc_fesetenv_sparc_ctx): Likewise.
989 (libc_feupdateenv_sparc_ctx): Likewise.
990 (libc_feholdsetround_sparc_ctx): Likewise.
991 (libc_feholdexcept_setround_ctx): Define.
992 (libc_feholdexcept_setroundf_ctx): Likewise.
993 (libc_feholdexcept_setroundl_ctx): Likewise.
994 (libc_fesetenv_ctx): Likewise.
995 (libc_fesetenvf_ctx): Likewise.
996 (libc_fesetenvl_ctx): Likewise.
997 (libc_feupdateenv_ctx): Likewise.
998 (libc_feupdateenvf_ctx): Likewise.
999 (libc_feupdateenvl_ctx): Likewise.
1000 (libc_feresetround_ctx): Likewise.
1001 (libc_feresetroundf_ctx): Likewise.
1002 (libc_feresetroundl_ctx): Likewise.
1003 (libc_feholdsetround_ctx): Likewise.
1004 (libc_feholdsetroundf_ctx): Likewise.
1005 (libc_feholdsetroundl_ctx): Likewise.
1006
1007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1008 with __USE_GNU instead of XOPEN cpp guards.
1009
1010 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1011 0.
1012
1013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1014 with XOPEN cpp guards.
1015
10162014-04-30 Julian Brown <julian@codesourcery.com>
1017
1018 [BZ #16888]
1019 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1020 handling.
1021
10222014-04-30 Joseph Myers <joseph@codesourcery.com>
1023
1024 [BZ #9894]
1025 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1026 Change to 2.6.32.
1027 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1028 * sysdeps/unix/sysv/linux/configure: Regenerated.
1029 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1030 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1031 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1032 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1033 * README: Update reference to required Linux kernel version.
1034 * manual/install.texi (Linux): Update reference to required Linux
1035 kernel headers version.
1036 * INSTALL: Regenerated.
1037
1038 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1039 header inclusion.
1040 [POSIX] (limits.h): Likewise.
1041 [POSIX] (math.h): Likewise.
1042 [POSIX] (sys/wait.h): Likewise.
1043 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1044 function.
1045 [POSIX] (stddef.h): Do not allow header inclusion.
1046
10472014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1048
1049 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1050
10512014-04-30 Yang Yingliang <yangyingliang@huawei.com>
1052
1053 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1054 Return immediately after lll_futex_wake.
1055
10562014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
1058 [BZ #16791]
1059 * nscd/nscd-client.h (datahead_init_common): Initialize entire
1060 structure.
1061 (datahead_init_pos): Call datahead_init_common early.
1062 (datahead_init_neg): Likewise.
1063
1064 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1065 datahead_init_neg): New functions.
1066 * nscd/aicache.c (addhstaiX): Use them.
1067 * nscd/grpcache.c (cache_addgr): Likewise.
1068 * nscd/hstcache.c (cache_addhst): Likewise.
1069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1070 * nscd/netgroupcache.c (do_notfound): Likewise.
1071 (addgetnetgrentX): Likewise.
1072 (addinnetgrX): Likewise.
1073 * nscd/pwdcache.c (cache_addpw): Likewise.
1074 * nscd/servicescache.c (cache_addserv): Likewise.
1075
10762014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1077 Atsushi Onoe <atsushi@onoe.org>
1078
1079 [BZ #14308]
1080 [BZ #12994]
1081 [BZ #13651]
1082 * resolv/res_query.c (__libc_res_nsearch): Return if at least
1083 one response is valid.
1084 * resolv/res_send.c (send_dg): Check for validity of other
1085 response if the current response is a referral.
1086
10872014-04-29 Steve Ellcey <sellcey@mips.com>
1088
1089 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1090
10912014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
1092
1093 [BZ #16823]
1094 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1095 Always divide by positive zero when computing -Inf result.
1096 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1097 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1098
10992014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1100
1101 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1102 FPSCR if value do not change.
1103 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1104 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1105 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1106 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1107 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1108 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1109 function.
1110
11112014-05-29 Carlos O'Donell <carlos@systemhalted.org>
1112
1113 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1114 * sysdeps/unix/sysv/linux/hppa: Move directory from
1115 ports/systeps/unix/sysv/linux/hppa.
1116 * README: Update listing for hppa-*-linux-gnu.
1117
11182014-04-28 Ondřej Bílka <neleai@seznam.cz>
1119
1120 [BZ #16754]
1121 * manual/stdio.texi (Hook functions): Fix types of stream hook
1122 functions.
1123 [BZ #16854]
1124 * socket/sys/socket.h: Fix typo in comment.
1125
11262014-04-28 Wilco <wdijkstr@arm.com>
1127
1128 * sysdeps/arm/fenv_private.h: New file.
1129 * sysdeps/arm/math_private.h: New file.
1130 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1131
11322014-04-25 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1135 with __int128_t.
1136 (La_x86_64_retval): Likewise.
1137
11382014-04-24 Ian Bolton <ian.bolton@arm.com>
1139
1140 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1141 fpsr if value didn't change.
1142 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1143 to fpcr if value didn't change.
1144 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1145 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1146 fpsr or fpcr if value didn't change.
1147 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1148 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1149 fpcr if value didn't change.
1150 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1151 to fpsr if value didn't change.
1152
11532014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1154
1155 * nptl/tst-sem3.c: Use test-skeleton.c
1156 (main): Rename to do_test. Use return instead of
1157 exit.
1158 * nptl/tst-sem4.c: Use test-skeleton.c
1159 (main): Rename to do_test.
1160
11612014-04-22 David S. Miller <davem@davemloft.net>
1162
1163 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1164 (struct sigaction): New struct member __glibc_reserved0, change
1165 type of sa_flags to int.
1166
11672014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
1168
1169 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1170 (COUNT_LEADING_ZEROS_0): Define for AArch64.
1171
11722014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
1174 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1175 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1176
11772014-04-22 Will Newton <will.newton@linaro.org>
1178 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
1179
1180 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1181 (__longjmp): Add longjmp and longjmp_target SystemTap
1182 probes.
1183 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1184 (__sigsetjmp): Add setjmp SystemTap probe.
1185
11862014-04-17 Carlos O'Donell <carlos@redhat.com>
1187
1188 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1189 match manual order.
1190
11912014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192
1193 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1194
1195 * sysdeps/powerpc/fpu/fenv_private.h
1196 (libc_feholdexcept_setroundl_ctx): Define to
1197 libc_feholdexcept_setround_ppc_ctx.
1198 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1199 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1200 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1201 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1202
12032014-04-17 Ian Bolton <ian.bolton@arm.com>
1204
1205 * sysdeps/aarch64/math-tests.h: New file.
1206
12072014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
1208
1209 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1210 New.
1211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1212 Check and set bit_AVX2_Usable.
1213 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1214 macro.
1215 (bit_AVX2): Likewise.
1216 (index_AVX2_Usable): Likewise.
1217 (CPUID_AVX2): Likewise.
1218 (HAS_AVX2): Likewise.
1219
12202014-04-17 Will Newton <will.newton@linaro.org>
1221
1222 * manual/setjmp.texi (System V contexts): Add note that
1223 calling setcontext on a context created by a call to a
1224 signal handler is undefined. Update text to note that
1225 setcontext from a signal handler is possible but not
1226 recommended.
1227
1228 [BZ #16629]
1229 * stdlib/tst-setcontext.c: Include signal.h.
1230 (main): Check that the signal stack before and
1231 after swapcontext is the same.
1232
1233 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1234 Re-implement to restore registers in user code and avoid
1235 rt_sigreturn system call.
1236
12372014-04-17 Wilco <wdijkstr@arm.com>
1238
1239 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1240 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1241 * math/test-fenv.c: Skip exception trap tests on targets which only
1242 support non-stop mode.
1243
12442014-04-17 Ian Bolton <ian.bolton@arm.com>
1245 Wilco Dijkstra <wilco.dijkstra@arm.com>
1246
1247 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1248 (libc_feholdsetround_aarch64_ctx)
1249 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1250 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1251 (libc_feresetround_ctx, libc_feresetroundf_ctx)
1252 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1253 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1254 (libc_feresetround_noexl_ctx): Define.
1255
12562014-04-16 Richard Henderson <rth@redhat.com>
1257
1258 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1259
1260 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1261 unwind tables.
1262
1263 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1264 const from the non-libc, non-ldso copy.
1265
1266 * sysdeps/alpha/libm-test-ulps: Regenerate.
1267
12682014-04-16 Ian Bolton <ian.bolton@arm.com>
1269 Wilco Dijkstra <wilco.dijkstra@arm.com>
1270
1271 * sysdeps/aarch64/fpu/math_private.h: New file.
1272
12732014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
1274
1275 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1276
12772014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
1278
1279 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1280 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1282 Intel MPX bound registers before _dl_profile_fixup.
1283 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1284 registers after _dl_profile_fixup. Save and restore bound
1285 registers bnd0/bnd1 when calling _dl_call_pltexit.
1286 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1287 (LR_BND_OFFSET): Likewise.
1288 (LRV_BND0_OFFSET): Likewise.
1289 (LRV_BND1_OFFSET): Likewise.
1290
12912014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1292
1293 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1294 to...
1295 * sysdeps/mach/hurd/i386/tls.h: ... here.
1296 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1297 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1298 fields.
1299
13002014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1301
1302 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1303
13042014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1305
1306 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1307
13082014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1309
1310 [BZ #14770]
1311 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1312 * sysdeps/s390/configure: Regenerate.
1313
1314 [BZ #16824]
1315 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1316 Set round-to-nearest internally to reduce error accumulation.
1317
13182014-04-16 Alan Modra <amodra@gmail.com>
1319
1320 [BZ #16740]
1321 [BZ #16619]
1322 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1323 * math/libm-test.inc (frexp_test_data): Add tests.
1324 * NEWS: Update fixed bug list.
1325
13262014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 * benchtests/Makefile: Depend on libraries in build directory.
1329 (bench-math): Separate out math tests.
1330 (bench-pthread): Separate out pthread tests.
1331 (bench): Include math and pthread tests.
1332
13332014-04-14 Carlos O'Donell <carlos@redhat.com>
1334
1335 [BZ #16831]
1336 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1337 _dl_debug_initialize.
1338
1339 * configure.ac: Remove SELinux header check.
1340 * configure: Regenerate.
1341 * nscd/selinux.c (perms): Array of const char* to permission names.
1342 (nscd_request_avc_has_perm): Call security_deny_unknown to find
1343 default policy. Call string_to_security_class and string_to_av_perm to
1344 translate strings. Enforce default policy and call avs_has_perm with
1345 results of translated strings.
1346
13472014-04-13 David S. Miller <davem@davemloft.net>
1348
1349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1350
13512014-04-12 Allan McRae <allan@archlinux.org>
1352
1353 [BZ #16838]
1354 * manual/string.texi (Collation Functions): Fix qsort argument
1355 order in example.
1356 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1357
13582014-04-11 Chris Metcalf <cmetcalf@tilera.com>
1359
1360 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1361 Make the test a no-op if there are no exceptions defined.
1362
13632014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1364
1365 * elf/Makefile (tests): make tst-dlopen-aout conditional on
1366 enable-hardcoded-path-in-tests
1367
13682014-04-11 Will Newton <will.newton@linaro.org>
1369
1370 * benchtests/Makefile (extra-objs): Add json-lib.o.
1371 (bench-func): Tidy up JSON output.
1372 * benchtests/bench-skeleton.c: Include json-lib.h.
1373 (main): Use JSON library functions to do output of
1374 benchmark results.
1375 * benchtests/bench-timing-type.c (main): Output the
1376 timing type simply, leaving formatting to the user.
1377 * benchtests/json-lib.c: New file.
1378 * benchtests/json-lib.h: Likewise.
1379
13802014-04-11 Torvald Riegel <triegel@redhat.com>
1381
1382 [BZ #15215]
1383 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1384 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
1385 memory barriers. Add comments.
1386 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1387 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1388 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1389 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1390 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1391 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1392
13932014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1394
1395 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1396 * sysdeps/s390/s390-64/configure.ac: ... this ...
1397 * sysdeps/s390/configure.ac: ... to here.
1398 * sysdeps/s390/s390-32/configure: Delete file.
1399 * sysdeps/s390/s390-64/configure: Delete file.
1400 * sysdeps/s390/configure: Regenerate.
1401
14022014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
1403
1404 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1405
14062014-04-11 Will Newton <will.newton@linaro.org>
1407
1408 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1409 to zero if it is not defined elsewhere. (mtrim): Test
1410 the value of MALLOC_DEBUG with #if rather than #ifdef.
1411
14122014-04-10 Torvald Riegel <triegel@redhat.com>
1413
1414 * benchtests/pthread_once-inputs: New file.
1415 * benchtests/pthread_once-source.c: New file.
1416 * benchtests/README: Update documentation.
1417
14182014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
1419 H.J. Lu <hongjiu.lu@intel.com>
1420
1421 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1422 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1423 * sysdeps/x86_64/configure: Regenerated.
1424 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1425 macro.
1426 (REGISTER_SAVE_RAX): Likewise.
1427 (REGISTER_SAVE_RCX): Likewise.
1428 (REGISTER_SAVE_RDX): Likewise.
1429 (REGISTER_SAVE_RSI): Likewise.
1430 (REGISTER_SAVE_RDI): Likewise.
1431 (REGISTER_SAVE_R8): Likewise.
1432 (REGISTER_SAVE_R9): Likewise.
1433 (REGISTER_SAVE_BND0): Likewise.
1434 (REGISTER_SAVE_BND1): Likewise.
1435 (REGISTER_SAVE_BND2): Likewise.
1436 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
1437 bound registers when calling _dl_fixup.
1438
14392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1440
1441 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1442 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1443 of its definition.
1444 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1445 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1446 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1447 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1448 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1449 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1450 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1451
14522014-04-09 Peter Brett <peter@peter-b.co.uk>
1453
1454 [BZ #15514]
1455 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1456 pathconf(_PC_NAME_MAX).
1457
14582014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1459
1460 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1461 Remove macro usage.
1462 (__PTHREAD_SPINS): Move definition to ...
1463 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1464 (__PTHREAD_SPINS): ... here.
1465 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1466 (__PTHREAD_SPIN): Likewise.
1467 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1468 (__PTHREAD_SPIN): Likewise.
1469 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1470 (__PTHREAD_SPIN): Likewise.
1471 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1472 (__PTHREAD_SPIN): Likewise.
1473 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1474 (__PTHREAD_SPIN): Likewise.
1475 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1476 (__PTHREAD_SPIN): Likewise.
1477 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1478 (__PTHREAD_SPIN): Likewise.
1479 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1480 (__PTHREAD_SPIN): Likewise.
1481 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1482 (__PTHREAD_SPIN): Likewise.
1483 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1484 (__PTHREAD_SPIN): Likewise.
1485 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1486 (__PTHREAD_SPIN): Likewise.
1487 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1488 (__PTHREAD_SPIN): Likewise.
1489
1490 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1491 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1492 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1493 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1494 imply folder.
1495 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1496 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1497 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1498 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1499 correct imply path.
1500 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1501 strlen symbol for non multi-arch builds.
1502 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1503 missing hidden_def and weak_alias.
1504
15052014-04-08 Carlos O'Donell <carlos@redhat.com>
1506
1507 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1508
15092014-04-07 Will Newton <will.newton@linaro.org>
1510
1511 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1512 and contents. [!_LIBC] Remove #ifndef and contents.
1513 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
1514 * string/memccpy.c (__memccpy): Use ANSI prototype.
1515 * string/memfrob.c (memfrob): Likewise.
1516 * string/strcoll.c (STRCOLL): Likewise.
1517 * string/strlen.c (strlen): Likewise.
1518 * string/strtok.c (STRTOK): Likewise.
1519 * string/strcat.c: Remove unused #include of memcopy.h.
1520 (strcat): Use ANSI prototype.
1521 * string/strchr.c: Remove unused #include of memcopy.h.
1522 (strchr): Use ANSI prototype.
1523 * string/strcmp.c: Remove unused #include of memcopy.h.
1524 (strcmp): Use ANSI prototype.
1525 * string/strcpy.c: Remove unused #include of memcopy.h.
1526 (strcpy): Use ANSI prototype.
1527
15282014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529
1530 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1531 * config.make.in (config-extra-cppflags): Set it from
1532 libc_extra_cppflags.
1533 * configure.ac (libc_extra_cflags): Make it accumulate over
1534 configure fragments.
1535 (libc_extra_cppflags): New flag.
1536 * configure. Regenerate.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1538 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1539 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1541
1542 [BZ #16815]
1543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1544 result for FE_DOWNWARD rounding mode.
1545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1546 Likewise.
1547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1548
15492014-04-04 Chris Metcalf <cmetcalf@tilera.com>
1550
1551 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1552 in function argument name.
1553
15542014-04-03 David Svoboda <svoboda@cert.org>
1555
1556 [BZ #5666]
1557 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1558 explicitly.
1559
15602014-04-03 Roland McGrath <roland@hack.frob.com>
1561
1562 * elf/dl-unmap-segments.h: New file.
1563 * sysdeps/generic/ldsodefs.h
1564 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1565 * elf/dl-close.c: Include <dl-unmap-segments.h>.
1566 * elf/dl-fptr.c: Likewise.
1567 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1568 * sysdeps/aarch64/tlsdesc.c: Likewise.
1569 * sysdeps/arm/tlsdesc.c: Likewise.
1570 * sysdeps/i386/tlsdesc.c: Likewise.
1571 * sysdeps/tile/dl-runtime.c: Likewise.
1572 * sysdeps/x86_64/tlsdesc.c: Likewise.
1573 * elf/dl-load.h: New file.
1574 * elf/dl-load.c: Include it.
1575 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1576 Macros moved to dl-load.h.
1577 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1578 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1579 Use _dl_unmap_segments in place of __munmap.
1580 Break out segment-mapping loop into ...
1581 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1582
15832014-04-03 Will Newton <will.newton@linaro.org>
1584
1585 * elf/dl-lookup.c (do_lookup_x): Remove comment
1586 referring to nested function and move variable
1587 declarations down to before first use.
1588
15892014-04-02 Joseph Myers <joseph@codesourcery.com>
1590
1591 [BZ #16799]
1592 [BZ #16800]
1593 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1594 with 0 numerator.
1595 * math/s_catanf.c (__catanf): Likewise.
1596 * math/s_catanh.c (__catanh): Likewise.
1597 * math/s_catanhf.c (__catanhf): Likewise.
1598 * math/s_catanhl.c (__catanhl): Likewise.
1599 * math/s_catanl.c (__catanl): Likewise.
1600 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1601 by positive zero when computing -Inf result.
1602 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1603 (catanh_test): Likewise.
1604 * sysdeps/i386/fpu/libm-test-ulps: Update.
1605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1606
1607 [BZ #16789]
1608 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1609 instead of using underflowing value in computing result.
1610 * math/s_clog10.c (__clog10): Likewise.
1611 * math/s_clog10f.c (__clog10f): Likewise.
1612 * math/s_clog10l.c (__clog10l): Likewise.
1613 * math/s_clogf.c (__clogf): Likewise.
1614 * math/s_clogl.c (__clogl): Likewise.
1615 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1616 (clog10_test): Likewise.
1617 * sysdeps/i386/fpu/libm-test-ulps: Update.
1618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1619
16202014-04-02 Alan Modra <amodra@gmail.com>
1621
1622 [BZ #16739]
1623 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1624 output when value is near a power of two. Use int64_t for lx and
1625 remove casts. Use decimal rather than hex exponent constants.
1626 Don't use long double multiplication when double will suffice.
1627 * math/libm-test.inc (nextafter_test_data): Add tests.
1628 * NEWS: Add 16739 and 16786 to bug list.
1629
1630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1631
1632 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1633
16342014-04-01 Will Newton <will.newton@linaro.org>
1635
1636 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1637 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1638
16392014-04-01 Florian Weimer <fweimer@redhat.com>
1640
1641 [BZ #13347]
1642 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1643 * nptl/tst-setuid2.c: New file.
1644 * nptl/Makefile (xtests): Add tst-setuid2.
1645
16462014-04-01 Alan Modra <amodra@gmail.com>
1647
1648 [BZ #16786]
1649 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1650
16512014-03-31 Joseph Myers <joseph@codesourcery.com>
1652
1653 [BZ #6803]
1654 [BZ #6804]
1655 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1656 set errno as appropriate.
1657 * math/w_scalbf.c (__scalbf): Likewise.
1658 * math/w_scalbl.c (__scalbl): Likewise.
1659 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1660 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1661 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1662 Add more NaN tests.
1663
1664 [BZ #16349]
1665 * math/w_atan2.c: Include <errno.h>.
1666 (__atan2): Set errno for result underflowing to zero.
1667 * math/w_atan2f.c: Include <errno.h>.
1668 (__atan2f): Set errno for result underflowing to zero.
1669 * math/w_atan2l.c: Include <errno.h>.
1670 (__atan2l): Set errno for result underflowing to zero.
1671 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1672 tests.
1673 * math/auto-libm-test-out: Regenerated.
1674
16752014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1678 Encode instruction correctly in little endian.
1679 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1680 Likewise.
1681 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1682 Likewise.
1683 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1684 Likewise.
1685 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1686 Likewise.
1687
16882014-03-31 Joseph Myers <joseph@codesourcery.com>
1689
1690 [BZ #9894]
1691 * sysdeps/unix/sysv/linux/kernel-features.h
1692 [__sparc__ && !__arch64__ && !__sparc_v9__]
1693 (__ASSUME_SET_ROBUST_LIST): Do not define.
1694 [__sparc__ && !__arch64__ && !__sparc_v9__]
1695 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1696 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1697 Likewise.
1698 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1699 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1700 (__ASSUME_REQUEUE_PI): Likewise.
1701 (__ASSUME_SET_ROBUST_LIST): Likewise.
1702 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1703 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1704 Undefine.
1705 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1706 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1707 Likewise.
1708 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1709 Likewise.
1710 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1711 Likewise.
1712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1713 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1714 Undefine.
1715 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1716 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1717 Likewise.
1718
1719 [BZ #16648]
1720 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1721 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1722 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1723
17242014-03-31 Will Newton <will.newton@linaro.org>
1725
1726 * benchtests/Makefile (bench): Add ffs and ffsll to list
1727 of tests.
1728 * benchtests/ffs-inputs: New file.
1729 * benchtests/ffsll-inputs: Likewise.
1730
17312014-03-29 Joseph Myers <joseph@codesourcery.com>
1732
1733 [BZ #16770]
1734 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1735 too large before casting to int.
1736 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1737 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1738 * math/libm-test.inc (scalb_test_data): Add more tests.
1739
17402014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1741
1742 * benchtests/Makefile (DETAILED_OPT): New make option.
1743 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1744 set.
1745 * benchtests/bench-skeleton.c: Include stdbool.h.
1746 (main): Store and print timings per input.
1747 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1748 member to each argument value.
1749 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1750 (_print_arg_data): Initialize per-input timing to 0.
1751
1752 * benchtests/Makefile (timing-type): New binary.
1753 (bench-clean): Also remove bench-timing-type.
1754 (bench): New target for timing-type.
1755 (bench-func): Print output in JSON format.
1756 * benchtests/bench-skeleton.c (main): Print output in JSON
1757 format.
1758 * benchtests/bench-timing-type.c: New file.
1759 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1760 (TIMING_PRINT_STATS): Remove.
1761 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1762 name separately.
1763
1764 * benchtests/bench-modf.c: Remove.
1765 * benchtests/modf-inputs: New inputs file.
1766
17672014-03-28 Joseph Myers <joseph@codesourcery.com>
1768
1769 [BZ #16362]
1770 * math/s_clog10.c (M_PI_LOG10E): New macro.
1771 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1772 imaginary parts are 0.
1773 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1774 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1775 imaginary parts are 0.
1776 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1777 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1778 imaginary parts are 0.
1779 * math/libm-test.inc (clog10_test_data): Update expected results
1780 for when real and imaginary parts are 0.
1781
17822014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1783
1784 * elf/dl-load.c: Finish conversion of __builtin_expect into
1785 __glibc_{un}likely.
1786
17872014-03-27 Joseph Myers <joseph@codesourcery.com>
1788
1789 [BZ #16348]
1790 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1791 1+x for argument with exponent below -67.
1792 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1793 Likewise.
1794 * math/auto-libm-test-in: Add more tests of exp.
1795 * math/auto-libm-test-out: Regenerated.
1796
17972014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1798
1799 [BZ #16759]
1800 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1801 (nscd_getnetgrent): Use it.
1802
1803 [BZ #16760]
1804 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1805 of stpcpy.
1806
18072014-03-27 Andi Kleen <ak@linux.intel.com>
1808
1809 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1810 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1811 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1812 (lll_robust_unlock): Remove out of line section. Use cfi
1813 intrinsics.
1814 (LLL_STUB_UNWIND_INFO*): Remove.
1815 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1816 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1817 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1818 (lll_robust_unlock): Remove out of line section. Use cfi
1819 intrinsics.
1820 (LLL_STUB_UNWIND_INFO*): Remove.
1821
18222014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1823
1824 [BZ #16758]
1825 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1826 blank values.
1827
18282014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1829
1830 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1831
18322014-03-26 Joseph Myers <joseph@codesourcery.com>
1833
1834 [BZ #16198]
1835 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1836 fnstenv.
1837 * math/test-fenv-preserve.c: New file.
1838 * math/Makefile (tests): Add test-fenv-preserve.
1839
18402014-03-26 Will Newton <will.newton@linaro.org>
1841
1842 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1843
18442014-03-25 Roland McGrath <roland@hack.frob.com>
1845
1846 * scripts/versionlist.awk: Partition the version sets and emit all
1847 GLIBC_* (sorted) before all others (sorted).
1848
18492014-03-25 Joseph Myers <joseph@codesourcery.com>
1850
1851 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1852 GLIBC_2.2.5 version.
1853
18542014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855
1856 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1857 calls.
1858
1859 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1860 previous change.
1861
1862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1863
18642014-03-25 Andreas Schwab <schwab@suse.de>
1865
1866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1867 label to be used after in6ailist is initialized.
1868
18692014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870
1871 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1872 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1873
18742014-03-25 Joseph Myers <joseph@codesourcery.com>
1875
1876 [BZ #16357]
1877 [BZ #16599]
1878 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1879 min_plus_half.
1880 (fp_formats): Update initializers.
1881 (init_fp_formats): Initialize new field.
1882 (output_for_one_input_case): Allow underflow for results up to
1883 min_plus_half.
1884 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1885 * math/auto-libm-test-in: Don't mark some underflows from asin and
1886 atanh as spurious.
1887 * math/auto-libm-test-out: Regenerated.
1888 * sysdeps/i386/fpu/libm-test-ulps: Update.
1889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1890
18912014-03-25 Andreas Schwab <schwab@suse.de>
1892
1893 * libio/Makefile (tst-ftell-partial-wide-ENV)
1894 (tst-ftell-active-handler-ENV): Define.
1895
18962014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1897
1898 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1899
19002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1901
1902 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1903
19042014-03-24 Joseph Myers <joseph@codesourcery.com>
1905
1906 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1907 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1908 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1909
19102014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1911
1912 [BZ #16634]
1913 * elf/dl-load.c (open_verify): Add mode parameter.
1914 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1915 (open_path): Change from boolean 'secure' to complete flag 'mode'
1916 (_dl_map_object): Adjust.
1917 * elf/Makefile (tests): Add tst-dlopen-aout.
1918 * elf/tst-dlopen-aout.c: New test.
1919
19202014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1921
1922 [BZ #16714]
1923 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1924 (struct stat): Rename member pad0 to __glibc_reserved0.
1925
1926 [BZ #16712]
1927 * sysdeps/s390/s390-32/bits/wordsize.h
1928 (__WORDSIZE32_SIZE_ULONG): New define.
1929 * sysdeps/s390/s390-64/bits/wordsize.h
1930 (__WORDSIZE32_SIZE_ULONG): Likewise.
1931 * sysdeps/generic/stdint.h (SIZE_MAX):
1932 Define as UL if __WORDSIZE32_SIZE_ULONG.
1933
1934 [BZ #16713]
1935 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1936 (__glibc_reserved0): New variable.
1937 (sa_flags): Change type to int.
1938
1939 * posix/Makefile (before-compile): Use += before-compile instead
1940 of a :=.
1941
1942 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1943 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1944
19452014-03-20 Andreas Schwab <schwab@suse.de>
1946
1947 [BZ #16743]
1948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1949 non-matching result from nscd.
1950
19512014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1952
1953 * scripts/bench.py: Moved to ...
1954 * benchtests/scripts/bench.py: ... here.
1955 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1956
19572014-03-24 Andreas Schwab <schwab@suse.de>
1958
1959 [BZ #16002]
1960 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1961 alloca_account and account alloca use for struct in6ailist.
1962
19632014-03-24 Joseph Myers <joseph@codesourcery.com>
1964
1965 [BZ #16284]
1966 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1967 rounding mode to recompute results that overflow to infinity or
1968 underflow to zero.
1969 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1970 bug 16284.
1971 * math/auto-libm-test-out: Regenerated.
1972 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1973 (ccosh_test): Likewise.
1974 (csin_test_data): Use plus_oflow.
1975 (csin_test): Use ALL_RM_TEST.
1976 (csinh_test_data): Use plus_oflow.
1977 (csinh_test): Use ALL_RM_TEST.
1978 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980
19812014-03-21 Joseph Myers <joseph@codesourcery.com>
1982
1983 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1984 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1985 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1986
1987 [BZ #16731]
1988 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1989 when x - 1 is zero.
1990 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1991 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1992 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1994 argument is 1.
1995 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1996 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1997 zero.
1998 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1999 * sysdeps/i386/fpu/libm-test-ulps: Update.
2000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2001
20022014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2003
2004 * scripts/bench.pl: Remove file.
2005 * scripts/bench.py: New benchmark script.
2006 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2007 * benchtests/README: Mention python dependency.
2008 * scripts/pylintrc: New file.
2009 * scripts/pylint: New file.
2010
2011 * bits/mathdef.h: Use #ifdef instead of #if.
2012 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2013 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2014 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2015 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2016 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2017 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2018
20192014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2021
2022 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2024 and strpbrk-ppc64 objects.
2025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2027 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2028 multiarch strpbrk for POWER7.
2029 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2030 multiarch strpbrk for PPC64.
2031 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2032 ifunc selector.
2033 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2034 strpbrk for POWER7.
2035
20362014-03-20 Joseph Myers <joseph@codesourcery.com>
2037
2038 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2039 (atan_test): Likewise.
2040 (atanh_test_data): Use NO_TEST_INLINE for two tests.
2041 (atanh_test): Use ALL_RM_TEST.
2042 (atan2_test_data): Likewise.
2043 (cabs_test): Likewise.
2044 (cacosh_test): Likewise.
2045 (carg_test): Likewise.
2046 (casin_test): Likewise.
2047 (casinh_test): Likewise.
2048 (cbrt_test): Likewise.
2049 (csqrt_test): Likewise.
2050 (erf_test): Likewise.
2051 (erfc_test): Likewise.
2052 (pow10_test): Likewise.
2053 (exp2_test): Likewise.
2054 (hypot_test): Likewise.
2055 (j0_test): Likewise.
2056 (j1_test): Likewise.
2057 (lgamma_test): Likewise.
2058 (gamma_test): Likewise.
2059 (sincos_test): Likewise.
2060 (tanh_test): Likewise.
2061 (y0_test): Likewise.
2062 (y1_test): Likewise.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
20662014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067
2068 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2070 and strcspn-ppc64 objects.
2071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2072 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2073 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2074 multiarch strcspn for POWER7.
2075 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2076 multiarch strcspn for PPC64.
2077 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2078 ifunc selector.
2079 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2080 strcspn for POWER7.
2081
20822014-03-20 Joseph Myers <joseph@codesourcery.com>
2083
2084 * math/gen-libm-test.pl (generate_testfile): Expect only function
2085 name as argument to AUTO_TESTS_* and pass results for all rounding
2086 modes to parse_args.
2087 (parse_auto_input): Separate inputs of automatic tests from
2088 outputs before storing in %auto_tests.
2089 * math/libm-test.inc (acos_test_data): Update call to
2090 AUTO_TESTS_f_f.
2091 (acos_test): Use ALL_RM_TEST.
2092 (acos_tonearest_test_data): Remove.
2093 (acos_test_tonearest): Likewise.
2094 (acos_towardzero_test_data): Likewise.
2095 (acos_test_towardzero): Likewise.
2096 (acos_downward_test_data): Likewise.
2097 (acos_test_downward): Likewise.
2098 (acos_upward_test_data): Likewise.
2099 (acos_test_upward): Likewise.
2100 (acosh_test_data): Update call to AUTO_TESTS_f_f.
2101 (asin_test_data): Likewise.
2102 (asin_test): Use ALL_RM_TEST.
2103 (asin_tonearest_test_data): Remove.
2104 (asin_test_tonearest): Likewise.
2105 (asin_towardzero_test_data): Likewise.
2106 (asin_test_towardzero): Likewise.
2107 (asin_downward_test_data): Likewise.
2108 (asin_test_downward): Likewise.
2109 (asin_upward_test_data): Likewise.
2110 (asin_test_upward): Likewise.
2111 (asinh_test_data): Update call to AUTO_TESTS_f_f.
2112 (atan_test_data): Likewise.
2113 (atanh_test_data): Likewise.
2114 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2115 (cabs_test_data): Update call to AUTO_TESTS_c_f.
2116 (carg_test_data): Likewise.
2117 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2118 (ccos_test_data): Update call to AUTO_TESTS_c_c.
2119 (ccosh_test_data): Likewise.
2120 (cexp_test_data): Likewise.
2121 (clog_test_data): Likewise.
2122 (clog10_test_data): Likewise.
2123 (cos_test_data): Update call to AUTO_TESTS_f_f.
2124 (cos_test): Use ALL_RM_TEST.
2125 (cos_tonearest_test_data): Remove.
2126 (cos_test_tonearest): Likewise.
2127 (cos_towardzero_test_data): Likewise.
2128 (cos_test_towardzero): Likewise.
2129 (cos_downward_test_data): Likewise.
2130 (cos_test_downward): Likewise.
2131 (cos_upward_test_data): Likewise.
2132 (cos_test_upward): Likewise.
2133 (cosh_test_data): Update call to AUTO_TESTS_f_f.
2134 (cosh_test): Use ALL_RM_TEST.
2135 (cosh_tonearest_test_data): Remove.
2136 (cosh_test_tonearest): Likewise.
2137 (cosh_towardzero_test_data): Likewise.
2138 (cosh_test_towardzero): Likewise.
2139 (cosh_downward_test_data): Likewise.
2140 (cosh_test_downward): Likewise.
2141 (cosh_upward_test_data): Likewise.
2142 (cosh_test_upward): Likewise.
2143 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2144 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2145 (ctan_test_data): Likewise.
2146 (ctan_test): Use ALL_RM_TEST.
2147 (ctan_tonearest_test_data): Remove.
2148 (ctan_test_tonearest): Likewise.
2149 (ctan_towardzero_test_data): Likewise.
2150 (ctan_test_towardzero): Likewise.
2151 (ctan_downward_test_data): Likewise.
2152 (ctan_test_downward): Likewise.
2153 (ctan_upward_test_data): Likewise.
2154 (ctan_test_upward): Likewise.
2155 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2156 (ctanh_test): Use ALL_RM_TEST.
2157 (ctanh_tonearest_test_data): Remove.
2158 (ctanh_test_tonearest): Likewise.
2159 (ctanh_towardzero_test_data): Likewise.
2160 (ctanh_test_towardzero): Likewise.
2161 (ctanh_downward_test_data): Likewise.
2162 (ctanh_test_downward): Likewise.
2163 (ctanh_upward_test_data): Likewise.
2164 (ctanh_test_upward): Likewise.
2165 (erf_test_data): Update call to AUTO_TESTS_f_f.
2166 (erfc_test_data): Likewise.
2167 (exp_test_data): Likewise.
2168 (exp_test): Use ALL_RM_TEST.
2169 (exp_tonearest_test_data): Remove.
2170 (exp_test_tonearest): Likewise.
2171 (exp_towardzero_test_data): Likewise.
2172 (exp_test_towardzero): Likewise.
2173 (exp_downward_test_data): Likewise.
2174 (exp_test_downward): Likewise.
2175 (exp_upward_test_data): Likewise.
2176 (exp_test_upward): Likewise.
2177 (exp10_test_data): Update call to AUTO_TESTS_f_f.
2178 (exp10_test): Use ALL_RM_TEST.
2179 (exp10_tonearest_test_data): Remove.
2180 (exp10_test_tonearest): Likewise.
2181 (exp10_towardzero_test_data): Likewise.
2182 (exp10_test_towardzero): Likewise.
2183 (exp10_downward_test_data): Likewise.
2184 (exp10_test_downward): Likewise.
2185 (exp10_upward_test_data): Likewise.
2186 (exp10_test_upward): Likewise.
2187 (exp2_test_data): Update call to AUTO_TESTS_f_f.
2188 (expm1_test_data): Likewise.
2189 (expm1_test): Use ALL_RM_TEST.
2190 (expm1_tonearest_test_data): Remove.
2191 (expm1_test_tonearest): Likewise.
2192 (expm1_towardzero_test_data): Likewise.
2193 (expm1_test_towardzero): Likewise.
2194 (expm1_downward_test_data): Likewise.
2195 (expm1_test_downward): Likewise.
2196 (expm1_upward_test_data): Likewise.
2197 (expm1_test_upward): Likewise.
2198 (fma_test_data): Update call to AUTO_TESTS_fff_f.
2199 (fma_test): Use ALL_RM_TEST.
2200 (fma_towardzero_test_data): Remove.
2201 (fma_test_towardzero): Likewise.
2202 (fma_downward_test_data): Likewise.
2203 (fma_test_downward): Likewise.
2204 (fma_upward_test_data): Likewise.
2205 (fma_test_upward): Likewise.
2206 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2207 (j0_test_data): Update call to AUTO_TESTS_f_f.
2208 (j1_test_data): Likewise.
2209 (jn_test_data): Update call to AUTO_TESTS_if_f.
2210 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2211 (log_test_data): Update call to AUTO_TESTS_f_f.
2212 (log10_test_data): Likewise.
2213 (log1p_test_data): Likewise.
2214 (log2_test_data): Likewise.
2215 (pow_test_data): Update call to AUTO_TESTS_ff_f.
2216 (pow_tonearest_test_data): Likewise.
2217 (sin_test_data): Update call to AUTO_TESTS_f_f.
2218 (sin_test): Use ALL_RM_TEST.
2219 (sin_tonearest_test_data): Remove.
2220 (sin_test_tonearest): Likewise.
2221 (sin_towardzero_test_data): Likewise.
2222 (sin_test_towardzero): Likewise.
2223 (sin_downward_test_data): Likewise.
2224 (sin_test_downward): Likewise.
2225 (sin_upward_test_data): Likewise.
2226 (sin_test_upward): Likewise.
2227 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2228 (sinh_test_data): Update call to AUTO_TESTS_f_f.
2229 (sinh_test): Use ALL_RM_TEST.
2230 (sinh_tonearest_test_data): Remove.
2231 (sinh_test_tonearest): Likewise.
2232 (sinh_towardzero_test_data): Likewise.
2233 (sinh_test_towardzero): Likewise.
2234 (sinh_downward_test_data): Likewise.
2235 (sinh_test_downward): Likewise.
2236 (sinh_upward_test_data): Likewise.
2237 (sinh_test_upward): Likewise.
2238 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2239 (sqrt_test): Use ALL_RM_TEST.
2240 (sqrt_tonearest_test_data): Remove.
2241 (sqrt_test_tonearest): Likewise.
2242 (sqrt_towardzero_test_data): Likewise.
2243 (sqrt_test_towardzero): Likewise.
2244 (sqrt_downward_test_data): Likewise.
2245 (sqrt_test_downward): Likewise.
2246 (sqrt_upward_test_data): Likewise.
2247 (sqrt_test_upward): Likewise.
2248 (tan_test_data): Update call to AUTO_TESTS_f_f.
2249 (tan_test): Use ALL_RM_TEST.
2250 (tan_tonearest_test_data): Remove.
2251 (tan_test_tonearest): Likewise.
2252 (tan_towardzero_test_data): Likewise.
2253 (tan_test_towardzero): Likewise.
2254 (tan_downward_test_data): Likewise.
2255 (tan_test_downward): Likewise.
2256 (tan_upward_test_data): Likewise.
2257 (tan_test_upward): Likewise.
2258 (tanh_test_data): Update call to AUTO_TESTS_f_f.
2259 (tgamma_test_data): Likewise.
2260 (y0_test_data): Likewise.
2261 (y1_test_data): Likewise.
2262 (yn_test_data): Update call to AUTO_TESTS_if_f.
2263 (main): Do not call removed functions.
2264
22652014-03-19 Joseph Myers <joseph@codesourcery.com>
2266
2267 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2268 (ldexp_test_data): Remove.
2269 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
2270 scalbn_test_data.
2271 (scalb_test): Use ALL_RM_TEST.
2272
22732014-03-19 Andreas Schwab <schwab@suse.de>
2274
2275 * nscd/nscd.service: Also invalidate netgroup cache on reload.
2276
22772014-03-19 Joseph Myers <joseph@codesourcery.com>
2278
2279 [BZ #16649]
2280 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2281 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2282 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2283 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2284 (__ASSUME_PREADV): Undefine.
2285 (__ASSUME_PWRITEV): Likewise.
2286
22872014-03-18 Roland McGrath <roland@hack.frob.com>
2288
2289 * bits/mman-linux.h: Add comment about non-Linux use.
2290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2291 bits/mman-linux.h resting place.
2292
2293 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2294 * bits/mman-linux.h: ... here.
2295
22962014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2297
2298 * conform/conformtest.pl: Add standard definition when calling C
2299 preprocessor on data files.
2300 (checknamespace): Remove unused variable.
2301
23022014-03-18 Joseph Myers <joseph@codesourcery.com>
2303
2304 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2305 minus_oflow, plus_uflow and minus_uflow in expected results.
2306 * math/libm-test.inc (scalbn_test_data): Add more tests of
2307 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
2308 minus_uflow.
2309 (scalbn_test): Use ALL_RM_TEST.
2310 (scalbln_test_data): Add more tests of negative arguments. Use
2311 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2312 (scalbln_test): Use ALL_RM_TEST.
2313
23142014-03-18 Roland McGrath <roland@hack.frob.com>
2315
2316 * scripts/abilist.awk: Ignore symbols marked with .hidden.
2317
23182014-03-18 Will Newton <will.newton@linaro.org>
2319
2320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2321 inaccurate comment.
2322
23232014-03-18 Joseph Myers <joseph@codesourcery.com>
2324
2325 * Makerules [!subdir] (check-abi): Exit with error status if a
2326 test failed.
2327
23282014-03-17 Joseph Myers <joseph@codesourcery.com>
2329
2330 * math/libm-test.inc (nearbyint_test_data): Include all tests used
2331 for rint. Include results for all rounding modes.
2332 (nearbyint_test): Use ALL_RM_TEST.
2333 (rint_test_data): Include all tests used for nearbyint.
2334
23352014-03-17 Will Newton <will.newton@linaro.org>
2336
2337 * nptl/sysdeps/pthread/pthread.h: Revert previous
2338 change.
2339
2340 * sysdeps/generic/ldsodefs.h: Revert previous
2341 change.
2342
2343 * libio/genops.c: Revert previous change.
2344 * libio/libioP.h: Likewise.
2345 * stdio-common/vfprintf.c: Likewise.
2346
2347 * sysdeps/generic/math_private.h: Revert previous
2348 change.
2349
2350 * sysdeps/generic/math_private.h: Check whether
2351 HAVE_RM_CTX is defined with #ifdef rather
2352 than #if.
2353
2354 * argp/argp-fmtstream.h: Check whether
2355 __STRICT_ANSI__ is defined with #ifdef rather
2356 than #if.
2357 * argp/argp.h: Likewise.
2358
2359 * libio/genops.c: Check whether
2360 _IO_JUMPS_OFFSET is defined with #ifdef rather
2361 than #if.
2362 * libio/libioP.h: Likewise.
2363 * stdio-common/vfprintf.c: Likewise.
2364
2365 * sysdeps/generic/ldsodefs.h: Check whether
2366 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2367 than #if.
2368
2369 * nptl/sysdeps/pthread/pthread.h: Check
2370 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2371 its value.
2372
23732014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2374
2375 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2376 setting O_APPEND.
2377 * libio/tst-ftell-active-handler.c (do_append_test): Add a
2378 test case.
2379
2380 [BZ #16680]
2381 * libio/fileops.c (_IO_file_open): Seek to end of file but
2382 don't cache the offset.
2383 (get_file_offset): Remove function.
2384 (do_ftell): Use cached offset when available.
2385 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2386 don't cache the offset.
2387 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2388 case.
2389 (do_one_test): Call it.
2390 (do_ftell_test): Fix up expected old offset for a+ mode.
2391 * libio/wfileops.c (do_ftell_wide): Used cached offset when
2392 available.
2393
2394 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2395 up test status with function return status.
2396 (do_write_test): Likewise.
2397 (do_append_test): Likewise.
2398
2399 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2400 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2401 Remove.
2402
24032014-03-17 Joseph Myers <joseph@codesourcery.com>
2404
2405 * math/gen-libm-test.pl (parse_args): Handle results specified for
2406 each rounding mode separately.
2407 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2408 tests and results from lrint_tonearest_test_data,
2409 lrint_towardzero_test_data, lrint_downward_test_data and
2410 lrint_upward_test_data.
2411 (lrint_test): Use ALL_RM_TEST.
2412 (lrint_tonearest_test_data): Remove.
2413 (lrint_test_tonearest): Likewise.
2414 (lrint_towardzero_test_data): Likewise.
2415 (lrint_test_towardzero): Likewise.
2416 (lrint_downward_test_data): Likewise.
2417 (lrint_test_downward): Likewise.
2418 (lrint_upward_test_data): Likewise.
2419 (lrint_test_upward): Likewise.
2420 (llrint_test_data): Merge in per-rounding-mode tests and results
2421 from llrint_tonearest_test_data, llrint_towardzero_test_data,
2422 llrint_downward_test_data and llrint_upward_test_data.
2423 (llrint_test): Use ALL_RM_TEST.
2424 (llrint_tonearest_test_data): Remove.
2425 (llrint_test_tonearest): Likewise.
2426 (llrint_towardzero_test_data): Likewise.
2427 (llrint_test_towardzero): Likewise.
2428 (llrint_downward_test_data): Likewise.
2429 (llrint_test_downward): Likewise.
2430 (llrint_upward_test_data): Likewise.
2431 (llrint_test_upward): Likewise.
2432 (rint_test_data): Merge in per-rounding-mode tests and results
2433 from rint_tonearest_test_data, rint_towardzero_test_data,
2434 rint_downward_test_data and rint_upward_test_data. Add
2435 per-rounding-mode results for tests not in those arrays.
2436 (rint_test): Use ALL_RM_TEST.
2437 (rint_tonearest_test_data): Remove.
2438 (rint_test_tonearest): Likewise.
2439 (rint_towardzero_test_data): Likewise.
2440 (rint_test_towardzero): Likewise.
2441 (rint_downward_test_data): Likewise.
2442 (rint_test_downward): Likewise.
2443 (rint_upward_test_data): Likewise.
2444 (rint_test_upward): Likewise.
2445 (main): Don't call removed functions.
2446
24472014-03-14 Roland McGrath <roland@hack.frob.com>
2448
2449 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2450 "Compiled on ..." crapola. It is anti-useful.
2451
24522014-03-14 Joseph Myers <joseph@codesourcery.com>
2453
2454 * scripts/evaluate-test.sh: Handle fourth argument to determine
2455 whether test run should stop on failure.
2456 * Makeconfig (stop-on-test-failure): New variable.
2457 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2458 $(stop-on-test-failure).
2459 * Makefile (tests): Give a summary of results from testing and
2460 exit with failure status if they include an ERROR or FAIL.
2461 (xtests): Likewise.
2462 * manual/install.texi (Configuring and compiling): Mention
2463 stop-on-test-failure=y.
2464 * INSTALL: Regenerated.
2465
24662014-03-14 Roland McGrath <roland@hack.frob.com>
2467
2468 * scripts/versionlist.awk: New file.
2469 * Makerules [$(build-shared) = yes]
2470 (postclean-generated): Add Versions.def, not Versions.def.v and
2471 Versions.def.v.i.
2472 ($(common-objpfx)Versions.def.v.i): Target removed.
2473 ($(common-objpfx)Versions.def): New target.
2474 ($(common-objpfx)Versions.all): Depend on that rather that
2475 $(common-objpfx)Versions.def.v.
2476 * Versions.def: File removed.
2477
2478 * Makeconfig (+gccwarn): Add -Wundef.
2479 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2480 a dl-sysdep.h breaking its contract.
2481 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2482 * include/stackinfo.h: New file.
2483 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2484 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2485 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2486 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2487 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2488 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2489 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2490 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2491 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2492 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2493 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2494 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2495 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2496 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2497 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2498
24992014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500
2501 [BZ #16707]
2502 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2503 implementation.
2504 * math/libm-test.inc (round_test_data): Add more tests.
2505
2506 [BZ #16706]
2507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2508 implementation.
2509 * math/libm-test.inc (nearbyint_test_data): Add more tests.
2510
2511 [BZ #16701]
2512 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2513 implementation.
2514 * math/libm-test.inc (ceil_test_data): Add more tests.
2515
2516 * math/libm-test.inc (trunc_test_data): Add more tests related to
2517 BZ#16414.
2518
25192014-03-14 Roland McGrath <roland@hack.frob.com>
2520
2521 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2522 with #if rather than #ifdef.
2523 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2524
25252014-03-14 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2528 first. Disable AVX-512 GCC support if assembler doesn't support
2529 it.
2530 * sysdeps/x86_64/configure: Regenerated.
2531
25322014-03-13 Carlos O'Donell <carlos@redhat.com>
2533
2534 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2535 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2536 (__old_pthread_attr_setstack): Likewise.
2537 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2538 [!_STACK_GROWS_DOWN]: Likewise.
2539
25402014-03-13 Mike Frysinger <vapier@gentoo.org>
2541
2542 * config.make.in (have-bash2): Delete.
2543 * configure.ac (libc_cv_have_bash2): Delete.
2544 * configure: Regenerate.
2545 * elf/Makefile (common-ldd-rewrite): Rename to ...
2546 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
2547 (sh-ldd-rewrite): Delete.
2548 (bash-ldd-rewrite): Delete.
2549 (have-bash2): Delete checks.
2550 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2551 ldd-rewrite.
2552
2553 * config.make.in (have-ksh): Delete.
2554 (KSH): Delete.
2555 * configure.ac (libc_cv_have_ksh): Delete.
2556 * configure: Regenerate.
2557
2558 * elf/Makefile: Delete $(have-ksh) check.
2559 ($(objpfx)sotruss): Change KSH to BASH.
2560 * elf/sotruss.ksh: Rename to ...
2561 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
2562 function style to match POSIX. Drop ksh vim mode setting.
2563
2564 * manual/time.texi (Specifying the Time Zone with TZ): Change
2565 Tuesday to Thursday.
2566
2567 * debug/tst-longjmp_chk2.c: Update header comment.
2568 (stackoverflow_handler): Add comment. Call assert on pass value.
2569
25702014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
2571
2572 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2573 (HAVE_AVX512_ASM_SUPPORT): Likewise.
2574 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2575 (La_x86_64_vector): Add zmm.
2576 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2577 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2578 ($(objpfx)tst-audit10): New target.
2579 ($(objpfx)tst-audit10.out): Likewise.
2580 (tst-audit10-ENV): New.
2581 (AVX512-CFLAGS): Likewise.
2582 (CFLAGS-tst-audit10.c): Likewise.
2583 (CFLAGS-tst-auditmod10a.c): Likewise.
2584 (CFLAGS-tst-auditmod10b.c): Likewise.
2585 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2586 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2587 * sysdeps/x86_64/configure: Regenerated.
2588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2589 AVX-512 zmm register support.
2590 (_dl_x86_64_save_sse): Likewise.
2591 (_dl_x86_64_restore_sse): Likewise.
2592 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2593 size vector registers.
2594 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2595 (ZMM_SIZE): Likewise.
2596 * sysdeps/x86_64/tst-audit10.c: New file.
2597 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2598 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2599
26002014-03-13 Roland McGrath <roland@hack.frob.com>
2601
2602 * configure.ac (HAVE_EHDR_START): New check.
2603 * configure: Regenerated.
2604 * config.h.in (HAVE_EHDR_START): New #undef.
2605 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2606 assuming the lowest-addressed segment maps the start of the file.
2607
26082014-03-13 Joseph Myers <joseph@codesourcery.com>
2609
2610 * INSTALL: Regenerated.
2611
26122014-03-13 Will Newton <will.newton@linaro.org>
2613
2614 * manual/setjmp.texi (System V contexts): Improve
2615 clarity and grammar of documentation.
2616
26172014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2618
2619 [BZ #16381]
2620 * elf/Makefile (tests): Add tst-pie2.
2621 (tests-pie): Add tst-pie2.
2622 * elf/tst-pie2.c: New file.
2623 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2624 for ET_EXEC.
2625 * elf/rtld.c (map_doit): Load executable as lt_executable.
2626 (dl_main): Likewise.
2627
26282014-03-12 Joseph Myers <joseph@codesourcery.com>
2629
2630 [BZ #16642]
2631 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2632 (__ASSUME_PSELECT): Undefine.
2633
26342014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2635
2636 [BZ #16689]
2637 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2638 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2639 static build.
2640 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2641 selector for static builds.
2642
26432014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2644
2645 [BZ #16695]
2646 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2647 key in the buffer.
2648
26492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650
2651 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2652 IFUNC selector for static builds.
2653
26542014-03-11 Joseph Myers <joseph@codesourcery.com>
2655
2656 * sysdeps/mips/math_private.h [__mips_hard_float]
2657 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2658 libc_feresetround_mips_ctx.
2659 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2660 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2661 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2662
2663 [BZ #16677]
2664 * math/s_nextafter.c (__nextafter): Do not return value from
2665 overflowing computation.
2666 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2667 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2668 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2669 Likewise.
2670 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2671 Likewise.
2672 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2673 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2674
26752014-03-11 Roland McGrath <roland@hack.frob.com>
2676
2677 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2678 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2679 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2680 the new mov targetting sp.
2681
26822014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683
2684 [BZ #16683]
2685 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2686 Define it for static builds as well.
2687 (NO_BZERO_IMPL): Likewise.
2688
26892014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2690
2691 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2692 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2693 multiarch strspn for PPC64.
2694 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2695 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2697 (__libc_ifunc_impl_list): Likewise.
2698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2699 multiarch optimizations
2700 * string/strspn.c (strspn): Using macro to redefine symbol name.
2701
27022014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2703 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2704
2705 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2706 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2707 multiarch strncat for PPC64.
2708 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2709 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2711 (__libc_ifunc_impl_list): Likewise.
2712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2713 multiarch optimizations
2714
27152014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2716
2717 [BZ #16639]
2718 * nscd/nscd.service: Make service type forking.
2719
27202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721
2722 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2723 sign in non default rounding modes.
2724 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2725
27262014-03-08 Joseph Myers <joseph@codesourcery.com>
2727
2728 * math/libm-test.inc (ALL_RM_TEST): New macro.
2729 (ceil_test): Use ALL_RM_TEST.
2730 (cimag_test): Likewise.
2731 (conj_test): Likewise.
2732 (copysign_test): Likewise.
2733 (cproj_test): Likewise.
2734 (creal_test): Likewise.
2735 (fabs_test): Likewise.
2736 (floor_test): Likewise.
2737 (fmax_test): Likewise.
2738 (fmin_test): Likewise.
2739 (fmod_test): Likewise.
2740 (fpclassify_test): Likewise.
2741 (frexp_test): Likewise.
2742 (ilogb_test): Likewise.
2743 (isfinite_test): Likewise.
2744 (finite_test): Likewise.
2745 (isgreater_test): Likewise.
2746 (isgreaterequal_test): Likewise.
2747 (isinf_test): Likewise.
2748 (isless_test): Likewise.
2749 (islessequal_test): Likewise.
2750 (islessgreater_test): Likewise.
2751 (isnan_test): Likewise.
2752 (isnormal_test): Likewise.
2753 (issignaling_test): Likewise.
2754 (isunordered_test): Likewise.
2755 (logb_test): Likewise.
2756 (logb_downward_test_data): Remove.
2757 (logb_test_downward): Likewise.
2758 (lround_test): Use ALL_RM_TEST.
2759 (llround_test): Likewise.
2760 (modf_test): Likewise.
2761 (nexttoward_test): Likewise.
2762 (remainder_test): Likewise.
2763 (drem_test): Likewise.
2764 (remainder_tonearest_test_data): Likewise.
2765 (remainder_test_tonearest): Likewise.
2766 (drem_test_tonearest): Likewise.
2767 (remainder_towardzero_test_data): Likewise.
2768 (remainder_test_towardzero): Likewise.
2769 (drem_test_towardzero): Likewise.
2770 (remainder_downward_test_data): Likewise.
2771 (remainder_test_downward): Likewise.
2772 (drem_test_downward): Likewise.
2773 (remainder_upward_test_data): Likewise.
2774 (remainder_test_upward): Likewise.
2775 (drem_test_upward): Likewise.
2776 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2777 (round_test): Use ALL_RM_TEST.
2778 (signbit_test): Likewise.
2779 (trunc_test): Likewise.
2780 (significand_test): Likewise.
2781 (main): Don't call removed functions.
2782
27832014-03-07 Joseph Myers <joseph@codesourcery.com>
2784
2785 [BZ #16674]
2786 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2787 || __USE_XOPEN2K8].
2788 (ILL_ILLOPN): Likewise.
2789 (ILL_ILLADR): Likewise.
2790 (ILL_ILLTRP): Likewise.
2791 (ILL_PRVOPC): Likewise.
2792 (ILL_PRVREG): Likewise.
2793 (ILL_COPROC): Likewise.
2794 (ILL_BADSTK): Likewise.
2795 (FPE_INTDIV): Likewise.
2796 (FPE_INTOVF): Likewise.
2797 (FPE_FLTDIV): Likewise.
2798 (FPE_FLTOVF): Likewise.
2799 (FPE_FLTUND): Likewise.
2800 (FPE_FLTRES): Likewise.
2801 (FPE_FLTINV): Likewise.
2802 (FPE_FLTSUB): Likewise.
2803 (SEGV_MAPERR): Likewise.
2804 (SEGV_ACCERR): Likewise.
2805 (BUS_ADRALN): Likewise.
2806 (BUS_ADRERR): Likewise.
2807 (BUS_OBJERR): Likewise.
2808 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2809 (TRAP_TRACE): Likewise.
2810 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2811 __USE_XOPEN2K8].
2812 (CLD_KILLED): Likewise.
2813 (CLD_DUMPED): Likewise.
2814 (CLD_TRAPPED): Likewise.
2815 (CLD_STOPPED): Likewise.
2816 (CLD_CONTINUED): Likewise.
2817 (POLL_IN): Likewise.
2818 (POLL_OUT): Likewise.
2819 (POLL_MSG): Likewise.
2820 (POLL_ERR): Likewise.
2821 (POLL_PRI): Likewise.
2822 (POLL_HUP): Likewise.
2823 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2824 Likewise.
2825 (ILL_ILLOPN): Likewise.
2826 (ILL_ILLADR): Likewise.
2827 (ILL_ILLTRP): Likewise.
2828 (ILL_PRVOPC): Likewise.
2829 (ILL_PRVREG): Likewise.
2830 (ILL_COPROC): Likewise.
2831 (ILL_BADSTK): Likewise.
2832 (FPE_INTDIV): Likewise.
2833 (FPE_INTOVF): Likewise.
2834 (FPE_FLTDIV): Likewise.
2835 (FPE_FLTOVF): Likewise.
2836 (FPE_FLTUND): Likewise.
2837 (FPE_FLTRES): Likewise.
2838 (FPE_FLTINV): Likewise.
2839 (FPE_FLTSUB): Likewise.
2840 (SEGV_MAPERR): Likewise.
2841 (SEGV_ACCERR): Likewise.
2842 (BUS_ADRALN): Likewise.
2843 (BUS_ADRERR): Likewise.
2844 (BUS_OBJERR): Likewise.
2845 (BUS_MCEERR_AR): Likewise.
2846 (BUS_MCEERR_AO): Likewise.
2847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2848 (TRAP_TRACE): Likewise.
2849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2850 __USE_XOPEN2K8].
2851 (CLD_KILLED): Likewise.
2852 (CLD_DUMPED): Likewise.
2853 (CLD_TRAPPED): Likewise.
2854 (CLD_STOPPED): Likewise.
2855 (CLD_CONTINUED): Likewise.
2856 (POLL_IN): Likewise.
2857 (POLL_OUT): Likewise.
2858 (POLL_MSG): Likewise.
2859 (POLL_ERR): Likewise.
2860 (POLL_PRI): Likewise.
2861 (POLL_HUP): Likewise.
2862 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2863 (ILL_ILLOPN): Likewise.
2864 (ILL_ILLADR): Likewise.
2865 (ILL_ILLTRP): Likewise.
2866 (ILL_PRVOPC): Likewise.
2867 (ILL_PRVREG): Likewise.
2868 (ILL_COPROC): Likewise.
2869 (ILL_BADSTK): Likewise.
2870 (FPE_INTDIV): Likewise.
2871 (FPE_INTOVF): Likewise.
2872 (FPE_FLTDIV): Likewise.
2873 (FPE_FLTOVF): Likewise.
2874 (FPE_FLTUND): Likewise.
2875 (FPE_FLTRES): Likewise.
2876 (FPE_FLTINV): Likewise.
2877 (FPE_FLTSUB): Likewise.
2878 (SEGV_MAPERR): Likewise.
2879 (SEGV_ACCERR): Likewise.
2880 (BUS_ADRALN): Likewise.
2881 (BUS_ADRERR): Likewise.
2882 (BUS_OBJERR): Likewise.
2883 (BUS_MCEERR_AR): Likewise.
2884 (BUS_MCEERR_AO): Likewise.
2885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2886 (TRAP_TRACE): Likewise.
2887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2888 __USE_XOPEN2K8].
2889 (CLD_KILLED): Likewise.
2890 (CLD_DUMPED): Likewise.
2891 (CLD_TRAPPED): Likewise.
2892 (CLD_STOPPED): Likewise.
2893 (CLD_CONTINUED): Likewise.
2894 (POLL_IN): Likewise.
2895 (POLL_OUT): Likewise.
2896 (POLL_MSG): Likewise.
2897 (POLL_ERR): Likewise.
2898 (POLL_PRI): Likewise.
2899 (POLL_HUP): Likewise.
2900 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2901 Likewise.
2902 (ILL_ILLOPN): Likewise.
2903 (ILL_ILLADR): Likewise.
2904 (ILL_ILLTRP): Likewise.
2905 (ILL_PRVOPC): Likewise.
2906 (ILL_PRVREG): Likewise.
2907 (ILL_COPROC): Likewise.
2908 (ILL_BADSTK): Likewise.
2909 (ILL_BADIADDR): Likewise.
2910 (ILL_BREAK): Likewise.
2911 (FPE_INTDIV): Likewise.
2912 (FPE_INTOVF): Likewise.
2913 (FPE_FLTDIV): Likewise.
2914 (FPE_FLTOVF): Likewise.
2915 (FPE_FLTUND): Likewise.
2916 (FPE_FLTRES): Likewise.
2917 (FPE_FLTINV): Likewise.
2918 (FPE_FLTSUB): Likewise.
2919 (FPE_DECOVF): Likewise.
2920 (FPE_DECDIV): Likewise.
2921 (FPE_DECERR): Likewise.
2922 (FPE_INVASC): Likewise.
2923 (FPE_INVDEC): Likewise.
2924 (SEGV_MAPERR): Likewise.
2925 (SEGV_ACCERR): Likewise.
2926 (SEGV_PSTKOVF): Likewise.
2927 (BUS_ADRALN): Likewise.
2928 (BUS_ADRERR): Likewise.
2929 (BUS_OBJERR): Likewise.
2930 (BUS_MCEERR_AR): Likewise.
2931 (BUS_MCEERR_AO): Likewise.
2932 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2933 (TRAP_TRACE): Likewise.
2934 (TRAP_BRANCH): Likewise.
2935 (TRAP_HWBKPT): Likewise.
2936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2937 __USE_XOPEN2K8].
2938 (CLD_KILLED): Likewise.
2939 (CLD_DUMPED): Likewise.
2940 (CLD_TRAPPED): Likewise.
2941 (CLD_STOPPED): Likewise.
2942 (CLD_CONTINUED): Likewise.
2943 (POLL_IN): Likewise.
2944 (POLL_OUT): Likewise.
2945 (POLL_MSG): Likewise.
2946 (POLL_ERR): Likewise.
2947 (POLL_PRI): Likewise.
2948 (POLL_HUP): Likewise.
2949 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2950 (ILL_ILLOPN): Likewise.
2951 (ILL_ILLADR): Likewise.
2952 (ILL_ILLTRP): Likewise.
2953 (ILL_PRVOPC): Likewise.
2954 (ILL_PRVREG): Likewise.
2955 (ILL_COPROC): Likewise.
2956 (ILL_BADSTK): Likewise.
2957 (FPE_INTDIV): Likewise.
2958 (FPE_INTOVF): Likewise.
2959 (FPE_FLTDIV): Likewise.
2960 (FPE_FLTOVF): Likewise.
2961 (FPE_FLTUND): Likewise.
2962 (FPE_FLTRES): Likewise.
2963 (FPE_FLTINV): Likewise.
2964 (FPE_FLTSUB): Likewise.
2965 (SEGV_MAPERR): Likewise.
2966 (SEGV_ACCERR): Likewise.
2967 (BUS_ADRALN): Likewise.
2968 (BUS_ADRERR): Likewise.
2969 (BUS_OBJERR): Likewise.
2970 (BUS_MCEERR_AR): Likewise.
2971 (BUS_MCEERR_AO): Likewise.
2972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2973 (TRAP_TRACE): Likewise.
2974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2975 __USE_XOPEN2K8].
2976 (CLD_KILLED): Likewise.
2977 (CLD_DUMPED): Likewise.
2978 (CLD_TRAPPED): Likewise.
2979 (CLD_STOPPED): Likewise.
2980 (CLD_CONTINUED): Likewise.
2981 (POLL_IN): Likewise.
2982 (POLL_OUT): Likewise.
2983 (POLL_MSG): Likewise.
2984 (POLL_ERR): Likewise.
2985 (POLL_PRI): Likewise.
2986 (POLL_HUP): Likewise.
2987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2988 (ILL_ILLOPN): Likewise.
2989 (ILL_ILLADR): Likewise.
2990 (ILL_ILLTRP): Likewise.
2991 (ILL_PRVOPC): Likewise.
2992 (ILL_PRVREG): Likewise.
2993 (ILL_COPROC): Likewise.
2994 (ILL_BADSTK): Likewise.
2995 (FPE_INTDIV): Likewise.
2996 (FPE_INTOVF): Likewise.
2997 (FPE_FLTDIV): Likewise.
2998 (FPE_FLTOVF): Likewise.
2999 (FPE_FLTUND): Likewise.
3000 (FPE_FLTRES): Likewise.
3001 (FPE_FLTINV): Likewise.
3002 (FPE_FLTSUB): Likewise.
3003 (SEGV_MAPERR): Likewise.
3004 (SEGV_ACCERR): Likewise.
3005 (BUS_ADRALN): Likewise.
3006 (BUS_ADRERR): Likewise.
3007 (BUS_OBJERR): Likewise.
3008 (BUS_MCEERR_AR): Likewise.
3009 (BUS_MCEERR_AO): 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/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3026 (ILL_ILLOPN): Likewise.
3027 (ILL_ILLADR): Likewise.
3028 (ILL_ILLTRP): Likewise.
3029 (ILL_PRVOPC): Likewise.
3030 (ILL_PRVREG): Likewise.
3031 (ILL_COPROC): Likewise.
3032 (ILL_BADSTK): Likewise.
3033 (FPE_INTDIV): Likewise.
3034 (FPE_INTOVF): Likewise.
3035 (FPE_FLTDIV): Likewise.
3036 (FPE_FLTOVF): Likewise.
3037 (FPE_FLTUND): Likewise.
3038 (FPE_FLTRES): Likewise.
3039 (FPE_FLTINV): Likewise.
3040 (FPE_FLTSUB): Likewise.
3041 (SEGV_MAPERR): Likewise.
3042 (SEGV_ACCERR): Likewise.
3043 (BUS_ADRALN): Likewise.
3044 (BUS_ADRERR): Likewise.
3045 (BUS_OBJERR): Likewise.
3046 (BUS_MCEERR_AR): Likewise.
3047 (BUS_MCEERR_AO): Likewise.
3048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3049 (TRAP_TRACE): Likewise.
3050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3051 __USE_XOPEN2K8].
3052 (CLD_KILLED): Likewise.
3053 (CLD_DUMPED): Likewise.
3054 (CLD_TRAPPED): Likewise.
3055 (CLD_STOPPED): Likewise.
3056 (CLD_CONTINUED): Likewise.
3057 (POLL_IN): Likewise.
3058 (POLL_OUT): Likewise.
3059 (POLL_MSG): Likewise.
3060 (POLL_ERR): Likewise.
3061 (POLL_PRI): Likewise.
3062 (POLL_HUP): Likewise.
3063 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3064 (ILL_ILLOPN): Likewise.
3065 (ILL_ILLADR): Likewise.
3066 (ILL_ILLTRP): Likewise.
3067 (ILL_PRVOPC): Likewise.
3068 (ILL_PRVREG): Likewise.
3069 (ILL_COPROC): Likewise.
3070 (ILL_BADSTK): Likewise.
3071 (ILL_DBLFLT): Likewise.
3072 (ILL_HARDWALL): Likewise.
3073 (FPE_INTDIV): Likewise.
3074 (FPE_INTOVF): Likewise.
3075 (FPE_FLTDIV): Likewise.
3076 (FPE_FLTOVF): Likewise.
3077 (FPE_FLTUND): Likewise.
3078 (FPE_FLTRES): Likewise.
3079 (FPE_FLTINV): Likewise.
3080 (FPE_FLTSUB): Likewise.
3081 (SEGV_MAPERR): Likewise.
3082 (SEGV_ACCERR): Likewise.
3083 (BUS_ADRALN): Likewise.
3084 (BUS_ADRERR): Likewise.
3085 (BUS_OBJERR): Likewise.
3086 (BUS_MCEERR_AR): Likewise.
3087 (BUS_MCEERR_AO): Likewise.
3088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3089 (TRAP_TRACE): Likewise.
3090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3091 __USE_XOPEN2K8].
3092 (CLD_KILLED): Likewise.
3093 (CLD_DUMPED): Likewise.
3094 (CLD_TRAPPED): Likewise.
3095 (CLD_STOPPED): Likewise.
3096 (CLD_CONTINUED): Likewise.
3097 (POLL_IN): Likewise.
3098 (POLL_OUT): Likewise.
3099 (POLL_MSG): Likewise.
3100 (POLL_ERR): Likewise.
3101 (POLL_PRI): Likewise.
3102 (POLL_HUP): Likewise.
3103 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
3112 (FPE_INTOVF): Likewise.
3113 (FPE_FLTDIV): Likewise.
3114 (FPE_FLTOVF): Likewise.
3115 (FPE_FLTUND): Likewise.
3116 (FPE_FLTRES): Likewise.
3117 (FPE_FLTINV): Likewise.
3118 (FPE_FLTSUB): Likewise.
3119 (SEGV_MAPERR): Likewise.
3120 (SEGV_ACCERR): Likewise.
3121 (BUS_ADRALN): Likewise.
3122 (BUS_ADRERR): Likewise.
3123 (BUS_OBJERR): Likewise.
3124 (BUS_MCEERR_AR): Likewise.
3125 (BUS_MCEERR_AO): Likewise.
3126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3127 (TRAP_TRACE): Likewise.
3128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3129 __USE_XOPEN2K8].
3130 (CLD_KILLED): Likewise.
3131 (CLD_DUMPED): Likewise.
3132 (CLD_TRAPPED): Likewise.
3133 (CLD_STOPPED): Likewise.
3134 (CLD_CONTINUED): Likewise.
3135 (POLL_IN): Likewise.
3136 (POLL_OUT): Likewise.
3137 (POLL_MSG): Likewise.
3138 (POLL_ERR): Likewise.
3139 (POLL_PRI): Likewise.
3140 (POLL_HUP): Likewise.
3141 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3142 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3143
3144 [BZ #16670]
3145 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3146 before #include of <time.h>.
3147 [!__USE_XOPEN2K] (__need_timespec): Likewise.
3148 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3149 (test-xfail-UNIX98/sched.h/conform): Likewise.
3150
31512014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
3152
3153 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3154 error absence of trapping exception support.
3155 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3156
31572014-03-07 Joseph Myers <joseph@codesourcery.com>
3158
3159 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3160 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3161 * timezone/Makefile (testdata): Move definition above include of
3162 Rules.
3163 (test-zones): New variable.
3164 (tests-special): Add zone files.
3165 (build-testdata): Use $(evaluate-test).
3166
3167 * elf/Makefile (tests-special): Rename tests to end with .out.
3168 ($(objpfx)noload-mem): Likewise.
3169 ($(objpfx)tst-leaks1-mem): Likewise.
3170 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3171 * iconv/Makefile (xtests-special): Change test-iconvconfig to
3172 $(objpfx)test-iconvconfig.out.
3173 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
3174 set -e inside subshell and redirect output to file.
3175 * iconvdata/Makefile (generated): Rename tests to end with .out.
3176 Correct type.
3177 (tests-special): Rename tests to end with .out.
3178 ($(objpfx)mtrace-tst-loading): Likewise.
3179 * intl/Makefile (generated): Likewise.
3180 (tests-special): Likewise.
3181 ($(objpfx)mtrace-tst-gettext): Likewise.
3182 * misc/Makefile (generated): Likewise.
3183 (tests-special): Likewise.
3184 ($(objpfx)tst-error1-mem): Likewise.
3185 * nptl/Makefile (tests-special): Likewise.
3186 ($(objpfx)tst-stack3-mem): Likewise.
3187 (generated): Likewise.
3188 * posix/Makefile (generated): Likewise.
3189 (tests-special): Likewise.
3190 (xtests-special): Likewise.
3191 ($(objpfx)tst-fnmatch-mem): Likewise.
3192 ($(objpfx)bug-regex2-mem): Likewise.
3193 ($(objpfx)bug-regex14-mem): Likewise.
3194 ($(objpfx)bug-regex21-mem): Likewise.
3195 ($(objpfx)bug-regex31-mem): Likewise.
3196 ($(objpfx)tst-vfork3-mem): Likewise.
3197 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3198 ($(objpfx)tst-pcre-mem): Likewise.
3199 ($(objpfx)tst-boost-mem): Likewise.
3200 ($(objpfx)bug-ga2-mem): Likewise.
3201 ($(objpfx)bug-glob2-mem): Likewise.
3202 * resolv/Makefile (generate): Likewise.
3203 (tests-special): Likewise.
3204 (xtests-special): Likewise.
3205 (generated): Likewise.
3206 ($(objpfx)mtrace-tst-leaks): Likewise.
3207 ($(objpfx)mtrace-tst-leaks2): Likewise.
3208
3209 * scripts/merge-test-results.sh: New file.
3210 * Makefile (tests-special-notdir): New variable.
3211 (tests): Run merge-test-results.sh.
3212 (xtests): Likewise.
3213 * Rules (tests-special-notdir): New variable.
3214 (xtests-special-notdir): Likewise.
3215 (tests): Run merge-test-results.sh
3216 (xtests): Likewise.
3217
3218 * Makeconfig (test-xfail-name): New variable.
3219 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3220 compute variable name for expected failures.
3221 * conform/Makefile (conformtest-headers-data): New variable.
3222 (conformtest-standards): Likewise.
3223 (conformtest-headers-ISO): Likewise.
3224 (conformtest-headers-ISO99): Likewise.
3225 (conformtest-headers-ISO11): Likewise.
3226 (conformtest-headers-POSIX): Likewise.
3227 (conformtest-headers-XPG3): Likewise.
3228 (conformtest-headers-XPG4): Likewise.
3229 (conformtest-headers-UNIX98): Likewise.
3230 (conformtest-headers-XOPEN2K): Likewise.
3231 (conformtest-headers-POSIX2008): Likewise.
3232 (conformtest-headers-XOPEN2K8): Likewise.
3233 (conformtest-header-list-base): Likewise.
3234 (conformtest-header-list-tests): Likewise.
3235 (conformtest-header-base): Likewise.
3236 (conformtest-header-tests): Likewise.
3237 (tests-special): Add $(conformtest-header-list-tests). If
3238 [$(fast-check) && !$(cross-compiling)], add
3239 $(conformtest-header-tests) instead of
3240 $(objpfx)run-conformtest.out.
3241 (generated): Add $(conformtest-header-list-base). If
3242 [$(fast-check) && !$(cross-compiling)], add
3243 $(conformtest-header-base). Remove previous setting.
3244 ($(conformtest-header-list-tests)): New target.
3245 (test-xfail-run-conformtest): Remove variable.
3246 ($(objpfx)run-conformtest.out): Remove target.
3247 (test-xfail-ISO11/complex.h/conform): New variable.
3248 (test-xfail-ISO11/stdalign.h/conform): Likewise.
3249 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3250 (test-xfail-XPG3/varargs.h/conform): Likewise.
3251 (test-xfail-XPG4/varargs.h/conform): Likewise.
3252 (test-xfail-UNIX98/varargs.h/conform): Likewise.
3253 (test-xfail-XPG4/ndbm.h/conform): Likewise.
3254 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3255 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3256 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3257 (test-xfail-XPG3/fcntl.h/conform): Likewise.
3258 (test-xfail-XPG3/ftw.h/conform): Likewise.
3259 (test-xfail-XPG3/grp.h/conform): Likewise.
3260 (test-xfail-XPG3/langinfo.h/conform): Likewise.
3261 (test-xfail-XPG3/limits.h/conform): Likewise.
3262 (test-xfail-XPG3/pwd.h/conform): Likewise.
3263 (test-xfail-XPG3/search.h/conform): Likewise.
3264 (test-xfail-XPG3/signal.h/conform): Likewise.
3265 (test-xfail-XPG3/stdio.h/conform): Likewise.
3266 (test-xfail-XPG3/stdlib.h/conform): Likewise.
3267 (test-xfail-XPG3/string.h/conform): Likewise.
3268 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3269 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3270 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3271 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3272 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3273 (test-xfail-XPG3/sys/types.h/conform): Likewise.
3274 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3275 (test-xfail-XPG3/termios.h/conform): Likewise.
3276 (test-xfail-XPG3/time.h/conform): Likewise.
3277 (test-xfail-XPG3/unistd.h/conform): Likewise.
3278 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3279 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3280 (test-xfail-XPG4/langinfo.h/conform): Likewise.
3281 (test-xfail-XPG4/netdb.h/conform): Likewise.
3282 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3283 (test-xfail-XPG4/signal.h/conform): Likewise.
3284 (test-xfail-XPG4/stdio.h/conform): Likewise.
3285 (test-xfail-XPG4/stdlib.h/conform): Likewise.
3286 (test-xfail-XPG4/stropts.h/conform): Likewise.
3287 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3288 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3289 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3290 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3291 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3292 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3293 (test-xfail-XPG4/sys/time.h/conform): Likewise.
3294 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3295 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3296 (test-xfail-XPG4/termios.h/conform): Likewise.
3297 (test-xfail-XPG4/ucontext.h/conform): Likewise.
3298 (test-xfail-XPG4/unistd.h/conform): Likewise.
3299 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3300 (test-xfail-POSIX/sched.h/conform): Likewise.
3301 (test-xfail-POSIX/signal.h/conform): Likewise.
3302 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3303 (test-xfail-POSIX/tar.h/conform): Likewise.
3304 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3305 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3306 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3307 (test-xfail-UNIX98/netdb.h/conform): Likewise.
3308 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3309 (test-xfail-UNIX98/sched.h/conform): Likewise.
3310 (test-xfail-UNIX98/signal.h/conform): Likewise.
3311 (test-xfail-UNIX98/stdio.h/conform): Likewise.
3312 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3313 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3314 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3315 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3316 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3317 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3318 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3319 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3320 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3321 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3322 (test-xfail-UNIX98/unistd.h/conform): Likewise.
3323 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3324 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3325 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3326 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3327 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3328 (test-xfail-XOPEN2K/math.h/conform): Likewise.
3329 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3330 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3331 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3332 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3333 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3334 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3335 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3336 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3337 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3338 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3339 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3340 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3341 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3342 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3343 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3344 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3345 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3346 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3347 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3348 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3349 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3350 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3351 (test-xfail-POSIX2008/signal.h/conform): Likewise.
3352 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3353 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3354 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3355 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3356 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3357 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3358 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3359 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3360 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3361 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3362 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3363 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3364 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3365 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3366 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3367 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3368 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3369 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3370 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3371 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3372 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3373 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3374 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3375 (conformtest-cc-flags): Likewise.
3376 ($(conformtest-header-tests): New target.
3377 * conform/check-header-lists.sh: New file.
3378 * conform/run-conformtest.sh: Remove.
3379
3380 * conform/conformtest.pl: Allow ' and \ in values given for
3381 constants.
3382 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3383 inclusion.
3384 [POSIX] (sys/types.h): Likewise.
3385 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3386 inclusion.
3387 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3388 inclusion.
3389 * conform/data/signal.h-data (SIGIO): Remove expectation.
3390 [XPG3] (SIGBUS): Do not expect.
3391 [POSIX || XPG3] (SIGPOLL): Likewise.
3392 [POSIX || XPG3] (SIGPROF): Likewise.
3393 [POSIX || XPG3] (SIGSYS): Likewise.
3394 [XPG3] (SIGTRAP): Likewise.
3395 [POSIX || XPG3] (SIGURG): Likewise.
3396 [POSIX || XPG3] (SIGVTALRM): Likewise.
3397 [POSIX || XPG3] (SIGXCPU): Likewise.
3398 [POSIX || XPG3] (SIGXFSZ): Likewise.
3399 [POSIX] (SA_SIGINFO): Expect.
3400 [XPG3] (siginfo_t): Do not expect type or contents.
3401 [POSIX] (si_pid): Do not expect element.
3402 [POSIX] (si_uid): Likewise.
3403 [POSIX] (si_addr): Likewise.
3404 [POSIX] (si_status): Likewise.
3405 [POSIX] (si_band): Likewise.
3406 [XPG4] (si_value): Likewise.
3407 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3408 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3409 [POSIX || XPG3] (ILL_ILLADR): Likewise.
3410 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3411 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3412 [POSIX || XPG3] (ILL_PRVREG): Likewise.
3413 [POSIX || XPG3] (ILL_COPROC): Likewise.
3414 [POSIX || XPG3] (ILL_BADSTK): Likewise.
3415 [POSIX || XPG3] (FPE_INTDIV): Likewise.
3416 [POSIX || XPG3] (FPE_INTOVF): Likewise.
3417 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3418 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3419 [POSIX || XPG3] (FPE_FLTUND): Likewise.
3420 [POSIX || XPG3] (FPE_FLTRES): Likewise.
3421 [POSIX || XPG3] (FPE_FLTINV): Likewise.
3422 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3423 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3424 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3425 [POSIX || XPG3] (BUS_ADRALN): Likewise.
3426 [POSIX || XPG3] (BUS_ADRERR): Likewise.
3427 [POSIX || XPG3] (BUS_OBJERR): Likewise.
3428 [POSIX || XPG3] (CLD_EXITED): Likewise.
3429 [POSIX || XPG3] (CLD_KILLED): Likewise.
3430 [POSIX || XPG3] (CLD_DUMPED): Likewise.
3431 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3432 [POSIX || XPG3] (CLD_STOPPED): Likewise.
3433 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3434 [POSIX || XPG3] (POLL_IN): Likewise.
3435 [POSIX || XPG3] (POLL_OUT): Likewise.
3436 [POSIX || XPG3] (POLL_MSG): Likewise.
3437 [POSIX || XPG3] (POLL_ERR): Likewise.
3438 [POSIX || XPG3] (POLL_PRI): Likewise.
3439 [POSIX || XPG3] (POLL_HUP): Likewise.
3440 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3441 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3442 (SIG*): Do not allow.
3443 [XPG3] (si_*): Likewise.
3444 [XPG3] (SI_*): Likewise.
3445 [XPG3 || XPG4] (sigev_*): Likewise.
3446 [XPG3 || XPG4] (SIGEV_*): Likewise.
3447 [XPG3 || XPG4] (sival_*): Likewise.
3448 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3449 [POSIX || XPG3] (BUS_*): Likewise.
3450 [POSIX || XPG3] (CLD_*): Likewise.
3451 [POSIX || XPG3] (FPE_*): Likewise.
3452 [POSIX || XPG3] (ILL_*): Likewise.
3453 [POSIX || XPG3] (POLL_*): Likewise.
3454 [POSIX || XPG3] (SEGV_*): Likewise.
3455 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3456 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3457 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3458 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3459 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3460 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3461 Specify type and value.
3462 (TVERSLEN): Likewise.
3463 (REGTYPE): Likewise.
3464 (AREGTYPE): Likewise.
3465 (LNKTYPE): Likewise.
3466 (SYMTYPE): Likewise.
3467 (CHRTYPE): Likewise.
3468 (BLKTYPE): Likewise.
3469 (DIRTYPE): Likewise.
3470 (FIFOTYPE): Likewise.
3471 (CONTTYPE): Likewise.
3472 (TSUID): Likewise.
3473 (TSGID): Likewise.
3474 (TSVTX): Likewise.
3475 (TUREAD): Likewise.
3476 (TUWRITE): Likewise.
3477 (TUEXEC): Likewise.
3478 (TGREAD): Likewise.
3479 (TGWRITE): Likewise.
3480 (TGEXEC): Likewise.
3481 (TOREAD): Likewise.
3482 (TOWRITE): Likewise.
3483 (TOEXEC): Likewise.
3484 [POSIX] (TSVTX): Expect constant.
3485
34862014-03-06 Joseph Myers <joseph@codesourcery.com>
3487
3488 * Makefile (tests): Change dependencies to ....
3489 (tests-special): ... additions to this variable.
3490 (tests): Depend on $(tests-special).
3491 * Makerules (check-abi-list): New variable.
3492 (check-abi): Depend on $(check-abi-list).
3493 [$(subdir) = elf] (tests-special): Add
3494 $(objpfx)check-abi-libc.out.
3495 [$(build-shared) = yes && subdir] (tests-special): Add
3496 $(check-abi-list).
3497 [$(build-shared) = yes && subdir] (tests): Do not depend on
3498 check-abi.
3499 * Rules (tests): Depend on $(tests-special).
3500 (xtests): Depend on $(xtests-special).
3501 * catgets/Makefile (tests): Change dependencies to ....
3502 (tests-special): ... additions to this variable.
3503 * conform/Makefile (tests): Change dependencies to ....
3504 (tests-special): ... additions to this variable.
3505 * elf/Makefile (tests): Change dependencies to ....
3506 (tests-special): ... additions to this variable.
3507 * grp/Makefile (tests): Change dependencies to ....
3508 (tests-special): ... additions to this variable.
3509 * iconv/Makefile (xtests): Change dependencies to ....
3510 (xtests-special): ... additions to this variable.
3511 * iconvdata/Makefile (tests): Change dependencies to ....
3512 (tests-special): ... additions to this variable.
3513 * intl/Makefile (tests): Change dependencies to ....
3514 (tests-special): ... additions to this variable. Also add
3515 $(objpfx)tst-gettext.out.
3516 * io/Makefile (tests): Change dependencies to ....
3517 (tests-special): ... additions to this variable.
3518 * libio/Makefile (tests): Change dependencies to ....
3519 (tests-special): ... additions to this variable.
3520 * malloc/Makefile (tests): Change dependencies to ....
3521 (tests-special): ... additions to this variable.
3522 * misc/Makefile (tests): Change dependencies to ....
3523 (tests-special): ... additions to this variable.
3524 * nptl/Makefile (tests): Change dependencies to ....
3525 (tests-special): ... additions to this variable.
3526 * nptl_db/Makefile (tests): Change dependencies to ....
3527 (tests-special): ... additions to this variable.
3528 * posix/Makefile (tests): Change dependencies to ....
3529 (tests-special): ... additions to this variable.
3530 (xtests): Change dependencies to ....
3531 (xtests-special): ... additions to this variable.
3532 * resolv/Makefile (tests): Change dependencies to ....
3533 (tests-special): ... additions to this variable.
3534 (xtests): Change dependencies to ....
3535 (xtests-special): ... additions to this variable.
3536 * stdio-common/Makefile (tests): Change dependencies to ....
3537 (tests-special): ... additions to this variable.
3538 (do-tst-unbputc): Remove target.
3539 (do-tst-printf): Likewise.
3540 * stdlib/Makefile (tests): Change dependencies to ....
3541 (tests-special): ... additions to this variable.
3542 * string/Makefile (tests): Change dependencies to ....
3543 (tests-special): ... additions to this variable.
3544 * sysdeps/x86/Makefile (tests): Change dependencies to ....
3545 (tests-special): ... additions to this variable.
3546
3547 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3548 whole file.
3549 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3550 whole file.
3551 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3552 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3553
3554 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3555 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3556 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3557 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3558 * conform/data/libgen.h-data [XPG3]: Likewise.
3559 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3560 * conform/data/ndbm.h-data [XPG3]: Likewise.
3561 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3562 * conform/data/netdb.h-data [XPG3]: Likewise.
3563 * conform/data/netinet/in.h-data [XPG3]: Likewise.
3564 * conform/data/poll.h-data [XPG3]: Likewise.
3565 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3566 * conform/data/strings.h-data [XPG3]: Likewise.
3567 * conform/data/stropts.h-data [XPG3]: Likewise.
3568 * conform/data/sys/mman.h-data [XPG3]: Likewise.
3569 * conform/data/sys/resource.h-data [XPG3]: Likewise.
3570 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3571 Likewise.
3572 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3573 * conform/data/sys/time.h-data [XPG3]: Likewise.
3574 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3575 * conform/data/sys/uio.h-data [XPG3]: Likewise.
3576 * conform/data/sys/un.h-data [XPG3]: Likewise.
3577 * conform/data/syslog.h-data [XPG3]: Likewise.
3578 * conform/data/ucontext.h-data [XPG3]: Likewise.
3579 * conform/data/utmpx.h-data [XPG3]: Likewise.
3580 * conform/data/varargs.h-data [UNIX98]: Enable file.
3581
3582 * manual/Makefile (INSTALL_INFO): Remove variable setting.
3583
3584 * math/libm-test.inc (struct test_f_f_data): Move expected results
3585 into structure for each rounding mode.
3586 (struct test_ff_f_data): Likewise.
3587 (struct test_ff_f_data_nexttoward): Likewise.
3588 (struct test_fi_f_data): Likewise.
3589 (struct test_fl_f_data): Likewise.
3590 (struct test_if_f_data): Likewise.
3591 (struct test_fff_f_data): Likewise.
3592 (struct test_c_f_data): Likewise.
3593 (struct test_f_f1_data): Likewise.
3594 (struct test_fF_f1_data): Likewise.
3595 (struct test_ffI_f1_data): Likewise.
3596 (struct test_c_c_data): Likewise.
3597 (struct test_cc_c_data): Likewise.
3598 (struct test_f_i_data): Likewise.
3599 (struct test_ff_i_data): Likewise.
3600 (struct test_f_l_data): Likewise.
3601 (struct test_f_L_data): Likewise.
3602 (struct test_fFF_11_data): Likewise.
3603 (RM_): New macro.
3604 (RM_FE_DOWNWARD): Likewise.
3605 (RM_FE_TONEAREST): Likewise.
3606 (RM_FE_TOWARDZERO): Likewise.
3607 (RM_FE_UPWARD): Likewise.
3608 (RUN_TEST_LOOP_f_f): Update references to expected results.
3609 (RUN_TEST_LOOP_2_f): Likewise.
3610 (RUN_TEST_LOOP_fff_f): Likewise.
3611 (RUN_TEST_LOOP_c_f): Likewise.
3612 (RUN_TEST_LOOP_f_f1): Likewise.
3613 (RUN_TEST_LOOP_fF_f1): Likewise.
3614 (RUN_TEST_LOOP_fI_f1): Likewise.
3615 (RUN_TEST_LOOP_ffI_f1): Likewise.
3616 (RUN_TEST_LOOP_c_c): Likewise.
3617 (RUN_TEST_LOOP_cc_c): Likewise.
3618 (RUN_TEST_LOOP_f_i): Likewise.
3619 (RUN_TEST_LOOP_f_i_tg): Likewise.
3620 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3621 (RUN_TEST_LOOP_f_b): Likewise.
3622 (RUN_TEST_LOOP_f_b_tg): Likewise.
3623 (RUN_TEST_LOOP_f_l): Likewise.
3624 (RUN_TEST_LOOP_f_L): Likewise.
3625 (RUN_TEST_LOOP_fFF_11): Likewise.
3626 * math/gen-libm-test.pl (parse_args): Output four copies of
3627 expected results for each test.
3628
3629 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3630 (__ASSUME_UTIMES): Remove.
3631 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3632 (__ASSUME_UTIMES): Likewise.
3633
3634 * math/gen-auto-libm-tests.c: Update comment on output format.
3635 (output_for_one_input_case): Generate before-rounding and
3636 after-rounding information as conditions on output flags not
3637 floating-point format.
3638 * math/auto-libm-test-out: Regenerated.
3639 * math/gen-libm-test.pl (cond_value): New function.
3640 (or_cond_value): Use cond_value.
3641 (generate_testfile): Handle conditional exceptions.
3642
36432014-03-05 Joseph Myers <joseph@codesourcery.com>
3644
3645 * math/libm-test.inc (max_valid_error): New variable.
3646 (init_max_error): Take new argument specifying whether function
3647 results are exactly determined. Set max_valid_error and bound
3648 other variables for errors based on this argument.
3649 (set_max_error): Do not record results above max_valid_error.
3650 (check_float_internal): Only accept errors of up to 0.5ulps if
3651 also at most max_valid_error.
3652 (START): Take new argument EXACT and pass it to init_max_error.
3653 (acos_test): Update call to START.
3654 (acos_test_tonearest): Likewise.
3655 (acos_test_towardzero): Likewise.
3656 (acos_test_downward): Likewise.
3657 (acos_test_upward): Likewise.
3658 (acosh_test): Likewise.
3659 (asin_test): Likewise.
3660 (asin_test_tonearest): Likewise.
3661 (asin_test_towardzero): Likewise.
3662 (asin_test_downward): Likewise.
3663 (asin_test_upward): Likewise.
3664 (asinh_test): Likewise.
3665 (atan_test): Likewise.
3666 (atanh_test): Likewise.
3667 (atan2_test): Likewise.
3668 (cabs_test): Likewise.
3669 (cacos_test): Likewise.
3670 (cacosh_test): Likewise.
3671 (carg_test): Likewise.
3672 (casin_test): Likewise.
3673 (casinh_test): Likewise.
3674 (catan_test): Likewise.
3675 (catanh_test): Likewise.
3676 (cbrt_test): Likewise.
3677 (ccos_test): Likewise.
3678 (ccosh_test): Likewise.
3679 (ceil_test): Likewise.
3680 (cexp_test): Likewise.
3681 (cimag_test): Likewise.
3682 (clog_test): Likewise.
3683 (clog10_test): Likewise.
3684 (conj_test): Likewise.
3685 (copysign_test): Likewise.
3686 (cos_test): Likewise.
3687 (cos_test_tonearest): Likewise.
3688 (cos_test_towardzero): Likewise.
3689 (cos_test_downward): Likewise.
3690 (cos_test_upward): Likewise.
3691 (cosh_test): Likewise.
3692 (cosh_test_tonearest): Likewise.
3693 (cosh_test_towardzero): Likewise.
3694 (cosh_test_downward): Likewise.
3695 (cosh_test_upward): Likewise.
3696 (cpow_test): Likewise.
3697 (cproj_test): Likewise.
3698 (creal_test): Likewise.
3699 (csin_test): Likewise.
3700 (csinh_test): Likewise.
3701 (csqrt_test): Likewise.
3702 (ctan_test): Likewise.
3703 (ctan_test_tonearest): Likewise.
3704 (ctan_test_towardzero): Likewise.
3705 (ctan_test_downward): Likewise.
3706 (ctan_test_upward): Likewise.
3707 (ctanh_test): Likewise.
3708 (ctanh_test_tonearest): Likewise.
3709 (ctanh_test_towardzero): Likewise.
3710 (ctanh_test_downward): Likewise.
3711 (ctanh_test_upward): Likewise.
3712 (erf_test): Likewise.
3713 (erfc_test): Likewise.
3714 (exp_test): Likewise.
3715 (exp_test_tonearest): Likewise.
3716 (exp_test_towardzero): Likewise.
3717 (exp_test_downward): Likewise.
3718 (exp_test_upward): Likewise.
3719 (exp10_test): Likewise.
3720 (exp10_test_tonearest): Likewise.
3721 (exp10_test_towardzero): Likewise.
3722 (exp10_test_downward): Likewise.
3723 (exp10_test_upward): Likewise.
3724 (pow10_test): Likewise.
3725 (exp2_test): Likewise.
3726 (expm1_test): Likewise.
3727 (expm1_test_tonearest): Likewise.
3728 (expm1_test_towardzero): Likewise.
3729 (expm1_test_downward): Likewise.
3730 (expm1_test_upward): Likewise.
3731 (fabs_test): Likewise.
3732 (fdim_test): Likewise.
3733 (floor_test): Likewise.
3734 (fma_test): Likewise.
3735 (fma_test_towardzero): Likewise.
3736 (fma_test_downward): Likewise.
3737 (fma_test_upward): Likewise.
3738 (fmax_test): Likewise.
3739 (fmin_test): Likewise.
3740 (fmod_test): Likewise.
3741 (fpclassify_test): Likewise.
3742 (frexp_test): Likewise.
3743 (hypot_test): Likewise.
3744 (ilogb_test): Likewise.
3745 (isfinite_test): Likewise.
3746 (finite_test): Likewise.
3747 (isgreater_test): Likewise.
3748 (isgreaterequal_test): Likewise.
3749 (isinf_test): Likewise.
3750 (isless_test): Likewise.
3751 (islessequal_test): Likewise.
3752 (islessgreater_test): Likewise.
3753 (isnan_test): Likewise.
3754 (isnormal_test): Likewise.
3755 (issignaling_test): Likewise.
3756 (isunordered_test): Likewise.
3757 (j0_test): Likewise.
3758 (j1_test): Likewise.
3759 (jn_test): Likewise.
3760 (ldexp_test): Likewise.
3761 (lgamma_test): Likewise.
3762 (gamma_test): Likewise.
3763 (lrint_test): Likewise.
3764 (lrint_test_tonearest): Likewise.
3765 (lrint_test_towardzero): Likewise.
3766 (lrint_test_downward): Likewise.
3767 (lrint_test_upward): Likewise.
3768 (llrint_test): Likewise.
3769 (llrint_test_tonearest): Likewise.
3770 (llrint_test_towardzero): Likewise.
3771 (llrint_test_downward): Likewise.
3772 (llrint_test_upward): Likewise.
3773 (log_test): Likewise.
3774 (log10_test): Likewise.
3775 (log1p_test): Likewise.
3776 (log2_test): Likewise.
3777 (logb_test): Likewise.
3778 (logb_test_downward): Likewise.
3779 (lround_test): Likewise.
3780 (llround_test): Likewise.
3781 (modf_test): Likewise.
3782 (nearbyint_test): Likewise.
3783 (nextafter_test): Likewise.
3784 (nexttoward_test): Likewise.
3785 (pow_test): Likewise.
3786 (pow_test_tonearest): Likewise.
3787 (pow_test_towardzero): Likewise.
3788 (pow_test_downward): Likewise.
3789 (pow_test_upward): Likewise.
3790 (remainder_test): Likewise.
3791 (drem_test): Likewise.
3792 (remainder_test_tonearest): Likewise.
3793 (drem_test_tonearest): Likewise.
3794 (remainder_test_towardzero): Likewise.
3795 (drem_test_towardzero): Likewise.
3796 (remainder_test_downward): Likewise.
3797 (drem_test_downward): Likewise.
3798 (remainder_test_upward): Likewise.
3799 (drem_test_upward): Likewise.
3800 (remquo_test): Likewise.
3801 (rint_test): Likewise.
3802 (rint_test_tonearest): Likewise.
3803 (rint_test_towardzero): Likewise.
3804 (rint_test_downward): Likewise.
3805 (rint_test_upward): Likewise.
3806 (round_test): Likewise.
3807 (scalb_test): Likewise.
3808 (scalbn_test): Likewise.
3809 (scalbln_test): Likewise.
3810 (signbit_test): Likewise.
3811 (sin_test): Likewise.
3812 (sin_test_tonearest): Likewise.
3813 (sin_test_towardzero): Likewise.
3814 (sin_test_downward): Likewise.
3815 (sin_test_upward): Likewise.
3816 (sincos_test): Likewise.
3817 (sinh_test): Likewise.
3818 (sinh_test_tonearest): Likewise.
3819 (sinh_test_towardzero): Likewise.
3820 (sinh_test_downward): Likewise.
3821 (sinh_test_upward): Likewise.
3822 (sqrt_test): Likewise.
3823 (sqrt_test_tonearest): Likewise.
3824 (sqrt_test_towardzero): Likewise.
3825 (sqrt_test_downward): Likewise.
3826 (sqrt_test_upward): Likewise.
3827 (tan_test): Likewise.
3828 (tan_test_tonearest): Likewise.
3829 (tan_test_towardzero): Likewise.
3830 (tan_test_downward): Likewise.
3831 (tan_test_upward): Likewise.
3832 (tanh_test): Likewise.
3833 (tgamma_test): Likewise.
3834 (trunc_test): Likewise.
3835 (y0_test): Likewise.
3836 (y1_test): Likewise.
3837 (yn_test): Likewise.
3838 (significand_test): Likewise.
3839
3840 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3841 individual tests in comment.
3842 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3843 (prev_max_error): New variable.
3844 (prev_real_max_error): Likewise.
3845 (prev_imag_max_error): Likewise.
3846 (compare_ulp_data): Don't refer to test names in comment.
3847 (find_test_ulps): Remove function.
3848 (find_function_ulps): Likewise.
3849 (find_complex_function_ulps): Likewise.
3850 (init_max_error): Take function name as argument. Look up ulps
3851 for that function.
3852 (print_ulps): Remove function.
3853 (print_max_error): Use prev_max_error instead of calling
3854 find_function_ulps.
3855 (print_complex_max_error): Use prev_real_max_error and
3856 prev_imag_max_error instead of calling find_complex_function_ulps.
3857 (check_float_internal): Take max_ulp parameter instead of calling
3858 find_test_ulps. Don't call print_ulps.
3859 (check_float): Update call to check_float_internal.
3860 (check_complex): Update calls to check_float_internal.
3861 (START): Pass argument to init_max_error.
3862 * math/gen-libm-test.pl (%results): Don't include "kind"
3863 information.
3864 (parse_ulps): Don't handle ulps of individual tests.
3865 (print_ulps_file): Likewise.
3866 (output_ulps): Likewise.
3867 * math/README.libm-test: Update.
3868 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3869 individual tests.
3870 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3871 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3872 * sysdeps/arm/libm-test-ulps: Likewise.
3873 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3874 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3875 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3876 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3877 * sysdeps/microblaze/libm-test-ulps: Likewise.
3878 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3879 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3881 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3882 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3883 * sysdeps/sh/libm-test-ulps: Likewise.
3884 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3885 * sysdeps/tile/libm-test-ulps: Likewise.
3886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3887
38882014-03-04 Joseph Myers <joseph@codesourcery.com>
3889
3890 * math/libm-test.inc (print_complex_max_error): Check separately
3891 whether real and imaginary errors are within allowed range and
3892 pass 0 to print_complex_function_ulps instead of value within
3893 allowed range.
3894
38952014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3896
3897 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3898 formatting.
3899 (get_handles_fopen): Likewise.
3900 (do_write_test): Likewise.
3901
3902 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3903
3904 * libio/fileops.c (do_ftell): Use cached offset when
3905 available.
3906 * libio/iofwide.c (do_ftell_wide): Likewise.
3907 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3908 _IO_file_attach.
3909 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3910
3911 [BZ #16532]
3912 * libio/libioP.h (get_file_offset): New function.
3913 * libio/fileops.c (get_file_offset): Likewise.
3914 (do_ftell): Likewise.
3915 (_IO_new_file_seekoff): Split out ftell logic.
3916 * libio/wfileops.c (do_ftell_wide): Likewise.
3917 (_IO_wfile_seekoff): Split out ftell logic.
3918 * libio/tst-ftell-active-handler.c: New test case.
3919 * libio/Makefile (tests): Add it.
3920
39212014-03-03 Roland McGrath <roland@hack.frob.com>
3922
3923 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3924 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3925
39262014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3927
3928 [BZ #16639]
3929 * nscd/connections.c (nscd_init): Call do_exit.
3930 (start_threads): Call do_exit and notify_parent.
3931 (begin_drop_privileges): Call do_exit.
3932 (finish_drop_privileges): Likewise.
3933 * nscd/selinux.c (preserve_capabilities): Likewise.
3934 (install_real_capabilities): Likewise.
3935 (nscd_selinux_enabled): Likewise.
3936 (avc_create_thread): Likewise.
3937 (avc_alloc_lock): Likewise.
3938 (nscd_avc_init): Likewise.
3939 * nscd/nscd.c (parent_fd): New static variable.
3940 (main): Create a pipe between parent and child processes.
3941 Skip closing parent_fd.
3942 (monitor_child): New function.
3943 (do_exit): Likewise.
3944 (notify_parent): Likewise.
3945 * nscd/nscd.h (notify_parent): Likewise.
3946 (do_exit): Likewise.
3947
39482014-03-03 Carlos O'Donell <carlos@redhat.com>
3949
3950 * malloc/malloc.c (__libc_calloc): Revert last change.
3951
39522014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3953
3954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3955
39562014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3957
3958 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3960 implementation.
3961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3962 (__libc_ifunc_impl_list): Likewise.
3963 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3964 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3965 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3966 * string/strrchr.c: Define STRRCHR.
3967
39682014-02-28 Ondřej Bílka <neleai@seznam.cz>
3969
3970 * benchtest/bench-strtok.c (simple_strtok): Delete.
3971 (strtok_string): Use as benchmark.
3972 * string/strtok (STRTOK): New macro.
3973
39742014-02-28 Carlos O'Donell <carlos@redhat.com>
3975
3976 * manual/threads.texi: Add header and standard comments to all
3977 functions.
3978
3979 * elf/dl-lookup.c (check_match): New function.
3980 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3981 (do_lookup_x): Remove nested function check_match. Use non-nested
3982 function check_match.
3983
39842014-02-28 Roland McGrath <roland@hack.frob.com>
3985
3986 * csu/Makefile (generated, before-compile): Use += rather than =.
3987 * catgets/Makefile (generated, generated-dirs): Likewise.
3988 * debug/Makefile (generated): Likewise.
3989 * dlfcn/Makefile (generated): Likewise.
3990 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3991 * iconvdata/Makefile (before-compile, generated): Likewise.
3992 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3993 * libio/Makefile (generated): Likewise.
3994 * malloc/Makefile (generated): Likewise.
3995 * manual/Makefile (generated, generated-dirs): Likewise.
3996 * misc/Makefile (generated): Likewise.
3997 * posix/Makefile (generated): Likewise.
3998 * resolv/Makefile (generated): Likewise.
3999 * sunrpc/Makefile (generated, generated-dirs): Likewise.
4000 * timezone/Makefile (generated, generated-dirs): Likewise.
4001
4002 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4003
40042014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4007 power8 implementation.
4008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4009 file: POWER8 llround ifunc implementation.
4010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4011 (__lllround): Add POWER8 implementation.
4012 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4013 POWER8 llround implementation.
4014
4015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4016 power8 implementation.
4017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4018 file: POWER8 llrint ifunc implementation.
4019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4020 Add POWER8 implementation.
4021 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4022 POWER8 llrint implementation.
4023
4024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4025 power8 implementation.
4026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4027 file: POWER8 finite ifunc implementation.
4028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4029 Add POWER8 implementation.
4030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4031 Likewise.
4032 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4033 POWER8 finite implementation.
4034 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4035
4036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4037 power8 implementation.
4038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4039 file: POWER8 isinf ifunc implementation.
4040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4041 POWER8 implementation.
4042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4043 Likewise.
4044 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4045 isinf implementation.
4046 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4047
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4049 (INIT_ARCH): Add hwcap2 initialization.
4050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4051 power8 implementation.
4052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4053 file: POWER8 isnan ifunc implementation.
4054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4055 POWER8 implementation.
4056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4057 Likewise.
4058 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4059 isnan implementation.
4060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4061
40622014-02-27 Joey Ye <joey.ye@arm.com>
4063
4064 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4065 (_FP_NANFRAC_Q): Set to zero.
4066
40672014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4068
4069 [BZ #16623]
4070 * math/auto-libm-test-in: New test inputs.
4071 * math/auto-libm-test-out: Regenerate.
4072 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4073 and DA.
4074 (__cos): Likewise.
4075 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4076
40772014-02-27 Joseph Myers <joseph@codesourcery.com>
4078
4079 * scripts/evaluate-test.sh: Take new argument indicating whether
4080 failure is expected.
4081 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4082 indicating whether failure is expected.
4083 * conform/Makefile (test-xfail-run-conformtest): New variable.
4084 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4085 level.
4086 * posix/Makefile (test-xfail-annexc): New variable.
4087 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4088
40892014-02-26 Joseph Myers <joseph@codesourcery.com>
4090
4091 * argp/Makefile: Include Makeconfig immediately after defining
4092 subdir.
4093 * assert/Makefile: Likewise.
4094 * benchtests/Makefile: Likewise.
4095 * catgets/Makefile: Likewise.
4096 * conform/Makefile: Likewise.
4097 * crypt/Makefile: Likewise.
4098 * csu/Makefile: Likewise.
4099 (all): Remove target.
4100 * ctype/Makefile: Include Makeconfig immediately after defining
4101 subdir.
4102 * debug/Makefile: Likewise.
4103 * dirent/Makefile: Likewise.
4104 * dlfcn/Makefile: Likewise.
4105 * gmon/Makefile: Likewise.
4106 * gnulib/Makefile: Likewise.
4107 * grp/Makefile: Likewise.
4108 * gshadow/Makefile: Likewise.
4109 * hesiod/Makefile: Likewise.
4110 * hurd/Makefile: Likewise.
4111 (all): Remove target.
4112 * iconvdata/Makefile: Include Makeconfig immediately after
4113 defining subdir.
4114 * inet/Makefile: Likewise.
4115 * intl/Makefile: Likewise.
4116 * io/Makefile: Likewise.
4117 * libio/Makefile: Likewise.
4118 (all): Remove target.
4119 * locale/Makefile: Include Makeconfig immediately after defining
4120 subdir.
4121 * login/Makefile: Likewise.
4122 * mach/Makefile: Likewise.
4123 (all): Remove target.
4124 * malloc/Makefile: Include Makeconfig immediately after defining
4125 subdir.
4126 (all): Remove target.
4127 * manual/Makefile: Include Makeconfig immediately after defining
4128 subdir.
4129 * math/Makefile: Likewise.
4130 * misc/Makefile: Likewise.
4131 * nis/Makefile: Likewise.
4132 * nss/Makefile: Likewise.
4133 * po/Makefile: Likewise.
4134 (all): Remove target.
4135 * posix/Makefile: Include Makeconfig immediately after defining
4136 subdir.
4137 * pwd/Makefile: Likewise.
4138 * resolv/Makefile: Likewise.
4139 * resource/Makefile: Likewise.
4140 * rt/Makefile: Likewise.
4141 * setjmp/Makefile: Likewise.
4142 * shadow/Makefile: Likewise.
4143 * signal/Makefile: Likewise.
4144 * socket/Makefile: Likewise.
4145 * soft-fp/Makefile: Likewise.
4146 * stdio-common/Makefile: Likewise.
4147 * stdlib/Makefile: Likewise.
4148 * streams/Makefile: Likewise.
4149 * string/Makefile: Likewise.
4150 * sunrpc/Makefile: Likewise.
4151 (all): Remove target.
4152 * sysvipc/Makefile: Include Makeconfig immediately after defining
4153 subdir.
4154 * termios/Makefile: Likewise.
4155 * time/Makefile: Likewise.
4156 * timezone/Makefile: Likewise.
4157 (all): Remove target.
4158 * wcsmbs/Makefile: Include Makeconfig immediately after defining
4159 subdir.
4160 * wctype/Makefile: Likewise.
4161
41622014-02-26 Steve Ellcey <sellcey@mips.com>
4163
4164 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4165 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4166 (libc_feholdexcept_setround_mips): Ditto.
4167 (libc_feholdsetround): New.
4168 (libc_feholdsetroundf): New.
4169 (libc_feholdsetroundl): New.
4170 (libc_feupdateenv_test_mips): New.
4171 (libc_feupdateenv_test): New.
4172 (libc_feupdateenv_testf): New.
4173 (libc_feupdateenv_testl): New.
4174 (libc_feresetround): New.
4175 (libc_feresetroundf): New.
4176 (libc_feresetroundl): New.
4177 (libc_fetestexcept_mips): New.
4178 (libc_fetestexcept): New.
4179 (libc_fetestexceptf): New.
4180 (libc_fetestexceptl): New.
4181 (HAVE_RM_CTX): New.
4182 (libc_feholdexcept_setround_mips_ctx): New.
4183 (libc_feholdexcept_setround_ctx): New.
4184 (libc_feholdexcept_setroundf_ctx): New.
4185 (libc_feholdexcept_setroundl_ctx): New.
4186 (libc_fesetenv_mips_ctx): New.
4187 (libc_fesetenv_ctx): New.
4188 (libc_fesetenv_ctxf): New.
4189 (libc_fesetenv_ctxl): New.
4190 (libc_feupdateenv_mips_ctx): New.
4191 (libc_feupdateenv_ctx): New.
4192 (libc_feupdateenvf_ctx): New.
4193 (libc_feupdateenvl_ctx): New.
4194 (libc_feholdsetround_mips_ctx): New.
4195 (libc_feholdsetround_ctx): New.
4196 (libc_feholdsetroundf_ctx): New.
4197 (libc_feholdsetroundl_ctx): New.
4198 (libc_feresetround_mips_ctx): New.
4199 (libc_feresetround_ctx): New.
4200 (libc_feresetroundf_ctx): New.
4201 (libc_feresetroundl_ctx): New.
4202
42032014-02-26 Carlos O'Donell <carlos@redhat.com>
4204
4205 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4206
4207 * manual/ipc.texi: New file.
4208 * manual/Makefile (chapters): Add ipc.
4209 * manual/job.texi: Add "Inter-Process Communication" to next.
4210 * manual/process.texi: Add "Inter-Process Communication" to prev.
4211
42122014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4215
42162014-02-26 Ondřej Bílka <neleai@seznam.cz>
4217
4218 * malloc/malloc.c (__libc_calloc): Simplify implementation.
4219
4220 * manual/arith.texi: Fix spaces after sentences.
4221 * manual/charset.texi: Likewise.
4222 * manual/errno.texi: Likewise.
4223 * manual/install.texi: Likewise.
4224 * manual/llio.texi: Likewise.
4225 * manual/locale.texi: Likewise.
4226 * manual/maint.texi: Likewise.
4227 * manual/math.texi: Likewise.
4228 * manual/memory.texi: Likewise.
4229 * manual/message.texi: Likewise.
4230 * manual/probes.texi: Likewise.
4231 * manual/resource.texi: Likewise.
4232 * manual/signal.texi: Likewise.
4233 * manual/socket.texi: Likewise.
4234 * manual/stdio.texi: Likewise.
4235 * manual/string.texi: Likewise.
4236 * manual/time.texi: Likewise.
4237 * manual/users.texi: Likewise.
4238
42392014-02-25 Carlos O'Donell <carlos@redhat.com>
4240
4241 [BZ #16632]
4242 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4243 _DEFAULT_SOURCE is defined.
4244
42452014-02-25 Ulrich Drepper <drepper@gmail.com>
4246 Carlos O'Donell <carlos@redhat.com>
4247
4248 [BZ #16613]
4249 * elf/dl-tls.c (_dl_count_modids): New function.
4250 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4251 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4252 audit library and increment generation counter.
4253 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4254 * elf/tst-audit9.c: New file.
4255 * elf/tst-auditmod9a.c: New file.
4256 * elf/tst-auditmod9b.c: New file.
4257 * elf/Makefile: Add rules to build and run tst-audit9.
4258
42592014-02-25 Florian Weimer <fweimer@redhat.com>
4260
4261 [BZ #15347]
4262 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4263
42642014-02-25 Will Newton <will.newton@linaro.org>
4265
4266 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4267 (__longjmp): Restore sp and lr before restoring callee
4268 saved registers. Add longjmp and longjmp_target
4269 SystemTap probe point.
4270 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4271 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4272 Define to zero to match jmpbuf layout.
4273 * sysdeps/arm/setjmp.S: Include stap-probe.h.
4274 (__sigsetjmp): Save sp and lr before saving callee
4275 saved registers. Add setjmp SystemTap probe point.
4276
42772014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4278
4279 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4280
42812014-02-24 Andreas Schwab <schwab@suse.de>
4282
4283 [BZ #15804]
4284 * elf/pldd.c (wait_for_ptrace_stop): New function.
4285 (main): Call it after attaching.
4286
42872014-02-22 Roland McGrath <roland@hack.frob.com>
4288
4289 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4290 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4291 Versions files is now verboten.
4292 * hurd/Versions (libc: GLIBC_2.0):
4293 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4294 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4295 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4296 * mach/Versions: Likewise.
4297
4298 * csu/Versions: Remove unused %include.
4299 * resolv/Versions: Likewise.
4300
43012014-02-21 Joseph Myers <joseph@codesourcery.com>
4302
4303 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4304 ($(objpfx)check-local-headers.out): Likewise.
4305 ($(objpfx)begin-end-check.out): Likewise.
4306 * Makerules (check-abi-%.out): Likewise.
4307 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4308 ($(objpfx)test2.cat): Likewise.
4309 ($(objpfx)de/libc.cat): Likewise.
4310 ($(objpfx)test-gencat.out): Likewise.
4311 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4312 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4313 ($(objpfx)noload-mem): Likewise.
4314 ($(objpfx)tst-pathopt.out): Likewise.
4315 ($(objpfx)tst-rtld-load-self.out): Likewise.
4316 ($(objpfx)tst-array1-cmp.out): Likewise.
4317 ($(objpfx)tst-array1-static-cmp.out): Likewise.
4318 ($(objpfx)tst-array2-cmp.out): Likewise.
4319 ($(objpfx)tst-array3-cmp.out): Likewise.
4320 ($(objpfx)tst-array4-cmp.out): Likewise.
4321 ($(objpfx)tst-array5-cmp.out): Likewise.
4322 ($(objpfx)tst-array5-static-cmp.out): Likewise.
4323 ($(objpfx)check-textrel.out): Likewise.
4324 ($(objpfx)check-execstack.out): Likewise.
4325 ($(objpfx)check-localplt.out): Likewise.
4326 ($(objpfx)order2-cmp.out): Likewise.
4327 ($(objpfx)tst-leaks1-mem): Likewise.
4328 ($(objpfx)tst-leaks1-static-mem): Likewise.
4329 ($(objpfx)tst-initorder-cmp.out): Likewise.
4330 ($(objpfx)tst-initorder2-cmp.out): Likewise.
4331 ($(objpfx)tst-unused-dep.out): Likewise.
4332 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4333 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4334 * iconv/Makefile (test-iconvconfig): Likewise.
4335 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4336 ($(objpfx)iconv-test.out): Likewise.
4337 ($(objpfx)tst-tables.out): Likewise.
4338 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4339 ($(objpfx)tst-gettext.out): Likewise.
4340 ($(objpfx)tst-translit.out): Likewise.
4341 ($(objpfx)tst-gettext2.out): Likewise.
4342 ($(objpfx)tst-gettext4.out): Likewise.
4343 ($(objpfx)tst-gettext6.out): Likewise.
4344 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4345 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4346 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4347 ($(objpfx)tst-fopenloc-mem.out): Likewise.
4348 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4349 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4350 * posix/Makefile ($(objpfx)globtest.out): Likewise.
4351 ($(objpfx)wordexp-tst.out): Likewise.
4352 ($(objpfx)annexc.out): Likewise.
4353 ($(objpfx)tst-fnmatch-mem): Likewise.
4354 ($(objpfx)bug-regex2-mem): Likewise.
4355 ($(objpfx)bug-regex14-mem): Likewise.
4356 ($(objpfx)bug-regex21-mem): Likewise.
4357 ($(objpfx)bug-regex31-mem): Likewise.
4358 ($(objpfx)tst-vfork3-mem): Likewise.
4359 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4360 ($(objpfx)tst-pcre-mem): Likewise.
4361 ($(objpfx)tst-boost-mem): Likewise.
4362 ($(objpfx)tst-getconf.out): Likewise.
4363 ($(objpfx)bug-ga2-mem): Likewise.
4364 ($(objpfx)bug-glob2-mem): Likewise.
4365 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4366 ($(objpfx)mtrace-tst-leaks2): Likewise.
4367 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4368 ($(objpfx)tst-printf.out): Likewise.
4369 ($(objpfx)tst-setvbuf1.out): Likewise.
4370 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4371 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4372 ($(objpfx)tst-fmtmsg.out): Likewise.
4373 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4374 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4375
4376 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4377 * bits/sigaction.h [__USE_MISC]: Likewise.
4378 * bits/waitstatus.h: Update #endif comments.
4379 * ctype/ctype.h: Likewise.
4380 * dirent/dirent.h: Likewise.
4381 [__USE_MISC]: Remove redundant conditionals.
4382 * grp/grp.h: Update #endif comments.
4383 [__USE_GNU]: Remove redundant conditionals.
4384 [__USE_MISC]: Likewise.
4385 * inet/netinet/in.h [__USE_GNU]: Likewise.
4386 * io/sys/stat.h [__USE_MISC]: Likewise.
4387 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4388 * libio/bits/stdio.h: Update #endif comments.
4389 [__USE_MISC]: Remove redundant conditionals.
4390 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4391 * libio/stdio.h: Update #endif comments.
4392 [__USE_MISC]: Remove redundant conditionals.
4393 * math/bits/math-finite.h [__USE_MISC]: Likewise.
4394 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4395 * math/math.h: Update #else and #endif comments.
4396 [__USE_MISC]: Remove redundant conditionals.
4397 * misc/sys/uio.h: Update #endif comments.
4398 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4399 * posix/glob.h [__USE_MISC]: Likewise.
4400 * posix/sys/types.h: Update #endif comments.
4401 [__USE_MISC]: Remove redundant conditionals.
4402 * posix/sys/wait.h: Update #endif comments.
4403 [__USE_MISC]: Remove redundant conditionals.
4404 * posix/unistd.h: Update #endif comments.
4405 [__USE_MISC]: Remove redundant conditionals.
4406 * pwd/pwd.h [__USE_GNU]: Likewise.
4407 [__USE_MISC]: Likewise.
4408 * resolv/netdb.h [__USE_GNU]: Likewise.
4409 * signal/signal.h: Update #endif comments.
4410 [__USE_MISC]: Remove redundant conditionals.
4411 * stdlib/stdlib.h: Update #else and #endif comments.
4412 [__USE_MISC]: Remove redundant conditionals.
4413 [__USE_GNU]: Likewise.
4414 * string/bits/string2.h [__USE_MISC]: Likewise.
4415 * string/string.h: Update #endif comments.
4416 [__USE_MISC]: Remove redundant conditionals.
4417 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4418 Likewise.
4419 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4420 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4421 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4422 Likewise.
4423 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4424 Likewise.
4425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4426 comments.
4427 [__USE_MISC]: Remove redundant conditionals.
4428 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4429 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4430 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4431 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4432 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4433 Likewise.
4434 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4435 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4436 Likewise.
4437 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4438 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4439 Likewise.
4440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4441 Likewise.
4442 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4443 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4444 Likewise.
4445 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4446 Likewise.
4447 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4448 * sysdeps/x86/bits/string.h: Update #endif comments.
4449 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4450 conditionals.
4451 * time/sys/time.h: Update #endif comments.
4452 * time/time.h: Likewise.
4453 [__USE_MISC]: Remove redundant conditionals.
4454
44552014-02-21 Yury Gribov <y.gribov@samsung.com>
4456
4457 [BZ #16600]
4458 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4459
44602014-02-21 Andreas Schwab <schwab@linux-m68k.org>
4461
4462 * Versions.def (librt): Add GLIBC_2.17.
4463
44642014-02-21 Adam Conrad <adconrad@0c3.net>
4465
4466 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4467 synonym for _SYS_AUXV_H to allow direct inclusion.
4468 * sysdeps/sparc/bits/hwcap.h: Likewise.
4469 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4470 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4471 * sysdeps/sparc/sysdep.h: Likewise.
4472
44732014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4474
4475 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4476
44772014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4478
4479 * benchtests/bench-strrchr.c: Print length instead of position.
4480
44812014-02-20 Joseph Myers <joseph@codesourcery.com>
4482
4483 [BZ #16611]
4484 * sysdeps/unix/sysv/linux/kernel-features.h
4485 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4486 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4487 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4488 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4489 Likewise.
4490 [__i386__ || __powerpc__ || __sh__ || __sparc__]
4491 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4492 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4493 (__ASSUME_SENDMMSG): Define instead of using previous
4494 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4496 (__ASSUME_SENDMMSG_SYSCALL): Define.
4497 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4498 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4499 Likewise.
4500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4501 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4502 Likewise.
4503 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4504 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4505 Likewise.
4506 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4507 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4508 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4509 [__ASSUME_SENDMMSG]: Change conditionals to
4510 [__ASSUME_SENDMMSG_SOCKETCALL].
4511 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4512 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4513 Define.
4514 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4515 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4516 Likewise.
4517 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4518 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4519 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4520 [!__ASSUME_SENDMMSG]: Change conditional to
4521 [!__ASSUME_SENDMMSG_SOCKETCALL].
4522 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4524 Define.
4525
4526 [BZ #16610]
4527 * sysdeps/unix/sysv/linux/kernel-features.h
4528 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4529 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4530 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4531 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4532 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4533 [__i386__ || __sparc__]
4534 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4535 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4536 (__ASSUME_RECVMMSG): Define instead of using previous
4537 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4538 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4539 (__ASSUME_RECVMMSG_SYSCALL): Define.
4540 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4542 Likewise.
4543 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4544 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4545 Likewise.
4546 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4547 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4548 Likewise.
4549 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4550 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4551 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4552 [__ASSUME_RECVMMSG]: Change condition to
4553 [__ASSUME_RECVMMSG_SOCKETCALL].
4554 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4555 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4556 Define.
4557 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4558 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4559 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4560 Likewise.
4561 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4562 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4563 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4564 [!__ASSUME_RECVMMSG]: Change condition to
4565 [!__ASSUME_RECVMMSG_SOCKETCALL].
4566 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4567 (__ASSUME_RECVMMSG_SYSCALL): Define.
4568
4569 [BZ #16609]
4570 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4571 __powerpc__ || __s390__ || __sh__ || __sparc__]
4572 (__ASSUME_SOCKETCALL): Define.
4573 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4574 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4575 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4576 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4577 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4578 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4579 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4580 (__ASSUME_ACCEPT4): Define instead of using previous
4581 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4582 __powerpc__ || __sparc__ || __s390__)] condition.
4583 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4584 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4585 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4586 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4587 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4588 [!__ASSUME_ACCEPT4]: Change condition to
4589 [!__ASSUME_ACCEPT4_SOCKETCALL].
4590 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4591 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
4592 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4593 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4594 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4595 __ASSUME_ACCEPT4_SYSCALL.
4596 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4597 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4598 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4599 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4600 __ASSUME_ACCEPT4_SYSCALL.
4601 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4602 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4603 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4604 [__ASSUME_ACCEPT4]: Change condition to
4605 [__ASSUME_ACCEPT4_SOCKETCALL].
4606 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4607 (__ASSUME_SOCKETCALL): Define.
4608 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4610 (__ASSUME_SOCKETCALL): Define.
4611 (__ASSUME_ACCEPT4): Remove.
4612 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4613 Define.
4614 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4615 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4616 Likewise.
4617 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4618 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4619
4620 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4621 macro.
4622 (HWCAP_ARM_LPAE): Likewise.
4623 (HWCAP_ARM_EVTSTRM): Likewise.
4624 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4625 Add vpfd32, lpae and evtstrm.
4626 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4627 Increase to 22.
4628
46292014-02-19 Joseph Myers <joseph@codesourcery.com>
4630
4631 * math/auto-libm-test-in: Add tests of clog10.
4632 * math/auto-libm-test-out: Regenerated.
4633 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4634 * sysdeps/i386/fpu/libm-test-ulps: Update.
4635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4636
46372014-02-18 Andreas Schwab <schwab@suse.de>
4638
4639 [BZ #16574]
4640 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4641 Store non-zero if the second buffer was newly allocated.
4642 (send_dg): Likewise.
4643 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4644 to send_vc and send_dg.
4645 (res_nsend): Pass NULL for ansp2_malloced.
4646 * resolv/res_query.c (__libc_res_nquery): Add parameter
4647 answerp2_malloced and pass it down to __libc_res_nsend.
4648 (res_nquery): Pass additional NULL to __libc_res_nquery.
4649 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4650 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4651 second answer buffer if answerp2_malloced was set.
4652 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4653 (__libc_res_nquerydomain): Add parameter
4654 answerp2_malloced and pass it down to __libc_res_nquery.
4655 (res_nquerydomain): Pass additional NULL to
4656 __libc_res_nquerydomain.
4657 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4658 additional NULL to __libc_res_nsend and __libc_res_nquery.
4659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4660 additional NULL to __libc_res_nsearch.
4661 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4662 parameter of __libc_res_nsearch to check for separately allocated
4663 second buffer.
4664 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4665 __libc_res_nquery.
4666 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4667 additional NULL to __libc_res_nquery.
4668 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4669 __libc_res_nsearch.
4670 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4671 * include/resolv.h: Update prototypes of __libc_res_nquery,
4672 __libc_res_nsearch, __libc_res_nsend.
4673
46742014-02-18 Joseph Myers <joseph@codesourcery.com>
4675
4676 * math/auto-libm-test-in: Add tests of fma.
4677 * math/auto-libm-test-out: Regenerated.
4678 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4679 (fma_towardzero_test_data): Likewise.
4680 (fma_downward_test_data): Likewise.
4681 (fma_upward_test_data): Likewise.
4682 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4683 mpc_mode.
4684 (rounding_modes): Add values for new field.
4685 (func_calc_method): Add value mpfr_fff_f.
4686 (func_calc_desc): Add mpfr_fff_f union field.
4687 (test_function): Add field exact_args.
4688 (FUNC): Add macro argument EXACT_ARGS.
4689 (FUNC_mpfr_f_f): Update call to FUNC.
4690 (FUNC_mpfr_f_f): Likewise.
4691 (FUNC_mpfr_ff_f): Likewise.
4692 (FUNC_mpfr_if_f): Likewise.
4693 (FUNC_mpc_c_f): Likewise.
4694 (FUNC_mpc_c_c): Likewise.
4695 (test_functions): Add fma. Update calls to FUNC.
4696 (handle_input_arg): Add argument exact_args.
4697 (add_test): Update call to handle_input_arg.
4698 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4699 (output_for_one_input_case): Update call to calc_generic_results.
4700 Recalculate exact zero results in each rounding mode.
4701
4702 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4703 non-negative before setting low bit.
4704 * math/auto-libm-test-in: Mark one asin test possibly having
4705 spurious underflow.
4706 * math/auto-libm-test-out: Regenerated.
4707 * sysdeps/i386/fpu/libm-test-ulps: Update.
4708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709
47102014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4711
4712 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4713 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4714 ports/sysdeps/unix/sysv/linux/microblaze.
4715 * README: Add missing listing for microblaze*-*-linux-gnu.
4716
47172014-02-16 Mike Frysinger <vapier@gentoo.org>
4718
4719 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4720 * sysdeps/unix/sysv/linux/ia64: Move directory from
4721 ports/sysdeps/unix/sysv/linux/ia64.
4722 * README: Update listing for ia64-*-linux-gnu.
4723
47242014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4725 Joseph Myers <joseph@codesourcery.com>
4726
4727 * Makeconfig (test-name): New variable.
4728 (evaluate-test): Likewise.
4729 * Makerules (do-test-clean): Remove .test-result files.
4730 (common-mostlyclean): Likewise.
4731 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4732 * scripts/evaluate-test.sh: New file.
4733
47342014-02-14 Joseph Myers <joseph@codesourcery.com>
4735
4736 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4737 separate $(objpfx)tst-fopenloc-cmp.out and
4738 $(objpfx)tst-fopenloc-mem.out targets.
4739 (tests): Update dependencies.
4740 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4741 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4742 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4743 (tst-rxspencer-no-utf8-ARGS): New variable.
4744 (tst-rxspencer-no-utf8-ENV): Likewise.
4745 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4746 instead of $(objpfx)tst-rxspencer-mem.
4747 ($(objpfx)tst-rxspencer-mem): Change target to
4748 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4749 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4750 * posix/tst-rxspencer-no-utf8.c: New file.
4751
4752 * elf/Makefile ($(objpfx)order.out): Remove rule.
4753 [$(run-built-tests) = yes] (tests): Depend on
4754 $(objpfx)order-cmp.out.
4755 ($(objpfx)order-cmp.out): New rule.
4756 [$(run-built-tests) = yes] (tests): Depend on
4757 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4758 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4759 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4760 $(objpfx)tst-array5-static-cmp.out.
4761 ($(objpfx)tst-array1.out): Remove rule.
4762 ($(objpfx)tst-array1-cmp.out): New rule.
4763 ($(objpfx)tst-array1-static.out): Remove rule.
4764 ($(objpfx)tst-array1-static-cmp.out): New rule.
4765 ($(objpfx)tst-array2.out): Remove rule.
4766 ($(objpfx)tst-array2-cmp.out): New rule.
4767 ($(objpfx)tst-array3.out): Remove rule.
4768 ($(objpfx)tst-array3-cmp.out): New rule.
4769 ($(objpfx)tst-array4.out): Remove rule.
4770 ($(objpfx)tst-array4-cmp.out): New rule.
4771 ($(objpfx)tst-array5.out): Remove rule.
4772 ($(objpfx)tst-array5-cmp.out): New rule.
4773 ($(objpfx)tst-array5-static.out): Remove rule.
4774 ($(objpfx)tst-array5-static-cmp.out): New rule.
4775 [$(run-built-tests) = yes] (tests): Depend on
4776 $(objpfx)order2-cmp.out.
4777 ($(objpfx)order2.out): Remove rule.
4778 ($(objpfx)order2-cmp.out): New rule.
4779 ($(objpfx)tst-initorder.out): Remove rule.
4780 [$(run-built-tests) = yes] (tests): Depend on
4781 $(objpfx)tst-initorder-cmp.out.
4782 ($(objpfx)tst-initorder-cmp.out): New rule.
4783 ($(objpfx)tst-initorder2.out): Remove rule.
4784 [$(run-built-tests) = yes] (tests): Depend on
4785 $(objpfx)tst-initorder2-cmp.out.
4786 ($(objpfx)tst-initorder2-cmp.out): New rule.
4787 [$(run-built-tests) = yes] (tests): Depend on
4788 $(objpfx)tst-unused-dep-cmp.out.
4789 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4790 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4791 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4792 on $(objpfx)tst-setvbuf1-cmp.out.
4793 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4794 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4795 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4796 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4797 ($(objpfx)tst-svc.out): Remove rule.
4798 ($(objpfx)tst-svc-cmp.out): New rule.
4799
48002014-02-13 Joseph Myers <joseph@codesourcery.com>
4801
4802 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4803 * ctype/ctype.h [__USE_MISC]: Likewise.
4804 * dirent/dirent.h [__USE_MISC]: Likewise.
4805 * grp/grp.h [__USE_MISC]: Likewise.
4806 * io/fcntl.h [__USE_MISC]: Likewise.
4807 * io/sys/stat.h [__USE_MISC]: Likewise.
4808 * libio/stdio.h [__USE_MISC]: Likewise.
4809 * posix/unistd.h [__USE_MISC]: Likewise.
4810 * pwd/pwd.h [__USE_MISC]: Likewise.
4811 * stdlib.h [__USE_MISC]: Likewise.
4812 * string/bits/string2.h [__USE_MISC]: Likewise.
4813 * string/string.h [__USE_MISC]: Likewise.
4814 * time/time.h [__USE_MISC]: Likewise.
4815
48162014-02-13 Andreas Schwab <schwab@suse.de>
4817
4818 [BZ #16574]
4819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4820 second answer buffer if it was separately allocated.
4821
48222014-02-12 Joseph Myers <joseph@codesourcery.com>
4823
4824 * sysdeps/mips/math-tests.h: Include <features.h>.
4825 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4826 (ROUNDING_TESTS_long_double): Do not define.
4827 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4828 (EXCEPTION_TESTS_long_double): Likewise.
4829 * sysdeps/mips/mips64/libm-test-ulps: Update.
4830
4831 * include/features.h (__USE_BSD): Remove macro definitions.
4832 (__USE_SVID): Likewise.
4833 (_BSD_SOURCE): Likewise.
4834 (_SVID_SOURCE): Likewise.
4835 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4836 from definition of _DEFAULT_SOURCE.
4837 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4838 [_DEFAULT_SOURCE].
4839 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4840 * bits/mman.h [__USE_BSD]: Likewise.
4841 * bits/termios.h [__USE_BSD]: Likewise.
4842 * bits/waitstatus.h [__USE_BSD]: Likewise.
4843 * ctype/ctype.h [__USE_SVID]: Likewise.
4844 * dirent/dirent.h [__USE_BSD]: Likewise.
4845 * grp/grp.h [__USE_SVID]: Likewise.
4846 [__USE_BSD]: Likewise.
4847 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4848 * io/fcntl.h [__USE_BSD]: Likewise.
4849 * io/ftw.h [__USE_BSD]: Likewise.
4850 * io/sys/stat.h [__USE_BSD]: Likewise.
4851 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4852 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4853 * libio/stdio.h [__USE_SVID]: Likewise.
4854 [__USE_BSD]: Likewise.
4855 * math/math.h [__USE_SVID]: Likewise.
4856 [__USE_BSD]: Likewise.
4857 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4858 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4859 * misc/search.h [__USE_SVID]: Likewise.
4860 * misc/sys/mman.h [__USE_BSD]: Likewise.
4861 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4862 * misc/sys/uio.h [__USE_BSD]: Likewise.
4863 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4864 * posix/glob.h [__USE_BSD]: Likewise.
4865 * posix/regex.h [__USE_BSD]: Likewise.
4866 * posix/sys/types.h [__USE_BSD]: Likewise.
4867 [__USE_SVID]: Likewise.
4868 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4869 * posix/sys/wait.h [__USE_BSD]: Likewise.
4870 [__USE_SVID]: Likewise.
4871 * posix/unistd.h [__USE_BSD]: Likewise.
4872 [__USE_SVID]: Likewise.
4873 * pwd/pwd.h [__USE_SVID]: Likewise.
4874 * resolv/netdb.h [__USE_BSD]: Likewise.
4875 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4876 * signal/signal.h [__USE_BSD]: Likewise.
4877 [__USE_SVID]: Likewise.
4878 * socket/sys/socket.h [__USE_BSD]: Likewise.
4879 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4880 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4881 [__USE_SVID]: Likewise.
4882 * string/bits/string2.h [__USE_BSD]: Likewise.
4883 [__USE_SVID]: Likewise.
4884 * string/bits/string3.h [__USE_BSD]: Likewise.
4885 * string/endian.h [__USE_BSD]: Likewise.
4886 * string/string.h [__USE_SVID]: Likewise.
4887 [__USE_BSD]: Likewise.
4888 * string/strings.h [__USE_BSD]: Likewise.
4889 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4890 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4891 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4892 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4893 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4894 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4897 Likewise.
4898 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4899 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4900 Likewise.
4901 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4902 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4903 Likewise.
4904 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4905 Likewise.
4906 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4907 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4909 Likewise.
4910 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4911 Likewise.
4912 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4913 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4914 * termios/termios.h [__USE_BSD]: Likewise.
4915 * time/sys/time.h [__USE_BSD]: Likewise.
4916 * time/time.h [__USE_BSD]: Likewise.
4917 [__USE_SVID]: Likewise.
4918
4919 * Makefile (subdir_targets): Remove subdir_lint.out.
4920
4921 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4922 (do-tst-printf): Likewise.
4923 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4924 $(objpfx)tst-printf.out.
4925
4926 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4927
4928 * Makerules (check-abi-%): Change target to
4929 $(objpfx)check-abi-%.out.
4930 (check-abi target): Update dependencies.
4931 (check-abi-pattern variable): Redirect output of diff to $@.
4932 (check-abi variable): Likewise.
4933 * elf/Makefile (check-abi): Update dependencies.
4934
4935 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4936 unused.
4937 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4938 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4939 subnormal range.
4940 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4941 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4942 value has largest subnormal exponent.
4943 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4944 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4945 * sysdeps/aarch64/soft-fp/sfp-machine.h
4946 (_FP_TININESS_AFTER_ROUNDING): New macro.
4947 * sysdeps/alpha/soft-fp/sfp-machine.h
4948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4949 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4950 Likewise.
4951 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4952 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4953 * sysdeps/mips/soft-fp/sfp-machine.h
4954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4955 * sysdeps/powerpc/soft-fp/sfp-machine.h
4956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4957 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4958 Likewise.
4959 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4960 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4961 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4962 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4963 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4964 Likewise.
4965
49662014-02-12 Dylan Alex Simon <dylan@dylex.net>
4967
4968 [BZ #16545]
4969 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4970 model 1.
4971
49722014-02-12 Richard Henderson <rth@redhat.com>
4973
4974 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4975 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4976 * sysdeps/unix/sysv/linux/alpha: Move directory from
4977 ports/sysdeps/unix/sysv/linux/alpha.
4978 * README: Update listing for alpha-*-linux-gnu.
4979
49802014-02-11 Joseph Myers <joseph@codesourcery.com>
4981
4982 * include/features.h: Update comment documenting feature test
4983 macros.
4984 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4985 _DEFAULT_SOURCE.
4986 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4987 (_SVID_SOURCE): Likewise.
4988 (_DEFAULT_SOURCE): Update description of default features.
4989 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4990 with _GNU_SOURCE.
4991 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4992 (S_ISVTX): Likewise.
4993 * manual/math.texi (Mathematical Constants): Likewise.
4994 * manual/signal.texi (Interrupted Primitives): Likewise.
4995 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4996 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4997 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4998 Don't refer to _SVID_SOURCE in warning text.
4999
5000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5001
5002 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5003 already defined.
5004 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5005 * sysdeps/mips/dl-lookup.c: Remove.
5006 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5007
50082014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5009
5010 [BZ #16447]
5011 * math/auto-libm-test-in: Add testcase for expl.
5012 * math/auto-libm-test-out: Regenerate.
5013 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5014 calculation of unsafe.
5015 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5016
50172014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
5018
5019 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5020 * sysdeps/unix/sysv/linux/aarch64: Move directory from
5021 ports/sysdeps/unix/sysv/linux/aarch64.
5022 * README: Update listing for aarch64*-*-linux-gnu.
5023
50242014-02-11 Will Newton <will.newton@linaro.org>
5025
5026 * manual/probes.texi (Mathematical Function Probes): Use
5027 "triggered" instead of "hit".
5028
5029 * manual/probes.texi (Internal Probes): Add documentation
5030 of setjmp, longjmp and longjmp_target probes.
5031
5032 * include/stap-probe.h: Add comment about probe argument
5033 format.
5034
5035 * malloc/mtrace.c (attribute_hidden): Remove unused macro
5036 definition. (tr_where, tr_freehook, tr_mallochook,
5037 tr_reallochook, tr_memalignhook): Use ANSI protoype.
5038
50392014-02-11 David S. Miller <davem@davemloft.net>
5040
5041 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5042 processing int_tests.
5043
50442014-02-10 Joseph Myers <joseph@codesourcery.com>
5045
5046 * sysdeps/mips: Move directory from ports/sysdeps/mips.
5047 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5048 * sysdeps/unix/sysv/linux/mips: Move directory from
5049 ports/sysdeps/unix/sysv/linux/mips.
5050 * README: Update listing for mips-*-linux-gnu and
5051 mips64-*-linux-gnu.
5052
50532014-02-10 Andreas Schwab <schwab@linux-m68k.org>
5054
5055 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5056 * sysdeps/unix/sysv/linux/m68k: Move directory from
5057 ports/sysdeps/unix/sysv/linux/m68k.
5058 * README: Update listing for m68k-*-linux-gnu.
5059
50602014-02-10 Chris Metcalf <cmetcalf@tilera.com>
5061
5062 * sysdeps/tile: Move directory from ports/sysdeps/tile.
5063 * sysdeps/unix/sysv/linux/generic: Move directory from
5064 ports/sysdeps/unix/sysv/linux/generic.
5065 * sysdeps/unix/sysv/linux/tile: Move directory from
5066 ports/sysdeps/unix/sysv/linux/tile.
5067 * README: Update listing for tile*-*-linux-gnu.
5068
50692014-02-10 Ondřej Bílka <neleai@seznam.cz>
5070
5071 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5072 __builtin_expect.
5073 * benchtests/bench-memmem.c (simple_memmem): Likewise.
5074 * catgets/open_catalog.c (__open_catalog): Likewise.
5075 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5076 * debug/confstr_chk.c: Likewise.
5077 * debug/fread_chk.c (__fread_chk): Likewise.
5078 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5079 * debug/getgroups_chk.c: Likewise.
5080 * debug/mbsnrtowcs_chk.c: Likewise.
5081 * debug/mbsrtowcs_chk.c: Likewise.
5082 * debug/mbstowcs_chk.c: Likewise.
5083 * debug/memcpy_chk.c: Likewise.
5084 * debug/memmove_chk.c: Likewise.
5085 * debug/mempcpy_chk.c: Likewise.
5086 * debug/memset_chk.c: Likewise.
5087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5088 * debug/strcat_chk.c (__strcat_chk): Likewise.
5089 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5090 * debug/strncat_chk.c (__strncat_chk): Likewise.
5091 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5092 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5093 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5094 * debug/wcpncpy_chk.c: Likewise.
5095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5096 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5097 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5098 * debug/wcsncpy_chk.c: Likewise.
5099 * debug/wcsnrtombs_chk.c: Likewise.
5100 * debug/wcsrtombs_chk.c: Likewise.
5101 * debug/wcstombs_chk.c: Likewise.
5102 * debug/wmemcpy_chk.c: Likewise.
5103 * debug/wmemmove_chk.c: Likewise.
5104 * debug/wmempcpy_chk.c: Likewise.
5105 * debug/wmemset_chk.c: Likewise.
5106 * dirent/scandirat.c (SCANDIRAT): Likewise.
5107 * dlfcn/dladdr1.c (dladdr1): Likewise.
5108 * dlfcn/dladdr.c (dladdr): Likewise.
5109 * dlfcn/dlclose.c (dlclose_doit): Likewise.
5110 * dlfcn/dlerror.c (__dlerror): Likewise.
5111 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5112 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5113 * dlfcn/dlopen.c (dlopen_doit): Likewise.
5114 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5115 * dlfcn/dlsym.c (dlsym_doit): Likewise.
5116 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5117 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5118 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5119 Likewise.
5120 * elf/dl-conflict.c: Likewise.
5121 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5122 * elf/dl-dst.h: Likewise.
5123 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5124 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5126 * elf/dl-init.c (call_init, _dl_init): Likewise.
5127 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5128 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5129 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5130 Likewise.
5131 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5132 Likewise.
5133 * elf/dl-minimal.c (__libc_memalign): Likewise.
5134 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5135 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5136 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5137 * elf/dl-sym.c (do_sym): Likewise.
5138 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5139 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5140 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5141 * elf/dl-writev.h (_dl_writev): Likewise.
5142 * elf/ldconfig.c (search_dir): Likewise.
5143 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5144 (dl_main): Likewise.
5145 * elf/setup-vdso.h (setup_vdso): Likewise.
5146 * grp/compat-initgroups.c (compat_call): Likewise.
5147 * grp/fgetgrent.c (fgetgrent): Likewise.
5148 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5149 * grp/putgrent.c (putgrent): Likewise.
5150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5151 Likewise.
5152 * hurd/hurdinit.c: Likewise.
5153 * iconvdata/8bit-gap.c (struct): Likewise.
5154 * iconvdata/ansi_x3.110.c : Likewise.
5155 * iconvdata/big5.c : Likewise.
5156 * iconvdata/big5hkscs.c : Likewise.
5157 * iconvdata/cp1255.c: Likewise.
5158 * iconvdata/cp1258.c : Likewise.
5159 * iconvdata/cp932.c : Likewise.
5160 * iconvdata/euc-cn.c: Likewise.
5161 * iconvdata/euc-jisx0213.c : Likewise.
5162 * iconvdata/euc-jp.c: Likewise.
5163 * iconvdata/euc-jp-ms.c : Likewise.
5164 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5165 * iconvdata/gb18030.c : Likewise.
5166 * iconvdata/gbbig5.c (const): Likewise.
5167 * iconvdata/gbgbk.c: Likewise.
5168 * iconvdata/gbk.c : Likewise.
5169 * iconvdata/ibm1364.c : Likewise.
5170 * iconvdata/ibm930.c : Likewise.
5171 * iconvdata/ibm932.c: Likewise.
5172 * iconvdata/ibm933.c : Likewise.
5173 * iconvdata/ibm935.c : Likewise.
5174 * iconvdata/ibm937.c : Likewise.
5175 * iconvdata/ibm939.c : Likewise.
5176 * iconvdata/ibm943.c: Likewise.
5177 * iconvdata/iso_11548-1.c: Likewise.
5178 * iconvdata/iso-2022-cn.c : Likewise.
5179 * iconvdata/iso-2022-cn-ext.c : Likewise.
5180 * iconvdata/iso-2022-jp-3.c: Likewise.
5181 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5182 * iconvdata/iso-2022-kr.c : Likewise.
5183 * iconvdata/iso646.c (gconv_end): Likewise.
5184 * iconvdata/iso_6937-2.c : Likewise.
5185 * iconvdata/iso_6937.c : Likewise.
5186 * iconvdata/iso8859-1.c: Likewise.
5187 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5188 * iconvdata/shift_jisx0213.c : Likewise.
5189 * iconvdata/sjis.c : Likewise.
5190 * iconvdata/t.61.c : Likewise.
5191 * iconvdata/tcvn5712-1.c : Likewise.
5192 * iconvdata/tscii.c: Likewise.
5193 * iconvdata/uhc.c : Likewise.
5194 * iconvdata/unicode.c (gconv_end): Likewise.
5195 * iconvdata/utf-16.c (gconv_end): Likewise.
5196 * iconvdata/utf-32.c (gconv_end): Likewise.
5197 * iconvdata/utf-7.c (base64): Likewise.
5198 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5199 * iconv/gconv_close.c (__gconv_close): Likewise.
5200 * iconv/gconv_open.c (__gconv_open): Likewise.
5201 * iconv/gconv_simple.c (internal_ucs4_loop_single)
5202 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5203 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5204 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5205 (ucs4le_internal_loop_single): Likewise.
5206 * iconv/iconv.c (iconv): Likewise.
5207 * iconv/iconv_close.c: Likewise.
5208 * iconv/loop.c (SINGLE): Likewise.
5209 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5210 * include/atomic.h: Likewise.
5211 * inet/inet6_option.c (option_alloc): Likewise.
5212 * intl/bindtextdom.c (set_binding_values): Likewise.
5213 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5214 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5215 * intl/localealias.c (read_alias_file): Likewise.
5216 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5217 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5218 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5219 * libio/fmemopen.c (fmemopen): Likewise.
5220 * libio/iofgets.c (_IO_fgets): Likewise.
5221 * libio/iofgets_u.c (fgets_unlocked): Likewise.
5222 * libio/iofgetws.c (fgetws): Likewise.
5223 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5224 * libio/iogetdelim.c (_IO_getdelim): Likewise.
5225 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5226 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5227 * locale/findlocale.c (_nl_find_locale): Likewise.
5228 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5229 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5230 Likewise.
5231 * locale/setlocale.c (setlocale): Likewise.
5232 * login/programs/pt_chown.c (main): Likewise.
5233 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5234 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5235 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5236 (mmap, mmap64, mremap, munmap): Likewise.
5237 * math/e_exp2l.c: Likewise.
5238 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5239 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5240 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5241 * math/s_catan.c (__catan): Likewise.
5242 * math/s_catanf.c (__catanf): Likewise.
5243 * math/s_catanh.c (__catanh): Likewise.
5244 * math/s_catanhf.c (__catanhf): Likewise.
5245 * math/s_catanhl.c (__catanhl): Likewise.
5246 * math/s_catanl.c (__catanl): Likewise.
5247 * math/s_ccosh.c (__ccosh): Likewise.
5248 * math/s_ccoshf.c (__ccoshf): Likewise.
5249 * math/s_ccoshl.c (__ccoshl): Likewise.
5250 * math/s_cexp.c (__cexp): Likewise.
5251 * math/s_cexpf.c (__cexpf): Likewise.
5252 * math/s_cexpl.c (__cexpl): Likewise.
5253 * math/s_clog10.c (__clog10): Likewise.
5254 * math/s_clog10f.c (__clog10f): Likewise.
5255 * math/s_clog10l.c (__clog10l): Likewise.
5256 * math/s_clog.c (__clog): Likewise.
5257 * math/s_clogf.c (__clogf): Likewise.
5258 * math/s_clogl.c (__clogl): Likewise.
5259 * math/s_csin.c (__csin): Likewise.
5260 * math/s_csinf.c (__csinf): Likewise.
5261 * math/s_csinh.c (__csinh): Likewise.
5262 * math/s_csinhf.c (__csinhf): Likewise.
5263 * math/s_csinhl.c (__csinhl): Likewise.
5264 * math/s_csinl.c (__csinl): Likewise.
5265 * math/s_csqrt.c (__csqrt): Likewise.
5266 * math/s_csqrtf.c (__csqrtf): Likewise.
5267 * math/s_csqrtl.c (__csqrtl): Likewise.
5268 * math/s_ctan.c (__ctan): Likewise.
5269 * math/s_ctanf.c (__ctanf): Likewise.
5270 * math/s_ctanh.c (__ctanh): Likewise.
5271 * math/s_ctanhf.c (__ctanhf): Likewise.
5272 * math/s_ctanhl.c (__ctanhl): Likewise.
5273 * math/s_ctanl.c (__ctanl): Likewise.
5274 * math/w_pow.c: Likewise.
5275 * math/w_powf.c: Likewise.
5276 * math/w_powl.c: Likewise.
5277 * math/w_scalb.c (sysv_scalb): Likewise.
5278 * math/w_scalbf.c (sysv_scalbf): Likewise.
5279 * math/w_scalbl.c (sysv_scalbl): Likewise.
5280 * misc/error.c (error_tail): Likewise.
5281 * misc/pselect.c (__pselect): Likewise.
5282 * nis/nis_callback.c (__nis_create_callback): Likewise.
5283 * nis/nis_call.c (__nisfind_server): Likewise.
5284 * nis/nis_creategroup.c (nis_creategroup): Likewise.
5285 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5286 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5287 * nis/nis_getservlist.c (nis_getservlist): Likewise.
5288 * nis/nis_lookup.c (nis_lookup): Likewise.
5289 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5290 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5291 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5292 * nis/nis_xdr.c (xdr_endpoint): Likewise.
5293 * nis/nss_compat/compat-grp.c (getgrent_next_file)
5294 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5295 * nis/nss_compat/compat-initgroups.c (add_group)
5296 (internal_getgrent_r): Likewise.
5297 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5298 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5299 * nis/nss_compat/compat-spwd.c (getspent_next_file)
5300 (internal_getspnam_r): Likewise.
5301 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5302 (_nss_nis_getaliasbyname_r): Likewise.
5303 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5304 (_nss_nis_getntohost_r): Likewise.
5305 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5306 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5307 (_nss_nis_getgrgid_r): Likewise.
5308 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5309 (internal_nis_gethostent_r, internal_gethostbyname2_r)
5310 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5311 (_nss_nis_gethostbyname4_r): Likewise.
5312 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5313 (initgroups_netid): Likewise.
5314 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5315 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5316 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5317 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5318 (_nss_nis_getprotobynumber_r): Likewise.
5319 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5320 (_nss_nis_getsecretkey): Likewise.
5321 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5322 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5323 (_nss_nis_getpwuid_r): Likewise.
5324 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5325 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5326 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5327 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5328 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5329 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5330 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5331 Likewise.
5332 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5333 (_nss_nisplus_getntohost_r): Likewise.
5334 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5335 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5336 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5337 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5338 Likewise.
5339 * nis/nss_nisplus/nisplus-initgroups.c
5340 (_nss_nisplus_initgroups_dyn): Likewise.
5341 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5342 (_nss_nisplus_getnetbyaddr_r): Likewise.
5343 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5344 (_nss_nisplus_getprotobynumber_r): Likewise.
5345 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5346 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5347 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5348 Likewise.
5349 * nis/nss_nisplus/nisplus-service.c
5350 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5351 (_nss_nisplus_getservbyport_r): Likewise.
5352 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5353 (_nss_nisplus_getspnam_r): Likewise.
5354 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5355 Likewise.
5356 * nscd/aicache.c (addhstaiX): Likewise.
5357 * nscd/cache.c (cache_search, prune_cache): Likewise.
5358 * nscd/connections.c (register_traced_file, send_ro_fd)
5359 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5360 (main_loop_epoll): Likewise.
5361 * nscd/grpcache.c (addgrbyX): Likewise.
5362 * nscd/hstcache.c (addhstbyX): Likewise.
5363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5364 * nscd/mem.c (gc, mempool_alloc): Likewise.
5365 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5366 (addinnetgrX): Likewise.
5367 * nscd/nscd-client.h (__nscd_acquire_maplock)
5368 (__nscd_drop_map_ref): Likewise.
5369 * nscd/nscd_getai.c (__nscd_getai): Likewise.
5370 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5371 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5372 Likewise.
5373 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5374 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5375 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5376 (__nscd_get_map_ref): Likewise.
5377 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5378 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5379 Likewise.
5380 * nscd/pwdcache.c (addpwbyX): Likewise.
5381 * nscd/selinux.c (preserve_capabilities): Likewise.
5382 * nscd/servicescache.c (addservbyX): Likewise.
5383 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5384 * posix/fnmatch.c (fnmatch): Likewise.
5385 * posix/getopt.c (_getopt_internal_r): Likewise.
5386 * posix/glob.c (glob, glob_in_dir): Likewise.
5387 * posix/wordexp.c (exec_comm_child): Likewise.
5388 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5389 (getanswer_r, gaih_getanswer_slice): Likewise.
5390 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5391 * resolv/res_init.c: Likewise.
5392 * resolv/res_mkquery.c (res_nmkquery): Likewise.
5393 * resolv/res_query.c (__libc_res_nquery): Likewise.
5394 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5395 Likewise.
5396 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5397 * stdio-common/perror.c (perror): Likewise.
5398 * stdio-common/printf_fp.c (___printf_fp): Likewise.
5399 * stdio-common/tmpnam.c (tmpnam): Likewise.
5400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5401 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5402 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5403 Likewise.
5404 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5405 * stdlib/putenv.c (putenv): Likewise.
5406 * stdlib/setenv.c (__add_to_environ): Likewise.
5407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5408 * stdlib/strtol_l.c (INTERNAL): Likewise.
5409 * string/memmem.c (memmem): Likewise.
5410 * string/strerror.c (strerror): Likewise.
5411 * string/strnlen.c (__strnlen): Likewise.
5412 * string/test-memmem.c (simple_memmem): Likewise.
5413 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5414 * sunrpc/pm_getport.c (__get_socket): Likewise.
5415 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5416 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5417 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5418 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5419 Likewise.
5420 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5421 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5422 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5423 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5424 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5425 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5426 Likewise.
5427 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5428 Likewise.
5429 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5430 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5432 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5433 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5435 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5437 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5438 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5440 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5441 Likewise.
5442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5443 Likewise.
5444 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5445 Likewise.
5446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5447 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5450 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5451 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5452 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5455 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5461 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5462 Likewise.
5463 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5464 Likewise.
5465 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5466 Likewise.
5467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5468 Likewise.
5469 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5471 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5472 Likewise.
5473 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5474 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5475 * sysdeps/posix/opendir.c (__opendirat): Likewise.
5476 * sysdeps/posix/sleep.c: Likewise.
5477 * sysdeps/posix/tempname.c: Likewise.
5478 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5479 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5480 Likewise.
5481 * sysdeps/powerpc/powerpc32/dl-machine.h
5482 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5483 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5485 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5486 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5487 Likewise.
5488 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5489 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5490 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5492 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5493 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5494 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5495 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5496 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5497 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5499 (elf_machine_lazy_rel): Likewise.
5500 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5502 (elf_machine_lazy_rel): Likewise.
5503 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5504 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5505 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5506 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5507 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5508 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5509 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5511 Likewise.
5512 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5513 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5514 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5515 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5516 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5517 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5518 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5519 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5520 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5522 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5523 Likewise.
5524 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5525 (__posix_fallocate64_l64): Likewise.
5526 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5527 (posix_fallocate): Likewise.
5528 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5529 Likewise.
5530 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5531 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5532 (getifaddrs_internal): Likewise.
5533 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5534 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5535 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5536 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5537 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5538 (__posix_fallocate64_l64): Likewise.
5539 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5540 Likewise.
5541 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5543 (__get_clockfreq): Likewise.
5544 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5545 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5546 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5549 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5550 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5551 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5552 Likewise.
5553 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5554 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5555 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5558 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5559 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5560 Likewise.
5561 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5562 (posix_fallocate): Likewise.
5563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5564 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5565 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5566 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5567 (elf_machine_rela, elf_machine_rela_relative)
5568 (elf_machine_lazy_rel): Likewise.
5569 * time/asctime.c (asctime_internal): Likewise.
5570 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5571 * time/tzset.c (__tzset_parse_tz): Likewise.
5572 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5573 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5574 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5575 * wcsmbs/wcsmbsload.h: Likewise.
5576
5577 [BZ #15894]
5578 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5579
5580 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5581 (arena_get2): Remove THREAD_STATS conditionals.
5582 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5583 (__malloc_stats, int): Likewise.
5584
55852014-02-08 Mike Frysinger <vapier@gentoo.org>
5586
5587 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5588 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
5589
5590 * manual/setjmp.texi: Fix typos/grammar errors.
5591
5592 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5593 Only return early when n is <= 0. Delete unused return statement.
5594
5595 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5596 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5597 * debug/tst-longjmp_chk3.c: New file.
5598
5599 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5600 (test_main): Replace code with set_fortify_handler call.
5601 * debug/test-strcpy_chk.c: Likewise.
5602 * debug/tst-chk1.c: Likewise.
5603 * debug/tst-longjmp_chk.c: Likewise.
5604 * test-skeleton.c: Include fcntl.h & paths.h
5605 (set_fortify_handler): Define.
5606
5607 * debug/tst-longjmp_chk.c: Add header comment and include
5608 ../test-skeleton.c.
5609 (do_test): Mark static.
5610 (TEST_FUNCTION): Define.
5611
5612 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5613 (IP_PMTUDISC_INTERFACE): Likewise.
5614 (IP_MULTICAST_IF): Likewise.
5615 (IP_MULTICAST_TTL): Likewise.
5616 (IP_MULTICAST_LOOP): Likewise.
5617 (IP_ADD_MEMBERSHIP): Likewise.
5618 (IP_DROP_MEMBERSHIP): Likewise.
5619 (IP_UNBLOCK_SOURCE): Likewise.
5620 (IP_BLOCK_SOURCE): Likewise.
5621 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5622 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5623 (IP_MSFILTER): Likewise.
5624 (MCAST_JOIN_GROUP): Likewise.
5625 (MCAST_BLOCK_SOURCE): Likewise.
5626 (MCAST_UNBLOCK_SOURCE): Likewise.
5627 (MCAST_LEAVE_GROUP): Likewise.
5628 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5629 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5630 (MCAST_MSFILTER): Likewise.
5631 (IP_MULTICAST_ALL): Likewise.
5632 (IP_UNICAST_IF): Likewise.
5633
5634 * timezone/Makefile: Delete $(have-ksh) check.
5635 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5636 * timezone/tzselect.ksh: Add +x mode bits.
5637
5638 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5639 (ANON_INODE_FS_MAGIC): Likewise.
5640 (BDEVFS_MAGIC): Likewise.
5641 (BINFMTFS_MAGIC): Likewise.
5642 (BTRFS_TEST_MAGIC): Likewise.
5643 (CRAMFS_MAGIC_WEND): Likewise.
5644 (DEBUGFS_MAGIC): Likewise.
5645 (ECRYPTFS_SUPER_MAGIC): Likewise.
5646 (EXT3_SUPER_MAGIC): Likewise.
5647 (EXT4_SUPER_MAGIC): Likewise.
5648 (FUTEXFS_SUPER_MAGIC): Likewise.
5649 (HOSTFS_SUPER_MAGIC): Likewise.
5650 (HUGETLBFS_MAGIC): Likewise.
5651 (MINIX3_SUPER_MAGIC): Likewise.
5652 (MTD_INODE_FS_MAGIC): Likewise.
5653 (NILFS_SUPER_MAGIC): Likewise.
5654 (OPENPROM_SUPER_MAGIC): Likewise.
5655 (PIPEFS_MAGIC): Likewise.
5656 (PSTOREFS_MAGIC): Likewise.
5657 (QNX6_SUPER_MAGIC): Likewise.
5658 (RAMFS_MAGIC): Likewise.
5659 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5660 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5661 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5662 (SECURITYFS_MAGIC): Likewise.
5663 (SELINUX_MAGIC): Likewise.
5664 (SMACK_MAGIC): Likewise.
5665 (SOCKFS_MAGIC): Likewise.
5666 (SQUASHFS_MAGIC): Likewise.
5667 (STACK_END_MAGIC): Likewise.
5668 (TMPFS_MAGIC): Likewise.
5669 (USBDEVICE_SUPER_MAGIC): Likewise.
5670 (V9FS_MAGIC): Likewise.
5671 (XENFS_SUPER_MAGIC): Likewise.
5672 (CRAMFS_MAGIC): Fix typo in comment.
5673 (EXT2_SUPER_MAGIC): Update comment.
5674 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5675
56762014-02-08 Joseph Myers <joseph@codesourcery.com>
5677
5678 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5679 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5680 * sysdeps/unix/sysv/linux/arm: Move directory from
5681 ports/sysdeps/unix/sysv/linux/arm.
5682 * README: Update listing for arm-*-linux-gnueabi.
5683
5684 * README: Remove mention of am33.
5685
56862014-02-07 Roland McGrath <roland@hack.frob.com>
5687
5688 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5689 than the comma operator, to avoid "rhs of comma has no effect"
5690 compiler warnings.
5691 (__sigfillset, __sigandset, __sigorset): Likewise.
5692 * include/signal.h (__sigemptyset): Likewise.
5693 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5694
56952014-02-07 Allan McRae <allan@archlinux.org>
5696
5697 * version.h (RELEASE): Set to "development".
5698 (VERSION): Set to "2.19.90"
5699 * NEWS: Add 2.20 section.
5700
57012014-02-06 Carlos O'Donell <carlos@redhat.com>
5702
5703 [BZ #16529]
5704 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5705
57062014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5707
5708 * manual/contrib.texi: Update entry for Carlos O'Donell,
5709 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5710
57112014-02-05 Carlos O'Donell <carlos@rehdat.com>
5712
5713 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5714
5715 * sysdeps/unix/sysv/linux/kernel-features.h
5716 [__LINUX_KERNEL_VERSION >= 0x020621]
5717 (__ASSUME_PROC_PID_TASK_COMM): Define.
5718
57192014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5720
5721 [BZ #16398]
5722 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5723 conversion when destination buffer does not have enough space.
5724 * libio/tst-ftell-partial-wide.c: New test case.
5725 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5726
5727 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5728 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5729 Leonard and Allan McRae.
5730
57312014-02-04 David S. Miller <davem@davemloft.net>
5732
5733 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5734 32-bit.
5735
57362014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5739 New file
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5741 New file
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5743 New file.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5745 New file.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5747 New file.
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5749 New file.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5751 New file.
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5753 New file.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5755 New file.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5757 New file.
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5759 New file.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5761 New file.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5763 New file.
5764
57652014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5766
5767 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5768 * shlib-versions: Likewise.
5769
57702014-02-04 Roland McGrath <roland@hack.frob.com>
5771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772
5773 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5774 (abilist-pattern): New variable, set to %-le.abilist.
5775
5776 * Makerules (abilist-pattern): New variable.
5777 (vpath): Use $(abilist-pattern) in place of %.abilist.
5778 (check-abi-% pattern rule): Likewise.
5779 (check-abi, update-abi): Likewise.
5780
57812014-02-04 Eric Wong <normalperson@yhbt.net>
5782
5783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5784
57852014-02-03 Carlos O'Donell <carlos@redhat.com>
5786
5787 * manual/startup.texi: Add next, previous, and top entries for
5788 the `Program Arguments' and `Environment Variables' nodes.
5789
57902014-02-03 Alexandre Oliva <aoliva@redhat.com>
5791
5792 * manual/macros.texi: Add comments before MTASC-safety macros.
5793
5794 * manual/users.texi: Document MTASC-safety properties.
5795
5796 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5797 (pthread_getspecific, pthread_setspecific): Format with
5798 @deftypefun, and add @safety note.
5799 * manual/signal.texi: Move comments that analyze the above
5800 functions to their home place.
5801
58022014-02-03 Allan McRae <allan@archlinux.org>
5803
5804 * po/sl.po: Update Slovenian translation from translation project.
5805
58062014-02-02 Alexandre Oliva <aoliva@redhat.com>
5807
5808 * manual/time.texi (timegm): Add missing blank after @c.
5809 Reported by Joseph Myers <joseph@codesourcery.com>.
5810
58112014-02-01 Alexandre Oliva <aoliva@redhat.com>
5812
5813 * manual/check-safety.sh: New.
5814 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5815
5816 * manual/terminal.texi: Document MTASC-safety properties.
5817
5818 * manual/filesys.texi: Document MTASC-safety properties.
5819
5820 * manual/errno.texi: Document MTASC-safety properties.
5821
5822 * manual/intro.texi: Document safety identifiers and
5823 conditionals.
5824
5825 * manual/string.texi (wcstok): Fix prototype.
5826 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5827
5828 * manual/time.texi: Document MTASC-safety properties.
5829
5830 * manual/string.texi: Document MTASC-safety properties.
5831
5832 * manual/threads.texi: Document MTASC-safety properties.
5833
5834 * manual/stdio.texi: Document MTASC-safety properties.
5835
5836 * manual/syslog.texi: Document MTASC-safety properties.
5837
5838 * manual/sysinfo.texi: Document MTASC-safety properties.
5839
5840 * manual/startup.texi: Document MTASC-safety properties.
5841
5842 * manual/socket.texi: Document MTASC-safety properties.
5843
5844 * manual/signal.texi: Document MTASC-safety properties.
5845
58462014-01-31 Alexandre Oliva <aoliva@redhat.com>
5847
5848 * manual/setjmp.texi: Document MTASC-safety properties.
5849
5850 * manual/search.texi: Document MTASC-safety properties.
5851
5852 * manual/resource.texi: Document MTASC-safety properties.
5853
5854 * manual/process.texi: Document MTASC-safety properties.
5855
5856 * manual/platform.texi: Document MTASC-safety properties.
5857
5858 * manual/pipe.texi: Document MTASC-safety properties.
5859
5860 * manual/pattern.texi: Document MTASC-safety properties.
5861
5862 * manual/message.texi: Document MTASC-safety properties.
5863
5864 [BZ #12751]
5865 * manual/memory.texi: Document MTASC-safety properties.
5866
5867 * manual/math.texi: Document MTASC-safety properties.
5868
5869 * manual/locale.texi: Document MTASC-safety properties.
5870
5871 * manual/llio.texi: Document MTASC-safety properties.
5872
5873 * manual/libdl.texi: New.
5874
5875 * manual/lang.texi: Document MTASC-safety properties.
5876
5877 * manual/job.texi: Document MTASC-safety properties.
5878
5879 * manual/getopt.texi: Document MTASC-safety properties.
5880
5881 * manual/ctype.texi: Document MTASC-safety properties.
5882
58832014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5884
5885 [BZ #16046]
5886 * csu/libc-tls.c (static_map): Remove variable.
5887 (__libc_setup_tls): Use main executable's link map for TLS data.
5888 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5889 casing for LM_ID_BASE and GL(dl_nns).
5890 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5891 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5892 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5893 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5894 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5895 member.
5896 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5897 l_phnum members.
5898
58992014-01-30 Alexandre Oliva <aoliva@redhat.com>
5900
5901 * manual/debug.texi: Document MTASC-safety properties.
5902
59032014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 [BZ #16510]
5906 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5907 of __x86_64__ when disabling x87 inline functions.
5908
59092014-01-29 Alexandre Oliva <aoliva@redhat.com>
5910
5911 * manual/charset.texi: Document MTASC-safety properties.
5912
5913 * manual/crypt.texi: Document MTASC-safety properties.
5914
5915 * manual/conf.texi: Document MTASC-safety properties.
5916
5917 * manual/arith.texi: Document MTASC-safety properties.
5918
5919 * manual/argp.texi: Document MTASC-safety properties.
5920
5921 * manual/macros.texi: Introduce macros to document multi
5922 thread, asynchronous signal and asynchronous cancellation
5923 safety properties.
5924 * manual/intro.texi: Introduce the properties themselves.
5925
59262014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5927
5928 * sysdeps/sh/sh4/Makefile: New file.
5929
59302014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5931
5932 * math/gen-libm-test.pl ($srcdir): New variable.
5933 ($auto_input): Use it.
5934
59352014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5936
5937 [BZ #16506]
5938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5939 access beyond array bounds when parsing netgroups file.
5940
5941 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5942 the old buffer before realloc.
5943
59442014-01-27 Allan McRae <allan@archlinux.org>
5945
5946 * po/fr.po: Update French translation from translation project.
5947
59482014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5949
5950 * sysdeps/sh/libm-test-ulps: Regenerate.
5951
59522014-01-24 David S. Miller <davem@davemloft.net>
5953
5954 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5955
59562014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5957
5958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5959 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5960
59612013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5962
5963 [BZ #16474]
5964 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5965 string pointers after reallocation.
5966
59672014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5968
5969 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5970 __SH4A__ instead of __SH_FPU_ANY__.
5971
59722014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5973
5974 * sysdeps/sh/fpu_control.h: New file.
5975 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5976 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5977 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5978 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5979 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5980 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5981 * sysdeps/sh/sys/ucontext.h: Remove.
5982 * sysdeps/sh/sys: Remove directory.
5983
59842014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5985
5986 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5987 s390/sys/ucontext.h.
5988 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5989 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5990
59912014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5992
5993 [BZ #15605]
5994 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5995
59962014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 [BZ#16431]
5999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6000 Adjust the vDSO correctly for internal calls.
6001 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6002
60032014-01-20 Allan McRae <allan@archlinux.org>
6004
6005 * po/ca.po: Update Catalan translation from translation project.
6006
60072014-01-16 Mike Frysinger <vapier@gentoo.org>
6008
6009 * sysdeps/s390/sotruss-lib.c: New file.
6010
60112014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6012
6013 [BZ#16430]
6014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6015 (__GI___gettimeofday): Alias for a different internal symbol to avoid
6016 local calls issues by not having a PLT stub required for IFUNC calls.
6017 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6018
60192014-01-16 Joseph Myers <joseph@codesourcery.com>
6020
6021 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6022 * math/test-fpucw-static.c: Likewise.
6023
60242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6025
6026 [BZ #16453]
6027 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6028
60292014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6030
6031 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6032 implementation for powerpc.
6033
60342014-01-15 Ondřej Bílka <neleai@seznam.cz>
6035
6036 [BZ #14782]
6037 * sysdeps/posix/system.c (__libc_system): Do not enable
6038 asynchronous cancellation.
6039
60402014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6041
6042 [BZ #16427]
6043 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6044 handling only for numbers special also in the IEEE case.
6045
60462014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6047
6048 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6049
60502014-01-11 Allan McRae <allan@archlinux.org>
6051
6052 * po/bg.po: Update Bulgarian translation from translation project.
6053
6054 * po/de.po: Update German translation from translation project.
6055
60562014-01-10 Roland McGrath <roland@hack.frob.com>
6057
6058 * sysdeps/generic/gcc-compat.h: New file.
6059
60602014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6061
6062 * benchtests/asin-inputs: Correct slow inputs.
6063 * benchtests/acos-inputs: Likewise.
6064
60652014-01-10 Allan McRae <allan@archlinux.org>
6066
6067 * po:sv.po: Update Swedish translation from translation project.
6068
6069 * po/vi.po: Update Vietnamese translation from translation project.
6070
6071 * po/eo.po: Update Esperanto translation from translation project.
6072
6073 * po/cs.po: Update Czech translation from translation project.
6074
6075 * po/nl.po: Update Dutch translation from translation project.
6076
6077 * po/pl.po: Update Polish translation from translation project.
6078
6079 * po/ru.po: Update Russian translation from translation project.
6080
6081 * po/uk.po: Update Ukrainian translation from translation project.
6082
60832014-01-08 Brooks Moses <bmoses@google.com>
6084
6085 * elf/dl-load.c: Fix comment typo.
6086
60872014-01-08 Carlos O'Donell <carlos@redhat.com>
6088
6089 * po/header.pot: Rename to...
6090 * po/pot.header: ... this.
6091 * po/Makefile: Use pot.header.
6092
60932014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
6094 Maxim Kuvyrkov <maxim@kugelworks.com>
6095
6096 [BZ #16394]
6097 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6098 SRC and DEST against LEN.
6099
61002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 [BZ #16414]
6103 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6104 implementation.
6105 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6106
61072014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108
6109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6110
61112014-01-08 Joseph Myers <joseph@codesourcery.com>
6112
6113 [BZ #16408]
6114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6115 for large positive arguments.
6116
61172014-01-07 Joseph Myers <joseph@codesourcery.com>
6118
6119 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6120
6121 * math/auto-libm-test-in: Mark various tests with
6122 xfail-rounding:ldbl-128ibm.
6123 * math/auto-libm-test-out: Regenerated.
6124
6125 [BZ #16407]
6126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6127 Increase overflow threshold.
6128
61292014-01-07 Ondřej Bílka <neleai@seznam.cz>
6130
6131 [BZ #14286]
6132 * stdio-common/vfprintf.c: Check for integer overflow.
6133
61342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135
6136 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6137 the first argument and return value of __tls_get_addr_internal.
6138
61392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6140
6141 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6142 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6143
61442014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6145
6146 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6147 * sysdeps/s390/rtld-global-offsets.sym: New file.
6148 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6149 GLIBC_2.19 symbol.
6150 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6152 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6153 ... this.
6154 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6156 ... this.
6157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6158 Regenerate.
6159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6160 Regenerate.
6161 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6162 halfs of GPRs for high_gprs contexts.
6163 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6164 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
6165 field.
6166 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6167 uc_flags field.
6168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6169 64 bit versions:
6170 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6171 for high GPRs (uc_high_gprs) and for future extensions
6172 (__reserved).
6173 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6174 for future extensions (__reserved).
6175 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6176 64 bit versions:
6177 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6178 SC_HIGHGPRS offset definition.
6179 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6180 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6181
6182 * Versions.def: Add GLIBC_2.19 for libpthread.
6183 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6184 siglongjmp for libpthread with GLIBC_2.19 symver.
6185 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6186 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6187 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6188 * sysdeps/s390/__longjmp.c: New file.
6189 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6190 * sysdeps/s390/longjmp.c: New file.
6191 * sysdeps/s390/setjmp.S: New file.
6192 * sysdeps/s390/sigjmp.S: New file.
6193 * sysdeps/s390/v1-longjmp.c: New file.
6194 * sysdeps/s390/v1-setjmp.h: New file.
6195 * sysdeps/s390/v1-sigjmp.c: New file.
6196 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6197 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6198 GLIBC_2.19 version.
6199 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6200 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6201 versioned symbols for ____longjmp_chk.
6202 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6203 Likewise.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6205 Regenerate.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6207 Regenerate.
6208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6209 Regenerate.
6210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6211 Regenerate.
6212 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6213 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6214 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6215 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6216 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6217 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6218 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6219 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6220 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6221 * sysdeps/s390/rtld-__longjmp.c: New file.
6222 * sysdeps/s390/rtld-setjmp.S: New file.
6223
62242014-01-06 Joseph Myers <joseph@codesourcery.com>
6225
6226 [BZ #16400]
6227 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6228 Return -__logl (x) for small positive arguments without evaluating
6229 a polynomial.
6230
62312014-01-06 Mike Frysinger <vapier@gentoo.org>
6232
6233 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6234 Rename to ...
6235 (__ptrace_peeksiginfo_args): ... this.
6236 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6239
62402014-01-06 Allan McRae <allan@archlinux.org>
6241
6242 * inet/netinet/in.h: Fix typo in comment.
6243
62442014-01-05 Andreas Jaeger <aj@suse.de>
6245
6246 * sysdeps/i386/fpu/libm-test-ulps: Update.
6247
62482014-01-05 Allan McRae <allan@archlinux.org>
6249
6250 * po/libc.pot: Regenerated.
6251
6252 * malloc/memusagestat.c: Fix gettext call formatting.
6253
62542014-01-04 Sami Kerola <kerolasa@iki.fi>
6255
6256 * nscd/nscd.c: Improve usage() output.
6257
62582014-01-04 Mike Frysinger <vapier@gentoo.org>
6259
6260 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6261 * sysdeps/unix/sysv/linux/configure: Regenerated.
6262 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6263 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6264
62652014-01-03 Joseph Myers <joseph@codesourcery.com>
6266
6267 [BZ #16390]
6268 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6269 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6270
62712014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6272
6273 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6274 extra tokens at end of #undef directive.
6275 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6276 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6278
62792014-01-03 Joseph Myers <joseph@codesourcery.com>
6280
6281 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6282
6283 * math/auto-libm-test-in: Mark various tests with
6284 xfail-rounding:ldbl-128ibm.
6285 * math/auto-libm-test-out: Regenerated.
6286
62872014-01-02 Joseph Myers <joseph@codesourcery.com>
6288
6289 [BZ #16386]
6290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6291 numbers with subnormal high part when calculating exponent.
6292
6293 [BZ #16385]
6294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6295 fabs.
6296
6297 [BZ #16384]
6298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6299 M_LN2l.
6300 (__ieee754_acoshl): Use __log1pl not __log1p.
6301
63022013-01-02 Ondřej Bílka <neleai@seznam.cz>
6303
6304 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6305 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6306 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6307 (grow_heap, heap_trim, _int_new_arena, get_free_list)
6308 (reused_arena, arena_get2): Convert to GNU style.
6309 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6310 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6311 (memalign_check, __malloc_set_state): Likewise.
6312 * malloc/mallocbug.c (main): Likewise.
6313 * malloc/malloc.c (__malloc_assert, malloc_init_state)
6314 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6315 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6316 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6317 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6318 (__posix_memalign, malloc_info): Likewise.
6319 * malloc/malloc.h: Likewise.
6320 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6321 (mallochook, memalignhook, reallochook, mabort): Likewise.
6322 * malloc/mcheck.h: Likewise.
6323 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6324 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6325 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6326 * malloc/morecore.c (__default_morecore): Likewise.
6327 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6328 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6329 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6330 (print_and_abort): Likewise.
6331 * malloc/obstack.h: Likewise.
6332 * malloc/set-freeres.c (__libc_freeres): Likewise.
6333 * malloc/tst-mallocstate.c (main): Likewise.
6334 * malloc/tst-mtrace.c (main): Likewise.
6335 * malloc/tst-realloc.c (do_test): Likewise.
6336
63372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6338
6339 [BZ #16366]
6340 * nscd/netgroupcache.c (do_notfound): New function.
6341 (addgetnetgrentX): Use it.
6342
6343 [BZ # 16365]
6344 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6345 NSS_STATUS_NOTFOUND.
6346
63472014-01-01 Joseph Myers <joseph@codesourcery.com>
6348
6349 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6351
63522014-01-01 Allan McRae <allan@archlinux.org>
6353
6354 * scripts/update-copyrights: Update configure input file suffix.
6355
6356 * NEWS: Update copyright year.
6357 * catgets/gencat.c: Likewise.
6358 * csu/version.c: Likewise.
6359 * debug/catchsegv.sh: Likewise.
6360 * debug/pcprofiledump.c: Likewise.
6361 * debug/xtrace.sh: Likewise.
6362 * elf/ldconfig.c: Likewise.
6363 * elf/ldd.bash.in: Likewise.
6364 * elf/pldd.c: Likewise.
6365 * elf/sotruss.ksh: Likewise.
6366 * elf/sprof.c: Likewise.
6367 * iconv/iconv_prog.c: Likewise.
6368 * iconv/iconvconfig.c: Likewise.
6369 * locale/programs/locale.c: Likewise.
6370 * locale/programs/localedef.c: Likewise.
6371 * login/programs/pt_chown.c: Likewise.
6372 * malloc/memusage.sh: Likewise.
6373 * malloc/memusagestat.c: Likewise.
6374 * malloc/mtrace.pl: Likewise.
6375 * manual/libc.texinfo: Likewise.
6376 * nscd/nscd.c: Likewise.
6377 * nss/getent.c: Likewise.
6378 * nss/makedb.c: Likewise.
6379 * posix/getconf.c: Likewise.
6380 * scripts/test-installation.pl: Likewise.
6381
6382 * All files with FSF copyright notices: Update copyright dates
6383 using scripts/update-copyrights.
6384 * intl/plural.c: Regenerated.
6385 * locale/programs/charmap-kw.h: Likewise.
6386 * locale/programs/locfile-kw.h: Likewise.
6387
63882013-12-31 Mike Frysinger <vapier@gentoo.org>
6389
6390 * sysdeps/unix/sysv/linux/configure: Regenerated.
6391 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6392 the linux/fanotify.h header.
6393 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6394 HAVE_LINUX_FANOTIFY_H is defined.
6395
63962013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6397
6398 * benchtests/cos-inputs: New inputs.
6399 * benchtests/sin-inputs: Likewise.
6400
6401 * benchtests/atan-inputs: New inputs. Fix name of multiple
6402 precision fallback inputs.
6403
6404 * benchtests/atanh-inputs: New inputs.
6405 * benchtests/tanh-inputs: Likewise.
6406
6407 * benchtests/acosh-inputs: New inputs.
6408 * benchtests/asinh-inputs: Likewise.
6409
6410 * benchtests/cosh-inputs: New inputs.
6411 * benchtests/sinh-inputs: Likewise.
6412
6413 * benchtests/acos-inputs: Add more inputs.
6414 * benchtests/asin-inputs: Likewise.
6415
64162013-12-30 Ville Skytta <ville.skytta@iki.fi>
6417
6418 [BZ #16375]
6419 * manual/arith.texi: Fix spelling.
6420 * manual/charset.texi: Likewise.
6421 * manual/errno.texi: Likewise.
6422 * manual/filesys.texi: Likewise.
6423 * manual/lang.texi: Likewise.
6424 * manual/llio.texi: Likewise.
6425 * manual/locale.texi: Likewise.
6426 * manual/message.texi: Likewise.
6427 * manual/resource.texi: Likewise.
6428 * manual/search.texi: Likewise.
6429 * manual/setjmp.texi: Likewise.
6430 * manual/stdio.texi: Likewise.
6431 * manual/string.texi: Likewise.
6432 * manual/sysinfo.texi: Likewise.
6433 * manual/time.texi: Likewise.
6434
64352013-12-27 Carlos O'Donell <carlos@redhat.com>
6436
6437 * po/sl.po: New file.
6438
64392013-12-27 Mike Frysinger <vapier@gentoo.org>
6440
6441 * .gitignore: Add core/.gdbinit/.gdb_history.
6442
64432013-12-27 Allan McRae <allan@archlinux.org>
6444
6445 [BZ #16369]
6446 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6447 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6448
64492013-12-24 Brooks Moses <bmoses@google.com>
6450
6451 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6452 all compilers that claim C++98 compliance, not just GCC.
6453 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6454 Likewise.
6455
64562013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6457
6458 * NEWS: Restore accidentally deleted bug-fix entries.
6459
64602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
6461 Ondřej Bílka <neleai@seznam.cz>
6462
6463 [BZ #15073]
6464 * malloc/malloc.c (_int_free): Perform sanity check only if we
6465 have_lock.
6466
64672013-12-23 Ondřej Bílka <neleai@seznam.cz>
6468
6469 [BZ #12986]
6470 * manual/stdio.texi (String Input Conversions): Clarify that character
6471 classes are not supported.
6472
64732013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6476
64772013-12-22 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #16337]
6480 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6481 Calculate results for small negative arguments directly rather
6482 than using reflection formula with special underflow handling.
6483
6484 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6485 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6486 sysdeps/unix/bsd/bsd4.4/syscalls.list.
6487 (fchflags): Likewise.
6488 (revoke): Likewise.
6489 (setlogin): Likewise.
6490 (sigaltstack): Likewise.
6491 (wait4): Likewise.
6492 (sigblock): Remove.
6493 (sigsetmask): Likewise.
6494 (wait3): Likewise.
6495 (waitpid): Likewise.
6496 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6497 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6498 file.
6499 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6500 * sysdeps/unix/bsd/Makefile: ... here.
6501 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6502 * sysdeps/unix/bsd/Versions: ... here.
6503 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6504 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6505 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6506 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6507 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6508 * sysdeps/unix/bsd/sigblock.c: ... here.
6509 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6510 * sysdeps/unix/bsd/sigsetmask.c: ... here.
6511 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6512 * sysdeps/unix/bsd/sigvec.c: ... here.
6513 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6514 * sysdeps/unix/bsd/tcdrain.c: ... here.
6515 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6516 * sysdeps/unix/bsd/tcgetattr.c: ... here.
6517 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6518 * sysdeps/unix/bsd/tcsetattr.c: ... here.
6519 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6520 * sysdeps/unix/bsd/wait.c: ... here.
6521 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6522 * sysdeps/unix/bsd/wait3.c: ... here.
6523 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6524 * sysdeps/unix/bsd/waitpid.c: ... here.
6525
65262013-12-21 Joseph Myers <joseph@codesourcery.com>
6527
6528 [BZ #16356]
6529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6530 round-to-nearest for [!USE_AS_EXPM1L].
6531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6532 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
6533 more tests of exp and exp10. Expect some exp10 tests to miss
6534 exceptions or fail in directed rounding modes.
6535 * math/auto-libm-test-out: Regenerated.
6536 * math/libm-test.inc (exp10_tonearest_test_data): New array.
6537 (exp10_test_tonearest): New function.
6538 (exp10_towardzero_test_data): New array.
6539 (exp10_test_towardzero): New function.
6540 (exp10_downward_test_data): New array.
6541 (exp10_test_downward): New function.
6542 (exp10_upward_test_data): New array.
6543 (exp10_test_upward): New function.
6544 (main): Call the new functions.
6545 * sysdeps/i386/fpu/libm-test-ulps: Update.
6546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6547
65482013-12-20 Joseph Myers <joseph@codesourcery.com>
6549
6550 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6551 asinh, atan, atan2, atanh, cbrt, cos and cosh.
6552 * math/auto-libm-test-out: Regenerated.
6553 * math/libm-test.inc (acosh_test_data): Add more tests.
6554 (atanh_test_data): Likewise.
6555 (ceil_test_data): Likewise.
6556 (copysign_test_data): Likewise.
6557 * sysdeps/i386/fpu/libm-test-ulps: Update.
6558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6559
6560 * timezone/checktab.awk: Update from tzcode 2013i.
6561 * timezone/private.h: Likewise.
6562 * timezone/scheck.c: Likewise.
6563 * timezone/tzfile.h: Likewise.
6564 * timezone/tzselect.ksh: Likewise.
6565 * timezone/zdump.c: Likewise.
6566 * timezone/zic.c: Likewise.
6567
6568 * math/auto-libm-test-in: Add tests of cpow.
6569 * math/auto-libm-test-out: Regenerated.
6570 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6571 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6572 mpc_cc_c.
6573 (func_calc_desc): Add mpc_cc_c union field.
6574 (test_functions): Add cpow.
6575 (special_fill_2pi): New function.
6576 (special_real_inputs): Add 2pi.
6577 (calc_generic_results): Handle mpc_cc_c.
6578 * sysdeps/i386/fpu/libm-test-ulps: Update.
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6580
6581 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6582 csqrt, ctan and ctanh.
6583 * math/auto-libm-test-out: Regenerated.
6584 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6585 (TEST_COND_x86): Likewise.
6586 (ccos_test_data): Use AUTO_TESTS_c_c.
6587 (ccosh_test_data): Likewise.
6588 (cexp_test_data): Likewise.
6589 (clog_test_data): Likewise.
6590 (csqrt_test_data): Likewise.
6591 (ctan_test_data): Likewise.
6592 (ctan_tonearest_test_data): Likewise.
6593 (ctan_towardzero_test_data): Likewise.
6594 (ctan_downward_test_data): Likewise.
6595 (ctan_upward_test_data): Likewise.
6596 (ctanh_test_data): Likewise.
6597 (ctanh_tonearest_test_data): Likewise.
6598 (ctanh_towardzero_test_data): Likewise.
6599 (ctanh_downward_test_data): Likewise.
6600 (ctanh_upward_test_data): Likewise.
6601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6602 mpc_c_c.
6603 (func_calc_desc): Add mpc_c_c union field.
6604 (FUNC_mpc_c_c): New macro.
6605 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6606 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6607 ctanh.
6608 (special_fill_min_subnorm_p120): New function.
6609 (special_real_inputs): Add min_subnorm_p120.
6610 (calc_generic_results): Handle mpc_c_c.
6611 * sysdeps/i386/fpu/libm-test-ulps: Update.
6612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6613
66142013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6615
6616 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6617 (do_sin_slow): New functions.
6618 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6619 (cslow2, csloww1, csloww2): Use the new functions.
6620
6621 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6622 Use M to change sign of result instead of X. Assume X is
6623 positive.
6624 (csloww1): Likewise.
6625 (__sin): Adjust.
6626 (__cos): Adjust.
6627
6628 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6629 arguments A and DA.
6630 (__sin): Adjust.
6631 (__cos): Likewise.
6632
6633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6634 (__cos): Likewise.
6635 (sloww1): Don't adjust sign of DX.
6636 (csloww1): Likewise.
6637 (sloww2): Use X directly and don't adjust sign of DX.
6638 (csloww2): Likewise.
6639
66402013-12-19 Joseph Myers <joseph@codesourcery.com>
6641
6642 * math/auto-libm-test-in: Add tests of cabs and carg.
6643 * math/auto-libm-test-out: Regenerated.
6644 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6645 (carg_test_data): Likewise.
6646 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6647 mpc_c_f.
6648 (func_calc_desc): Add mpc_c_f union field.
6649 (test_functions): Add cabs and carg.
6650 (calc_generic_results): Handle mpc_c_f.
6651
6652 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6653 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6654 as a macro and a compat symbol.
6655 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6656 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6657 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6658 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6659 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6661 not use .hidden.
6662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6663 Likewise.
6664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6665 Likewise.
6666 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6667 Likewise.
6668 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6669 Likewise.
6670 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6671 Likewise.
6672 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6673 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6674 from GLIBC_2.3.2.
6675
66762013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677
6678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6679
66802013-12-19 Joseph Myers <joseph@codesourcery.com>
6681
6682 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6683 trailing whitespace removed.
6684 * scripts/config.guess: Update to version 2013-11-29.
6685 * scripts/config.sub: Update to version 2013-10-01.
6686
6687 * math/auto-libm-test-in: Add tests of sincos.
6688 * math/auto-libm-test-out: Regenerated.
6689 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6691 mpfr_f_11.
6692 (func_calc_desc): Add mpfr_f_11 union field.
6693 (test_functions): Add sincos.
6694 (calc_generic_results): Handle mpfr_f_11.
6695 * sysdeps/i386/fpu/libm-test-ulps: Update.
6696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6697
66982013-12-19 Andreas Schwab <schwab@suse.de>
6699
6700 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6701 CALL_MCOUNT.
6702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6703 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6704 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6705
67062013-12-19 Joseph Myers <joseph@codesourcery.com>
6707
6708 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6709 * sysdeps/i386/fpu/libm-test-ulps: Update.
6710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6711
6712 [BZ #16293]
6713 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6714 round-to-nearest mode when using frndint.
6715 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6716 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6718 Likewise.
6719 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6720 sinh test to fail.
6721 * math/auto-libm-test-out: Regenerated.
6722 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6723 (TEST_COND_x86): Likewise.
6724 (expm1_tonearest_test_data): New array.
6725 (expm1_test_tonearest): New function.
6726 (expm1_towardzero_test_data): New array.
6727 (expm1_test_towardzero): New function.
6728 (expm1_downward_test_data): New array.
6729 (expm1_test_downward): New function.
6730 (expm1_upward_test_data): New array.
6731 (expm1_test_upward): New function.
6732 (main): Run the new test functions.
6733 * sysdeps/i386/fpu/libm-test-ulps: Update.
6734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6735
6736 * include/features.h: Update comment documenting feature test
6737 macros. Mention _DEFAULT_SOURCE in comment.
6738 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6739 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6740 _BSD_SOURCE and _SVID_SOURCE.
6741 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6742 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6743 !_SVID_SOURCE]: Likewise.
6744 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6745 (__USE_POSIX_IMPLICITLY): Define.
6746 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6747 (_POSIX_SOURCE): Undefine and redefine.
6748 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6749 (_POSIX_C_SOURCE): Likewise.
6750 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6751 (Feature Test Macros): Update documentation of default features.
6752
67532013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6754
6755 * benchtests/Makefile: Add bench-strtok.
6756 * benchtests/bench-strtok.c: New file: strtok benchtest.
6757
67582013-12-19 Allan McRae <allan@archlinux.org>
6759
6760 * manual/install.texi: Suppress menu for plain text output.
6761 * INSTALL: Regenerated.
6762
67632013-12-18 Brooks Moses <bmoses@google.com>
6764
6765 [BZ #15846]
6766 * misc/getauxval.c: Include errno.h.
6767 (__getauxval): Set errno to ENOENT if the requested type is not
6768 found.
6769 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6770 don't declare with __attribute_const__.
6771 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6772 * manual/startup.texi: Document that getauxval sets errno.
6773
67742013-12-18 Joseph Myers <joseph@codesourcery.com>
6775
6776 * math/auto-libm-test-in: Add tests of jn and yn.
6777 * math/auto-libm-test-out: Regenerated.
6778 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6779 (yn_test_data): Likewise.
6780 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6781 mpfr_if_f.
6782 (func_calc_desc): Add mpfr_if_f union field.
6783 (FUNC_mpfr_if_f): New macro.
6784 (test_functions): Add jn and yn.
6785 (calc_generic_results): Assert type of second input for
6786 mpfr_ff_f. Handle mpfr_if_f.
6787 (output_for_one_input_case): Disable all checking for arguments
6788 fitting floating-point types in case of an integer argument.
6789 * sysdeps/i386/fpu/libm-test-ulps: Update.
6790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6791
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6793 Don't expect fegetround reference in libm.so.
6794
67952013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6796
6797 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6798 $(config-cflags-nofma).
6799
68002013-12-18 Joseph Myers <joseph@codesourcery.com>
6801
6802 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6803 * math/auto-libm-test-out: Regenerated.
6804
6805 [BZ #16338]
6806 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6807 to determine exponent and adjust argument to have exponent of -1.
6808 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6809 log2.
6810 * math/auto-libm-test-out: Regenerated.
6811 * sysdeps/i386/fpu/libm-test-ulps: Update.
6812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6813
68142013-12-18 Ondřej Bílka <neleai@seznam.cz>
6815
6816 * manual/probes.texi: Remove cases when per-thread arenas are
6817 disabled.
6818
68192013-12-18 Andreas Schwab <schwab@suse.de>
6820
6821 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6822 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6823 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6824 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6825 * sysdeps/i386/i686/multiarch/Makefile: Update.
6826 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6827
68282013-12-17 Joseph Myers <joseph@codesourcery.com>
6829
6830 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6831 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6832
68332013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6834
6835 [BZ #15968]
6836 Support TZ transition times < 00:00:00.
6837 This is needed for version-3 tz-format files; it supports time
6838 stamps past 2037 for America/Godthab (the only entry in the tz
6839 database for which this change is relevant).
6840 * manual/time.texi (TZ Variable): Document transition times
6841 from -167:59:59 through -00:00:01.
6842 * time/tzset.c (tz_rule): Time of day is now signed.
6843 (__tzset_parse_tz): Parse negative time of day.
6844
6845 Document TZ transition times >= 25:00:00.
6846 * manual/time.texi (TZ Variable): Document transition times from
6847 25:00:00 through 167:59:59. These are already supported, and this
6848 support will help with version-3 tz-format files.
6849
6850 * manual/time.texi (TZ Variable): Modernize North America example
6851 to reflect current (i.e., 2007-and-later) daylight saving rules.
6852
6853 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6854
68552013-12-17 Joseph Myers <joseph@codesourcery.com>
6856
6857 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6858 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6861 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6862 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6863 * sysdeps/unix/bsd/clock.c: Likewise.
6864 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6865 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6866 * sysdeps/unix/bsd/init-posix.c: Likewise.
6867 * sysdeps/unix/bsd/poll.c: Likewise.
6868 * sysdeps/unix/bsd/ptsname.c: Likewise.
6869 * sysdeps/unix/bsd/seekdir.c: Likewise.
6870 * sysdeps/unix/bsd/setegid.c: Likewise.
6871 * sysdeps/unix/bsd/seteuid.c: Likewise.
6872 * sysdeps/unix/bsd/setgid.c: Likewise.
6873 * sysdeps/unix/bsd/setrgid.c: Likewise.
6874 * sysdeps/unix/bsd/setruid.c: Likewise.
6875 * sysdeps/unix/bsd/setsid.c: Likewise.
6876 * sysdeps/unix/bsd/setuid.c: Likewise.
6877 * sysdeps/unix/bsd/sigaction.c: Likewise.
6878 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6879 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6880 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6881 * sysdeps/unix/bsd/telldir.c: Likewise.
6882 * sysdeps/unix/bsd/times.c: Likewise.
6883 * sysdeps/unix/bsd/usleep.c: Likewise.
6884
6885 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6886 ($(objpfx)libbsd-compat.a): Remove rule.
6887
6888 * include/features.h (__FAVOR_BSD): Do not define.
6889 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6890 features conflicting with POSIX.
6891 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6892 (_BSD_SOURCE): Remove description of not being a subset of other
6893 feature test macros.
6894 * manual/job.texi (getpgrp): Do not document BSD version.
6895 (getpgid): Do not document by reference to BSD getpgrp.
6896 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6897 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6898 * signal/signal.h [__FAVOR_BSD]: Likewise.
6899 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6900 instead of making contents conditional on [__FAVOR_BSD].
6901 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6902
69032013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904
6905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6906
69072013-12-17 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #16314]
6910 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6911 values below 2**-450, not 2**-500.
6912 * math/auto-libm-test-in: Don't allow spurious underflow from
6913 hypot.
6914 * math/auto-libm-test-out: Regenerated.
6915
6916 [BZ #16316]
6917 [BZ #16330]
6918 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6919 values of ha and hb and sort them after adjusting subnormal
6920 arguments.
6921 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6922 Likewise.
6923 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6924 values of ea and eb and sort them after adjusting subnormal
6925 arguments.
6926 * math/auto-libm-test-in: Do not expect some hypot tests of
6927 subnormals to fail. Add more hypot tests.
6928 * math/auto-libm-test-out: Regenerated.
6929
69302013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6931
6932 [BZ #13304]
6933 * sysdeps/sh/s_fma.c: New file.
6934 * sysdeps/sh/s_fmaf.c: New file.
6935 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6936 version.
6937 * sysdeps/sh/Implies: Add sh/soft-fp.
6938
69392013-12-16 Roland McGrath <roland@hack.frob.com>
6940
6941 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6942 level of indirection to members `objname', `errstring', `malloced'.
6943 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6944 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6945 it as the __longjmp argument (just pass 1 instead).
6946 (_dl_catch_error): Initialize C with argument pointers and address of
6947 volatile local ERRCODE rather than copying values out of C at return.
6948
69492013-12-16 Joseph Myers <joseph@codesourcery.com>
6950
6951 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6952 * math/auto-libm-test-out: Regenerated.
6953 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6954 (hypot_test_data): Likewise.
6955 (pow_test_data): Likewise.
6956 (pow_tonearest_test_data): Likewise.
6957 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6958 mpfr_ff_f.
6959 (func_calc_desc): Add mpfr_ff_f union field.
6960 (FUNC_mpfr_ff_f): New macro.
6961 (test_functions): Add atan2, hypot and pow.
6962 (special_fill_min): New function.
6963 (special_fill_minus_min): Likewise.
6964 (special_fill_min_subnorm): Likewise.
6965 (special_fill_minus_min_subnorm): Likewise.
6966 (special_real_inputs): Add min, -min, min_subnorm and
6967 -min_subnorm.
6968 (calc_generic_results): Handle mpfr_ff_f.
6969 * sysdeps/i386/fpu/libm-test-ulps: Update.
6970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971
69722013-12-16 Will Newton <will.newton@linaro.org>
6973
6974 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6975 (Aligned Memory Blocks): Add documentation for aligned_alloc
6976 and suggest it as an alternative to posix_memalign.
6977 (Hooks for Malloc): Document __memalign_hook is also called
6978 for aligned_alloc. (Summary of Malloc): Add summary for
6979 aligned alloc. Document __memalign_hook is also called
6980 for aligned_alloc.
6981
69822013-12-16 Will Newton <will.newton@linaro.org>
6983
6984 * manual/memory.texi (Malloc Examples): Clarify default
6985 alignment documentation. Suggest posix_memalign rather
6986 than memalign or valloc.
6987 (Aligned Memory Blocks): Remove suggestion to use memalign
6988 or valloc. Remove obsolete comment about BSD.
6989 Document memalign errno values and mark the function obsolete.
6990 Document posix_memalign returned error codes. Mark valloc
6991 as obsolete. (Hooks for Malloc): __memalign_hook is also
6992 called for posix_memalign and valloc.
6993 (Summary of Malloc): Add posix_memalign to function summary.
6994 __memalign_hook is also called for posix_memalign and valloc.
6995
69962013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6997
6998 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6999 TAYLOR_SIN.
7000 (__sin): Adjust.
7001 (__cos): Likewise.
7002 (sloww): Use mynumber union. Expand ternary operator into
7003 if-else statements.
7004 (cslow): use mynumber union.
7005
70062013-12-16 Allan McRae <allan@archlinux.org>
7007
7008 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7009 * configure: Regenerated.
7010
7011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7012
7013 [BZ #14120]
7014 * configure.ac: Added --enable-maintainer-mode. Check for
7015 autoconf when enabled.
7016 * configure: Regenerated.
7017
7018 * nscd/nscd.service: New file.
7019 * nscd/nscd.tmpfiles: New file.
7020
70212013-12-14 Ondřej Bílka <neleai@seznam.cz>
7022
7023 [BZ #12100]
7024 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7025 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7026 * sysdeps/x86_64/multiarch/strstr.c: ... here.
7027 (strstr): Add __strstr_sse2_unaligned ifunc.
7028 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7029 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7030 (strcasestr): Remove __strcasestr_sse42 ifunc.
7031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7034
70352013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7036
7037 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7038 * sysdeps/sh/bits/fenv.h: ... here.
7039 * sysdeps/sh/sh4/fpu/bits: Remove directory.
7040
70412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7042
7043 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7044
7045 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7046 hypotf multiarch implementations.
7047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7048 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7049 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7050 multiarch hypot for PPC64.
7051 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7052 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7053 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7054 multiarch hypotf for PPC64.
7055
7056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7057 modff multiarch implementations.
7058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7061 multiarch modf for PPC64.
7062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7065 multiarch modff for PPC64.
7066
7067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7068 and logl multiarch implementations.
7069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7072 multiarch logb for PPC64.
7073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7076 multiarch logb for PPC64.
7077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7080 multiarch logb for PPC64.
7081
7082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7083 isinff multiarch implementation.
7084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7085 file.
7086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7088 multiarch isinf for PPC64.
7089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7090 file.
7091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7092 multiarch isinff for PPC64.
7093
7094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7095 finitef multiarch implementation.
7096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7097 file.
7098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7100 multiarch finite for PPC64.
7101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7102 file.
7103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7104 multiarch finitef for PPC64.
7105
7106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7107 lrint multiarch implementation.
7108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7109 file.
7110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7112 multiarch llrint for PPC64.
7113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7114 multiarch lrint for PPC64.
7115
7116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7117 copysignf multiarch implementation.
7118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7119 file.
7120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7121 file.
7122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7123 multiarch copysign for PPC64.
7124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7125 multiarch copysignf for PPC64.
7126
7127 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7128 multiarch implementation.
7129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7130 file.
7131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7132 file.
7133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7134 file.
7135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7136 file.
7137 multiarch llround for PPC64.
7138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7139 multiarch trunc for PPC64.
7140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7141 multiarch truncf for PPC64.
7142
7143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7144 multiarch implementation.
7145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7146 file.
7147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7148 file.
7149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7150 file.
7151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7152 file.
7153 multiarch llround for PPC64.
7154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7155 multiarch round for PPC64.
7156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7157 multiarch roundf for PPC64.
7158
7159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7160 multiarch implementation.
7161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7162 file.
7163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7164 file.
7165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7166 file.
7167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7168 file.
7169 multiarch llround for PPC64.
7170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7171 multiarch floor for PPC64.
7172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7173 multiarch floorf for PPC64.
7174
7175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7176 multiarch implementation.
7177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7178 file.
7179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7180 file.
7181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7182 file.
7183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7184 file.
7185 multiarch llround for PPC64.
7186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7187 multiarch ceil for PPC64.
7188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7189 multiarch ceilf for PPC64.
7190
7191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7192 multiarch implementation.
7193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7194 file.
7195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7196 file.
7197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7198 file.
7199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7200 multiarch llround for PPC64.
7201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7202 multiarch lround for PPC64.
7203
7204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7205 multiarch implementation.
7206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7209 file.
7210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7213 multiarch isnan for PPC64.
7214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7215 multiarch isnanf for PPC64.
7216
7217 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7218 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7219 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7220 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7221 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7223
7224 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7225 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7226 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7227 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7228
7229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7230 multiarch implementations.
7231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7232 (__libc_ifunc_impl_list): Likewise.
7233 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7234 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7236 multiarch stpcpy for PPC64.
7237
7238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7239 multiarch implementations.
7240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7241 (__libc_ifunc_impl_list): Likewise.
7242 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7243 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7244 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7245 multiarch strcpy for PPC64.
7246
7247 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7248 redefine function name.
7249 (_wordcopy_fwd_dest_aligned): Likewise.
7250 (_wordcopy_bwd_aligned): Likewise.
7251 (_wordcopy_bwd_dest_aligned): Likewise.
7252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7253 multiarch implementations.
7254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7255 (__libc_ifunc_impl_list): Likewise.
7256 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7258 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7259 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7260 multiarch wcscpy for PPC64.
7261
7262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7263 multiarch implementations.
7264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7265 (__libc_ifunc_impl_list): Likewise.
7266 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7267 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7268 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7269 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7270 multiarch wcscpy for PPC64.
7271
7272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7273 multiarch implementations.
7274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7275 (__libc_ifunc_impl_list): Likewise.
7276 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7277 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7278 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7279 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7280 multiarch wcsrchr for PPC64.
7281
7282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7283 multiarch implementations.
7284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7285 (__libc_ifunc_impl_list): Likewise.
7286 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7287 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7288 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7289 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7290 multiarch wcschr for PPC64.
7291
7292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7293 multiarch implementations.
7294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7295 (__libc_ifunc_impl_list): Likewise.
7296 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7297 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7298 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7299 multiarch strchrnul for PPC64.
7300
7301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7302 implementations.
7303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7304 (__libc_ifunc_impl_list): Likewise.
7305 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7306 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7307 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7308 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7309 strchr for PPC64.
7310
7311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7312 implementations.
7313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7314 (__libc_ifunc_impl_list): Likewise.
7315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7317 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7318 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7319 strncmp for PPC64.
7320
7321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7322 multiarch implementations.
7323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7324 (__libc_ifunc_impl_list): Likewise.
7325 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7326 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7327 strncasecmp for PPC64.
7328 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7329 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7330 multiarch strncasecmp_l for PPC64.
7331
7332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7333 multiarch implementations.
7334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7335 (__libc_ifunc_impl_list): Likewise.
7336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7337 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7338 multiarch strcasecmp for PPC64.
7339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7340 file.
7341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7342 multiarch strcasecmp_l for PPC64.
7343
7344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7345 implementations.
7346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7347 (__libc_ifunc_impl_list): Likewise.
7348 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7349 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7350 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7351 strnlen for PPC64.
7352
7353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7354 implementations.
7355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7356 (__libc_ifunc_impl_list): Likewise.
7357 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7358 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7359 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7360 strlen for PPC64.
7361
7362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7363 implementations.
7364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7365 (__libc_ifunc_impl_list): Likewise.
7366 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7367 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7368 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7369 rawmemrchr for PPC64.
7370
7371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7372 implementation.
7373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7374 (__libc_ifunc_impl_list): Likewise.
7375 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7376 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7377 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7378 memrchr for PPC64.
7379
7380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7381 implementation.
7382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7383 (__libc_ifunc_impl_list): Likewise.
7384 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7385 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7386 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7387 memchr for PPC64.
7388
7389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7390 implementation.
7391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7392 (__libc_ifunc_impl_list): Likewise.
7393 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7394 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7395 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7396 mempcpy for PPC64.
7397
7398 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7399 avoid cretion of __bzero symbol.
7400 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7401 Likewise.
7402 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7403 Likewise.
7404 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7405 Likewise.
7406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7407 multiarch implementations.
7408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7409 (__libc_ifunc_impl_list): Likewise.
7410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7412 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7413 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7414 bzero for PPC32.
7415 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7416 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7417 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7418 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7419 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7420 memset for PPC64.
7421 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7422
7423 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7425 implementations.
7426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7427 (__libc_ifunc_impl_list): Likewise.
7428 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7429 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7430 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7431 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7432 memcmp for PPC64.
7433
7434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7435 multiarch for POWER/PPC64.
7436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7437 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7438 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7440 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7441 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7443 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7444 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7445 memcpy for PPC64.
7446
7447 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7448 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7449 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7450 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7451 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7452 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7454 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7455 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7456 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7457 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7458 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7459 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7460 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7461 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7469
74702013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7471
7472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7473
74742013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7475
7476 * benchtests/Makefile (bench): Add exp2 and log2.
7477 (LDLIBS-bench-exp2): Add -lm.
7478 (LDLIBS-bench-log2): Likewise.
7479 * benchtests/exp2-inputs: New inputs file.
7480 * benchtests/log2-inputs: New inputs file.
7481 * benchtests/log-inputs: Add new inputs.
7482 * benchtests/tan-inputs: Likewise.
7483
74842013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7485
7486 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7487 definition...
7488 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7489 (csloww2): ... from here.
7490
7491 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7492 instead of structures.
7493 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7494 (POLYNOMIAL): Likewise.
7495 (TAYLOR_SLOW): Likewise.
7496 (__sin): Likewise.
7497 (__cos): Likewise.
7498 (slow1): Likewise.
7499 (slow2): Likewise.
7500 (sloww): Likewise.
7501 (sloww1); Likewise.
7502 (sloww2): Likewise.
7503 (bsloww1): Likewise.
7504 (bsloww2): Likewise.
7505 (cslow2): Likewise.
7506 (csloww): Likewise.
7507 (csloww1): Likewise.
7508 (csloww2): Likewise.
7509
75102013-12-10 Ondřej Bílka <neleai@seznam.cz>
7511
7512 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7513 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7514 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7515 * malloc/hooks.c (realloc_check): Likewise.
7516
7517 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7518 * malloc/arena.c: Remove PER_THREAD conditional.
7519 [!PER_THREAD]: Remove code.
7520 (ptmalloc_unlock_all2): Likewise.
7521 (ptmalloc_init): Likewise.
7522 (_int_new_arena): Likewise.
7523 (arena_get2): Likewise.
7524 * malloc/hooks.c (__malloc_get_state): Likewise.
7525 (__malloc_set_state): Likewise.
7526 * malloc/malloc.c: Likewise.
7527 (struct malloc_state): Likewise.
7528 (struct malloc_par): Likewise.
7529 (__libc_realloc): Likewise.
7530 (__libc_mallopt): Likewise.
7531
75322013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7533
7534 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7535
75362013-12-09 Ondřej Bílka <neleai@seznam.cz>
7537
7538 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7539 macro to a function. Check for zero perturb_byte.
7540 (_int_malloc, _int_free): Remove zero perturb_byte checks.
7541
7542 * malloc/malloc.c: (force_reg): Remove.
7543 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7544 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7545 force_reg by atomic_forced_read.
7546 * malloc/arena.c (ptmalloc_init): Likewise.
7547 * malloc/hooks.c (top_check): Likewise.
7548
75492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7550
7551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7552
75532013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
7554
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7556
75572013-12-08 Joseph Myers <joseph@codesourcery.com>
7558
7559 * math/auto-libm-test-in: Add tests of lgamma.
7560 * math/auto-libm-test-out: Regenerated.
7561 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7562 (M_LOG_2_SQRT_PIl): Likewise.
7563 (lgamma_test_data): Use AUTO_TESTS_f_f1.
7564 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7565 mpfr_f_f1.
7566 (func_calc_desc): Add mpfr_f_f1 union field.
7567 (ARGS1): New macro.
7568 (ARGS2): Likewise.
7569 (ARGS3): Likewise.
7570 (ARGS4): Likewise.
7571 (RET1): Likewise.
7572 (RET2): Likewise.
7573 (CALC): Likewise.
7574 (FUNC): Likewise.
7575 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7576 (test_functions): Add lgamma.
7577 (calc_generic_results): Handle mpfr_f_f1.
7578 * sysdeps/i386/fpu/libm-test-ulps: Update.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580
75812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582
7583 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7584 __mpn_add_n for PowerPC64/POWER7.
7585 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7586 __mpn_sub_n for PowerPC64/POWER7.
7587
7588 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7589 __mpn_addmul_1 for PowerPC64.
7590 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7591 __mpn_submul_1 for PowerPC64.
7592 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7593 for PowerPC64.
7594 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7595 for PowerPC64.
7596
75972013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
7598
7599 [BZ #15089]
7600 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7601
76022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7603
7604 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7605
7606 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7607 add multiarch folders.
7608 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7609 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7610 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7611 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7612 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7613 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7614 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7615 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7616 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7617 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7618 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7625
7626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7627 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7629 New file.
7630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7631 New file.
7632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7633 multiarch __ieee754_hypot for PowerPC32.
7634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7635 New file.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7637 New file.
7638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7639 multiarch __ieee754_hypotf for PowerPC32.
7640
7641 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7642 long_double_symbol only if __logbl is defined.
7643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7644 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7646 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7648 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7650 path for implementation.
7651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7654 logb, and logbl multiarch implementations for PowerPC32.
7655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7656 file.
7657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7658 file.
7659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7660 multiarch logb for PowerPC32.
7661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7662 file.
7663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7664 file.
7665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7666 multiarch logbf for PowerPC32.
7667 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7669 file.
7670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7671 multiarch logbl implementation for PowerPC32.
7672
7673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7674 and modff multiarch implementations.
7675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7676 New file.
7677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7678 New file.
7679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7680 multiarch modf for PowerPC32.
7681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7682 New file.
7683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7684 New file.
7685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7686 multiarch modff for PowerPC32.
7687
7688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7689 and lrintf multiarch implementations.
7690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7691 New file.
7692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7693 New file.
7694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7695 multiarch lrint for PowerPC32.
7696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7697 file: multiarch lrintf for PowerPC32.
7698
7699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7700 and lroundf multiarch implementations.
7701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7702 New file.
7703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7704 New file.
7705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7706 New file.
7707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7708 multiarch lround for PowerPC32.
7709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7710 file: multiarch lroundf for PowerPC32.
7711
7712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7713 copysign and copysignf multiarch implementations.
7714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7715 New file.
7716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7717 New file.
7718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7719 file: multiarch copysign for PowerPC32.
7720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7721 file: multiarch copysignf for PowerPC32.
7722
7723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7724 and truncf multiarch implementations.
7725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7726 New file.
7727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7728 file.
7729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7730 multiarch trunc for PowerPC32.
7731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7732 New file.
7733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7734 New file.
7735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7736 multiarch truncf for PowerPC32.
7737
7738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7739 and roundf multiarch implementations.
7740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7741 New file.
7742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7743 file.
7744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7745 multiarch round for PowerPC32.
7746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7747 New file.
7748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7749 New file.
7750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7751 multiarch roundf for PowerPC32.
7752
7753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7754 and floorf multiarch implementations.
7755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7756 New file.
7757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7758 file.
7759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7760 multiarch floor for PowerPC32.
7761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7762 New file.
7763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7764 New file.
7765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7766 multiarch floorf for PowerPC32.
7767
7768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7769 and ceilf multiarch implementations.
7770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7771 New file.
7772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7773 file.
7774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7775 multiarch ceil for PowerPC32.
7776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7777 New file.
7778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7779 file.
7780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7781 multiarch ceilf for PowerPC32.
7782
7783 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7784 is defined.
7785 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7786 FINITEF is defined.
7787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7788 and finitef multiarch implementations.
7789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7790 New file.
7791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7792 file.
7793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7794 multiarch finite for PowerPC32.
7795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7796 New file.
7797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7798 file: multiarch finitef for PowerPC32.
7799
7800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7801 and isinff multiarch implementations.
7802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7803 file.
7804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7805 file.
7806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7807 multiarch isinf for PowerPC32.
7808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7809 New file.
7810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7811 multiarch isinff for PowerPC32.
7812
7813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7814 alias when __isnan is defined.
7815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7816 and isnanf multiarch implementations.
7817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7818 file.
7819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7820 file.
7821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7822 file.
7823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7824 file.
7825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7826 multiarch isnan for PowerPC32.
7827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7828 New file.
7829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7830 New file.
7831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7832 multiarch isnanf for PowerPC32.
7833
7834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7835 and sqrtf multiarch implementations.
7836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7837 file.
7838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7839 file.
7840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7841 multiarch sqrt for PowerPC32.
7842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7843 file.
7844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7845 file.
7846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7847 multiarch sqrtf for PowerPC32.
7848
7849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7850 and llroundf multiarch implementations.
7851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7852 New file.
7853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7854 New file.
7855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7856 New file.
7857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7858 file: multiarch llround for PowerPC32.
7859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7860 file: multiarch llroundf for PowerPC32.
7861
7862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7863 multiarch PowerPC32 fpu implementations.
7864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7865 New file.
7866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7867 New file.
7868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7869 multiarch llrint for PowerPC32.
7870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7871 New file.
7872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7873 New file.
7874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7875 file.
7876
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7878
7879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7880 file.
7881 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7882 file.
7883 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7884 file.
7885 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7886 multiarch wordcopy for PPC32.
7887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7888 wordcopy objects.
7889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7890 (__libc_ifunc_impl_list): Likewise.
7891 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7892 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7893 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7894 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7896 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7897
7898 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7900 file.
7901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7902 file.
7903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7904 file.
7905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7906 multiarch wcscpy for PPC32.
7907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7908 multiarch objects.
7909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7910 (__libc_ifunc_impl_list): Likewise.
7911 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7912 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7913 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7914 sysdeps/powerpc/power6/wcscpy.c.
7915
7916 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7918 file.
7919 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7920 file.
7921 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7922 file.
7923 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7924 multiarch wcsrchr for PPC32.
7925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7926 multiarch objects.
7927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7928 (__libc_ifunc_impl_list): Likewise.
7929 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7930 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7931 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7932 sysdeps/powerpc/power6/wcsrchr.c.
7933
7934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7935 file.
7936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7937 file.
7938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7939 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7940 multiarch wcschr for PPc32.
7941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7942 multiarch objects.
7943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7944 (__libc_ifunc_impl_list): Likewise.
7945 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7946 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7947 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7948 sysdeps/powerpc/power6/wcschr.c.
7949
7950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7951 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7952 file.
7953 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7954 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7955 file: multiarch strchr for PPC32.
7956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7957 multiarch objects.
7958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7959 (__libc_ifunc_impl_list): Likewise.
7960
7961 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7962 name.
7963 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7964 file.
7965 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7966 file.
7967 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7968 multiarch strchrnul for PPC32.
7969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7970 multiarch objects.
7971 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7972 (__libc_ifunc_impl_list): Likewise.
7973
7974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7975 file.
7976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7977 multiarch strncasecmp for PPC32.
7978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7979 file.
7980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7981 multiarch strncasecmp_l for PPC32.
7982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7983 strncasecmp multiarch objects.
7984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7985 (__libc_ifunc_impl_list): Likewise.
7986
7987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7988 file.
7989 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7990 multiarch strncasecmp for PPC32.
7991 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7992 New file.
7993 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7994 multiarch strcasecmp_l for PPC32.
7995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7996 multiarch objects.
7997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7998 (__libc_ifunc_impl_list): Likewise.
7999
8000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8001 file.
8002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8003 file.
8004 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8005 multiarch strncmp for PPC32.
8006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8007 multiarch objects.
8008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8009 (__libc_ifunc_impl_list): Likewise.
8010
8011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8012 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8013 file.
8014 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8015 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8017 multiarch objects.
8018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8019 (__libc_ifunc_impl_list): Likewise.
8020
8021 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8022 file.
8023 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8024 file.
8025 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8027 multiarch objects.
8028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8029 (__libc_ifunc_impl_list): Likewise.
8030
8031 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8032 file.
8033 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8034 file.
8035 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8036 multiarch rawmemchr for PPC32.
8037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8038 multiarch objects.
8039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8040 (__libc_ifunc_impl_list): Likewise.
8041
8042 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8043 file.
8044 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8045 file.
8046 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8047 file: memrchr multiarch for PPC32.
8048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8049 multiarch objects.
8050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8051 (__libc_ifunc_impl_list): Likewise.
8052
8053 * string/memchr.c (__memchr): Using macro to redefine symbol name.
8054 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8055 file.
8056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8058 multiarch memchr for PPC32.
8059 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8060 multiarch objects.
8061 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8062 (__libc_ifunc_impl_list): Likewise.
8063
8064 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8065 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8066 file.
8067 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8068 file.
8069 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8070 file: multiarch mempcpy for PPC32.
8071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8072 multiarch objects.
8073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8074 (__libc_ifunc_impl_list): Likewise.
8075
8076 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8077 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8078 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8079 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8080 multiarch bzero for PPC32.
8081 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8082 file.
8083 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8084 file.
8085 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8086 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8087 file: multiarch memset for PPC32.
8088 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8090 memset multiarch objects.
8091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8092 (__libc_ifunc_impl_list): Likewise.
8093
8094 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8095 file.
8096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8098 memcmp for PPC32.
8099 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8100 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8101 multiarch objects.
8102 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8103 (__libc_ifunc_impl_list): Likewise.
8104
8105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8106 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8108 file.
8109 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8110 file.
8111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8112 file.
8113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8114 multiarch memcpy for PPC32.
8115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8116 multiarch objects.
8117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8118 (__libc_ifunc_impl_list): Likewise.
8119
8120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8121 support multiarch for POWER/PPC32.
8122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8123 Likewise.
8124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8126 Implies file to make multiarch folder appers before the fpu and
8127 default folder for power4 configuration.
8128
81292013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8130
8131 * scripts/bench.pl: Append volatile keyword to type.
8132
81332013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8134
8135 * sysdeps/sh/sotruss-lib.c: New file.
8136 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8137
81382013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139
8140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8141
81422013-12-05 Joseph Myers <joseph@codesourcery.com>
8143
8144 [BZ #6810]
8145 * math/w_tgamma.c: Include <errno.h>.
8146 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
8147 * math/w_tgammaf.c: Include <errno.h>.
8148 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
8149 * math/w_tgammal.c: Include <errno.h>.
8150 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
8151 * math/auto-libm-test-in: Do not allow missing errno on tgamma
8152 underflow. Add more tgamma tests.
8153 * math/auto-libm-test-out: Regenerated.
8154 * sysdeps/i386/fpu/libm-test-ulps: Update.
8155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8156
8157 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8158 sin, sinh, tan, tanh, tgamma, y0 and y1.
8159 * math/auto-libm-test-out: Regenerated.
8160 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8161 (TEST_COND_x86): Likewise.
8162 (M_E2l): Remove macro.
8163 (M_E3l): Likewise.
8164 (M_2_SQRT_PIl): Likewise.
8165 (M_SQRT_PIl): Likewise.
8166 (M_1_DIV_El): Likewise.
8167 (log_test_data): Use AUTO_TESTS_f_f.
8168 (log10_test_data): Likewise.
8169 (log1p_test_data): Likewise.
8170 (log2_test_data): Likewise.
8171 (sin_test_data): Likewise.
8172 (sin_tonearest_test_data): Likewise.
8173 (sin_towardzero_test_data): Likewise.
8174 (sin_downward_test_data): Likewise.
8175 (sin_upward_test_data): Likewise.
8176 (sinh_test_data): Likewise.
8177 (sinh_tonearest_test_data): Likewise.
8178 (sinh_towardzero_test_data): Likewise.
8179 (sinh_downward_test_data): Likewise.
8180 (sinh_upward_test_data): Likewise.
8181 (tan_test_data): Likewise.
8182 (tan_tonearest_test_data): Likewise.
8183 (tan_towardzero_test_data): Likewise.
8184 (tan_downward_test_data): Likewise.
8185 (tan_upward_test_data): Likewise.
8186 (tanh_test_data): Likewise.
8187 (tgamma_test_data): Likewise.
8188 (y0_test_data): Likewise.
8189 (y1_test_data): Likewise.
8190 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8191 (special_real_inputs): Add pi/4.
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8194
81952013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8196
8197 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8198 "longjmp_target" static probes.
8199 (__longjmp): Rename to __longjmp_symbol.
8200 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8201 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8202 on which longjmp to generate.
8203 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8205 probe.
8206 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8207 (__sigjmp_save): Rename to __sigjmp_save_symbol.
8208 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8209 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8210 and __sigjmp_save_symbol based on which sigsetjmp to generated.
8211 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8213 __longjmp_symbol based on which __longjmp to generate.
8214 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8215 probe.
8216 (setjmp): Rename to setjmp_symbol.
8217 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8218 (_setjmp): Rename to _setjmp_symbol.
8219 (__sigsetjmp): Rename to __sigsetjmp_symbol.
8220 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8221 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8222 which setjmp to generate.
8223 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8224 "longjmp_target" static probes.
8225
82262013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8227
8228 * benchtests/README: Add note about output arguments.
8229 * benchtests/bench-sincos.c: Remove file.
8230 * benchtests/sincos-inputs: New file.
8231 * scripts/bench.pl: Identify output arguments and define
8232 static variables for them.
8233
8234 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8235
8236 [BZ #15941]
8237 * Makefile (INSTALL): Add install-plain.texi as the primary
8238 dependency.
8239 * manual/install-plain.texi: New file.
8240 * manual/install.texi: Include node directive only for
8241 non-plaintext output.
8242
82432013-12-04 Joseph Myers <joseph@codesourcery.com>
8244
8245 * stdlib/longlong.h: Update from GCC.
8246
8247 [BZ #6807]
8248 [BZ #15901]
8249 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8250 * math/w_j0f.c (y0f): Likewise.
8251 * math/w_j0l.c (__y0l): Likewise.
8252 * math/w_j1.c (y1): Likewise.
8253 * math/w_j1f.c (y1f): Likewise.
8254 * math/w_j1l.c (__y1l): Likewise
8255 * math/w_jn.c (yn): Likewise.
8256 * math/w_jnf.c (ynf): Likewise.
8257 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8258 Bessel function pole errors in _POSIX_ mode. Use NAN as return
8259 value for Bessel function domain errors outside _SVID_ mode.
8260 Adjust sign of return value for yn (negative integer, 0).
8261 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8262 by zero in return for negative x and set sign appropriately for
8263 negative n.
8264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8266 * math/libm-test.inc (y0_test_data): Add more tests and adjust
8267 expectations in error cases.
8268 (y1_test_data): Likewise.
8269 (yn_test_data): Likewise.
8270 * sysdeps/i386/fpu/libm-test-ulps: Update.
8271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8272
82732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8274
8275 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8276 "64" to "64-v1". Add "64-v2".
8277 (abi-64-options): Rename to ...
8278 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
8279 (abi-64-condition): Rename to ...
8280 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
8281 (abi-64-ld-soname): Rename to ...
8282 (abi-64-v1-ld-soname): ... this.
8283 (abi-64-v2-options): Define.
8284 (abi-64-v2-condition): Likewise.
8285 (abi-64-v2-ld-soname): Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8287 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8291
82922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8293 Alan Modra <amodra@gmail.com>
8294
8295 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8296 New versions for use with the ELFv2 ABI.
8297 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8298 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8299 declaration.
8300 (struct La_ppc64v2_retval): Likewise.
8301 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8302 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8303 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8304 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8305 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8306 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8307 Do not save or restore CR.
8308 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8309 (_dl_profile_resolve): Do no save or restore CR. Support extended
8310 return values for ELFv2 ABI. Fix location of FPR return registers.
8311 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8312 updated values for _CALL_ELF == 2.
8313 (La_regs, La_retval, int_retval): Likewise.
8314
83152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8316
8317 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8318 (FRAME_MIN_SIZE_PARM): Likewise.
8319 (FRAME_BACKCHAIN): Likewise.
8320 (FRAME_CR_SAVE): Likewise.
8321 (FRAME_LR_SAVE): Likewise.
8322 (FRAME_TOC_SAVE): Likewise.
8323 (FRAME_PARM_SAVE): Likewise.
8324 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8325 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8326 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8327 (call_mcount_parm_offset): New macro.
8328 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8329 (PROF): Use symbolic stack frame offsets.
8330 (TAIL_CALL_SYSCALL_ERROR): Likewise.
8331 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8332 Redefine in terms of FRAME_MIN_SIZE.
8333 (_dl_runtime_resolve): Use symbolic stack frame offsets.
8334 (_dl_profile_resolve): Likewise. Update comment.
8335 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8336 symbols stack frame offsets.
8337 (__sigsetjmp): Likewise.
8338 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8339 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8340 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8341 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8342
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8344 (FRAME_BACKCHAIN): Remove.
8345 (FRAME_CR_SAVE): Likewise.
8346 (FRAME_LR_SAVE): Likewise.
8347 (FRAME_COMPILER_DW): Likewise.
8348 (FRAME_LINKER_DW): Likewise.
8349 (FRAME_TOC_SAVE): Likewise.
8350 (FRAME_PARM_SAVE): Likewise.
8351 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8352 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8353 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8355 (CHECK_SP): Use symbolic stack frame offsets.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8357 zone" instead of caller's parameter save area for temp storage.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8359 Likewise. Also, use symbolic stack frame offsets.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8361 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8362 our own stack frame instead of the caller's.
8363 (__socket): Use symbolic stack frame offsets.
8364
83652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8366 Alan Modra <amodra@gmail.com>
8367
8368 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8369 Define.
8370 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8371 (PPC64_LOCAL_ENTRY_OFFSET): Define.
8372 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8373 New function.
8374 (elf_machine_fixup_plt): Call it.
8375 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
8376 reloc arguments.
8377 (elf_machine_rela): Update call to elf_machine_plt_conflict.
8378 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8379 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8380 r2 before calling target.
8381
83822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8383 Alan Modra <amodra@gmail.com>
8384
8385 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8386 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8387 versions of macros to support ELFv2 ABI.
8388 (LOCALENTRY): New macro.
8389 (ENTRY, EALIGN): Use it.
8390 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8391 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8392 fall through into ENTRY entry point.
8393 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8394 Only define if _CALL_ELF != 2.
8395
8396 (elf_machine_matches_host): Verify ABI version matches.
8397 (RTLD_START): Use LOCALENTRY.
8398 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8399 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8400 (PLT_ENTRY_WORDS): New macro.
8401 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8402 (elf_machine_runtime_setup): Support ELFv2 ABI.
8403 (elf_machine_fixup_plt): Likewise.
8404 (elf_machine_plt_conflict): Likewise.
8405 (resolve_ifunc): Likewise.
8406 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8407 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8408 Likewise.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8410 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8412 (makecontext): Support ELFv2 ABI.
8413 * elf/elf.h (EF_PPC64_ABI): Define.
8414
84152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8416
8417 * sysdeps/powerpc/powerpc64/sysdep.h
8418 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8419 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8420 (ENTRY) [ASSEMBLER]: ... but instead here ...
8421 (EALIGN) [ASSEMBLER]: ... and here.
8422 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8423 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8424 (ENTRY_2) [!ASSEMBLER]: Use it.
8425 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8426 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
8427 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8428 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8429 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8431 Use PPC64_LOAD_FUNCPTR.
8432
8433 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8434
84352013-12-04 Alan Modra <amodra@gmail.com>
8436
8437 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8438 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8439 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8440 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8441
8442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8443 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8444 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8445 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8446 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8447 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8448
84492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8450
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8452 (__makecontext): Fix incorrect CFI when backtracing out of
8453 context created via makecontext.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8455 (__setcontext): Fix incorrect CFI during switch to new context.
8456 (__novec_setcontext): Likewise.
8457
84582013-12-04 Ondřej Bílka <neleai@seznam.cz>
8459
8460 [BZ #4772]
8461 * time/strptime_l.c (__strptime_internal): Allow modifiers
8462 in strptime.
8463 * time/tst-strptime.c (day_tests): Add testcase.
8464
84652013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8466
8467 * scripts/bench.pl: Skip over blank lines.
8468
84692013-12-04 Paul Eggert <eggert@cs.ucla.edu>
8470
8471 [BZ #926]
8472 * manual/time.texi (Calendar Time): Clarify what timezone functions
8473 use.
8474
84752013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8476
8477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8478
84792013-12-04 Ondřej Bílka <neleai@seznam.cz>
8480
8481 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8482 implementation.
8483 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8484 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8485 * debug/memset_chk.c (__memset_chk): Likewise.
8486 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8487 * debug/strncpy_chk.c: Likewise.
8488
84892013-12-03 Joseph Myers <joseph@codesourcery.com>
8490
8491 [BZ #15268]
8492 [BZ #15425]
8493 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8494 (__ieee754_exp): For possibly underflowing results, check size of
8495 result and force underflow exception if required.
8496 * math/auto-libm-test-in: Add more tests of exp.
8497 * math/auto-libm-test-out: Regenerated.
8498 * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500
8501 [BZ #16283]
8502 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8503 * math/w_exp2f.c (__exp2f): Likewise.
8504 * math/w_exp2l.c (__exp2l): Likewise.
8505 * math/auto-libm-test-in: Do not allow missing errno on exp2
8506 underflow.
8507 * math/auto-libm-test-out: Regenerated.
8508
85092013-12-03 Ondřej Bílka <neleai@seznam.cz>
8510
8511 [BZ #16274]
8512 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8513 handle filename validation.
8514 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8515 (do_open): Delete.
8516
85172013-12-03 Joseph Myers <joseph@codesourcery.com>
8518
8519 [BZ #6786]
8520 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8521 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8522 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8523 <float.h>.
8524 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8525 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8526 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8527 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8528 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8529 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8530 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8531 * math/auto-libm-test-in: Don't allow missing errno from erfc.
8532 Add more erfc tests.
8533 * math/auto-libm-test-out: Regenerated.
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8536
8537 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8538 exp2, expm1, j0 and j1.
8539 * math/auto-libm-test-out: Regenerated.
8540 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8541 (erfc_test_data): Likewise.
8542 (exp_test_data): Likewise.
8543 (exp_tonearest_test_data): Likewise.
8544 (exp_towardzero_test_data): Likewise.
8545 (exp_downward_test_data): Likewise.
8546 (exp_upward_test_data): Likewise.
8547 (exp10_test_data): Likewise.
8548 (exp2_test_data): Likewise.
8549 (expm1_test_data): Likewise.
8550 (j0_test_data): Likewise.
8551 (j1_test_data): Likewise.
8552 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8553 (input_flag_type): Add flag_xfail_rounding.
8554 (input_flags): Add xfail-rounding.
8555 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8556 (output_for_one_input_case): Handle flag_xfail_rounding.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8559
85602013-12-03 Aurelien Jarno <aurelien@aurel32.net>
8561
8562 [BZ #16289]
8563 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8564 division by 0.
8565
85662013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8567
8568 [BZ #16195]
8569 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8570 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8571 (STAP_PROBE0): New macro.
8572 (STAP_PROBE1): Likewise.
8573 (STAP_PROBE2): Likewise.
8574 (STAP_PROBE3): Likewise.
8575 (STAP_PROBE4): Likewise.
8576
85772013-12-02 Ondřej Bílka <neleai@seznam.cz>
8578
8579 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8580
85812013-12-02 Steve Ellcey <sellcey@mips.com>
8582
8583 * benchtests/Makefile (bench): Add sqrt.
8584 (LDLIBS-bench-sqrt): New.
8585 * benchtests/sqrt-input: New.
8586
85872013-12-02 Pavel Simerda <psimerda@redhat.com>
8588
8589 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8590 (GAIH_EAI): Likewise.
8591 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8592 (gaih_inet): Likewise.
8593 (getaddrinfo): Don't use GAIH_EAI.
8594
8595 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8596 (struct gaih): Remove definition.
8597
85982013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8599
8600 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8601 Use HERRNOP directly.
8602
86032013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604
8605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8606
86072013-11-30 Joseph Myers <joseph@codesourcery.com>
8608
8609 * math/gen-auto-libm-tests.c (test_functions): Add more
8610 single-argument functions.
8611 (special_fill_pi_2): New function.
8612 (special_fill_minus_pi_2): Likewise.
8613 (special_fill_pi_6): Likewise.
8614 (special_fill_minus_pi_6): Likewise.
8615 (special_fill_pi_3): Likewise.
8616 (special_fill_2pi_3): Likewise.
8617 (special_fill_e): Likewise.
8618 (special_fill_1_e): Likewise.
8619 (special_fill_e_minus_1): Likewise.
8620 (special_real_inputs): Add more special inputs.
8621 (output_for_one_input_case): Do not require ERANGE on underflow to
8622 zero if round-to-nearest result does not underflow to zero, unless
8623 exact results required.
8624 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8625 atan, atanh, cbrt, cos and cosh.
8626 * math/auto-libm-test-out: Regenerated.
8627 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8628 (acos_tonearest_test_data): Likewise.
8629 (acos_towardzero_test_data): Likewise.
8630 (acos_downward_test_data): Likewise.
8631 (acos_upward_test_data): Likewise.
8632 (acosh_test_data): Likewise.
8633 (asin_test_data): Likewise.
8634 (asin_tonearest_test_data): Likewise.
8635 (asin_towardzero_test_data): Likewise.
8636 (asin_upward_test_data): Likewise.
8637 (asinh_test_data): Likewise.
8638 (atan_test_data): Likewise.
8639 (atanh_test_data): Likewise.
8640 (cbrt_test_data): Likewise.
8641 (cos_test_data): Likewise.
8642 (cos_tonearest_test_data): Likewise.
8643 (cos_towardzero_test_data): Likewise.
8644 (cos_downward_test_data): Likewise.
8645 (cos_upward_test_data): Likewise.
8646 (cosh_test_data): Likewise.
8647 (cosh_tonearest_test_data): Likewise.
8648 (cosh_towardzero_test_data): Likewise.
8649 (cosh_downward_test_data): Likewise.
8650 (cosh_upward_test_data): Likewise.
8651 * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653
86542013-11-29 Joseph Myers <joseph@codesourcery.com>
8655
8656 [BZ #6787]
8657 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8658 * math/w_exp10f.c (__exp10f): Likewise.
8659 * math/w_exp10l.c (__exp10l): Likewise.
8660 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8661 errno settings in existing tests.
8662
8663 [BZ #14032]
8664 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8665 precision control set to double precision.
8666 * sysdeps/i386/fpu/w_sqrt.c: New file.
8667 * math/auto-libm-test-in: Add more tests.
8668 * math/auto-libm-test-out: Update.
8669
8670 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8671 (sqrt_test_tonearest): New function.
8672 (sqrt_towardzero_test_data): New variable.
8673 (sqrt_test_towardzero): New function.
8674 (sqrt_downward_test_data): New variable.
8675 (sqrt_test_downward): New function.
8676 (sqrt_upward_test_data): New variable.
8677 (sqrt_test_upward): New function.
8678 (main): Call the new functions.
8679
8680 * math/gen-auto-libm-tests.c: New file.
8681 * math/auto-libm-test-in: Likewise.
8682 * math/auto-libm-test-out: New generated file.
8683 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8684 variables.
8685 (%beautify): Add generated representations of zero.
8686 (top level): Set $auto_input and call parse_auto_input.
8687 (beautify): Remove trailing "f" from hex float constants.
8688 (parse_args): Handle XFAIL_TEST.
8689 (convert_condition): New function.
8690 (or_value): Likewise.
8691 (or_cond_value): Likewise.
8692 (generate_testfile): Handle AUTO_TESTS_* lines.
8693 (parse_auto_input): New function.
8694 * math/libm-test.inc (XFAIL_TEST): New macro.
8695 (ERRNO_UNCHANGED): Update value.
8696 (ERRNO_EDOM): Likewise.
8697 (ERRNO_ERANGE): Likewise.
8698 (IGNORE_RESULT): Likewise.
8699 (TEST_COND_flt_32): New macro.
8700 (TEST_COND_dbl_64): Likewise.
8701 (TEST_COND_ldbl_96_intel): Likewise.
8702 (TEST_COND_ldbl_96_m68k): Likewise.
8703 (TEST_COND_ldbl_128): Likewise.
8704 (TEST_COND_ldbl_128ibm): Likewise.
8705 (TEST_COND_long32): Likewise.
8706 (TEST_COND_long64): Likewise.
8707 (TEST_COND_before_rounding): Likewise.
8708 (TEST_COND_after_rounding): Likewise.
8709 (enable_test): Handle XFAIL_TEST flag.
8710 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8711 with finite results.
8712 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8713 auto-libm-test-out.
8714
87152013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8716 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8717
8718 [BZ #16214]
8719 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8720 __tls_get_addr_internal instead of __tls_get_offset in order to
8721 avoid GOT pointer dependency. Make rtld export
8722 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8723 __tls_get_addr since we are a __tls_get_offset platform.
8724 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8725 GOT pointer being set up before.
8726 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8727
87282013-11-28 Joseph Myers <joseph@codesourcery.com>
8729
8730 * manual/math.texi (Errors in Math Functions): Document accuracy
8731 goals.
8732
8733 [BZ #15004]
8734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8735 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8743 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8750
8751 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8752 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8753 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8754 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8755 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8756 Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8758 Likewise.
8759 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8760 Likewise.
8761 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8763 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8764 atomic-feupdateenv and flt-rounds.
8765 * sysdeps/powerpc/nofpu/Versions (libc): Add
8766 __atomic_feholdexcept, __atomic_feclearexcept,
8767 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8769 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8771 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8772 here.
8773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8774 Update.
8775
8776 * manual/arith.texi (FP Exceptions): Document that exceptions may
8777 not be raised when matherr is used.
8778 (Math Error Reporting): Document overflow in directed rounding
8779 modes. Document that errno may not be set when finite values are
8780 returned on overflow. Document intent to set errno on underflow
8781 only for underflow to zero.
8782
8783 [BZ #16271]
8784 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8785 round-to-nearest then adjust result for other rounding modes.
8786 * include/fenv.h (fegetround): Use libm_hidden_proto.
8787 * math/fegetround.c (fegetround): Use libm_hidden_def.
8788 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8789 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8790 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8791 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8792 Likewise.
8793 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8794 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8795 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8796 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8797
87982013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8799
8800 [BZ #16077]
8801 * nss/Versions (libnss_files): Add
8802 _nss_files_gethostbyname3_r.
8803 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8804 New function.
8805 (HOST_DB_LOOKUP): Remove macro.
8806 (_nss_files_gethostbyname_r): Implement function without the
8807 HOST_DB_LOOKUP macro.
8808 (_nss_files_gethostbyname2_r): Likewise.
8809
88102013-11-28 Ondřej Bílka <neleai@seznam.cz>
8811
8812 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8813
88142013-11-26 Uros Bizjak <ubizjak@gmail.com>
8815
8816 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8817 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8818 warning.
8819
88202013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8821
8822 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8823 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8824 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8825 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8826 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8827 __fe_nomask_env_priv and attribute_hidden.
8828 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8829 (libc_feupdateenv_test_ppc): Likewise.
8830 (libc_feresetround_ppc): Likewise.
8831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8832 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8833 compat_symbol macro.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8835 (__fe_nomask_env): Likewise.
8836 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8837
88382013-11-26 Ondřej Bílka <neleai@seznam.cz>
8839
8840 * string/Makefile: Remove ifunc tests.
8841 * string/test-string.h: Define TEST_IFUNC.
8842 * string/test-bcopy-ifunc.c: Remove.
8843 * string/test-bzero-ifunc.c: Likewise.
8844 * string/test-memccpy-ifunc.c: Likewise.
8845 * string/test-memchr-ifunc.c: Likewise.
8846 * string/test-memcmp-ifunc.c: Likewise.
8847 * string/test-memcpy-ifunc.c: Likewise.
8848 * string/test-memmem-ifunc.c: Likewise.
8849 * string/test-memmove-ifunc.c: Likewise.
8850 * string/test-mempcpy-ifunc.c: Likewise.
8851 * string/test-memrchr-ifunc.c: Likewise.
8852 * string/test-memset-ifunc.c: Likewise.
8853 * string/test-rawmemchr-ifunc.c: Likewise.
8854 * string/test-stpcpy-ifunc.c: Likewise.
8855 * string/test-stpncpy-ifunc.c: Likewise.
8856 * string/test-strcasecmp-ifunc.c: Likewise.
8857 * string/test-strcasestr-ifunc.c: Likewise.
8858 * string/test-strcat-ifunc.c: Likewise.
8859 * string/test-strchr-ifunc.c: Likewise.
8860 * string/test-strchrnul-ifunc.c: Likewise.
8861 * string/test-strcmp-ifunc.c: Likewise.
8862 * string/test-strcpy-ifunc.c: Likewise.
8863 * string/test-strcspn-ifunc.c: Likewise.
8864 * string/test-strlen-ifunc.c: Likewise.
8865 * string/test-strncasecmp-ifunc.c: Likewise.
8866 * string/test-strncat-ifunc.c: Likewise.
8867 * string/test-strncmp-ifunc.c: Likewise.
8868 * string/test-strncpy-ifunc.c: Likewise.
8869 * string/test-strnlen-ifunc.c: Likewise.
8870 * string/test-strpbrk-ifunc.c: Likewise.
8871 * string/test-strrchr-ifunc.c: Likewise.
8872 * string/test-strspn-ifunc.c: Likewise.
8873 * string/test-strstr-ifunc.c: Likewise.
8874
88752013-11-26 Ondřej Bílka <neleai@seznam.cz>
8876
8877 * benchtests/Makefile: Remove ifunc tests.
8878 * benchtests/bench-string.h: Define TEST_IFUNC.
8879 * benchtests/bench-bcopy-ifunc.c: Remove.
8880 * benchtests/bench-bzero-ifunc.c: Likewise.
8881 * benchtests/bench-memccpy-ifunc.c: Likewise.
8882 * benchtests/bench-memchr-ifunc.c: Likewise.
8883 * benchtests/bench-memcmp-ifunc.c: Likewise.
8884 * benchtests/bench-memcpy-ifunc.c: Likewise.
8885 * benchtests/bench-memmem-ifunc.c: Likewise.
8886 * benchtests/bench-memmove-ifunc.c: Likewise.
8887 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8888 * benchtests/bench-memrchr-ifunc.c: Likewise.
8889 * benchtests/bench-memset-ifunc.c: Likewise.
8890 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8891 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8892 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8893 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8894 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8895 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8896 * benchtests/bench-strcat-ifunc.c: Likewise.
8897 * benchtests/bench-strchr-ifunc.c: Likewise.
8898 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8899 * benchtests/bench-strcmp-ifunc.c: Likewise.
8900 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8901 * benchtests/bench-strcpy-ifunc.c: Likewise.
8902 * benchtests/bench-strcspn-ifunc.c: Likewise.
8903 * benchtests/bench-strlen-ifunc.c: Likewise.
8904 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8905 * benchtests/bench-strncat-ifunc.c: Likewise.
8906 * benchtests/bench-strncmp-ifunc.c: Likewise.
8907 * benchtests/bench-strncpy-ifunc.c: Likewise.
8908 * benchtests/bench-strnlen-ifunc.c: Likewise.
8909 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8910 * benchtests/bench-strrchr-ifunc.c: Likewise.
8911 * benchtests/bench-strsep-ifunc.c: Likewise.
8912 * benchtests/bench-strspn-ifunc.c: Likewise.
8913 * benchtests/bench-strstr-ifunc.c: Likewise.
8914
89152013-11-26 Ondřej Bílka <neleai@seznam.cz>
8916
8917 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8918
89192013-11-26 Ondřej Bílka <neleai@seznam.cz>
8920
8921 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8922 * rt/aio.h: Likewise.
8923 * sysdeps/gnu/bits/utmp.h: Likewise.
8924 * sysdeps/gnu/bits/utmpx.h: Likewise.
8925 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8926 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8927 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8928 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8929 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8930 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8931 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8932 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8933 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8935 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8937 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8939 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8940 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8941 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8942 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8943 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8944 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8945 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8947 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8948 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8949 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8951 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8952 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8955 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8956 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8958 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8959 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8960 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8961 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8962 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8963 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8964 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8965 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8966 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8967
89682013-11-25 Carlos O'Donell <carlos@redhat.com>
8969
8970 [BZ #16245]
8971 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8972 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8973
89742013-11-25 Joseph Myers <joseph@codesourcery.com>
8975
8976 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8977 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8978 Likewise.
8979
89802013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8981
8982 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8983 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8984 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8985 (__fesetround): Remove define.
8986 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8987 rounding and exceptions handling.
8988 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8989 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8990 (__fe_nomask_env): Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8992 __fegetround instead of fegetround.
8993 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8994 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8995
89962013-11-21 Roland McGrath <roland@hack.frob.com>
8997
8998 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8999 it's there.
9000
9001 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9002
90032013-11-21 Meador Inge <meadori@codesourcery.com>
9004
9005 [BZ #11157]
9006 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9007 (encrypt_r): Likewise.
9008 * malloc/obstack.h (obstack_free): Likewise.
9009 * posix/unistd.h (encrypt): Likewise.
9010
90112013-11-21 Guy Martin <gmsoft@tuxicoman.be>
9012
9013 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9014 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9015 DL_CALL_DT_FINI() that call the functions directly.
9016 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9017 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9018 * elf/dl-fini.c: Likewise.
9019
90202013-11-20 Ondřej Bílka <neleai@seznam.cz>
9021
9022 * malloc/hooks.c (memalign_check): Add alignment rounding.
9023 * malloc/malloc.c (_mid_memalign): New function.
9024 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9025 Implement by calling _mid_memalign.
9026 * manual/probes.texi (Memory Allocation Probes): Remove
9027 memory_valloc_retry and memory_pvalloc_retry.
9028
90292013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9030
9031 * locale/programs/locarchive.c (open_archive): Add const
9032 qualifier to ARCHIVEFNAME and copy default fname to
9033 DEFAULT_FNAME.
9034
9035 [BZ #15601]
9036 * libio/tst-widetext.input: Rename Oriya to Odia.
9037 * locale/iso-639.def: Likewise.
9038
9039 * manual/probes.texi (Mathematical Function Probes): Add
9040 documentation for sin, cos, asin and acos probes.
9041 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9042 (__sin32): Add slowasin probe.
9043 (__cos32): Add slowacos probe.
9044 (__mpsin): Add slowsin probe.
9045 (__mpcos): Add slowcos probe.
9046
90472013-11-19 Joseph Myers <joseph@codesourcery.com>
9048
9049 [BZ #15483]
9050 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9051 thread-local __sim_exceptions_thread and global
9052 __sim_exceptions_global.
9053 (__sim_disabled_exceptions): Change to thread-local
9054 __sim_disabled_exceptions_thread and global
9055 __sim_disabled_exceptions_global.
9056 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9057 and global __sim_round_mode_global.
9058 (__simulate_exceptions): Use thread-local floating-point state and
9059 set global state from it as needed.
9060 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9061 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9062 __sim_round_mode_thread.
9063 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9064 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9065 and global __sim_exceptions_global.
9066 (__sim_disabled_exceptions): Change to thread-local
9067 __sim_disabled_exceptions_thread and global
9068 __sim_disabled_exceptions_global.
9069 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9070 and global __sim_round_mode_global.
9071 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9072 (SIM_SET_GLOBAL): Likewise.
9073 * sysdeps/powerpc/soft-fp/sfp-machine.h
9074 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9075 __sim_round_mode_thread.
9076 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9077 __sim_disabled_exceptions_thread.
9078 (__sim_exceptions): Change to __sim_exceptions_thread.
9079 (__sim_disabled_exceptions): Change to
9080 __sim_disabled_exceptions_thread.
9081 (__sim_round_mode): Change to __sim_round_mode_thread.
9082 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9083 thread-local floating-point state and set global state from it as
9084 needed.
9085 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9086 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9087 (__sim_disabled_exceptions): Remove extern declaration.
9088 (feenableexcept): Use thread-local floating-point state and set
9089 global state from it as needed.
9090 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9091 extern declaration.
9092 (__sim_disabled_exceptions): Likewise.
9093 (__sim_round_mode): Likewise.
9094 (__fegetenv): Use thread-local floating-point state.
9095 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9096 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9097 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9098 floating-point state and set global state from it as needed.
9099 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9100 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9101 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9102 Likewise.
9103 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9104 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9105 Likewise.
9106 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9107 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9108 Use __sim_round_mode_thread.
9109 * math/test-fenv-tls.c: New file.
9110 * math/Makefile (tests): Add test-fenv-tls.
9111 ($(objpfx)test-fenv-tls): Depend on
9112 $(common-objpfx)nptl/libpthread.so.
9113
91142013-11-19 Andreas Schwab <schwab@suse.de>
9115
9116 * locale/programs/locale.c (show_info): Decode wordarray elements.
9117 * locale/categories.def (LC_MONETARY): Add element for
9118 _NL_MONETARY_CRNCYSTR.
9119 * locale/C-monetary.c (conversion_rate): New variable.
9120 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9121 element.
9122
91232013-11-18 Chris Metcalf <cmetcalf@tilera.com>
9124
9125 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9126 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9127
91282013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9129
9130 * elf/Makefile (tst-auxv): New test.
9131 * elf/tst-auxv.c: New
9132 * elf/rtld.c (dl_main): Adjust AT_EXECFN
9133
91342013-11-18 Joseph Myers <joseph@codesourcery.com>
9135
9136 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9137 (hidden_proto): Caller changed.
9138 (hidden_tls_proto): New macro.
9139 (libc_hidden_tls_proto): Likewise.
9140 (rtld_hidden_tls_proto): Likewise.
9141 (libm_hidden_tls_proto): Likewise.
9142 (libresolv_hidden_tls_proto): Likewise.
9143 (librt_hidden_tls_proto): Likewise.
9144 (libdl_hidden_tls_proto): Likewise.
9145 (libnss_files_hidden_tls_proto): Likewise.
9146 (libnsl_hidden_tls_proto): Likewise.
9147 (libnss_nisplus_hidden_tls_proto): Likewise.
9148 (libutil_hidden_tls_proto): Likewise.
9149
91502013-11-18 Ondřej Bílka <neleai@seznam.cz>
9151
9152 [BZ #10253]
9153 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9154 (decompose_rpath): Defer expansion to fillin_rpath.
9155 (_dl_init_paths): Pass linkmap to fillin_rpath.
9156
91572013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9158
9159 * benchtests/Makefile: Add strsep.
9160 * benchtests/bench-strsep.c: New file: strsep benchtest.
9161 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9162
91632013-11-18 Andreas Schwab <schwab@suse.de>
9164
9165 * locale/programs/locale.c (show_info) [case byte]: Check for
9166 '\377' instead of '\177'.
9167 * locale/C-monetary.c (not_available): Always use "\377".
9168 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9169 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
9170 detect unavailable sign_posn locale elements.
9171 * locale/localeconv.c (__localeconv): For grouping and
9172 mon_grouping handle "\177" and "\377" like no grouping.
9173 (INT_ELEM): New macro. Use it to set all numeric members.
9174 * locale/programs/ld-monetary.c (monetary_read)
9175 <tok_mon_grouping>: Normalize single -1 to the empty string.
9176 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9177 Likewise.
9178
91792013-11-07 Ondřej Bílka <neleai@seznam.cz>
9180
9181 [BZ #16055]
9182 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9183 when we match (nil).
9184 * stdio-common/tst-sscanf.c (struct test): Add testcase.
9185
91862013-11-16 Joseph Myers <joseph@codesourcery.com>
9187
9188 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9189 (NO_TEST_INLINE): Update value.
9190 (ERRNO_UNCHANGED): Likewise.
9191 (ERRNO_EDOM): Likewise.
9192 (ERRNO_ERANGE): Likewise.
9193 (IGNORE_RESULT): Likewise.
9194 (check_float_internal): Check signs of NaN results if
9195 TEST_NAN_SIGN used.
9196 (check_complex): Pass TEST_NAN_SIGN flag through to second
9197 check_float_internal call.
9198 (copysign_test_data): Add tests with quiet NaNs as second
9199 argument. Use TEST_NAN_SIGN.
9200 (fabs_test_data): Add test of negative quiet NaN argument. Use
9201 TEST_NAN_SIGN.
9202 (signbit_test_data): Add tests of quiet NaN argument.
9203 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9204
9205 * math/gen-libm-test.pl (show_exceptions): Take extra argument
9206 $ignore_result.
9207 (parse_args): Handle function results specified as IGNORE.
9208 * math/libm-test.inc (IGNORE_RESULT): New macro.
9209 (check_float_internal): Do not check numerical result if flag
9210 IGNORE_RESULT set.
9211 (check_complex): Pass through IGNORE_RESULT to second
9212 check_float_internal call.
9213 (check_int): Do not check numerical result if flag IGNORE_RESULT
9214 set.
9215 (check_long): Likewise.
9216 (check_bool): Likewise.
9217 (check_longlong): Likewise.
9218 (lrint_test_data): Add tests of infinite and NaN arguments.
9219 (lrint_tonearest_test_data): Likewise.
9220 (lrint_towardzero_test_data): Likewise.
9221 (lrint_downward_test_data): Likewise.
9222 (lrint_upward_test_data): Likewise.
9223 (llrint_test_data): Likewise.
9224 (llrint_tonearest_test_data): Likewise.
9225 (llrint_towardzero_test_data): Likewise.
9226 (llrint_downward_test_data): Likewise.
9227 (llrint_upward_test_data): Likewise.
9228 (lround_test_data): Likewise.
9229 (llround_test_data): Likewise.
9230
9231 * math/libm-test.inc (NO_TEST_INLINE): New macro.
9232 (ERRNO_UNCHANGED): Update value.
9233 (ERRNO_EDOM): Likewise.
9234 (ERRNO_ERANGE): Likewise.
9235 (NO_TEST_INLINE_FLOAT): New macro.
9236 (NO_TEST_INLINE_DOUBLE): Likewise.
9237 (enable_test): New function.
9238 (RUN_TEST_f_f): Check enable_test before running test.
9239 (RUN_TEST_2_f): Likewise.
9240 (RUN_TEST_fff_f): Likewise.
9241 (RUN_TEST_c_f): Likewise.
9242 (RUN_TEST_f_f1): Likewise.
9243 (RUN_TEST_fF_f1): Likewise.
9244 (RUN_TEST_fI_f1): Likewise.
9245 (RUN_TEST_ffI_f1): Likewise.
9246 (RUN_TEST_c_c): Likewise.
9247 (RUN_TEST_cc_c): Likewise.
9248 (RUN_TEST_f_i): Likewise.
9249 (RUN_TEST_f_i_tg): Likewise.
9250 (RUN_TEST_ff_i_tg): Likewise.
9251 (RUN_TEST_f_b): Likewise.
9252 (RUN_TEST_f_b_tg): Likewise.
9253 (RUN_TEST_f_l): Likewise.
9254 (RUN_TEST_f_L): Likewise.
9255 (RUN_TEST_fFF_11): Likewise.
9256 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9257 conditionals.
9258 (cosh_test_data): Likewise.
9259 (exp_test_data): Likewise.
9260 (expm1_test_data): Likewise.
9261 (hypot_test_data): Likewise.
9262 (pow_test_data): Likewise.
9263 (sinh_test_data): Likewise.
9264 (tanh_test_data): Likewise.
9265 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9266 flags argument.
9267
9268 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9269 tests with quiet NaN input and output.
9270 (acosh_test_data): Likewise.
9271 (asin_test_data): Likewise.
9272 (asinh_test_data): Likewise.
9273 (atan_test_data): Likewise.
9274 (atanh_test_data): Likewise.
9275 (atan2_test_data): Likewise.
9276 (cbrt_test_data): Likewise.
9277 (cos_test_data): Likewise.
9278 (cosh_test_data): Likewise.
9279 (erf_test_data): Likewise.
9280 (erfc_test_data): Likewise.
9281 (exp_test_data): Likewise.
9282 (exp10_test_data): Likewise.
9283 (exp2_test_data): Likewise.
9284 (expm1_test_data): Likewise.
9285 (hypot_test_data): Likewise.
9286 (j0_test_data): Likewise.
9287 (j1_test_data): Likewise.
9288 (jn_test_data): Likewise.
9289 (lgamma_test_data): Likewise.
9290 (log_test_data): Likewise.
9291 (log10_test_data): Likewise.
9292 (log1p_test_data): Likewise.
9293 (log2_test_data): Likewise.
9294 (pow_test_data): Likewise.
9295 (scalb_test_data): Likewise.
9296 (sin_test_data): Likewise.
9297 (sincos_test_data): Likewise.
9298 (sinh_test_data): Likewise.
9299 (tan_test_data): Likewise.
9300 (tanh_test_data): Likewise.
9301 (tgamma_test_data): Likewise.
9302 (y0_test_data): Likewise.
9303 (y1_test_data): Likewise.
9304 (yn_test_data): Likewise.
9305
9306 [BZ #16167]
9307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9308 argument being NaN and avoid computations with second argument in
9309 that case.
9310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9312 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9313
93142013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
9315
9316 * locale/iso-639.def: Add Chitwani Tharu (the).
9317
93182013-11-14 Andreas Schwab <schwab@suse.de>
9319
9320 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9321 word instead of empty string.
9322
93232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9324
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9326 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9328 (__fe_nomask_env): Likewise.
9329
93302013-11-13 Steve Ellcey <sellcey@mips.com>
9331
9332 * benchtests/bench-timing.h: Include time.h.
9333
93342013-11-13 H.J. Lu <hongjiu.lu@intel.com>
9335
9336 [BZ #15997]
9337 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9338 to 3.4.0 for x32.
9339 * sysdeps/unix/sysv/linux/configure: Regenerated.
9340
93412013-11-13 Joseph Myers <joseph@codesourcery.com>
9342
9343 [BZ #16151]
9344 * stdlib/strtod_l.c (round_and_return): Do not consider
9345 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9346 exponent one less than half the least subnormal exponent.
9347 * stdlib/test-strtod-round-data: Add more tests.
9348 * stdlib/tst-strtod-round.c (tests): Regenerated.
9349
93502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9351
9352 [BZ #14143]
9353 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9354 (__fe_mask_env): Likewise.
9355 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9356 libm_hidden_proto and add function prototype.
9357 (__fe_mask_env): Add function prototype.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9359 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9361 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9363 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9364
93652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9366
9367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9368 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9369
93702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9371
9372 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9373 of htab_find_slot().
9374
93752013-11-11 David S. Miller <davem@davemloft.net>
9376
9377 [BZ #16150]
9378 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9379 symbol in the non-vis3 case in static builds.
9380 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9381 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9382 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9384
93852013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9386
9387 [BZ #387]
9388 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9389 it is empty.
9390
93912013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9392
9393 * benchtests/Makefile: Add bench-strtod.
9394 * benchtests/bench-strtod.c: New file: strtod benchtest
9395
93962013-11-11 Andreas Schwab <schwab@suse.de>
9397
9398 [BZ #16153]
9399 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9400 terminating NUL in key length.
9401
94022013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403
9404 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9405 Add artificial ODP entry for vDSO symbol for PPC64.
9406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9407 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9408
94092013-11-07 Ondřej Bílka <neleai@seznam.cz>
9410
9411 [BZ #15374]
9412 * nss/getent.c (services_keys): Recognize services starting with digit.
9413
94142013-11-06 David S. Miller <davem@davemloft.net>
9415
9416 [BZ #15985]
9417 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9418 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9419
94202013-11-06 Will Newton <will.newton@linaro.org>
9421
9422 * manual/memory.texi (Malloc Examples): Remove register
9423 keyword from examples.
9424
94252013-11-04 Chris Leonard <cjl@sugarlabs.org>
9426
9427 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9428
94292013-11-04 Joseph Myers <joseph@codesourcery.com>
9430
9431 [BZ #6981]
9432 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9433 depending on [__GCC_IEC_559 > 0].
9434 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9435 depending on [__GCC_IEC_559_COMPLEX > 0].
9436
94372013-11-03 Chris Leonard <cjl@sugarlabs.org>
9438
9439 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9440 to iso-639.def.
9441
94422013-11-03 Ondřej Bílka <neleai@seznam.cz>
9443
9444 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9445
94462013-11-01 Ondřej Bílka <neleai@seznam.cz>
9447
9448 [BZ #16112]
9449 * malloc/malloc (malloc_info): Do not handle first bin as
9450 special case.
9451
94522013-11-01 Chris Leonard <cjl@sugarlabs.org>
9453
9454 * locale/iso-639.def: Add Central Nahuatl (nhn).
9455
94562013-11-01 Bruno Haible <bruno@clisp.org>
9457
9458 [BZ #7003]
9459 * manual/math.texi (BSD Random): Specify range upper bound as
9460 in POSIX.
9461
94622013-10-31 Chris Leonard <cjl@sugarlabs.org>
9463
9464 * locale/iso-639.def: Add Meadow Mari (mhr).
9465
94662013-10-31 Ondřej Bílka <neleai@seznam.cz>
9467
9468 [BZ #14752], [BZ #15763]
9469 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9470 Validate name.
9471 * rt/tst_shm.c: Add test for escaping directory.
9472
94732013-10-31 Andreas Schwab <schwab@suse.de>
9474
9475 [BZ #15917]
9476 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9477 followed by 'x' as part of digit sequence.
9478 * stdio-common/tst-sscanf.c (double_tests2): New tests.
9479
94802013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9481
9482 [BZ #16037]
9483 * configure.ac: allow GNU Make 4.0 and greater.
9484 * configure: Regenerated.
9485
94862013-10-30 Will Newton <will.newton@linaro.org>
9487
9488 [BZ #16038]
9489 * malloc/hooks.c (memalign_check): Limit alignment to the
9490 maximum representable power of two.
9491 * malloc/malloc.c (__libc_memalign): Likewise.
9492 * malloc/tst-memalign.c (do_test): Add test for very
9493 large alignment values.
9494 * malloc/tst-posix_memalign.c (do_test): Likewise.
9495
94962013-10-30 Ondřej Bílka <neleai@seznam.cz>
9497
9498 [BZ #11087]
9499 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9500 (munmap_chunk): Likewise.
9501 (mremap_chunk): Likewise.
9502
95032013-10-30 Ondřej Bílka <neleai@seznam.cz>
9504
9505 [BZ #15799]
9506 * stdlib/div.c (div): Remove obsolete code.
9507 * stdlib/ldiv.c (ldiv): Likewise.
9508 * stdlib/lldiv.c (lldiv): Likewise.
9509
95102013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9511
9512 [BZ #16071]
9513 * nss/nss_files/files-XXX.c (get_contents_ret): New
9514 enumerator.
9515 (get_contents): New function.
9516 (internal_getent): Use it. Expand size of LINEBUFLEN.
9517
95182013-10-30 Mike Frysinger <vapier@gentoo.org>
9519
9520 * configure.in: Moved to ...
9521 * configure.ac: ... here. Change reference to configure.in
9522 to configure.ac.
9523 * sysdeps/arm/preconfigure.ac: ... here.
9524 configure.in to configure.ac.
9525 * sysdeps/gnu/configure.in: Moved to ...
9526 * sysdeps/gnu/configure.ac: ... here.
9527 * sysdeps/i386/configure.in: Moved to ...
9528 * sysdeps/i386/configure.ac: ... here.
9529 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9530 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9531 * sysdeps/mach/configure.in: Moved to ...
9532 * sysdeps/mach/configure.ac: ... here.
9533 * sysdeps/mach/hurd/configure.in: Moved to ...
9534 * sysdeps/mach/hurd/configure.ac: ... here.
9535 * sysdeps/powerpc/configure.in: Moved to ...
9536 * sysdeps/powerpc/configure.ac: ... here.
9537 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9538 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9539 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9540 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9541 * sysdeps/s390/s390-32/configure.in: Moved to ...
9542 * sysdeps/s390/s390-32/configure.ac: ... here.
9543 * sysdeps/s390/s390-64/configure.in: Moved to ...
9544 * sysdeps/s390/s390-64/configure.ac: ... here.
9545 * sysdeps/sh/configure.in: Moved to ...
9546 * sysdeps/sh/configure.ac: ... here.
9547 * sysdeps/sparc/configure.in: Moved to ...
9548 * sysdeps/sparc/configure.ac: ... here.
9549 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9550 * sysdeps/unix/sysv/linux/configure.ac: ... here.
9551 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9552 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9553 * sysdeps/x86_64/configure.in: Moved to ...
9554 * sysdeps/x86_64/configure.ac: ... here.
9555 * sysdeps/x86_64/preconfigure.in: Moved to ...
9556 * sysdeps/x86_64/preconfigure.ac: ... here.
9557 * aclocal.m4: Change reference to configure.in to configure.ac.
9558 * config.h.in: Likewise.
9559 * manual/install.texi: Likewise.
9560 * manual/maint.texi: Likewise.
9561 * Makefile: Likewise.
9562 * malloc/Makefile: Likewise.
9563 * nscd/Makefile: Likewise.
9564 * Makeconfig: Change reference to configure.in and
9565 preconfigure.in to configure.ac and preconfigure.ac
9566 respectively.
9567 * INSTALL: Regenerated.
9568 * configure: Likewise.
9569 * sysdeps/gnu/configure: Likewise.
9570 * sysdeps/i386/configure: Likewise.
9571 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9572 * sysdeps/mach/configure: Likewise.
9573 * sysdeps/mach/hurd/configure: Likewise.
9574 * sysdeps/powerpc/configure: Likewise.
9575 * sysdeps/powerpc/powerpc32/configure: Likewise.
9576 * sysdeps/powerpc/powerpc64/configure: Likewise.
9577 * sysdeps/s390/s390-32/configure: Likewise.
9578 * sysdeps/s390/s390-64/configure: Likewise.
9579 * sysdeps/sh/configure: Likewise.
9580 * sysdeps/sparc/configure: Likewise.
9581 * sysdeps/unix/sysv/linux/configure: Likewise.
9582 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9583 * sysdeps/x86_64/configure: Likewise.
9584 * sysdeps/x86_64/preconfigure: Likewise.
9585
95862013-10-29 Andreas Schwab <schwab@suse.de>
9587
9588 * stdio-common/Makefile (tst-swscanf-ENV): Define.
9589
95902013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9591
9592 * benchtests/pow-inputs: Add new inputs.
9593
9594 * benchtests/exp-inputs: Add new inputs.
9595
9596 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9597 conditional check for return value.
9598 (__cos32): Likewise.
9599
96002013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9601
9602 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9603 to provide a boost for large inputs with word alignment.
9604 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9605 implementation based on optimized PPC64 strcpy.
9606 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9607 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9608 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9609 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9610
96112013-10-25 Ondřej Bílka <neleai@seznam.cz>
9612
9613 [BZ #2801]
9614 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9615
96162013-10-25 Ondřej Bílka <neleai@seznam.cz>
9617
9618 [BZ #14876]
9619 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9620 * time/tst-strptime.c (day_tests): Add testcase.
9621
96222013-10-25 Ondřej Bílka <neleai@seznam.cz>
9623
9624 [BZ #14029]
9625 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9626
96272013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9628
9629 [BZ #16074]
9630 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9631 MAP_FAILED on error.
9632
96332013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9634
9635 [BZ #16072]
9636 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9637 heap for large requests.
9638
96392013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9640
9641 [BZ #9954]
9642 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9643 result if the result has no associated interface.
9644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9645 interface for all 127.X.Y.Z addresses.
9646
96472013-10-24 Chris Leonard <cjl@sugarlabs.org>
9648
9649 * locale/iso-639.def: Add Ligurian (lij)
9650
96512013-10-21 Ondřej Bílka <neleai@seznam.cz>
9652
9653 [BZ #15825]
9654 * sunrpc/rpc_main.c: Document rpcgen -5.
9655
96562013-10-19 Michael Stahl <mstahl@redhat.com>
9657
9658 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9659
96602013-10-19 Ondřej Bílka <neleai@seznam.cz>
9661
9662 [BZ #10278]
9663 * posix/glob.c: Match only directories when trailing slash is present.
9664 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9665 (main): Add testcase.
9666
96672013-10-19 Ondřej Bílka <neleai@seznam.cz>
9668
9669 [BZ #15670]
9670 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9671
96722013-10-18 Carlos O'Donell <carlos@redhat.com>
9673
9674 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9675 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9676 AUTH_DES and cindex for FIPS 140-2.
9677 (DES Encryption): Add cindex FIPS 46-3.
9678
9679 * locale/locarchive.h (struct locarhandle): Add fname.
9680 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9681 if an optional argument was specified to --list-archive,
9682 otherwise NULL.
9683 * locale/programs/locarchive.c (show_archive_content): Take new
9684 argument fname and pass it via ah.fname to open_archive.
9685 * locale/programs/localedef.h: Update decl.
9686 (open_archive): If AH->fname is non-null, open that file
9687 rather than the default file name, and don't ignore ENOENT.
9688 (create_archive): Set AH.fname to NULL.
9689 (delete_locales_from_archive): Likewise.
9690 (add_locales_to_archive): Likewise.
9691 * locale/programs/locfile.c (write_all_categories): Likewise.
9692
96932013-10-18 Joseph Myers <joseph@codesourcery.com>
9694 Aldy Hernandez <aldyh@redhat.com>
9695
9696 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9697 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9698 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9699 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9700 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9701 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9704 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9705 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9706 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9707 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9708 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9709 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9711 Likewise.
9712 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9713 Likewise.
9714 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9715 Likewise.
9716 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9717 Likewise.
9718 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9719 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9720 Likewise.
9721 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9722 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9723 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9724 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9725 Likewise.
9726 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9727 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9728 * sysdeps/powerpc/preconfigure: Likewise.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9730 Likewise.
9731 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9732 Replace contents of file by #include of <fenv_libc.h>.
9733 * sysdeps/powerpc/soft-fp/sfp-machine.h
9734 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9735 and <sys/prctl.h>.
9736 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9749 Allow copysignl PLT reference to be missing.
9750
97512013-10-18 Richard Sandiford <richard@codesourcery.com>
9752 Joseph Myers <joseph@codesourcery.com
9753
9754 [BZ #15948]
9755 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9756 single character.
9757 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9758
97592013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9760
9761 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9762 * elf/tst-tls1.c: Likewise.
9763 * elf/tst-tls10.h: Likewise.
9764 * elf/tst-tls14.c: Likewise.
9765 * elf/tst-tls2.c: Likewise.
9766 * elf/tst-tls3.c: Likewise.
9767 * elf/tst-tls4.c: Likewise.
9768 * elf/tst-tls5.c: Likewise.
9769 * elf/tst-tls6.c: Likewise.
9770 * elf/tst-tls7.c: Likewise.
9771 * elf/tst-tls8.c: Likewise.
9772 * elf/tst-tls9.c: Likewise.
9773 * elf/tst-tlsmod1.c: Likewise.
9774 * elf/tst-tlsmod13.c: Likewise.
9775 * elf/tst-tlsmod13a.c: Likewise.
9776 * elf/tst-tlsmod14a.c: Likewise.
9777 * elf/tst-tlsmod16a.c: Likewise.
9778 * elf/tst-tlsmod16b.c: Likewise.
9779 * elf/tst-tlsmod2.c: Likewise.
9780 * elf/tst-tlsmod3.c: Likewise.
9781 * elf/tst-tlsmod4.c: Likewise.
9782 * elf/tst-tlsmod5.c: Likewise.
9783 * elf/tst-tlsmod6.c: Likewise.
9784
97852013-10-18 Ondřej Bílka <neleai@seznam.cz>
9786
9787 [BZ #12486]
9788 * malloc/malloc.c: remove checks for statistics.
9789
97902013-10-17 Ondřej Bílka <neleai@seznam.cz>
9791
9792 [BZ #15277]
9793 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9794 * inet/tst-network.c: Add testcase.
9795
97962013-10-17 Andreas Schwab <schwab@suse.de>
9797
9798 [BZ #15218]
9799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9800 to determine canonical name.
9801
98022013-10-17 Ondřej Bílka <neleai@seznam.cz>
9803
9804 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9805 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9828 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9829 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9832 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9833 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9834 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9835 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9836 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9837 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9841 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9842 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9844 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9845 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9846 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9847 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9848 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9849 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9850 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9851 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9852 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9853 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9854 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9855 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9859 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9861 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9862
98632013-10-17 Joseph Myers <joseph@codesourcery.com>
9864
9865 [BZ #16041]
9866 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9867 make result into a quiet NaN.
9868
98692013-10-16 Joseph Myers <joseph@codesourcery.com>
9870
9871 * soft-fp/adddf3.c: Fix horizontal whitespace.
9872 * soft-fp/addsf3.c: Likewise.
9873 * soft-fp/addtf3.c: Likewise.
9874 * soft-fp/divdf3.c: Likewise.
9875 * soft-fp/divsf3.c: Likewise.
9876 * soft-fp/divtf3.c: Likewise.
9877 * soft-fp/double.h: Likewise.
9878 * soft-fp/eqdf2.c: Likewise.
9879 * soft-fp/eqsf2.c: Likewise.
9880 * soft-fp/eqtf2.c: Likewise.
9881 * soft-fp/extenddftf2.c: Likewise.
9882 * soft-fp/extended.h: Likewise.
9883 * soft-fp/extendsfdf2.c: Likewise.
9884 * soft-fp/extendsftf2.c: Likewise.
9885 * soft-fp/extendxftf2.c: Likewise.
9886 * soft-fp/fixdfdi.c: Likewise.
9887 * soft-fp/fixdfsi.c: Likewise.
9888 * soft-fp/fixdfti.c: Likewise.
9889 * soft-fp/fixsfdi.c: Likewise.
9890 * soft-fp/fixsfsi.c: Likewise.
9891 * soft-fp/fixsfti.c: Likewise.
9892 * soft-fp/fixtfdi.c: Likewise.
9893 * soft-fp/fixtfsi.c: Likewise.
9894 * soft-fp/fixtfti.c: Likewise.
9895 * soft-fp/fixunsdfdi.c: Likewise.
9896 * soft-fp/fixunsdfsi.c: Likewise.
9897 * soft-fp/fixunsdfti.c: Likewise.
9898 * soft-fp/fixunssfdi.c: Likewise.
9899 * soft-fp/fixunssfsi.c: Likewise.
9900 * soft-fp/fixunssfti.c: Likewise.
9901 * soft-fp/fixunstfdi.c: Likewise.
9902 * soft-fp/fixunstfsi.c: Likewise.
9903 * soft-fp/fixunstfti.c: Likewise.
9904 * soft-fp/floatdidf.c: Likewise.
9905 * soft-fp/floatdisf.c: Likewise.
9906 * soft-fp/floatditf.c: Likewise.
9907 * soft-fp/floatsidf.c: Likewise.
9908 * soft-fp/floatsisf.c: Likewise.
9909 * soft-fp/floatsitf.c: Likewise.
9910 * soft-fp/floattidf.c: Likewise.
9911 * soft-fp/floattisf.c: Likewise.
9912 * soft-fp/floattitf.c: Likewise.
9913 * soft-fp/floatundidf.c: Likewise.
9914 * soft-fp/floatundisf.c: Likewise.
9915 * soft-fp/floatunditf.c: Likewise.
9916 * soft-fp/floatunsidf.c: Likewise.
9917 * soft-fp/floatunsisf.c: Likewise.
9918 * soft-fp/floatunsitf.c: Likewise.
9919 * soft-fp/floatuntidf.c: Likewise.
9920 * soft-fp/floatuntisf.c: Likewise.
9921 * soft-fp/floatuntitf.c: Likewise.
9922 * soft-fp/fmadf4.c: Likewise.
9923 * soft-fp/fmasf4.c: Likewise.
9924 * soft-fp/fmatf4.c: Likewise.
9925 * soft-fp/gedf2.c: Likewise.
9926 * soft-fp/gesf2.c: Likewise.
9927 * soft-fp/getf2.c: Likewise.
9928 * soft-fp/ledf2.c: Likewise.
9929 * soft-fp/lesf2.c: Likewise.
9930 * soft-fp/letf2.c: Likewise.
9931 * soft-fp/muldf3.c: Likewise.
9932 * soft-fp/mulsf3.c: Likewise.
9933 * soft-fp/multf3.c: Likewise.
9934 * soft-fp/negdf2.c: Likewise.
9935 * soft-fp/negsf2.c: Likewise.
9936 * soft-fp/negtf2.c: Likewise.
9937 * soft-fp/op-1.h: Likewise.
9938 * soft-fp/op-2.h: Likewise.
9939 * soft-fp/op-4.h: Likewise.
9940 * soft-fp/op-8.h: Likewise.
9941 * soft-fp/op-common.h: Likewise.
9942 * soft-fp/quad.h: Likewise.
9943 * soft-fp/single.h: Likewise.
9944 * soft-fp/soft-fp.h: Likewise.
9945 * soft-fp/sqrtdf2.c: Likewise.
9946 * soft-fp/sqrtsf2.c: Likewise.
9947 * soft-fp/sqrttf2.c: Likewise.
9948 * soft-fp/subdf3.c: Likewise.
9949 * soft-fp/subsf3.c: Likewise.
9950 * soft-fp/subtf3.c: Likewise.
9951 * soft-fp/truncdfsf2.c: Likewise.
9952 * soft-fp/trunctfdf2.c: Likewise.
9953 * soft-fp/trunctfsf2.c: Likewise.
9954 * soft-fp/trunctfxf2.c: Likewise.
9955 * soft-fp/unorddf2.c: Likewise.
9956 * soft-fp/unordsf2.c: Likewise.
9957 * soft-fp/unordtf2.c: Likewise.
9958
99592013-10-15 Joseph Myers <joseph@codesourcery.com>
9960
9961 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9962 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9963
99642013-10-15 Ondřej Bílka <neleai@seznam.cz>
9965
9966 * elf/dl-libc.c: Clear initfini list after freeing.
9967
99682013-10-14 Joseph Myers <joseph@codesourcery.com>
9969
9970 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9971 * soft-fp/addsf3.c: Likewise.
9972 * soft-fp/addtf3.c: Likewise.
9973 * soft-fp/divdf3.c: Likewise.
9974 * soft-fp/divsf3.c: Likewise.
9975 * soft-fp/divtf3.c: Likewise.
9976 * soft-fp/double.h: Likewise.
9977 * soft-fp/eqdf2.c: Likewise.
9978 * soft-fp/eqsf2.c: Likewise.
9979 * soft-fp/eqtf2.c: Likewise.
9980 * soft-fp/extenddftf2.c: Likewise.
9981 * soft-fp/extended.h: Likewise.
9982 * soft-fp/extendsfdf2.c: Likewise.
9983 * soft-fp/extendsftf2.c: Likewise.
9984 * soft-fp/extendxftf2.c: Likewise.
9985 * soft-fp/fixdfdi.c: Likewise.
9986 * soft-fp/fixdfsi.c: Likewise.
9987 * soft-fp/fixdfti.c: Likewise.
9988 * soft-fp/fixsfdi.c: Likewise.
9989 * soft-fp/fixsfsi.c: Likewise.
9990 * soft-fp/fixsfti.c: Likewise.
9991 * soft-fp/fixtfdi.c: Likewise.
9992 * soft-fp/fixtfsi.c: Likewise.
9993 * soft-fp/fixtfti.c: Likewise.
9994 * soft-fp/fixunsdfdi.c: Likewise.
9995 * soft-fp/fixunsdfsi.c: Likewise.
9996 * soft-fp/fixunsdfti.c: Likewise.
9997 * soft-fp/fixunssfdi.c: Likewise.
9998 * soft-fp/fixunssfsi.c: Likewise.
9999 * soft-fp/fixunssfti.c: Likewise.
10000 * soft-fp/fixunstfdi.c: Likewise.
10001 * soft-fp/fixunstfsi.c: Likewise.
10002 * soft-fp/fixunstfti.c: Likewise.
10003 * soft-fp/floatdidf.c: Likewise.
10004 * soft-fp/floatdisf.c: Likewise.
10005 * soft-fp/floatditf.c: Likewise.
10006 * soft-fp/floatsidf.c: Likewise.
10007 * soft-fp/floatsisf.c: Likewise.
10008 * soft-fp/floatsitf.c: Likewise.
10009 * soft-fp/floattidf.c: Likewise.
10010 * soft-fp/floattisf.c: Likewise.
10011 * soft-fp/floattitf.c: Likewise.
10012 * soft-fp/floatundidf.c: Likewise.
10013 * soft-fp/floatundisf.c: Likewise.
10014 * soft-fp/floatunsidf.c: Likewise.
10015 * soft-fp/floatunsisf.c: Likewise.
10016 * soft-fp/floatuntidf.c: Likewise.
10017 * soft-fp/floatuntisf.c: Likewise.
10018 * soft-fp/floatuntitf.c: Likewise.
10019 * soft-fp/fmadf4.c: Likewise.
10020 * soft-fp/fmasf4.c: Likewise.
10021 * soft-fp/fmatf4.c: Likewise.
10022 * soft-fp/gedf2.c: Likewise.
10023 * soft-fp/gesf2.c: Likewise.
10024 * soft-fp/getf2.c: Likewise.
10025 * soft-fp/ledf2.c: Likewise.
10026 * soft-fp/lesf2.c: Likewise.
10027 * soft-fp/letf2.c: Likewise.
10028 * soft-fp/muldf3.c: Likewise.
10029 * soft-fp/mulsf3.c: Likewise.
10030 * soft-fp/multf3.c: Likewise.
10031 * soft-fp/negdf2.c: Likewise.
10032 * soft-fp/negsf2.c: Likewise.
10033 * soft-fp/negtf2.c: Likewise.
10034 * soft-fp/op-1.h: Likewise.
10035 * soft-fp/op-2.h: Likewise.
10036 * soft-fp/op-4.h: Likewise.
10037 * soft-fp/op-8.h: Likewise.
10038 * soft-fp/op-common.h: Likewise.
10039 * soft-fp/quad.h: Likewise.
10040 * soft-fp/single.h: Likewise.
10041 * soft-fp/soft-fp.h: Likewise.
10042 * soft-fp/sqrtdf2.c: Likewise.
10043 * soft-fp/sqrtsf2.c: Likewise.
10044 * soft-fp/sqrttf2.c: Likewise.
10045 * soft-fp/subdf3.c: Likewise.
10046 * soft-fp/subsf3.c: Likewise.
10047 * soft-fp/subtf3.c: Likewise.
10048 * soft-fp/truncdfsf2.c: Likewise.
10049 * soft-fp/trunctfdf2.c: Likewise.
10050 * soft-fp/trunctfsf2.c: Likewise.
10051 * soft-fp/trunctfxf2.c: Likewise.
10052 * soft-fp/unorddf2.c: Likewise.
10053 * soft-fp/unordsf2.c: Likewise.
10054 * soft-fp/unordtf2.c: Likewise.
10055
100562013-10-14 Ondřej Bílka <neleai@seznam.cz>
10057
10058 [BZ #15672]
10059 * misc/error.c (error_tail): Fix possible buffer overflow.
10060
100612013-10-14 Aurelien Jarno <aurelien@aurel32.net>
10062
10063 [BZ #13028]
10064 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10065 address.
10066
100672013-10-14 P. J. McDermott <pj@pehjota.net>
10068
10069 [BZ #832]
10070 * elf/ldd.bash.in (try_trace): New function. Delete previous code
10071 testing pipefail option.
10072
100732013-10-12 Joseph Myers <joseph@codesourcery.com>
10074
10075 * soft-fp/double.h: Indent preprocessor directives inside #if.
10076 * soft-fp/extended.h: Likewise.
10077 * soft-fp/op-2.h: Likewise.
10078 * soft-fp/op-4.h: Likewise.
10079 * soft-fp/op-common.h: Likewise.
10080 * soft-fp/quad.h: Likewise.
10081 * soft-fp/single.h: Likewise.
10082 * soft-fp/soft-fp.h: Likewise.
10083
100842013-10-12 Yuri Chornoivan <yurchor@ukr.net>
10085
10086 * iconv/iconv_prog.c: Fix typos.
10087 * stdio-common/psiginfo-data.h: Likewise.
10088
100892013-10-12 Reuben Thomas <rrt@sc3d.org>
10090
10091 [BZ #15764]
10092 * locale/setlocale.c: Fix typo.
10093
100942013-10-12 Joseph Myers <joseph@codesourcery.com>
10095
10096 [BZ #16036]
10097 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10098 signaling NaN arguments.
10099 * soft-fp/unordsf2.c (__unordsf2): Likewise.
10100 * soft-fp/unordtf2.c (__unordtf2): Likewise.
10101
10102 [BZ #14910]
10103 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10104 unordered operands.
10105 * soft-fp/gesf2.c (__gesf2): Likewise.
10106 * soft-fp/getf2.c (__getf2): Likewise.
10107 * soft-fp/ledf2.c (__ledf2): Likewise.
10108 * soft-fp/lesf2.c (__lesf2): Likewise.
10109 * soft-fp/letf2.c (__letf2): Likewise.
10110
10111 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10112 * soft-fp/eqsf2.c (__eqsf2): Likewise.
10113 * soft-fp/eqtf2.c (__eqtf2): Likewise.
10114 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10115 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10116 * soft-fp/fixdfti.c (__fixdfti): Likewise.
10117 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10118 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10119 * soft-fp/fixsfti.c (__fixsfti): Likewise.
10120 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10121 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10122 * soft-fp/fixtfti.c (__fixtfti): Likewise.
10123 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10124 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10125 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10126 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10127 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10128 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10129 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10130 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10131 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10132 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10133 * soft-fp/floatdisf.c (__floatdisf): Likewise.
10134 * soft-fp/floatsisf.c (__floatsisf): Likewise.
10135 * soft-fp/floattidf.c (__floattidf): Likewise.
10136 * soft-fp/floattisf.c (__floattisf): Likewise.
10137 * soft-fp/floattitf.c (__floattitf): Likewise.
10138 * soft-fp/floatundidf.c (__floatundidf): Likewise.
10139 * soft-fp/floatundisf.c (__floatundisf): Likewise.
10140 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10141 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10142 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10143 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10144 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10145 * soft-fp/gesf2.c (__gesf2): Likewise.
10146 * soft-fp/getf2.c (__getf2): Likewise.
10147 * soft-fp/ledf2.c (__ledf2): Likewise.
10148 * soft-fp/lesf2.c (__lesf2): Likewise.
10149 * soft-fp/letf2.c (__letf2): Likewise.
10150
10151 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10152 Undefine and redefine.
10153 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10154 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10155 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10156 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10157 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10158 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10159 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10160 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10161 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10162 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10163 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10164 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10165 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10166 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10167 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10168
10169 [BZ #16032]
10170 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10171 without decrementing exponent if mantissa >= that for the
10172 denominator, not >.
10173 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10174 denominator, not >. Decrement exponent in < case instead of
10175 incrementing in >= case.
10176 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10177 without decrementing exponent if mantissa >= that for the
10178 denominator, not >.
10179
10180 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10181 computing saturated result for unsigned overflow.
10182
101832013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10184 Jeff Law <law@redhat.com>
10185
10186 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10187 (atan2Mp): Add systemtap probe marker.
10188 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10189 (__ieee754_log): Add systemtap probe marker.
10190 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10191 (atanMp): Add systemtap probe marker.
10192 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10193 (tanMp): Add systemtap probe marker.
10194 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10195 (__slowexp): Add systemtap probe marker.
10196 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10197 (__slowpow): Add systemtap probe marker.
10198 * manual/probes.texi: Document probes.
10199
102002013-10-11 Eric Biggers <ebiggers3@gmail.com>
10201
10202 [BZ #15362]
10203 * libio/fileops.c (_IO_new_file_write): Return count of bytes
10204 written.
10205 (_IO_new_file_xsputn): Don't return EOF if nothing has been
10206 written.
10207 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10208 written to buffer but not flushed.
10209 * libio/iofwrite_u.c: Likewise.
10210 * libio/iopadn.c: Return bytes returned even if EOF was
10211 encountered.
10212 * libio/iowpadn.c: Likewise.
10213 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10214 if _IO_padn does not write the whole buffer.
10215 [!COMPILE_WPRINTF] (PAD): Likewise.
10216
102172013-10-10 David S. Miller <davem@davemloft.net>
10218
10219 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10220 directory block.
10221
102222013-10-10 Joseph Myers <joseph@codesourcery.com>
10223
10224 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
10225 instead of FSF address.
10226 * soft-fp/fixdfti.c: Likewise.
10227 * soft-fp/fixsfti.c: Likewise.
10228 * soft-fp/fixtfti.c: Likewise.
10229 * soft-fp/fixunsdfti.c: Likewise.
10230 * soft-fp/fixunssfti.c: Likewise.
10231 * soft-fp/fixunstfti.c: Likewise.
10232 * soft-fp/floattidf.c: Likewise.
10233 * soft-fp/floattisf.c: Likewise.
10234 * soft-fp/floattitf.c: Likewise.
10235 * soft-fp/floatuntidf.c: Likewise.
10236 * soft-fp/floatuntisf.c: Likewise.
10237 * soft-fp/floatuntitf.c: Likewise.
10238 * soft-fp/trunctfxf2.c: Likewise.
10239
10240 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
10241 * soft-fp/fixdfti.c: Likewise.
10242 * soft-fp/fixsfti.c: Likewise.
10243 * soft-fp/fixtfti.c: Likewise.
10244 * soft-fp/fixunsdfti.c: Likewise.
10245 * soft-fp/fixunssfti.c: Likewise.
10246 * soft-fp/fixunstfti.c: Likewise.
10247 * soft-fp/floattidf.c: Likewise.
10248 * soft-fp/floattisf.c: Likewise.
10249 * soft-fp/floattitf.c: Likewise.
10250 * soft-fp/floatuntidf.c: Likewise.
10251 * soft-fp/floatuntisf.c: Likewise.
10252 * soft-fp/floatuntitf.c: Likewise.
10253 * soft-fp/trunctfxf2.c: Likewise.
10254
102552013-10-10 David S. Miller <davem@davemloft.net>
10256
10257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10258
102592013-10-10 Joseph Myers <joseph@codsourcery.com>
10260
10261 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10262 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10263 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10268
10269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10270 for NaNs before doing comparisons on argument.
10271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10272 Likewise.
10273
102742013-10-10 Will Newton <will.newton@linaro.org>
10275
10276 * malloc/hooks.c (memalign_check): Ensure the value of bytes
10277 passed to _int_memalign does not overflow.
10278
102792013-10-10 Torvald Riegel <triegel@redhat.com>
10280
10281 * scripts/bench.pl: Add include-sources directive.
10282 * benchtests/README: Update documentation.
10283
102842013-10-10 Joseph Myers <joseph@codesourcery.com>
10285
10286 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10287 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10288 instead of FP_INIT_ROUNDMODE.
10289 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10290 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10291
10292 [BZ #16034]
10293 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
10294 copy class of input value.
10295 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
10296 not handle exceptions.
10297 * soft-fp/negsf2.c (__negsf2): Likewise.
10298 * soft-fp/negtf2.c (__negtf2): Likewise.
10299 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10300
103012013-10-09 Joseph Myers <joseph@codesourcery.com>
10302
10303 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10304 semicolon. From Linux kernel.
10305
103062013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
10307
10308 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10309
103102013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
10311
10312 [BZ #156]
10313 * manual/socket.texi: Added statement about buffer
10314 for gethostbyname2_r.
10315
103162013-10-08 Ondřej Bílka <neleai@seznam.cz>
10317
10318 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10319 Use .p2align directive instead, throughout.
10320 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10321 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10322 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10323 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10325 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10326 * sysdeps/x86_64/strchr.S: Likewise.
10327 * sysdeps/x86_64/strrchr.S: Likewise.
10328
103292013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10330
10331 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10332
10333 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10334
10335 * sysdeps/generic/math_private.h (__mpsin1): Remove
10336 declaration.
10337 (__mpcos1): Likewise.
10338 (__mpsin): New argument __range_reduce.
10339 (__mpcos): Likewise.
10340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10341 (slow): Use __mpsin and __mpcos.
10342 (slow1): Likewise.
10343 (slow2): Likewise.
10344 (sloww): Likewise.
10345 (sloww1): Likewise.
10346 (sloww2): Likewise.
10347 (bsloww): Likewise.
10348 (bsloww1): Likewise.
10349 (bsloww2): Likewise.
10350 (cslow2): Likewise.
10351 (csloww): Likewise.
10352 (csloww1): Likewise.
10353 (csloww2): Likewise.
10354 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10355 range_reduce. Merge in __mpsin1.
10356 (__mpcos): Likewise.
10357 (__mpsin1): Remove.
10358 (__mpcos1): Likewise.
10359
103602013-10-07 Joseph Myers <joseph@codesourcery.com>
10361
10362 * locale/loadlocale.c (_nl_intern_locale_data): Use
10363 LOCFILE_ALIGNED_P.
10364 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10365 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10366 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10367 obstack data is appropriately aligned.
10368 (obstack_int32_grow_fast): Likewise.
10369 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10370 * locale/programs/locfile.c (add_locale_uint32): Likewise.
10371 (add_locale_uint32_array): Likewise.
10372
103732013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10374
10375 * benchtests/Makefile: Remove ARGLIST and RET variables.
10376 ($(objpfx)bench-%.c): Pass only function name to the script.
10377 * benchtests/README: Update documentation.
10378 * benchtests/acos-inputs: Add new directives.
10379 * benchtests/acosh-inputs: Likewise.
10380 * benchtests/asin-inputs: Likewise.
10381 * benchtests/asinh-inputs: Likewise.
10382 * benchtests/atan-inputs: Likewise.
10383 * benchtests/atanh-inputs: Likewise.
10384 * benchtests/cos-inputs: Likewise.
10385 * benchtests/cosh-inputs: Likewise.
10386 * benchtests/exp-inputs: Likewise.
10387 * benchtests/log-inputs: Likewise.
10388 * benchtests/pow-inputs: Likewise.
10389 * benchtests/rint-inputs: Likewise.
10390 * benchtests/sin-inputs: Likewise.
10391 * benchtests/sinh-inputs: Likewise.
10392 * benchtests/tan-inputs: Likewise.
10393 * benchtests/tanh-inputs: Likewise.
10394 * scripts/bench.pl: Add support for new directives.
10395
103962013-10-07 Alan Modra <amodra@gmail.com>
10397
10398 * README: Fix careless merge.
10399
104002013-10-05 Alan Modra <amodra@gmail.com>
10401
10402 * NEWS: Mention powerpc64le support and bugs fixed.
10403 * README: Both big-endian and little-endian powerpc64 supported.
10404
104052013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10406
10407 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10408 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10409 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10410 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10411
104122013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
10413
10414 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10415 match prototype.
10416
104172013-10-04 Joseph Myers <joseph@codesourcery.com>
10418
10419 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10420 Move -mhard-float appending from
10421 ports/sysdeps/powerpc/powerpc32/Makefile.
10422 [$(with-fp) = yes] (ASFLAGS): Likewise.
10423 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10424 * sysdeps/powerpc/nofpu: Move directory from
10425 ports/sysdeps/powerpc/nofpu.
10426 * sysdeps/powerpc/soft-fp: Move directory from
10427 ports/sysdeps/powerpc/soft-fp.
10428 * sysdeps/powerpc/powerpc32/405: Move directory from
10429 ports/sysdeps/powerpc/powerpc32/405.
10430 * sysdeps/powerpc/powerpc32/440: Move directory from
10431 ports/sysdeps/powerpc/powerpc32/440.
10432 * sysdeps/powerpc/powerpc32/464: Move directory from
10433 ports/sysdeps/powerpc/powerpc32/464.
10434 * sysdeps/powerpc/powerpc32/476: Move directory from
10435 ports/sysdeps/powerpc/powerpc32/476.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10445 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10446 * README: Update for powerpc-*-linux-gnu software floating point
10447 support in libc.
10448
10449 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10450 case to powerpc/powerpc32*.
10451 * sysdeps/unix/sysv/linux/configure: Regenerated.
10452
10453 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10454 (_FPU_MASK_OM): Define as 0x04.
10455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10457 0x00c10080.
10458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10459 0x0000003c.
10460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10461
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10464 getcontext_e500.
10465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10466 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10467 setcontext_e500.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10469 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10470 and setcontext_e500.
10471
104722013-10-04 Chris Leonard <cjl@sugarlabs,.org>
10473
10474 * locale/iso-3166.def: Update iso-1366.def and related occurrences
10475
104762013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10477
10478 * manual/threads.texi (Default Thread Attributes): Fix typo.
10479
104802013-10-04 Will Newton <will.newton@linaro.org>
10481
10482 * malloc/Makefile: Add tst-memalign.
10483 * malloc/tst-memalign.c: New file.
10484
10485 * malloc/tst-posix_memalign.c: Add comments.
10486 (do_test): Add comments and call free on all potentially
10487 allocated pointers. Add space after cast.
10488
10489 * malloc/tst-pvalloc.c: Add comments.
10490 (do_test): Add comments and call free on all potentially
10491 allocated pointers. Remove duplicate check for NULL pointer.
10492 Add space after cast.
10493
10494 * malloc/tst-valloc.c: Add comments.
10495 (do_test): Add comments and call free on all potentially
10496 allocated pointers. Remove duplicate check for NULL pointer.
10497 Add space after cast.
10498
104992013-10-04 Alan Modra <amodra@gmail.com>
10500
10501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10502 Use stdint types in rather than __attribute__((mode())).
10503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10504
105052013-10-04 Alan Modra <amodra@gmail.com>
10506
10507 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10508 Correct handling of unaligned relocs for little-endian.
10509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10510
105112013-10-04 Alan Modra <amodra@gmail.com>
10512
10513 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10514 * configure: Regenerate.
10515 * nptl/shlib-versions: Powerpc*le starts at 2.18.
10516 * shlib-versions: Likewise.
10517
105182013-10-04 Alan Modra <amodra@gmail.com>
10519
10520 * string/tester.c (test_memrchr): Increment reported test cycle.
10521
105222013-10-04 Alan Modra <amodra@gmail.com>
10523
10524 * string/test-memcpy.c (do_one_test): When reporting errors, print
10525 string address and don't overrun end of string.
10526
105272013-10-04 Alan Modra <amodra@gmail.com>
10528
10529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10530 insrdi. Make better use of reg selection to speed exit slightly.
10531 Schedule entry path a little better. Remove useless "are we done"
10532 checks on entry to main loop. Handle wrapping around zero address.
10533 Correct main loop count. Handle single left-over word from main
10534 loop inline rather than by using loop_small. Remove extra word
10535 case in loop_small caused by wrong loop count. Add little-endian
10536 support.
10537 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10538 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
10539 cache hint.
10540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10541 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10542 support. Avoid rlwimi.
10543 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10544
105452013-10-04 Alan Modra <amodra@gmail.com>
10546
10547 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10548 insrdi. Formatting.
10549 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10550 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10551 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10554 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10555
105562013-10-04 Alan Modra <amodra@gmail.com>
10557
10558 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10559 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10560 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10562 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10564 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
10567 use of regs. Use power7 mtocrf. Tidy function tails.
10568
105692013-10-04 Alan Modra <amodra@gmail.com>
10570
10571 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10572 Formatting. Consistently use rXXX register defines or rN defines.
10573 Use early exit labels that avoid restoring unused non-volatile regs.
10574 Make cr field use more consistent with rWORDn compares. Rename
10575 regs used as shift registers for unaligned loop, using rN defines
10576 for short lifetime/multiple use regs.
10577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10578 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
10579 addi 1,1,64 to pop stack frame. Simplify return value code.
10580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10581
105822013-10-04 Alan Modra <amodra@gmail.com>
10583
10584 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10585 support. Correct typos, formatting. Optimize tail. Use insrdi
10586 rather than rlwimi.
10587 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10588 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10589 little-endian support. Correct typos.
10590 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10591 rather than rlwimi.
10592 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
10593 in loop and entry code to keep "and." results.
10594 (strchr): Add little-endian support. Comment. Move cntlzd
10595 earlier in tail.
10596 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10597
105982013-10-04 Alan Modra <amodra@gmail.com>
10599
10600 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10601 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10602 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10603 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10604
106052013-10-04 Alan Modra <amodra@gmail.com>
10606
10607 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10608 (rTMP): Define as r11.
10609 (strcmp): Add little-endian support. Optimise tail.
10610 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10611 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10612 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10613 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10614 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10617
106182013-10-04 Alan Modra <amodra@gmail.com>
10619
10620 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10621 little-endian support. Remove unnecessary "are we done" tests.
10622 Handle "s" wrapping around zero and extremely large "size".
10623 Correct main loop count. Handle single left-over word from main
10624 loop inline rather than by using small_loop. Correct comments.
10625 Delete "zero" tail, use "end_max" instead.
10626 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10627
106282013-10-04 Alan Modra <amodra@gmail.com>
10629
10630 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10631 support. Don't branch over align.
10632 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10633 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10634 support. Rearrange tmp reg use to suit. Comment.
10635 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10636
106372013-10-04 Alan Modra <amodra@gmail.com>
10638
10639 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10640
106412013-10-04 Alan Modra <amodra@gmail.com>
10642
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10644 conditional form of branch and link when obtaining pc.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10646
106472013-10-04 Alan Modra <amodra@gmail.com>
10648
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10650 HIWORD/LOWORD.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10653
106542013-10-04 Alan Modra <amodra@gmail.com>
10655
10656 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10657 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10658 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10659 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10660 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10662 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10663 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10664 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10665 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10666
106672013-10-04 Anton Blanchard <anton@au1.ibm.com>
10668 Alistair Popple <alistair@ozlabs.au.ibm.com>
10669 Alan Modra <amodra@gmail.com>
10670
10671 [BZ #15723]
10672 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10674 _dl_hwcap access for little-endian.
10675 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10676 destroy vmx regs when saving unaligned.
10677 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10678 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10679 destroy vmx regs when saving unaligned.
10680
106812013-10-04 Alan Modra <amodra@gmail.com>
10682
10683 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10684 Don't use a union to pack hi/low value.
10685
106862013-10-04 Anton Blanchard <anton@au1.ibm.com>
10687
10688 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10689 for little-endian.
10690 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10692 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10693 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10694 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10695
106962013-10-04 Alan Modra <amodra@gmail.com>
10697
10698 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10699 constants to usual value for .cst8 section, and remove redundant
10700 high address load.
10701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10702 constant for 0x1p52. Load little-endian words of double from
10703 correct stack offsets.
10704
107052013-10-04 Alan Modra <amodra@gmail.com>
10706
10707 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10708 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10709 words of double from correct stack offsets.
10710 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10711 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10712 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10714 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10715 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10717 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10718 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10722 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10724 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10725 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10726 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10727
107282013-10-04 Alan Modra <amodra@gmail.com>
10729
10730 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10731 64-bit int/double union.
10732 (_FPU_SETCW): Likewise.
10733 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10734 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10735
107362013-10-04 Alan Modra <amodra@gmail.com>
10737
10738 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10739 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10740
107412013-10-04 Alan Modra <amodra@gmail.com>
10742
10743 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10744 use vector int constants.
10745 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10746
107472013-10-04 Anton Blanchard <anton@au1.ibm.com>
10748
10749 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10750 array with long long.
10751 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10752 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10753 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10754 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10755 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10756 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10757 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10758 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10759 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10760 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10761 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10762 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10763 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10764
107652013-10-04 Anton Blanchard <anton@au1.ibm.com>
10766
10767 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10768 (__signbit): Likewise. Correct for little-endian.
10769 (__signbitl): Call __signbit.
10770 (lrint): Correct for little-endian.
10771 (lrintf): Call lrint.
10772
107732013-10-04 Alan Modra <amodra@gmail.com>
10774
10775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10776 union 32-bit int array member with 64-bit int array.
10777 (t515, tm256): Double rather than long double.
10778 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10779
107802013-10-04 Alan Modra <amodra@gmail.com>
10781
10782 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10783 Delete.
10784 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10786 version of math_ldbl.h.
10787
107882013-10-04 Alan Modra <amodra@gmail.com>
10789
10790 [BZ #15734], [BZ #15735]
10791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10792 all uses of ieee875 long double macros and unions. Simplify test
10793 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10794 ldbl_extract_mantissa value for ix,iy exponents. Properly
10795 normalize after ldbl_extract_mantissa, and don't add hidden bit
10796 already handled. Don't treat low word of ieee854 mantissa like
10797 low word of IBM long double and mask off bit when testing for
10798 zero.
10799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10800 all uses of ieee875 long double macros and unions. Simplify tests
10801 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10802 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10803 two1022, instead use their values. Recognise that tests for large
10804 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10806 Rewrite all uses of ieee875 long double macros and unions. Simplify
10807 test for 0.0L and nan. Correct negation.
10808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10809 ieee875 long double macros and unions. Correct output for large
10810 magnitude x. Correct absolute value calculation.
10811 (__erfcl): Likewise.
10812 * math/libm-test.inc: Add tests for errors discovered in IBM long
10813 double versions of fmodl, remainderl, erfl and erfcl.
10814
108152013-10-04 Alan Modra <amodra@gmail.com>
10816
10817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10818 all uses of ieee854 long double macros and unions. Simplify tests
10819 for long doubles that are fully specified by the high double.
10820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10821 Likewise.
10822 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10823 Remove dead code too.
10824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10825 (__ieee754_ynl): Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10829 Remove dead code too.
10830 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10831 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10833 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10834 Simplify.
10835 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10836 Simplify.
10837 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10840 Comment on variable precision.
10841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10843 Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10848 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10849
108502013-10-04 Alan Modra <amodra@gmail.com>
10851
10852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10853 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10854 all uses of ieee854 long double macros and unions.
10855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10861 Likewise.
10862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10863 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10864 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10865 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10866 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10868 Simplify sign and nan test too.
10869 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10871 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10872 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10873 Likewise.
10874 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10875 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10876 Likewise.
10877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10878 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10879 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10880 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10881 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10883
108842013-10-04 Alan Modra <amodra@gmail.com>
10885
10886 * stdio-common/printf_size.c (__printf_size): Don't use
10887 union ieee854_long_double in fpnum union.
10888 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10889 signbit macro to retrieve sign from long double.
10890 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10891 retrieve sign from long double.
10892 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10893 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10894 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10895 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10896 * math/test-misc.c (main): Don't use union ieee854_long_double.
10897
108982013-10-04 Alan Modra <amodra@gmail.com>
10899
10900 [BZ #15680]
10901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10902 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10903 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10904 calculation. Remove unnecessary test for denormal exponent.
10905 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10906 Correct handling of denormals. Avoid undefined shift behaviour.
10907 Correct normalisation of low mantissa when low double is denormal.
10908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10909 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10910 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10911 Correct normalisation of low mantissa. Test for overflow of high
10912 mantissa and normalise.
10913 (ldbl_nearbyint): Use more readable constant for two52.
10914 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10915 (__mpn_construct_long_double): Fix test for overflow of high
10916 mantissa and correct normalisation. Avoid undefined shift.
10917
109182013-10-04 Alan Modra <amodra@gmail.com>
10919
10920 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10921 (union ibm_extended_long_double): Define as an array of ieee754_double.
10922 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10923 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10924 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10925 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10929 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10933
109342013-10-03 Joseph Myers <joseph@codesourcery.com>
10935
10936 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10937 page size instead of calling getpagesize.
10938
10939 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10940 (LOCFILE_ALIGN_MASK): Likewise.
10941 (LOCFILE_ALIGN_UP): Likewise.
10942 (LOCFILE_ALIGNED_P): Likewise.
10943 * locale/programs/ld-collate.c (collate_output): Use the new
10944 macros instead of __alignof__ (int32_t).
10945 * locale/weight.h (findidx): Likewise.
10946
109472013-10-03 Ondřej Bílka <neleai@seznam.cz>
10948
10949 [BZ #431]
10950 * manual/string.texi: Fix strncat and wcsncat.
10951
109522013-10-03 Brooks Moses <bmoses@google.com>
10953
10954 [BZ #15915]
10955 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10956 * Makerules: ...here, and adjust associated comments.
10957
109582013-10-02 Will Newton <will.newton@linaro.org>
10959
10960 * malloc/Makefile: Add tst-pvalloc.
10961 * malloc/tst-pvalloc.c: New file.
10962
109632013-10-02 Will Newton <will.newton@linaro.org>
10964
10965 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10966 improve test coverage.
10967
109682013-10-02 Will Newton <will.newton@linaro.org>
10969
10970 * malloc/Makefile: Add tst-posix_memalign.
10971 * malloc/tst-posix_memalign.c: New file.
10972
109732013-10-01 Eric Blake <eblake@redhat.com>
10974
10975 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10976 Use __THROWNL rather than __THROW on static functions.
10977
109782013-09-30 Petr Machata <pmachata@redhat.com>
10979
10980 * elf/elf.h (R_AARCH64_ABS16): New macro.
10981 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10982 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10983 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10984 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10985 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10986 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10987 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10988 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10989 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10990 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10991 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10992 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10993 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10994 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10995 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10996 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10997 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10998 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10999 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11000 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11001 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11002 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11003 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11004 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11005 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11006 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11007 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11008 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11009 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11010 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11011 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11012 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11013 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11014 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11015 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11016 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11017 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11018 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11019 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11020 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11021 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11022 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11023 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11024 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11025 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11026 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11027 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11028 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11029 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11030 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11031 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11032 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11033 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11034 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11035 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11036 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11037 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11038 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11039 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11040 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11041 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11042 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11043 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11044 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11045 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11046 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11047 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11048 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11049 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11050 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11051 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11052 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11053 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11054 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11055 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11056 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11057 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11058 (R_AARCH64_TLSDESC_LDR): Likewise.
11059 (R_AARCH64_TLSDESC_ADD): Likewise.
11060 (R_AARCH64_TLSDESC_CALL): Likewise.
11061
110622013-09-30 Andreas Schwab <schwab@suse.de>
11063
11064 [BZ #15048]
11065 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11066 the nss database lookup.
11067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11069
110702013-09-28 Mike Frysinger <vapier@gentoo.org>
11071
11072 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11073
110742013-09-28 P. J. McDermott <pj@pehjota.net>
11075
11076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11077 ${Bash-specific parameter/pattern/string} parameter expansion.
11078 * sysdeps/unix/make-syscalls.sh: Likewise.
11079
110802013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11081
11082 * sysdeps/sh/stackguard-macros.h: New file.
11083
110842013-09-26 Ondřej Bílka <neleai@seznam.cz>
11085
11086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11088 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11089 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11091 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11092
110932013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11094
11095 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11096 Fix thread ID register.
11097
110982013-09-25 Joseph Myers <joseph@codesourcery.com>
11099
11100 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11101 [POSIX || UNIX98]: Require rather than permitting all symbols from
11102 <time.h>.
11103 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11104 element of struct sched_param.
11105 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11106 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11107 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11108 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11109 constant.
11110
111112013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
11112
11113 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11114 argument calculation.
11115
111162013-09-24 Joseph Myers <joseph@codesourcery.com>
11117
11118 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11119 Expect macro.
11120 [POSIX] (pthread_attr_t): Do not require type.
11121 [POSIX] (pthread_cond_t): Likewise.
11122 [POSIX] (pthread_condattr_t): Likewise.
11123 [POSIX] (pthread_key_t): Likewise.
11124 [POSIX] (pthread_mutex_t): Likewise.
11125 [POSIX] (pthread_mutexattr_t): Likewise.
11126 [POSIX] (pthread_once_t): Likewise.
11127 [POSIX] (pthread_t): Likewise.
11128 [POSIX-based standards] (pthread_atfork): Expect function.
11129
111302013-09-24 Joseph Myers <joseph@codesourcery.com>
11131 Richard Sandiford <richard@codesourcery.com>
11132
11133 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11134 (swap_endianness_p): New extern variable.
11135 (set_big_endian): New inline function.
11136 (maybe_swap_uint32): Likewise.
11137 (maybe_swap_uint32_array): Likewise.
11138 (maybe_swap_uint32_obstack): Likewise.
11139 * locale/programs/locfile.c: Include <stdbool.h>.
11140 (swap_endianness_p): New variable.
11141 (add_locale_uint32): Call maybe_swap_uint32.
11142 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11143 (write_locale_data): Call maybe_swap_uint32_array.
11144 * locale/programs/ld-collate.c (obstack_int32_grow): Call
11145 maybe_swap_uint32.
11146 (obstack_int32_grow_fast): Likewise.
11147 (output_weightwc): Call maybe_swap_uint32_obstack.
11148 (collate_output): Likewise.
11149 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11150 (OPT_LITTLE_ENDIAN): Likewise.
11151 (options): Add --little-endian and --big-endian options.
11152 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11153 * locale/programs/locarchive.c: Include "locfile.h".
11154 (GET): New macro.
11155 (SET): Likewise.
11156 (INC): Likewise.
11157 (create_archive): Use the new macros to access fields of
11158 structures directly mapped from or written to locale archives.
11159 (oldlocrecentcmp): Likewise.
11160 (enlarge_archive): Likewise.
11161 (insert_name): Likewise.
11162 (add_alias): Likewise.
11163 (add_locale): Likewise.
11164 (delete_locales_from_archive): Likewise.
11165 (show_archive_content): Likewise.
11166 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
11167 locale data.
11168
111692013-09-24 Roland McGrath <roland@hack.frob.com>
11170
11171 * manual/freemanuals.texi: Updated from (newly) canonical copy at
11172 http://www.gnu.org/doc/freemanuals.texi.
11173 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11174
111752013-09-24 Will Newton <will.newton@linaro.org>
11176
11177 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11178 macro.
11179
111802013-09-23 Joseph Myers <joseph@codesourcery.com>
11181
11182 * locale/hashval.h (compute_hashval): Interpret bytes of key as
11183 unsigned char.
11184
111852013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
11186
11187 * manual/threads.texi (POSIX Threads): Fix a typo.
11188
111892013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11190
11191 [BZ #14547]
11192 * string/tst-strcoll-overflow.c: New test case.
11193 * string/Makefile (xtests): Add tst-strcoll-overflow.
11194 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11195 cache if string sizes may cause integer overflow.
11196
11197 [BZ #14547]
11198 * string/strcoll_l.c (coll_seq): New members rule, idx,
11199 save_idx and back_us.
11200 (get_next_seq_nocache): New function.
11201 (do_compare_nocache): New function.
11202 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11203 when malloc fails.
11204
112052013-09-23 Carlos O'Donell <carlos@redhat.com>
11206
11207 [BZ #15754]
11208 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11209 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11210 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11211
11212 [BZ #15754]
11213 * elf/Makefile (tests): Add tst-ptrguard1.
11214 (tests-static): Add tst-ptrguard1-static.
11215 (tst-ptrguard1-ARGS): Define.
11216 (tst-ptrguard1-static-ARGS): Define.
11217 * elf/tst-ptrguard1.c: New file.
11218 * elf/tst-ptrguard1-static.c: New file.
11219 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11220 * sysdeps/i386/stackguard-macros.h: Likewise.
11221 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11222 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11223 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11224 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11225 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11226 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11227
112282013-09-23 Hector Marco <hecmargi@upv.es>
11229 Ismael Ripoll <iripoll@disca.upv.es>
11230 Carlos O'Donell <carlos@redhat.com>
11231
11232 [BZ #15754]
11233 * sysdeps/generic/stackguard-macros.h: Define
11234 __pointer_chk_guard_local and POINTER_CHK_GUARD.
11235 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11236 Define __pointer_chk_guard_local.
11237 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11238 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11239
112402013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
11241
11242 [BZ #15859]
11243 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11244
112452013-09-20 Andreas Schwab <schwab@linux-m68k.org>
11246
11247 * include/string.h (__ffs): Declare as hidden.
11248 * string/ffs.c (__ffs): Define as hidden.
11249 * sysdeps/i386/ffs.c (__ffs): Likewise.
11250 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11251 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11252 * sysdeps/s390/ffs.c (__ffs): Likewise.
11253 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11254
112552013-09-20 Alexandre Oliva <aoliva@redhat.com>
11256
11257 * NEWS: Mention malloc probes.
11258
11259 * malloc/arena.c (new_heap): New memory_heap_new probe.
11260 (grow_heap): New memory_heap_more probe.
11261 (shrink_heap): New memory_heap_less probe.
11262 (heap_trim): New memory_heap_free probe.
11263 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11264 (systrim): New memory_sbrk_less probe.
11265 * manual/probes.texi: Document them.
11266
11267 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11268 * manual/probes.texi: Document it.
11269
11270 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11271 (__libc_realloc): Add memory_realloc_retry probe.
11272 (__libc_memalign): Add memory_memalign_retry probe.
11273 (__libc_valloc): Add memory_valloc_retry probe.
11274 (__libc_pvalloc): Add memory_pvalloc_retry probe.
11275 (__libc_calloc): Add memory_calloc_retry probe.
11276 * manual/probes.texi: Document them.
11277
11278 * malloc/arena.c (get_free_list): Add probe
11279 memory_arena_reuse_free_list.
11280 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11281 and memory_arena_reuse.
11282 (arena_get2) [!PER_THREAD]: Likewise.
11283 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11284 memory_arena_reuse_realloc.
11285 * manual/probes.texi: Document them.
11286
11287 * malloc/malloc.c (__libc_free): Add
11288 memory_mallopt_free_dyn_thresholds probe.
11289 (__libc_mallopt): Add multiple memory_mallopt probes.
11290 * manual/probes.texi: Document them.
11291
11292 * malloc/malloc.c: Include stap-probe.h.
11293 (__libc_mallopt): Add memory_mallopt probe.
11294 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11295 * manual/probes.texi: New.
11296 * manual/Makefile (chapters): Add probes.
11297 * manual/threads.texi: Set next node.
11298
112992013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
11300
11301 [BZ #15963, #13985]
11302 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11303 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11304 Add `Chinese' to `nan' entry name.
11305
113062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11307
11308 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11309 (POLYNOMIAL): Likewise.
11310 (TAYLOR_SINCOS): Likewise.
11311 (TAYLOR_SLOW): Likewise.
11312 (__sin): Use TAYLOR_SINCOS.
11313 (__cos): Likewise.
11314 (slow): Use TAYLOR_SLOW.
11315 (sloww): Likewise.
11316 (bsloww): Likewise.
11317 (csloww): Likewise.
11318
113192013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11320
11321 * stdlib/strtod_l.c: Fix buffer overrun.
11322
113232013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11324
11325 * benchtests/Makefile (bench): Add sincos.
11326 * benchtests/bench-sincos.c: New file.
11327
11328 * math/libm-test.inc (cos_test_data): New test inputs.
11329 (sin_test_data): Likewise.
11330
11331 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11332 macro.
11333 (__sin): Use it.
11334 (__cos): Likewise.
11335 (slow1): Likewise.
11336 (slow2): Likewise.
11337 (sloww1): Likewise.
11338 (sloww2): Likewise.
11339 (bsloww1): Likewise.
11340 (bsloww2): Likewise.
11341 (cslow2): Likewise.
11342 (csloww1): Likewise.
11343 (csloww2): Likewise.
11344
11345 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11346 function.
11347 (__sin): Use it.
11348 (__cos): Likewise.
11349
11350 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11351 gotos.
11352 (__cos): Likewise.
11353
113542013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
11355
11356 * config.h.in (HAVE_MIPS_NAN2008): New macro.
11357 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11358 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11359 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11360 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11361 * elf/cache.c (print_entry): Handle the new cache flags.
11362
113632013-09-18 Joseph Myers <joseph@codesourcery.com>
11364 Aldy Hernandez <aldyh@redhat.com>
11365
11366 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11367 Change condition to [_SOFT_FLOAT].
11368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11380 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11383 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11384 declaration.
11385
113862013-09-18 Joseph Myers <joseph@codesourcery.com>
11387
11388 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11389 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11390 (__longjmp): Use LOAD_GP to load saved GPRs.
11391 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11392 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11393 (__sigsetjmp): Use SAVE_GP to save GPRs.
11394
11395 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11396 Do not append -msoft-float.
11397 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11398
113992013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11400
11401 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11402
114032013-09-17 Joseph Myers <joseph@codesourcery.com>
11404
11405 [BZ #15966]
11406 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11407 (_FPU_GETCW): Use initial "__" on variable and field names but not
11408 on macro parameter name.
11409 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
11410 parentheses around reference to macro parameter.
11411
114122013-09-13 Richard Sandiford <richard@codesourcery.com>
11413
11414 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11415 prototype.
11416 (ctype_startup): Use uint32_t in cast and sizeof for
11417 ctype->charnames.
11418
114192013-09-11 Jia Liu <proljc@gmail.com>
11420
11421 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11422 __daddr_t_defined.
11423 [__FreeBSD__]: Likewise.
11424
114252013-09-11 Ondřej Bílka <neleai@seznam.cz>
11426
11427 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11428 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11429 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11430 (strchr): Remove __strchr_sse42 ifunc selection.
11431 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11432 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11433
114342013-09-11 Will Newton <will.newton@linaro.org>
11435
11436 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11437 parameter to RES. Remove hardcoded 1000 value.
11438 * benchtests/bench-skeleton.c (main): Pass RES parameter
11439 to TIMING_INIT and multiply result by 1000.
11440
114412013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442
11443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11444
114452013-09-11 Andreas Schwab <schwab@suse.de>
11446
11447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11448 if not defined.
11449 (O_TMPFILE) [__USE_GNU]: Define.
11450 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11451 Define.
11452
114532013-09-11 Will Newton <will.newton@linaro.org>
11454
11455 [BZ #15857]
11456 * malloc/malloc.c (__libc_memalign): Check the value of bytes
11457 does not overflow.
11458
114592013-09-11 Will Newton <will.newton@linaro.org>
11460
11461 [BZ #15856]
11462 * malloc/malloc.c (__libc_valloc): Check the value of bytes
11463 does not overflow.
11464
114652013-09-11 Will Newton <will.newton@linaro.org>
11466
11467 [BZ #15855]
11468 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11469 does not overflow.
11470
114712013-09-10 Ondřej Bílka <neleai@seznam.cz>
11472
11473 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11477 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11478
114792013-09-10 Allan McRae <allan@archlinux.org>
11480
11481 [BZ #15748]
11482 * manual/arith.texi (Parsing of Floats): Clarify
11483 cross-reference.
11484
11485 [BZ #15849]
11486 * manual/install.texi (Running make install): Mention
11487 --enable-pt-chown.
11488 * INSTALL: Regenerated.
11489
114902013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
11491
11492 * csu/init-first.c (_init): Remove the !SHARED condition around
11493 FPU control word initialization.
11494 * elf/dl-support.c (_dl_fpu_control): New variable.
11495 (_dl_aux_init) <AT_FPUCW>: Initialize it.
11496 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11497 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11498 * math/test-fpucw-static.c: New file.
11499 * math/test-fpucw-ieee.c: New file.
11500 * math/test-fpucw-ieee-static.c: New file.
11501 * math/Makefile (tests): Add `test-fpucw-ieee' and
11502 `$(tests-static)'.
11503 (tests-static): New variable.
11504 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11505 dependency to...
11506 [($(build-shared),yes)]
11507 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11508 ... this.
11509 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11510 New dependency.
11511
115122013-09-09 Allan McRae <allan@archlinux.org>
11513
11514 [BZ #15939]
11515 * manual/string.texi (Collation Functions): Fix typo in
11516 strcoll example.
11517 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11518
11519 [BZ #15893]
11520 * stdlib/isomac.c (get_null_defines): Fix memory leak.
11521
11522 [BZ #15892]
11523 * libio/memstream.c (open_memstream): Fix memory leak.
11524 * libio/wmemstream.c (open_wmemstream): Likewise.
11525
11526 [BZ #15895]
11527 * nscd/netgroupcache.c: Fix nesting of ifdefs.
11528
115292013-09-09 Will Newton <will.newton@linaro.org>
11530
11531 * malloc/Makefile: Add tst-realloc to tests.
11532 * malloc/tst-realloc.c: New file.
11533
115342013-09-09 Allan McRae <allan@archlinux.org>
11535
11536 [BZ #15844]
11537 * COPYING: Update from GNU website to fix FSF address.
11538 * COPYING.LIB: Likewise.
11539
115402013-09-06 David S. Miller <davem@davemloft.net>
11541
11542 * po/zh_TW.po: Update Chinese (traditional) translation from
11543 translation project.
11544
115452013-09-06 Richard Sandiford <richard@codesourcery.com>
11546 Joseph Myers <joseph@codesourcery.com>
11547
11548 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11549 "localeinfo.h".
11550 (obstack_chunk_alloc): New macro.
11551 (obstack_chunk_free): Likewise.
11552 (record_offset): New function.
11553 (init_locale_data): Likewise.
11554 (align_locale_data): Likewise.
11555 (add_locale_empty): Likewise.
11556 (add_locale_raw_data): Likewise.
11557 (add_locale_raw_obstack): Likewise.
11558 (add_locale_string): Likewise.
11559 (add_locale_wstring): Likewise.
11560 (add_locale_uint32): Likewise.
11561 (add_locale_uint32_array): Likewise.
11562 (add_locale_char): Likewise.
11563 (start_locale_structure): Likewise.
11564 (end_locale_structure): Likewise.
11565 (start_locale_prelude): Likewise.
11566 (end_locale_prelude): Likewise.
11567 (write_locale_data): Take locale_file structure rather than an
11568 iovec.
11569 * locale/programs/locfile.h: Include "obstack.h".
11570 (struct locale_file): Change to store locale file contents instead
11571 of header.
11572 (init_locale_data): New prototype.
11573 (align_locale_data): Likewise.
11574 (add_locale_empty): Likewise.
11575 (add_locale_raw_data): Likewise.
11576 (add_locale_raw_obstack): Likewise.
11577 (add_locale_string): Likewise.
11578 (add_locale_wstring): Likewise.
11579 (add_locale_uint32): Likewise.
11580 (add_locale_uint32_array): Likewise.
11581 (add_locale_char): Likewise.
11582 (start_locale_structure): Likewise.
11583 (end_locale_structure): Likewise.
11584 (start_locale_prelude): Likewise.
11585 (end_locale_prelude): Likewise.
11586 (write_locale_data): Update prototype.
11587 * locale/programs/3level.h (struct TABLE): Remove result field.
11588 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11589 Use new locale_file interface.
11590 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11591 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11592 * locale/programs/ld-address.c (address_output): Use new
11593 locale_file interface.
11594 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11595 NO_ADD_LOCALE.
11596 (collate_finish): Don't call collseq_table_finalize.
11597 (collate_output): Use new locale_file interface.
11598 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11599 in file.
11600 (NO_FINALIZE): Change to NO_ADD_LOCALE.
11601 (TABLE): Move defines earlier in file.
11602 (ELEMENT): Likewise.
11603 (DEFAULT): Likewise.
11604 (wctrans_table_add): Move macro and inline function earlier in
11605 file.
11606 (struct wctype_table): Move type earlier in file.
11607 (add_locale_wctype_table): New static prototype.
11608 (struct locale_ctype_t): Use logical types instead of struct iovec
11609 pointers for members.
11610 (ctype_output): Use new locale_file interface.
11611 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11612 new locale_file interface.
11613 (allocate_arrays): Update for use of new locale_file interface.
11614 * locale/programs/ld-identification.c (identification_output): Use
11615 new locale_file interface.
11616 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11617 * locale/programs/ld-messages.c (messages_output): Likewise.
11618 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11619 * locale/programs/ld-name.c (name_output): Likewise.
11620 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11621 * locale/programs/ld-paper.c (paper_output): Likewise.
11622 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11623 * locale/programs/ld-time.c (time_output): Likewise.
11624
116252013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11626
11627 * benchtests/Makefile: Add memrchr benchmark.
11628 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11629 benchmark as memrchr.
11630 * benchtests/bench-memrchr-ifunc.c: New file.
11631 * benchtests/bench-memrchr.c: New file.
11632
116332013-09-06 Will Newton <will.newton@linaro.org>
11634
11635 * benchtests/Makefile (string-bench): Add memcpy.
11636
116372013-09-05 Carlos O'Donell <carlos@redhat.com>
11638 Cong Wang <amwang@redhat.com>
11639
11640 [BZ #15850]
11641 * sysdeps/unix/sysv/linux/bits/in.h
11642 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11643 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11644 before __USE_KERNEL_IPV6_DEFS uses.
11645 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11646 IPPROTO_BEETPH.
11647 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11648 sockaddr_in6, or ipv6_mreq.
11649
116502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11651
11652 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11653 memory access for final bytes in some large inputs.
11654 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11655
116562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11657
11658 * string/test-memrchr.c: New file.
11659 * string/test-memrchr-ifunc.c: New file.
11660 * string/Makefile: Add new memrchr testcase.
11661
116622013-09-05 Mike Frysinger <vapier@gentoo.org>
11663
11664 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11665 fanotify_init returns EPERM.
11666
116672013-09-04 Joseph Myers <joseph@codesourcery.com>
11668
11669 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11670 errors.
11671 (top level): Treat second token from macro or constant entries for
11672 allowed headers as allowed.
11673 * include/complex.h: Condition internal declarations on
11674 [!_ISOMAC].
11675 * include/fenv.h: Condition include of <stdbool.h> and internal
11676 declarations on [!_ISOMAC].
11677
116782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11679
11680 [BZ #15923]
11681 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11682
116832013-09-04 Joseph Myers <joseph@codesourcery.com>
11684
11685 * configure.in (--enable-versioning): Remove configure option.
11686 (libc_cv_asm_symver_directive): Remove configure test.
11687 (libc_cv_ld_version_script_option): Likewise.
11688 (VERSIONING): Remove variable and AC_SUBST.
11689 (DO_VERSIONING): Remove AC_DEFINE.
11690 * configure: Regenerated.
11691 * config.h.in (DO_VERSIONING): Remove macro.
11692 * Makerules [$(versioning) = yes]: Change conditionals to
11693 [$(build-shared) = yes].
11694 * config.make.in (versioning): Remove variable.
11695 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11696 [$(build-shared) = yes].
11697 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11698 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11699 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11700 [$(build-shared) = yes].
11701 * extra-lib.mk [$(versioning) = yes]: Likewise.
11702 * hurd/Makefile [$(versioning) = yes]: Likewise.
11703 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11704 [SHARED].
11705 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11706 [SHARED].
11707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11708 [SHARED && !NO_HIDDEN].
11709 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11710 [SHARED].
11711 [SHARED && DO_VERSIONING]: Likewise..
11712 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11713 [$(build-shared) = yes].
11714 * manual/install.texi (--disable-versioning): Remove
11715 documentation.
11716 * INSTALL: Regenerated.
11717 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11718 to [SHARED].
11719 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11720 [$(build-shared) = yes].
11721 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11722 * sysdeps/i386/i686/multiarch/strstr-c.c
11723 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11724 [SHARED && !NO_HIDDEN].
11725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11726 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11727 * sysdeps/powerpc/powerpc32/dl-machine.c
11728 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11729 * sysdeps/powerpc/powerpc32/sysdep.h
11730 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11731 to [SHARED && PIC && !NO_HIDDEN].
11732 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11733 conditional to [SHARED].
11734
117352013-09-04 Will Newton <will.newton@linaro.org>
11736
11737 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11738 * benchtests/bench-string.h: Include bench-timing.h instead
11739 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11740 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11741 call to HP_TIMING_DIFF_INIT.
11742 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11743 instead of hp-timing.h macros.
11744 * benchtests/bench-memchr.c: Likewise.
11745 * benchtests/bench-memcmp.c: Likewise.
11746 * benchtests/bench-memcpy.c: Likewise.
11747 * benchtests/bench-memmem.c: Likewise.
11748 * benchtests/bench-memmove.c: Likewise.
11749 * benchtests/bench-memset.c: Likewise.
11750 * benchtests/bench-rawmemchr.c: Likewise.
11751 * benchtests/bench-strcasecmp.c: Likewise.
11752 * benchtests/bench-strcasestr.c: Likewise.
11753 * benchtests/bench-strcat.c: Likewise.
11754 * benchtests/bench-strchr.c: Likewise.
11755 * benchtests/bench-strcmp.c: Likewise.
11756 * benchtests/bench-strcpy.c: Likewise.
11757 * benchtests/bench-strcpy_chk.c: Likewise.
11758 * benchtests/bench-strlen.c: Likewise.
11759 * benchtests/bench-strncasecmp.c: Likewise.
11760 * benchtests/bench-strncat.c: Likewise.
11761 * benchtests/bench-strncmp.c: Likewise.
11762 * benchtests/bench-strncpy.c: Likewise.
11763 * benchtests/bench-strnlen.c: Likewise.
11764 * benchtests/bench-strpbrk.c: Likewise.
11765 * benchtests/bench-strrchr.c: Likewise.
11766 * benchtests/bench-strspn.c: Likewise.
11767 * benchtests/bench-strstr.c: Likewise.
11768
117692013-09-04 Will Newton <will.newton@linaro.org>
11770
11771 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11772
117732013-09-03 Joseph Myers <joseph@codesourcery.com>
11774
11775 [BZ #15427]
11776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11777 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11778 * math/libm-test.inc (lgamma_test_data): Add more tests.
11779 * sysdeps/i386/fpu/libm-test-ulps: Update.
11780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11781
117822013-09-03 Ondřej Bílka <neleai@seznam.cz>
11783
11784 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11786 Add ifunc.
11787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11788 Add strcmp-sse2-unaligned
11789 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11790
117912013-09-02 Mike Frysinger <vapier@gentoo.org>
11792
11793 * Versions.def (libc): Add GLIBC_2.19.
11794
117952013-09-02 Mike Frysinger <vapier@gentoo.org>
11796
11797 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11798 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11799
118002013-09-02 Joseph Myers <joseph@codesourcery.com>
11801
11802 [BZ #14155]
11803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11804 intermediate calculations in recurrence.
11805 (__ieee754_ynf): Likewise.
11806 * math/libm-test.inc (jn_test_data): Do not allow spurious
11807 underflow exception. Add more tests.
11808 (yn_test_data): Add more tests.
11809 * sysdeps/i386/fpu/libm-test-ulps: Update.
11810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11811
118122013-09-02 Ondřej Bílka <neleai@seznam.cz>
11813
11814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11815
118162013-08-30 Ondřej Bílka <neleai@seznam.cz>
11817
11818 * csu/init-first.c: Fix then/than typos.
11819 * locale/programs/ld-collate.c: Likewise.
11820 * locale/programs/linereader.h: Likewise.
11821 * manual/charset.texi: Likewise.
11822 * manual/filesys.texi: Likewise.
11823 * manual/stdio.texi: Likewise.
11824 * manual/string.texi: Likewise.
11825 * stdlib/fmtmsg.c: Likewise.
11826 * sysdeps/i386/stpncpy.S: Likewise.
11827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11828 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11830 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11831
118322013-08-30 Ondřej Bílka <neleai@seznam.cz>
11833
11834 * elf/dl-open.c: Fix typos.
11835 * iconvdata/gbbig5.c: Likewise.
11836 * iconvdata/iso-2022-jp.c: Likewise.
11837 * iconv/gconv_int.h: Likewise.
11838 * iconv/loop.c: Likewise.
11839 * nis/rpcsvc/nis.h: Likewise.
11840 * resolv/ns_name.c: Likewise.
11841 * stdio-common/vfscanf.c: Likewise.
11842 * streams/stropts.h: Likewise.
11843 * sunrpc/rpc_thread.c: Likewise.
11844 * sysdeps/i386/strpbrk.S: Likewise.
11845 * sysdeps/ieee754/k_standard.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11848 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11849 * sysdeps/mach/hurd/profil.c: Likewise.
11850 * sysdeps/s390/dl-procinfo.h: Likewise.
11851 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11853 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11854 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11856
118572013-08-30 Ondřej Bílka <neleai@seznam.cz>
11858
11859 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11861
118622013-08-29 Ondřej Bílka <neleai@seznam.cz>
11863
11864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11865 aix specific files.
11866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11868 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11870 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11871 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11873 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11874
118752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11876 Roland McGrath <roland@hack.frob.com>
11877
11878 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11879 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11880
118812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11882
11883 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11884 __executable_start symbol instead of _start.
11885
118862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11887
11888 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11889 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11890 Move macros to...
11891 * sysdeps/gnu/ldsodefs.h: ... this new file.
11892
11893 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11894 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11895 instead of ELFOSABI_LINUX.
11896
11897 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11898 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11899 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11900 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11901 Likewise.
11902 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11903 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11905 Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11907 (ibm_extended_long_double): Add ieee_nan member.
11908 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11909 (do_test): New function.
11910
11911 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11912 TEST_TRUNC.
11913 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11914 functions, renamed from truncdfsf_test, trunctfsf_test,
11915 trunctfdf_test.
11916 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11917 functions.
11918 (do_test): Run all these.
11919
119202013-08-29 Ondřej Bílka <neleai@seznam.cz>
11921
11922 * argp/argp-help.c: Fix typos.
11923 * argp/argp-parse.c: Likewise.
11924 * debug/backtracesyms.c: Likewise.
11925 * elf/elf.h: Likewise.
11926 * malloc/malloc.c: Likewise.
11927 * nis/nis_print.c: Likewise.
11928 * resolv/res_comp.c: Likewise.
11929 * stdlib/stdlib.h: Likewise.
11930 * sunrpc/clnt_tcp.c: Likewise.
11931 * sunrpc/clnt_udp.c: Likewise.
11932 * sunrpc/clnt_unix.c: Likewise.
11933 * sysdeps/unix/bsd/ptsname.c: Likewise.
11934 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11937 Likewise.
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11939 Likewise.
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11941 Likewise.
11942 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11943
119442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11945
11946 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11948
119492013-08-27 Mike Frysinger <vapier@gentoo.org>
11950
11951 [BZ #15897]
11952 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11953 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11954 ($(objpfx)bug-dl-leaf): New rule.
11955 ($(objpfx)bug-dl-leaf.so): Likewise.
11956 ($(objpfx)bug-dl-leaf.out): Likewise.
11957 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11958 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11959 * dlfcn/bug-dl-leaf.c: New test.
11960 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11961 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11962 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11963 (dlclose): Likewise.
11964 (dlmopen): Likewise.
11965
119662013-08-27 Roland McGrath <roland@hack.frob.com>
11967
11968 * include/netdb.h [!_ISOMAC]:
11969 Don't include <tls.h>.
11970 (h_errno, __libc_h_errno): Move declaration and macros out of
11971 [_LIBC_REENTRANT].
11972
11973 * include/resolv.h [_RESOLV_H_]:
11974 Don't include <tls.h>.
11975 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11976 * resolv/res_libc.c: Don't include <tls.h>.
11977 (_res): Use __attribute__ ((nocommon)) in place of
11978 __attribute__ ((section (".bss"))).
11979
11980 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11981 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11982
11983 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11984
11985 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11986 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11987
11988 * resolv/res_mkquery.c: Include <sys/time.h>.
11989
11990 * inet/ifreq.c: Moved to ...
11991 * sysdeps/unix/ifreq.c: ... here.
11992 * inet/ifreq.c: New file, true stub version.
11993
11994 * socket/sa_len.c: New file.
11995 * socket/Makefile (aux): Add it.
11996 * sysdeps/unix/sysv/linux/Makefile
11997 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11998 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11999 and #include <socket/sa_len.c>.
12000 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12001 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12002
12003 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12004 * bits/socket.h: ... here.
12005
12006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12007 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12008 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12009
120102013-08-27 Andreas Schwab <schwab@suse.de>
12011
12012 [BZ #15736]
12013 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12014 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12015 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12016 * string/test-strcasecmp.c (test_main): Run tests in several
12017 locales.
12018 * string/test-strncasecmp.c (test_main): Likewise.
12019
12020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12021 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12022 to __strcasecmp_nonascii and __strncasecmp_nonascii.
12023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12024 (__strncasecmp_ssse3) [PIC]: Likewise.
12025
120262013-08-26 Roland McGrath <roland@hack.frob.com>
12027
12028 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12029
12030 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12031 instead of explicitly declaring xdecrypt.
12032 * nis/nss_nis/nis-publickey.c: Likewise.
12033
120342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 [BZ #15890]
12037 * nscd/aicache.c: Include res_hconf.h.
12038 (addhstaiX): Initialize res_hconf.
12039
120402013-08-26 Andreas Schwab <schwab@suse.de>
12041
12042 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12043 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12044
120452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12046
12047 * nscd/aicache.c (addhstaiX): Fix indentation.
12048
120492013-08-25 Mike Frysinger <vapier@gentoo.org>
12050
12051 * configure.ac: Quote $build_pt_chown test.
12052 * configure: Regenerated.
12053
120542013-08-23 Joseph Myers <joseph@codesourcery.com>
12055
12056 [BZ #15532]
12057 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12058 * math/s_cexpf.c (__cexpf): Likewise.
12059 * math/s_cexpl.c (__cexpl): Likewise.
12060 * math/libm-test.inc (cexp_test_data): Correct expected return
12061 value for NaN + i0. Add another test.
12062
120632013-08-22 David S. Miller <davem@davemloft.net>
12064
12065 * po/ca.po: Update Catalan translation from translation project.
12066 * po/uk.po: Add Ukrainian translations from translation project.
12067
120682013-08-21 Joseph Myers <joseph@codesourcery.com>
12069
12070 [BZ #15797]
12071 * math/s_fdim.c (__fdim): Check for infinite arguments if result
12072 is infinite, not alongside NaN test.
12073 * math/s_fdimf.c (__fdimf): Likewise.
12074 * math/s_fdiml.c (__fdiml): Likewise.
12075 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
12076 errno is unchanged.
12077
120782013-08-21 Ondřej Bílka <neleai@seznam.cz>
12079
12080 * argp/argp-help.c: Fix typos.
12081 * crypt/speeds.c: Likewise.
12082 * csu/check_fds.c: Likewise.
12083 * elf/dl-load.c: Likewise.
12084 * elf/dl-open.c: Likewise.
12085 * elf/reldep3.c: Likewise.
12086 * elf/reldep.c: Likewise.
12087 * elf/sprof.c: Likewise.
12088 * iconv/iconv_charmap.c: Likewise.
12089 * iconv/skeleton.c: Likewise.
12090 * iconv/strtab.c: Likewise.
12091 * io/lockf64.c: Likewise.
12092 * libio/libioP.h: Likewise.
12093 * resolv/gai_notify.c: Likewise.
12094 * resolv/ns_name.c: Likewise.
12095 * resolv/ns_samedomain.c: Likewise.
12096 * resolv/res_send.c: Likewise.
12097 * stdlib/random.c: Likewise.
12098 * sunrpc/rpc/xdr.h: Likewise.
12099 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12106 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12107 * sysdeps/mach/hurd/check_fds.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12114 * sysdeps/pthread/aio_notify.c: Likewise.
12115 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12116 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12120
121212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12122
12123 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12124 version if bit_Slow_SSE4_2 is set.
12125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12127
121282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12129
12130 [BZ #15867]
12131 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12132 trampoline stack frame information.
12133 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12135 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12136 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12137 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12139 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12140 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12141 sa_flags value.
12142 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12143 interrupting a syscall and set with option SA_SIGINFO.
12144
121452013-08-20 Joseph Myers <joseph@codesourcery.com>
12146
12147 [BZ #15531]
12148 * math/s_cproj.c (__cproj): Only return an infinity if one part of
12149 argument is infinite.
12150 * math/s_cprojf.c (__cprojf): Likewise.
12151 * math/s_cprojl.c (__cprojl): Likewise.
12152 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12153 * math/libm-test.inc (cproj_test_data): Add more tests.
12154
12155 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12156
12157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12158 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12159 size. Use __ffs to determine corresponding shift.
12160
121612013-08-20 Joseph Myers <joseph@codesourcery.com>
12162 Roland McGrath <roland@hack.frob.com>
12163
12164 * Makefile (INSTALL): Remove trailing blank lines from output of
12165 makeinfo.
12166
121672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12168
12169 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12170 Align 32 bit compat elf_greg to 8 bytes.
12171
121722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
12173
12174 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12175
121762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12177
12178 * string/strcoll_l.c (coll_seq): New structure.
12179 (get_next_seq_cached): New function.
12180 (get_next_seq): New function.
12181 (do_compare): New function.
12182 (STRCOLL): Use GNU style definition. Simplify implementation
12183 by using get_next_seq, get_next_seq_cached and do_compare.
12184
121852013-08-16 Florian Weimer <fweimer@redhat.com>
12186
12187 [BZ #14699]
12188 CVE-2013-4237
12189 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12190 member.
12191 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12192 member.
12193 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12194 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12195 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
12196 conditional.
12197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12198 GETDENTS_64BIT_ALIGNED.
12199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12200 * manual/filesys.texi (Reading/Closing Directory): Document
12201 ENAMETOOLONG return value of readdir_r. Recommend readdir more
12202 strongly.
12203 * manual/conf.texi (Limits for Files): Add portability note to
12204 NAME_MAX, PATH_MAX.
12205 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12206
122072013-08-13 Andreas Schwab <schwab@suse.de>
12208
12209 [BZ #15749]
12210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12211 of fabs.
12212 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12213 LDBL_MAX_EXP >= 16384]: Add tests for it.
12214
122152013-08-12 David S. Miller <davem@davemloft.net>
12216
12217 * version.h (RELEASE): Set to "development".
12218 (VERSION): Set to "2.18.90".
12219 * NEWS: Add 2.19 section.
12220
122212013-08-03 David S. Miller <davem@davemloft.net>
12222
12223 * po/ko.po: Update Korean translation from translation project.
12224
122252013-08-01 David S. Miller <davem@davemloft.net>
12226
12227 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
12228 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12229 Bilka.
12230
122312013-07-30 David S. Miller <davem@davemloft.net>
12232
12233 * po/fr.po: Update French translation from translation project.
12234
122352013-07-28 David S. Miller <davem@davemloft.net>
12236
12237 * po/cs.po: Update Czech translation from translation project.
12238
12239 * po/sv.po: Update Swedish translation from translation project.
12240
122412013-07-27 David S. Miller <davem@davemloft.net>
12242
12243 * po/eo.po: Update Esperanto translation from translation project.
12244
12245 * po/vi.po: Update Vietnamese translation from translation project.
12246
12247 * po/de.po: Update German translation from translation project.
12248
122492013-07-26 David S. Miller <davem@davemloft.net>
12250
12251 * po/bg.po: Update Bulgarian translation from translation project.
12252
12253 * po/nl.po: Update Dutch translation from translation project.
12254 * po/pl.po: Update Polish translation from translation project.
12255 * po/ru.po: Update Russian translation from translation project.
12256
122572013-07-24 David S. Miller <davem@davemloft.net>
12258
12259 * po/libc.pot: Update.
12260
122612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12262
12263 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12264 variable page size.
12265 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12266 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12267 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12268
122692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12270
12271 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12272
122732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12274 Andreas Schwab <schwab@suse.de>
12275 Roland McGrath <roland@hack.frob.com>
12276 Joseph Myers <joseph@codesourcery.com>
12277 Carlos O'Donell <carlos@redhat.com>
12278
12279 [BZ #15755]
12280 * config.h.in: Define HAVE_PT_CHOWN.
12281 * config.make.in (build-pt-chown): New variable.
12282 * configure.in (--enable-pt_chown): New configure option.
12283 * configure: Regenerate.
12284 * login/Makefile: Include Makeconfig. Build pt_chown only if
12285 build-pt-chown is enabled.
12286 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12287 pt_chown to fix pty ownership.
12288 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12289 CLOSE_ALL_FDS.
12290 * manual/install.texi (Configuring and compiling): Mention
12291 --enable-pt_chown. Add @findex for grantpt.
12292 * INSTALL: Regenerate.
12293
122942013-07-20 David S. Miller <davem@davemloft.net>
12295
12296 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12297 difference between 32-bit and 64-bit.
12298
122992013-07-15 Carlos O'Donell <carlos@redhat.com>
12300
12301 [BZ #15711]
12302 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12303 Avoid system header dependency with -ffreestanding.
12304 ($(objpfx)bits/syscall%d): Likewise.
12305
123062013-07-13 David S. Miller <davem@davemloft.net>
12307
12308 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12309 underflows from atanl/atan2l due to bug 15319.
12310 (casinh_test_data): Likewise.
12311
123122013-07-07 David S. Miller <davem@davemloft.net>
12313
12314 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12315
123162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
12317
12318 * sysdeps/i386/fpu/libm-test-ulps: Update.
12319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12320
123212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12322
12323 * configure.in (--enable-lock-elision): Fix message text.
12324 * INSTALL: Regenerate.
12325 * configure: Regenerate.
12326
123272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12328
12329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12330
123312013-07-03 Andreas Jaeger <aj@suse.de>
12332
12333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12334 define.
12335 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12336 (ptrace_peeksiginfo_args): Add.
12337 (__ptrace_peeksiginfo_flags): Add.
12338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12341
123422013-07-03 Allan McRae <allan@archlinux.org>
12343
12344 * sysdeps/i386/fpu/libm-test-ulps: Update.
12345
123462013-07-02 David S. Miller <davem@davemloft.net>
12347
12348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12349
123502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
12351
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12353
123542013-07-02 Joseph Myers <joseph@codesourcery.com>
12355
12356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12358
123592013-07-02 Andi Kleen <ak@linux.intel.com>
12360
12361 * config.h.in (ENABLE_LOCK_ELISION): Add.
12362 * configure.in (--enable-lock-elision): Add option.
12363 * manual/install.texi: Document --enable lock elision.
12364 * configure: Regenerate
12365 * INSTALL: Regenerate.
12366
123672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12370 SSE4.2 strcasecmp for libc.a.
12371 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12372
123732013-07-02 Joseph Myers <joseph@codesourcery.com>
12374
12375 [BZ #13304]
12376 * soft-fp/op-common.h (_FP_FMA): New macro.
12377 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12378 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
12379 (_FP_MUL_MEAT_1_imm): ... here.
12380 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
12381 (_FP_MUL_MEAT_1_wide): ... here.
12382 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
12383 (_FP_MUL_MEAT_1_hard): ... here.
12384 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12385 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
12386 (_FP_MUL_MEAT_2_wide): ... here.
12387 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
12388 (_FP_MUL_MEAT_2_wide_3mul): ... here.
12389 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
12390 (_FP_MUL_MEAT_2_gmp): ... here.
12391 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12392 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
12393 (_FP_MUL_MEAT_4_wide): ... here.
12394 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
12395 (_FP_MUL_MEAT_4_gmp): ... here.
12396 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12397 (_FP_WFRACBITS_DW_S): Likewise.
12398 (_FP_WFRACXBITS_DW_S): Likewise.
12399 (_FP_HIGHBIT_DW_S): Likewise.
12400 (FP_FMA_S): Likewise.
12401 (_FP_FRAC_HIGH_DW_S): Likewise.
12402 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12403 (_FP_WFRACBITS_DW_D): Likewise.
12404 (_FP_WFRACXBITS_DW_D): Likewise.
12405 (_FP_HIGHBIT_DW_D): Likewise.
12406 (FP_FMA_D): Likewise.
12407 (_FP_FRAC_HIGH_DW_D): Likewise.
12408 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12409 (_FP_WFRACBITS_DW_E): Likewise.
12410 (_FP_WFRACXBITS_DW_E): Likewise.
12411 (_FP_HIGHBIT_DW_E): Likewise.
12412 (FP_FMA_E): Likewise.
12413 (_FP_FRAC_HIGH_DW_E): Likewise.
12414 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12415 (_FP_WFRACBITS_DW_Q): Likewise.
12416 (_FP_WFRACXBITS_DW_Q): Likewise.
12417 (_FP_HIGHBIT_DW_Q): Likewise.
12418 (FP_FMA_Q): Likewise.
12419 (_FP_FRAC_HIGH_DW_Q): Likewise.
12420 * soft-fp/fmasf4.c: New file.
12421 * soft-fp/fmadf4.c: Likewise.
12422 * soft-fp/fmatf4.c: Likewise.
12423
124242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12425
12426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12427 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12428 Silvermont.
12429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12430 macro.
12431 (index_Slow_SSE4_2): Likewise.
12432 (index_Prefer_PMINUB_for_stringop): Likewise.
12433 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12434 bit_Slow_SSE4_2 is set.
12435 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12437
124382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12439
12440 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12441 rtld_global._dl_hwcap2.
12442 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12443 POWER8.
12444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12445 POWER8 feature descriptions defined in _dl_hwcap2.
12446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12447 string handling for POWER8 feature bits.
12448 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12449 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12450 _dl_powerpc_cap_flags.
12451 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12452 * sysdeps/powerpc/rtld-global-offsets.sym
12453 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12454 _dl_hwcap2 in the rtld_global_ro structure.
12455
124562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12457
12458 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12459 hardware capabilities in support of AT_HWCAP2.
12460 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12461 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12462 GLRO(dl_hwcap2).
12463 (_dl_show_auxv): Add support for calling _dl_procinfo to display
12464 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
12465 explicitly the unknown a_type display mechanism is used.
12466 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12467 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12468 struct member.
12469 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12470 to macro prototype for AT_HWCAP2 support.
12471 * sysdeps/i386/dl-procinfo.h: Likewise.
12472 * sysdeps/s390/dl-procinfo.h: Likewise.
12473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12474 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
12475 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
12476 return -1 for unknown a_type display fallback.
12477 * sysdeps/sparc/dl-procinfo.h: Likewise.
12478 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12479 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12480
124812013-06-28 Joseph Myers <joseph@codesourcery.com>
12482
12483 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12484 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12485
124862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
12487
12488 [BZ #12492]
12489 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12490 mprotect making __stack_prot writable.
12491
124922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
12493 Joseph Myers <joseph@codesourcery.com>
12494
12495 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12496 as being properly aligned.
12497
124982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
12499
12500 * dlfcn/modstatic5.c: New file.
12501 * dlfcn/tststatic5.c: New file.
12502 * dlfcn/Makefile (tests): Add tststatic5.
12503 (tests-static): Likewise.
12504 (modules-names): Add modstatic5.
12505 (tststatic5-ENV): New variable.
12506 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12507
12508 [BZ #15022]
12509 * elf/dl-support.c (_dl_main_map): New variable.
12510 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12511 (_dl_nns, _dl_load_adds): Set to 1.
12512 (_dl_initial_searchlist): Refer to _dl_main_map.
12513 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12514 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12515 call to _dl_get_origin.
12516 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12517 around call_map.
12518 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12519 * dlfcn/modstatic3.c: New file.
12520 * dlfcn/tststatic3.c: New file.
12521 * dlfcn/tststatic4.c: New file.
12522 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12523 (tests-static): Likewise.
12524 (modules-names): Add modstatic3.
12525 (tststatic3-ENV, tststatic4-ENV): New variables.
12526 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12527 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12528
125292013-06-26 Joseph Myers <joseph@codesourcery.com>
12530
12531 * configure.in (CC): Require GCC version 4.4 or later.
12532 * configure: Regenerated.
12533 * manual/install.texi (Tools for Compilation): Update GCC version
12534 requirement.
12535 * INSTALL: Regenerated.
12536
125372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12538
12539 [BZ #15674]
12540 * string/test-memcmp.c (check2): New.
12541 (main): Call check2.
12542
12543 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12544
125452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12546
12547 [BZ #15022]
12548 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12549 over to...
12550 (dl_open_worker) [!SHARED]: ... here.
12551
125522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12553
12554 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12555
125562013-06-25 Richard Henderson <rth@redhat.com>
12557
12558 * locale/programs/locarchive.c: Include <libc-internal.h>
12559
125602013-06-25 Joseph Myers <joseph@codesourcery.com>
12561
12562 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12563 trailing whitespace removed.
12564
125652013-06-24 Mike Frysinger <vapier@gentoo.org>
12566
12567 [BZ #10283]
12568 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12569 * locale/programs/locarchive.c: Include libc-mmap.h.
12570 (prepare_address_space): Take two new outputs (the mmap base and len).
12571 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
12572 values.
12573 (create_archive): Declare new mmap base and len values for
12574 prepare_address_space, and store the result in ah.
12575 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12576 (enlarge_archive): If ah->mmap_base is not NULL, use that and
12577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12578 Declare new mmap base and len values for
12579 prepare_address_space, and store the result in new_ah.
12580 (open_archive): Declare new mmap base and len values for
12581 prepare_address_space, and store the result in ah.
12582 (close_archive): If ah->mmap_base is not NULL, use that and
12583 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12584 * sysdeps/generic/libc-mmap.h: New file.
12585
125862013-06-24 Mike Frysinger <vapier@gentoo.org>
12587
12588 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12589 (ALIGN_UP): Likewise.
12590 (PTR_ALIGN_DOWN): Likewise.
12591 (PTR_ALIGN_UP): Likewise.
12592
125932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12594
12595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12596 entry mapped to PPC_PLATFORM_POWER8.
12597 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12598 POWER8.
12599 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12600 (_dl_string_platform): Add case for exporting platform position for
12601 POWER8.
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12603 search path to sysdeps/powerpc/powerpc32/power8 directory.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12605 search path to sysdeps/powerpc/powerpc64/power8 directory.
12606 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12607 power7 directories.
12608 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12609 power7 directories.
12610
126112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12612
12613 * INSTALL: Regenerate.
12614
12615 * nscd/connections.c (nscd_init): Fix comment.
12616
126172013-06-22 Joseph Myers <joseph@codesourcery.com>
12618
12619 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12620
12621 [BZ #15667]
12622 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12623 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12624
126252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12626
12627 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12628 DL_DST_REQ_STATIC.
12629 (DL_DST_REQ_STATIC): Remove macro.
12630
126312013-06-21 Joseph Myers <joseph@codesourcery.com>
12632
12633 [BZ #7006]
12634 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12635 with a shift of 0 bits.
12636
126372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12638
12639 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12640 $(tststatic-ENV).
12641
126422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12643
12644 [BZ #15655]
12645 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12646
126472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12648
12649 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12650 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12651 accepts -fno-tree-loop-distribute-patterns.
12652 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12653 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12654 recursive call.
12655 * string/memset.c (memset): Likewise.
12656 * string/test-memmove.c (simple_memmove): Disable loop transformation
12657 to library calls.
12658 * string/test-memset.c (simple_memset): Likewise.
12659 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12660 * benchtests/bench-memset.c (simple_memset): Likewise.
12661 * configure: Regenerated.
12662
126632013-06-20 Joseph Myers <joseph@codesourcery.com>
12664
12665 * math/test-misc.c (main): Ignore fesetround failure when failures
12666 of subsequent rounding tests would be ignored.
12667
12668 [BZ #15654]
12669 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12670 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12671 * math/fegetenv.c (__fegetenv): Return 0.
12672 * math/fegetexcept.c (fegetexcept): Return 0.
12673 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12674 FE_TONEAREST.
12675 * math/feholdexcpt.c (feholdexcept): Return 0.
12676 * math/fesetenv.c (__fesetenv): Return 0.
12677 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12678 argument FE_TONEAREST.
12679 * math/feupdateenv.c (__feupdateenv): Return 0.
12680 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12681
126822013-06-18 Roland McGrath <roland@hack.frob.com>
12683
12684 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12685 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12686 ($(objpfx)rtld-%.os rules): Use them.
12687
126882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12689
12690 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12691 fields.
12692
126932013-06-17 Roland McGrath <roland@hack.frob.com>
12694
12695 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12696 length of target pattern, then descending length of dependency pattern.
12697 * configure.in (AWK): Require gawk 3.1.2 or newer.
12698 * manual/install.texi (Tools for Compilation): Say that we do.
12699 * configure: Regenerated.
12700
12701 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12702 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12703 * scripts/sysd-rules.awk: ... this new script.
12704 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12705 than a glob-style pattern.
12706
127072013-06-17 Joseph Myers <joseph@codesourcery.com>
12708
12709 * math/test-misc.c (main): Do not treat incorrectly rounded
12710 conversions as failure unless ROUNDING_TESTS passes.
12711
127122013-06-15 Joseph Myers <joseph@codesourcery.com>
12713
12714 [BZ #15631]
12715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12716 restore exception state around main square root computation, then
12717 check for inexactness explicitly.
12718
12719 * math/libm-test.inc (fma_test_data): Add another test.
12720
127212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12722
12723 * manual/threads.texi (Non-POSIX Extensions): New document
12724 node. Document pthread_getattr_default_np and
12725 pthread_setattr_default_np.
12726
12727 * Versions.def (libpthread): Add GLIBC_2.18.
12728 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12730 Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12732 Likewise.
12733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12734 Likewise.
12735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12736 Likewise.
12737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12738 Likewise.
12739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12740 Likewise.
12741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12742 Likewise.
12743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12744 Likewise.
12745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12746 Likewise.
12747
127482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12749
12750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12751 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12752
127532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12754 H.J. Lu <hjl.tools@gmail.com>
12755
12756 [BZ #15627]
12757 * sysdeps/x86_64/rtld-memset.c: Remove file.
12758 * sysdeps/x86_64/rtld-memset.S: New file.
12759
127602013-06-14 Joseph Myers <joseph@codesourcery.com>
12761
12762 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12763 (test_in_one_mode): Take arguments for whether the rounding mode
12764 is supported for each floating-point type.
12765 (do_test): Pass new arguments to test_in_one_mode using
12766 ROUNDING_TESTS.
12767
127682013-06-13 Roland McGrath <roland@hack.frob.com>
12769
12770 * posix/tst-waitid.c (do_test): Distinguish different instances of
12771 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12772 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12773 before entering the kernel for waitpid.
12774
127752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12776
12777 * NEWS: Fix note on clock function precision. Text by Roland
12778 McGrath.
12779
127802013-06-13 Roland McGrath <roland@hack.frob.com>
12781
12782 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12783 it into place only when and if the sanity check passes.
12784
127852013-06-13 Joseph Myers <joseph@codesourcery.com>
12786
12787 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12788 output for whether conversion result is exact. Take argument
12789 indicating whether type is IBM long double.
12790 (round_for_all): Change need_exact field to ibm_ld.
12791 * stdlib/tst-strtod-round.c (struct exactness): New type.
12792 (struct test): Change bool ld_ok field to struct exactness exact.
12793 (TEST): Update all definitions for change to field.
12794 (tests): Regenerate array contents.
12795 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12796 field value. Check for IBM long double here.
12797 (do_test): Update calls to test_in_one_mode.
12798
127992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12800
12801 [BZ #12515]
12802 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12803 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12804
128052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806
12807 [BZ #15605]
12808 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12809 generated by the compiler on loop optimizations.
12810 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12811 general definitions.
12812
128132013-06-12 Joseph Myers <joseph@codesourcery.com>
12814
12815 * math/bug-nextafter.c: Include <math-tests.h>.
12816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12817 the relevant type.
12818 * math/bug-nexttoward.c: Include <math-tests.h>.
12819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12820 the relevant type.
12821 * math/test-misc.c: Include <math-tests.h>.
12822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12823 the relevant type.
12824
128252013-06-12 Andreas Jaeger <aj@suse.de>
12826
12827 * po/ia.po: Update Interlingua translation from translation
12828 project.
12829
128302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12831
12832 * include/fenv.h: Include stdbool.h.
12833 (struct rm_ctx): New structure.
12834 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12835 Define macro.
12836 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12837 (SET_RESTORE_ROUNDF): Likewise.
12838 (SET_RESTORE_ROUNDL): Likewise.
12839 (SET_RESTORE_ROUND_NOEX): Likewise.
12840 (SET_RESTORE_ROUND_NOEXF): Likewise.
12841 (SET_RESTORE_ROUND_NOEXL): Likewise.
12842 (SET_RESTORE_ROUND_53BIT): Likewise.
12843 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12844 (libc_feresetround_noexf_ctx): Likewise.
12845 (libc_feresetround_noexl_ctx): Likewise.
12846 (libc_feholdsetround_53bit_ctx): Likewise.
12847 (libc_feresetround_53bit_ctx): Likewise.
12848 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12849 (libc_feholdexcept_setround_sse_ctx): New function.
12850 (libc_fesetenv_sse_ctx): Likewise.
12851 (libc_feupdateenv_sse_ctx): Likewise.
12852 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12853 (libc_feholdexcept_setround_387_ctx): Likewise.
12854 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12855 (libc_feholdsetround_387_prec_ctx): Likewise.
12856 (libc_feholdsetround_387_ctx): Likewise.
12857 (libc_feholdsetround_387_53bit_ctx): Likewise.
12858 (libc_feholdsetround_sse_ctx): Likewise.
12859 (libc_feresetround_sse_ctx): Likewise.
12860 (libc_feresetround_387_ctx): Likewise.
12861 (libc_feupdateenv_387_ctx): Likewise.
12862 (libc_feholdexcept_setroundf_ctx): Define macro.
12863 (libc_fesetenvf_ctx): Likewise.
12864 (libc_feupdateenvf_ctx): Likewise.
12865 (libc_feholdsetroundf_ctx): Likewise.
12866 (libc_feresetroundf_ctx): Likewise.
12867 (libc_feholdexcept_setround_ctx): Likewise.
12868 (libc_fesetenv_ctx): Likewise.
12869 (libc_feupdateenv_ctx): Likewise.
12870 (libc_feholdsetround_ctx): Likewise.
12871 (libc_feresetround_ctx): Likewise.
12872 (libc_feholdexcept_setroundl_ctx): Likewise.
12873 (libc_feupdateenvl_ctx): Likewise.
12874 (libc_feholdsetroundl_ctx): Likewise.
12875 (libc_feresetroundl_ctx): Likewise.
12876 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12877 (libc_feresetround_53bit_ctx): Likewise.
12878
128792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12880
12881 * locale/iso-639.def: Convert to UTF-8.
12882
128832013-06-11 Joseph Myers <joseph@codesourcery.com>
12884
12885 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12886 (EXCEPTION_TESTS_double): Likewise.
12887 (EXCEPTION_TESTS_long_double): Likewise.
12888 (EXCEPTION_TESTS): Likewise.
12889 * math/libm-test.inc (test_exceptions): Only test exceptions if
12890 EXCEPTION_TESTS (FLOAT).
12891
128922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12893
12894 * benchtests/Makefile (string-bench): Add strcpy_chk and
12895 stpcpy_chk.
12896 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12897 * benchtests/bench-stpcpy_chk.c: New file.
12898 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12899 * benchtests/bench-strcpy_chk.c: New file.
12900 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12901 code.
12902 (do_test): Likewise.
12903
129042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12905
12906 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12907 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12908 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12909 with tabs where appropriate.
12910 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12911 dl-procinfo.h.
12912 [PPC_PLATFORM_PPC440]: Likewise.
12913 [PPC_PLATFORM_PPC464]: Likewise.
12914 [PPC_PLATFORM_PPC476]: Likewise.
12915 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12916 ppc464, and ppc476 platform strings merging from ports/
12917 dl-procinfo.h.
12918
129192013-06-11 Andreas Schwab <schwab@suse.de>
12920
12921 [BZ #14991]
12922 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12923 (from_ucs4_idx): Regenerate.
12924 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12925 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12926 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12927 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12928 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12929 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12930 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12931 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12932 from FROM_LOOP and TO_LOOP specific macros.
12933 (BODY): Handle combining characters.
12934 * iconvdata/BIG5HKSCS.irreversible: Update.
12935 * iconvdata/BIG5HKSCS.precomposed: New file.
12936 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12937 characters.
12938 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12939
129402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12941
12942 * include/sys/time.h: Fix indentation and add copyright header.
12943
12944 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12945 (do_test): Likewise.
12946 * string/test-memchr.c (do_one_test): Likewise.
12947 (do_test): Likewise.
12948 * string/test-memcmp.c (do_one_test): Likewise.
12949 (do_test): Likewise.
12950 * string/test-memcpy.c (do_one_test): Likewise.
12951 (do_test): Likewise.
12952 * string/test-memmem.c (do_one_test): Likewise.
12953 (do_test): Likewise.
12954 (do_random_tests): Likewise.
12955 * string/test-memmove.c (do_one_test): Likewise.
12956 (do_test): Likewise.
12957 * string/test-memset.c (do_one_test): Likewise.
12958 (do_test): Likewise.
12959 * string/test-rawmemchr.c (do_one_test): Likewise.
12960 (do_test): Likewise.
12961 * string/test-strcasecmp.c (do_one_test): Likewise.
12962 (do_test): Likewise.
12963 * string/test-strcasestr.c (do_one_test): Likewise.
12964 (do_test): Likewise.
12965 * string/test-strcat.c (do_one_test): Likewise.
12966 (do_test): Likewise.
12967 * string/test-strchr.c (do_one_test): Likewise.
12968 (do_test): Likewise.
12969 * string/test-strcmp.c (do_one_test): Likewise.
12970 (do_test): Likewise.
12971 * string/test-strcpy.c (do_one_test): Likewise.
12972 (do_test): Likewise.
12973 * string/test-string.h: Likewise.
12974 (test_init): Likewise.
12975 * string/test-strlen.c (do_one_test): Likewise.
12976 (do_test): Likewise.
12977 * string/test-strncasecmp.c (do_one_test): Likewise.
12978 (do_test): Likewise.
12979 * string/test-strncat.c (do_one_test): Likewise.
12980 (do_test): Likewise.
12981 * string/test-strncmp.c (do_one_test): Likewise.
12982 (do_test_limit): Likewise.
12983 (do_test): Likewise.
12984 * string/test-strncpy.c (do_one_test): Likewise.
12985 (do_test): Likewise.
12986 * string/test-strnlen.c (do_one_test): Likewise.
12987 (do_test): Likewise.
12988 * string/test-strpbrk.c (do_one_test): Likewise.
12989 (do_test): Likewise.
12990 * string/test-strrchr.c (do_one_test): Likewise.
12991 (do_test): Likewise.
12992 * string/test-strspn.c (do_one_test): Likewise.
12993 (do_test): Likewise.
12994 * string/test-strstr.c (do_one_test): Likewise.
12995 (do_test): Likewise.
12996
12997 * benchtests/Makefile (string-bench): Add string benchmarks.
12998 * benchtests/bench-bcopy-ifunc.c: New file.
12999 * benchtests/bench-bcopy.c: New file.
13000 * benchtests/bench-bzero-ifunc.c: New file.
13001 * benchtests/bench-bzero.c: New file.
13002 * benchtests/bench-memccpy-ifunc.c: New file.
13003 * benchtests/bench-memccpy.c: New file.
13004 * benchtests/bench-memchr-ifunc.c: New file.
13005 * benchtests/bench-memchr.c: New file.
13006 * benchtests/bench-memcmp-ifunc.c: New file.
13007 * benchtests/bench-memcmp.c: New file.
13008 * benchtests/bench-memmem-ifunc.c: New file.
13009 * benchtests/bench-memmem.c: New file.
13010 * benchtests/bench-memmove-ifunc.c: New file.
13011 * benchtests/bench-memmove.c: New file.
13012 * benchtests/bench-mempcpy-ifunc.c: New file.
13013 * benchtests/bench-mempcpy.c: New file.
13014 * benchtests/bench-memset-ifunc.c: New file.
13015 * benchtests/bench-memset.c: New file.
13016 * benchtests/bench-rawmemchr-ifunc.c: New file.
13017 * benchtests/bench-rawmemchr.c: New file.
13018 * benchtests/bench-stpcpy-ifunc.c: New file.
13019 * benchtests/bench-stpcpy.c: New file.
13020 * benchtests/bench-stpncpy-ifunc.c: New file.
13021 * benchtests/bench-stpncpy.c: New file.
13022 * benchtests/bench-strcasecmp-ifunc.c: New file.
13023 * benchtests/bench-strcasecmp.c: New file.
13024 * benchtests/bench-strcasestr-ifunc.c: New file.
13025 * benchtests/bench-strcasestr.c: New file.
13026 * benchtests/bench-strcat-ifunc.c: New file.
13027 * benchtests/bench-strcat.c: New file.
13028 * benchtests/bench-strchr-ifunc.c: New file.
13029 * benchtests/bench-strchr.c: New file.
13030 * benchtests/bench-strchrnul-ifunc.c: New file.
13031 * benchtests/bench-strchrnul.c: New file.
13032 * benchtests/bench-strcmp-ifunc.c: New file.
13033 * benchtests/bench-strcmp.c: New file.
13034 * benchtests/bench-strcpy-ifunc.c: New file.
13035 * benchtests/bench-strcpy.c: New file.
13036 * benchtests/bench-strcspn-ifunc.c: New file.
13037 * benchtests/bench-strcspn.c: New file.
13038 * benchtests/bench-strlen-ifunc.c: New file.
13039 * benchtests/bench-strlen.c: New file.
13040 * benchtests/bench-strncasecmp-ifunc.c: New file.
13041 * benchtests/bench-strncasecmp.c: New file.
13042 * benchtests/bench-strncat-ifunc.c: New file.
13043 * benchtests/bench-strncat.c: New file.
13044 * benchtests/bench-strncmp-ifunc.c: New file.
13045 * benchtests/bench-strncmp.c: New file.
13046 * benchtests/bench-strncpy-ifunc.c: New file.
13047 * benchtests/bench-strncpy.c: New file.
13048 * benchtests/bench-strnlen-ifunc.c: New file.
13049 * benchtests/bench-strnlen.c: New file.
13050 * benchtests/bench-strpbrk-ifunc.c: New file.
13051 * benchtests/bench-strpbrk.c: New file.
13052 * benchtests/bench-strrchr-ifunc.c: New file.
13053 * benchtests/bench-strrchr.c: New file.
13054 * benchtests/bench-strspn-ifunc.c: New file.
13055 * benchtests/bench-strspn.c: New file.
13056 * benchtests/bench-strstr-ifunc.c: New file.
13057 * benchtests/bench-strstr.c: New file.
13058
13059 * benchtests/Makefile: Disable parallel execution of targets.
13060 (string-bench): Add memcpy.
13061 (benchset): New variable to store a list of benchmark sets.
13062 (bench-func): Renamed from bench.
13063 (bench-set): New target.
13064 (bench): Depend on bench-func and bench-set.
13065 * benchtests/README: Add section on benchmark sets.
13066 * benchtests/bench-memcpy-ifunc.c: New file.
13067 * benchtests/bench-memcpy.c: New file.
13068 * benchtests/bench-string.h: New file.
13069
130702013-06-11 Andreas Schwab <schwab@suse.de>
13071
13072 [BZ #15577]
13073 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13074 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13075 values in the triple.
13076 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13077 terminator in the group key.
13078
130792013-06-11 Andreas Jaeger <aj@suse.de>
13080
13081 * po/zh_TW.po: Update Chinese (traditional) translation from
13082 translation project.
13083
130842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13085
13086 * include/time.h (__clock_gettime): Add libc_hidden_proto.
13087 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13088 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
13089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13090 (clock_getcpuclockid): Likewise.
13091 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13092 Add weak_alias and libc_hidden_def.
13093 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13094 * rt/clock_gettime.c (clock_gettime): Rename to
13095 __clock_gettime. Add weak_alias and libc_hidden_def.
13096 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13097 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13098 __clock_nanosleep. Add weak_alias and libc_hidden_def.
13099 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13100 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13101 Likewise.
13102 * rt/clock_settime.c (clock_settime): Rename to
13103 __clock_settime. Add weak_alias and libc_hidden_def.
13104 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13105
131062013-06-10 Joseph Myers <joseph@codesourcery.com>
13107
13108 * mach/err_boot.sub: Remove trailing whitespace.
13109 * mach/err_ipc.sub: Likewise.
13110 * mach/err_mach.sub: Likewise.
13111
13112 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13113 (ROUNDING_TESTS_double): Likewise.
13114 (ROUNDING_TESTS_long_double): Likewise.
13115 (ROUNDING_TESTS): Likewise.
13116 * math/libm-test.inc: Include <math-tests.h>.
13117 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13118 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13119 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13120 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13121
131222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13123
13124 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13125 of assigning.
13126
131272013-06-08 Joseph Myers <joseph@codesourcery.com>
13128
13129 * sysdeps/gnu/errlist.awk: Do not generate space at end of
13130 otherwise empty TRANS lines.
13131 * sysdeps/gnu/errlist.c: Regenerated.
13132
13133 * catgets/gencat.c (error_print): Use (void) in function
13134 definition.
13135 * crypt/crypt_util.c (__init_des): Likewise.
13136 * crypt/speeds.c (Stop): Likewise.
13137 (main): Likewise.
13138 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13139 * inet/ruserpass.c (token): Likewise.
13140 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13141 * intl/localealias.c (extend_alias_table): Likewise.
13142 * intl/plural-exp.c (init_germanic_plural): Likewise.
13143 * libio/fcloseall.c (__fcloseall): Likewise.
13144 * libio/genops.c (_IO_flush_all): Likewise.
13145 (_IO_flush_all_linebuffered): Likewise.
13146 (_IO_cleanup): Likewise.
13147 (_IO_iter_begin): Likewise.
13148 (_IO_iter_end): Likewise.
13149 (_IO_list_lock): Likewise.
13150 (_IO_list_unlock): Likewise.
13151 (_IO_list_resetlock): Likewise.
13152 * libio/getchar.c (getchar): Likewise.
13153 * libio/getchar_u.c (getchar_unlocked): Likewise.
13154 * libio/getwchar.c (getwchar): Likewise.
13155 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13156 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13157 * login/getpt.c (__getpt): Likewise.
13158 * login/tst-utmp.c (main): Likewise.
13159 * malloc/hooks.c (__malloc_check_init): Likewise.
13160 * malloc/malloc.c (__malloc_stats): Likewise.
13161 * malloc/mtrace.c (tr_break): Likewise.
13162 (mtrace): Likewise.
13163 (muntrace): Likewise.
13164 * misc/fstab.c (endfsent): Likewise.
13165 * misc/getclktck.c (__getclktck): Likewise.
13166 * misc/getdtsz.c (__getdtablesize): Likewise.
13167 * misc/gethostid.c (gethostid): Likewise.
13168 * misc/getpagesize.c (__getpagesize): Likewise.
13169 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13170 (__get_nprocs): Likewise.
13171 (__get_phys_pages): Likewise.
13172 (__get_avphys_pages): Likewise.
13173 * misc/getttyent.c (getttyent): Likewise.
13174 (setttyent): Likewise.
13175 (endttyent): Likewise.
13176 * misc/getusershell.c (getusershell): Likewise.
13177 (endusershell): Likewise.
13178 (setusershell): Likewise.
13179 (initshells): Likewise.
13180 * misc/hsearch.c (__hdestroy): Likewise.
13181 * misc/sync.c (sync): Likewise.
13182 * misc/syslog.c (closelog_internal): Likewise.
13183 (closelog): Likewise.
13184 * misc/ttyslot.c (ttyslot): Likewise.
13185 * misc/vhangup.c (vhangup): Likewise.
13186 * posix/fork.c (__fork): Likewise.
13187 * posix/getegid.c (__getegid): Likewise.
13188 * posix/geteuid.c (__geteuid): Likewise.
13189 * posix/getgid.c (__getgid): Likewise.
13190 * posix/getpid.c (__getpid): Likewise.
13191 * posix/getppid.c (__getppid): Likewise.
13192 * posix/getuid.c (__getuid): Likewise.
13193 * posix/pause.c (pause): Likewise.
13194 * posix/setpgrp.c (setpgrp): Likewise.
13195 * posix/setsid.c (__setsid): Likewise.
13196 * posix/test-vfork.c (noop): Likewise.
13197 * resolv/gethnamaddr.c (_endhtent): Likewise.
13198 (_gethtent): Likewise.
13199 (ht_endhostent): Likewise.
13200 (gethostent): Likewise.
13201 (dns_service): Likewise.
13202 * stdlib/drand48.c (drand48): Likewise.
13203 * stdlib/lrand48.c (lrand48): Likewise.
13204 * stdlib/mrand48.c (mrand48): Likewise.
13205 * stdlib/rand.c (rand): Likewise.
13206 * stdlib/random.c (__random): Likewise.
13207 * stdlib/setenv.c (clearenv): Likewise.
13208 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13209 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13210 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13211 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13212 (__get_nprocs): Likewise.
13213 (__get_phys_pages): Likewise.
13214 (__get_avphys_pages): Likewise.
13215 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13216 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13217 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13218 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13219 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13220 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13221 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13222 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13223 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13224 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13225 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13226 * sysdeps/mach/hurd/sync.c (sync): Likewise.
13227 * sysdeps/posix/clock.c (clock): Likewise.
13228 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13229 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13230 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13231 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13232 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13234 (__get_nprocs_conf): Likewise.
13235 (__get_phys_pages): Likewise.
13236 (__get_avphys_pages): Likewise.
13237 * time/clock.c (clock): Likewise.
13238 * time/tzset.c (__tzname_max): Likewise.
13239
132402013-06-07 Joseph Myers <joseph@codesourcery.com>
13241
13242 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13243 (__bswap_32): Do not use "register".
13244 * crypt/crypt.c (_ufc_doit_r): Likewise.
13245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13246 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13247 * gmon/gmon.c (__monstartup): Likewise.
13248 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13249 * hurd/hurdmalloc.c (more_memory): Likewise.
13250 (malloc): Likewise.
13251 (free): Likewise.
13252 (realloc): Likewise.
13253 (malloc_fork_prepare): Likewise.
13254 (malloc_fork_parent): Likewise.
13255 (malloc_fork_child): Likewise.
13256 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13257 (_svcauth_des): Likewise.
13258 * inet/inet_lnaof.c (inet_lnaof): Likewise.
13259 * inet/inet_net.c (inet_network): Likewise.
13260 * inet/inet_netof.c (inet_netof): Likewise.
13261 * inet/rcmd.c (__validuser2_sa): Likewise.
13262 * io/fts.c (fts_open): Likewise.
13263 (fts_load): Likewise.
13264 (fts_close): Likewise.
13265 (fts_read): Likewise.
13266 (fts_children): Likewise.
13267 (fts_build): Likewise.
13268 (fts_stat): Likewise.
13269 (fts_sort): Likewise.
13270 (fts_alloc): Likewise.
13271 (fts_lfree): Likewise.
13272 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13273 (_IO_file_xsgetn): Likewise.
13274 (_IO_file_xsgetn_mmap): Likewise.
13275 * libio/iofopncook.c (_IO_cookie_read): Likewise.
13276 (_IO_cookie_write): Likewise.
13277 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13278 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13279 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13280 * malloc/obstack.c (_obstack_begin): Likewise.
13281 (_obstack_begin_1): Likewise.
13282 (_obstack_newchunk): Likewise.
13283 (_obstack_allocated_p): Likewise.
13284 (obstack_free): Likewise.
13285 (_obstack_memory_used): Likewise.
13286 * misc/getttyent.c (getttynam): Likewise.
13287 (getttyent): Likewise.
13288 (skip): Likewise.
13289 (value): Likewise.
13290 * misc/getusershell.c (initshells): Likewise.
13291 * misc/syslog.c (__vsyslog_chk): Likewise.
13292 * misc/ttyslot.c (ttyslot): Likewise.
13293 * nis/nis_hash.c (__nis_hash): Likewise.
13294 * posix/fnmatch_loop.c (FCT): Likewise.
13295 * posix/getconf.c (print_all): Likewise.
13296 (main): Likewise.
13297 * posix/getopt.c (exchange): Likewise.
13298 * posix/glob.c (globfree): Likewise.
13299 (prefix_array): Likewise.
13300 (__glob_pattern_type): Likewise.
13301 * resolv/arpa/nameser.h (NS_GET16): Likewise.
13302 (NS_GET32): Likewise.
13303 (NS_PUT16): Likewise.
13304 (NS_PUT32): Likewise.
13305 * resolv/gethnamaddr.c (getanswer): Likewise.
13306 (gethostbyname2): Likewise.
13307 (gethostbyaddr): Likewise.
13308 (_gethtent): Likewise.
13309 (_gethtbyname2): Likewise.
13310 (_gethtbyaddr): Likewise.
13311 * resolv/ns_print.c (dst_s_get_int16): Likewise.
13312 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13313 * resolv/res_init.c (__res_vinit): Likewise.
13314 (net_mask): Likewise.
13315 * resolv/res_mkquery.c (outchar): Likewise.
13316 (PRINT): Likewise.
13317 * stdio-common/printf_fp.c (outchar): Likewise.
13318 (PRINT): Likewise.
13319 * stdio-common/printf_fphex.c (outchar): Likewise.
13320 (PRINT): Likewise.
13321 * stdio-common/printf_size.c (outchar): Likewise.
13322 (PRINT): Likewise.
13323 * stdio-common/test_rdwr.c (main): Likewise.
13324 * stdio-common/tfformat.c (matches): Likewise.
13325 * stdio-common/vfprintf.c (outchar): Likewise.
13326 (printf_unknown): Likewise.
13327 (buffered_vfprintf): Likewise.
13328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13329 * stdio-common/xbug.c (AppendToBuffer): Likewise.
13330 (ReadFile): Likewise.
13331 * stdlib/qsort.c (SWAP): Likewise.
13332 (_quicksort): Likewise.
13333 * stdlib/setenv.c (__add_to_environ): Likewise.
13334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13335 * stdlib/strtol_l.c (__strtol_l): Likewise.
13336 * stdlib/tst-strtod.c (main): Likewise.
13337 * stdlib/tst-strtol.c (main): Likewise.
13338 * stdlib/tst-strtoll.c (main): Likewise.
13339 * string/bits/string2.h (__strcmp_cc): Likewise.
13340 (__strcmp_cg): Likewise.
13341 (__strcspn_c1): Likewise.
13342 (__strcspn_c2): Likewise.
13343 (__strcspn_c3): Likewise.
13344 (__strspn_c1): Likewise.
13345 (__strspn_c2): Likewise.
13346 (__strspn_c3): Likewise.
13347 (__strsep_1c): Likewise.
13348 (__strsep_2c): Likewise.
13349 (__strsep_3c): Likewise.
13350 * string/memccpy.c (__memccpy): Likewise.
13351 * string/stpcpy.c (__stpcpy): Likewise.
13352 * string/strcmp.c (strcmp): Likewise.
13353 * string/strrchr.c (strrchr): Likewise.
13354 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13355 Likewise.
13356 * sysdeps/mach/hurd/getcwd.c
13357 (_hurd_canonicalize_directory_name_internal): Likewise.
13358 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13359 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13360 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13361 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13362 Likewise, in both definitions.
13363 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13364 definitions.
13365 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13366 64] (__bswap_64): Likewise.
13367 * time/test_time.c (main): Likewise.
13368 * time/tzfile.c (__tzfile_read): Likewise.
13369 (__tzfile_compute): Likewise.
13370 * time/tzset.c (__tzset_parse_tz): Likewise.
13371 (tzset_internal): Likewise.
13372 (compute_change): Likewise.
13373 * wcsmbs/wcscat.c (__wcscat): Likewise.
13374 * wcsmbs/wcschr.c (wcschr): Likewise.
13375 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13376 * wcsmbs/wcscspn.c (wcscspn): Likewise.
13377 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13378 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13379 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13380 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13381 * wcsmbs/wmemchr.c (wmemchr): Likewise.
13382 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13383 * wcsmbs/wmemset.c (wmemset): Likewise.
13384
133852013-06-06 Joseph Myers <joseph@codesourcery.com>
13386
13387 * scripts/config.guess: Update to version 2013-05-16.
13388 * scripts/config.sub: Update to version 2013-04-24.
13389 * scripts/install-sh: Update to version 2011-11-20.07.
13390 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13391 * scripts/move-if-change: Update to version 2012-01-06 07:23.
13392
133932013-06-06 Ondřej Bílka <neleai@seznam.cz>
13394
13395 * debug/fgetws_u_chk.c: Fix leading whitespaces.
13396 * elf/sln.c: Likewise.
13397 * hurd/hurd/ioctl.h: Likewise.
13398 * hurd/hurdmalloc.c: Likewise.
13399 * hurd/xattr.c: Likewise.
13400 * include/shlib-compat.h: Likewise.
13401 * inet/ruserpass.c: Likewise.
13402 * libio/iofgets_u.c: Likewise.
13403 * libio/iofgetws_u.c: Likewise.
13404 * locale/programs/ld-identification.c: Likewise.
13405 * locale/programs/ld-time.c: Likewise.
13406 * mach/msg-destroy.c: Likewise.
13407 * nss/nss_files/files-netgrp.c: Likewise.
13408 * resolv/res_data.c: Likewise.
13409 * soft-fp/op-1.h: Likewise.
13410 * soft-fp/op-2.h: Likewise.
13411 * soft-fp/op-4.h: Likewise.
13412 * soft-fp/op-common.h: Likewise.
13413 * stdio-common/printf_fphex.c: Likewise.
13414 * stdlib/strtod_l.c: Likewise.
13415 * sunrpc/rpc/clnt.h: Likewise.
13416 * sysdeps/generic/framestate.c: Likewise.
13417 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13418 * sysdeps/i386/bsd-setjmp.S: Likewise.
13419 * sysdeps/i386/__longjmp.S: Likewise.
13420 * sysdeps/i386/setjmp.S: Likewise.
13421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13439 * sysdeps/ieee754/support.c: Likewise.
13440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13441 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13442 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13443 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13444 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13445 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13446 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13447 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13448 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13449 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13450 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13451 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13453 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13455 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13458
134592013-06-05 Ondřej Bílka <neleai@seznam.cz>
13460
13461 * posix/transbug.c: Remove executable mode.
13462
134632013-06-05 Joseph Myers <joseph@codesourcery.com>
13464
13465 * crypt/speeds.c: Remove trailing whitespace.
13466 * dlfcn/default.c: Likewise.
13467 * elf/ifuncdep2.c: Likewise.
13468 * elf/ifuncmain1.c: Likewise.
13469 * elf/ifuncmain1vis.c: Likewise.
13470 * elf/testobj.h: Likewise.
13471 * elf/tst-stackguard1.c: Likewise.
13472 * gmon/sys/gmon.h: Likewise.
13473 * hurd/hurdmsg.c: Likewise.
13474 * hurd/new-fd.c: Likewise.
13475 * hurd/ports-get.c: Likewise.
13476 * iconvdata/ibm1008_420.c: Likewise.
13477 * inet/tst-getni1.c: Likewise.
13478 * inet/tst-getni2.c: Likewise.
13479 * libio/ioungetc.c: Likewise.
13480 * libio/wfiledoalloc.c: Likewise.
13481 * manual/libm-err-tab.pl: Likewise.
13482 * math/w_dremf.c: Likewise.
13483 * misc/ftruncate.c: Likewise.
13484 * posix/bug-glob2.c: Likewise.
13485 * posix/tst-pcre.c: Likewise.
13486 * posix/wait4.c: Likewise.
13487 * resolv/README: Likewise.
13488 * resolv/res_debug.h: Likewise.
13489 * resolv/tst-inet_ntop.c: Likewise.
13490 * setjmp/bug269-setjmp.c: Likewise.
13491 * soft-fp/extended.h: Likewise.
13492 * soft-fp/op-1.h: Likewise.
13493 * soft-fp/op-2.h: Likewise.
13494 * soft-fp/op-4.h: Likewise.
13495 * soft-fp/op-8.h: Likewise.
13496 * soft-fp/testit.c: Likewise.
13497 * stdio-common/bug16.c: Likewise.
13498 * stdlib/random.c: Likewise.
13499 * sunrpc/rpcsvc/rquota.x: Likewise.
13500 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13529 * sysdeps/ieee754/s_lib_version.c: Likewise.
13530 * sysdeps/mach/hurd/check_fds.c: Likewise.
13531 * sysdeps/mach/hurd/getsockname.c: Likewise.
13532 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13533 * sysdeps/mach/hurd/recvfrom.c: Likewise.
13534 * sysdeps/powerpc/bits/link.h: Likewise.
13535 * sysdeps/powerpc/dl-procinfo.c: Likewise.
13536 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13537 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13538 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13539 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13540 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13541 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13542 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13543 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13544 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13545 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13547 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13549 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13550 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13569 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13570 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13571 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13572 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13573 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13574 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13575 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13576 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13577 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13578 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13581 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13582 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13583 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13584 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13590 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13591 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13595 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13596 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13597 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13599 * sysdeps/powerpc/sysdep.h: Likewise.
13600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13601 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13602 * sysdeps/sh/dl-trampoline.S: Likewise.
13603 * sysdeps/sh/memset.S: Likewise.
13604 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13605 * sysdeps/sh/strlen.S: Likewise.
13606 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13607 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13608 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13609 * sysdeps/sparc/sparc32/rem.S: Likewise.
13610 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13611 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13612 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13613 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13614 * sysdeps/sparc/sparc32/urem.S: Likewise.
13615 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13616 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13617 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13618 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13619 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13620 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13621 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13622 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13623 * sysdeps/unix/bsd/times.c: Likewise.
13624 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13625 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13629 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13631 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13636 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13638 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13639 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13640 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13641 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13642 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13643 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13644 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13645 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13646 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13647 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13648 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13649 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13650 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13652 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13653 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13654 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13655 * sysdeps/x86_64/strcspn.S: Likewise.
13656
136572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13658
13659 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13660 generated file. Regenerate properly from gen-translit.pl.
13661 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13662 locale/C-translit.h.
13663
136642013-06-05 Andreas Schwab <schwab@suse.de>
13665
13666 [BZ #15100]
13667 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13668 week as 6 instead of -1.
13669 * time/tst-strptime.c (day_tests): Add test case.
13670
136712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13672
13673 * sysdeps/generic/math_private.h
13674 (libc_feholdexcept_setround_53bit): Replace with
13675 libc_feholdsetround_53bit.
13676 (libc_feupdateenv_53bit): Replace with
13677 libc_feresetround_53bit.
13678 (SET_RESTORE_ROUND_53BIT): Adjust.
13679
136802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13681
13682 * string/test-strchrnul.c: Add copyright header.
13683
13684 * posix/tst-getaddrinfo4.c: Increase test timeout.
13685
136862013-06-03 Carlos O'Donell <carlos@redhat.com>
13687
13688 [BZ #15536]
13689 * math/libm-test.inc (MAX_EXP): Remove
13690 (MIN_EXP): Define.
13691 (ulp): Use MIN_EXP - MANT_DIG.
13692 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13693
136942013-05-31 Carlos O'Donell <carlos@redhat.com>
13695
13696 * po/be.po: Revert last change.
13697 * po/zh_CN.po: Likewise.
13698 * po/header.pot: Likewise.
13699
137002013-05-31 Joseph Myers <joseph@codesourcery.com>
13701
13702 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13703 link-libc-deps to empty as target-specific variable.
13704 * Makerules (link-libc-args): New variable.
13705 (libc-for-link): Likewise.
13706 (link-libc-deps): Likewise.
13707 (lib%.so): Depend on $(link-libc-deps). Link with
13708 $(link-libc-args).
13709 (build-module): Link with $(link-libc-args).
13710 (build-module-asneeded): Likewise.
13711 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13712 list of objects.
13713 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13714 target-specific variable.
13715 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13716 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13717 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13718 libc.
13719 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13720 libc and ld.so.
13721 ($(objpfx)libpcprofile.so): Likewise.
13722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13723 libc_nonshared.a.
13724 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13725 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13726 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13727 $(link-libc-deps).
13728 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13729 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13730 * login/Makefile ($(objpfx)libutil.so): Likewise.
13731 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13732 * math/Makefile ($(objpfx)libm.so): Likewise.
13733 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13734 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13735 variable instead of depending directly on libc.
13736 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13737 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13738 $(link-libc-deps).
13739 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13740 libc.
13741 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13742 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13743 ($(objpfx)libanl.so): Likewise.
13744 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13745 ld.so.
13746 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13747 $(link-libc-deps).
13748 * sysdeps/i386/fpu/Makefile: Remove file.
13749 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13750 ($(objpfx)libm.so): Remove dependency on ld.so.
13751
137522013-05-30 Patsy Franklin <pfrankli@redhat.com>
13753
13754 [BZ # 15553]
13755 * nis/yp_xdr.c (XDRMAXNAME): Define.
13756 (XDRMAXRECORD): Define.
13757 (xdr_domainname): Use XDRMAXNAME.
13758 (xdr_mapname): Likewise.
13759 (xdr_peername): Likewise.
13760 (xdr_keydat): Use XDRMAXRECORD.
13761 (xdr_valdat): Likewise.
13762
137632013-05-30 Jeff Law <law@redhat.com>
13764
13765 [BZ #14256]
13766 * manual/errno.texi (ESTALE): Update to account for more than
13767 just NFS file systems.
13768 * sysdeps/gnu/errlist.c: Regenerated.
13769
137702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13771
13772 [BZ #15465]
13773 * elf/Makefile (tests): Add tst-null-argv.
13774 (modules-names): Add tst-null-argv-lib.
13775 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13776 (tst-null-argv-ENV): Set environment for tst-null-argv.
13777 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13778 (RTLD_PROGNAME): New macro.
13779 * elf/tst-null-argv.c: New test case.
13780 * elf/tst-null-argv-lib.c: Library for test case.
13781 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13782 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13783 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13784 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13785 * elf/dl-init.c (call_init): Likewise.
13786 (_dl_init): Likewise.
13787 * elf/dl-load.c (print_search_path): Likewise.
13788 (_dl_map_object): Likewise.
13789 * elf/dl-lookup.c (do_lookup_x): Likewise.
13790 (add_dependency): Likewise.
13791 (_dl_lookup_symbol_x): Likewise.
13792 (_dl_debug_bindings): Likewise.
13793 * elf/dl-open.c (_dl_show_scope): Likewise.
13794 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13795 * elf/dl-version.c (match_symbol): Likewise.
13796 (_dl_check_map_versions): Likewise.
13797 * elf/rtld.c (dl_main): Likewise.
13798 (print_unresolved): Use RTLD_PROGNAME.
13799 (print_missing_version): Likewise.
13800 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13801 (elf_machine_rela): Likewise.
13802 * sysdeps/powerpc/powerpc32/dl-machine.c
13803 (__process_machine_rela): Likewise.
13804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13805 Likewise.
13806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13807 Likewise.
13808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13809 Likewise.
13810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13812 Likewise.
13813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13814 Likewise.
13815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13816
138172013-05-28 Carlos O'Donell <carlos@redhat.com>
13818
13819 * po/be.po: Add descriptive title.
13820 * po/zh_CN.po: Likewise.
13821 * po/header.pot: Likewise.
13822
138232013-05-28 Mike Frysinger <vapier@gentoo.org>
13824
13825 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13826 error message.
13827 (enlarge_archive): Likewise.
13828
138292013-05-28 Ben North <ben@redfrontdoor.org>
13830
13831 * manual/arith.texi (frexp): It is the magnitude of the return
13832 value which lies in [0.5, 1), not the return value itself.
13833
138342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13835
13836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13837
138382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13839
13840 * stdio-common/bug26.c (main): Correct fscanf template.
13841
13842 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13843 declare _dl_skip_args.
13844
13845 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13846 Don't declare.
13847
13848 * manual/platform.texi: Add missing @end deftypefun.
13849
138502013-05-24 Joseph Myers <joseph@codesourcery.com>
13851
13852 [BZ #15529]
13853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13854 bit of mantissa of 2^16382.
13855 * math/libm-test.inc (hypot_test_data): Add more tests.
13856
13857 * math/libm-test.inc: Add drem and pow10 to list of tested
13858 functions.
13859 (pow10_test): New function.
13860 (drem_test): Likewise.
13861 (drem_test_tonearest): Likewise.
13862 (drem_test_towardzero): Likewise.
13863 (drem_test_downward): Likewise.
13864 (drem_test_upward): Likewise.
13865 (main): Call the new functions.
13866
13867 * math/libm-test.inc (finite_test_data): Remove.
13868 (finite_test): Run tests from isfinite_test_data.
13869 (gamma_test_data): Remove.
13870 (gamma_test): Run tests from lgamma_test_data.
13871 * sysdeps/i386/fpu/libm-test-ulps: Update.
13872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13873
138742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13875
13876 * manual/platform.texi: Add PowerPC PPR function set documentation.
13877 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13878 implementation.
13879
138802013-05-24 Carlos O'Donell <carlos@redhat.com>
13881
13882 * math/libm-test.inc (MAX_EXP): Define.
13883 (ULPDIFF): Define.
13884 (ulp): New function.
13885 (check_float_internal): Use ULPDIFF.
13886 (cpow_test): Disable failing test.
13887 (check_ulp): Test ulp() implemetnation.
13888 (main): Call check_ulp before starting tests.
13889
138902013-05-24 Joseph Myers <joseph@codesourcery.com>
13891
13892 * math/gen-libm-test.pl (generate_testfile): Do not handle
13893 START_DATA and END_DATA.
13894 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13895 END_DATA.
13896 (acos_tonearest_test_data): Likewise.
13897 (acos_towardzero_test_data): Likewise.
13898 (acos_downward_test_data): Likewise.
13899 (acos_upward_test_data): Likewise.
13900 (acosh_test_data): Likewise.
13901 (asin_test_data): Likewise.
13902 (asin_tonearest_test_data): Likewise.
13903 (asin_towardzero_test_data): Likewise.
13904 (asin_downward_test_data): Likewise.
13905 (asin_upward_test_data): Likewise.
13906 (asinh_test_data): Likewise.
13907 (atan_test_data): Likewise.
13908 (atanh_test_data): Likewise.
13909 (atan2_test_data): Likewise.
13910 (cabs_test_data): Likewise.
13911 (cacos_test_data): Likewise.
13912 (cacosh_test_data): Likewise.
13913 (carg_test_data): Likewise.
13914 (casin_test_data): Likewise.
13915 (casinh_test_data): Likewise.
13916 (catan_test_data): Likewise.
13917 (catanh_test_data): Likewise.
13918 (cbrt_test_data): Likewise.
13919 (ccos_test_data): Likewise.
13920 (ccosh_test_data): Likewise.
13921 (ceil_test_data): Likewise.
13922 (cexp_test_data): Likewise.
13923 (cimag_test_data): Likewise.
13924 (clog_test_data): Likewise.
13925 (clog10_test_data): Likewise.
13926 (conj_test_data): Likewise.
13927 (copysign_test_data): Likewise.
13928 (cos_test_data): Likewise.
13929 (cos_tonearest_test_data): Likewise.
13930 (cos_towardzero_test_data): Likewise.
13931 (cos_downward_test_data): Likewise.
13932 (cos_upward_test_data): Likewise.
13933 (cosh_test_data): Likewise.
13934 (cosh_tonearest_test_data): Likewise.
13935 (cosh_towardzero_test_data): Likewise.
13936 (cosh_downward_test_data): Likewise.
13937 (cosh_upward_test_data): Likewise.
13938 (cpow_test_data): Likewise.
13939 (cproj_test_data): Likewise.
13940 (creal_test_data): Likewise.
13941 (csin_test_data): Likewise.
13942 (csinh_test_data): Likewise.
13943 (csqrt_test_data): Likewise.
13944 (ctan_test_data): Likewise.
13945 (ctan_tonearest_test_data): Likewise.
13946 (ctan_towardzero_test_data): Likewise.
13947 (ctan_downward_test_data): Likewise.
13948 (ctan_upward_test_data): Likewise.
13949 (ctanh_test_data): Likewise.
13950 (ctanh_tonearest_test_data): Likewise.
13951 (ctanh_towardzero_test_data): Likewise.
13952 (ctanh_downward_test_data): Likewise.
13953 (ctanh_upward_test_data): Likewise.
13954 (erf_test_data): Likewise.
13955 (erfc_test_data): Likewise.
13956 (exp_test_data): Likewise.
13957 (exp_tonearest_test_data): Likewise.
13958 (exp_towardzero_test_data): Likewise.
13959 (exp_downward_test_data): Likewise.
13960 (exp_upward_test_data): Likewise.
13961 (exp10_test_data): Likewise.
13962 (exp2_test_data): Likewise.
13963 (expm1_test_data): Likewise.
13964 (fabs_test_data): Likewise.
13965 (fdim_test_data): Likewise.
13966 (finite_test_data): Likewise.
13967 (floor_test_data): Likewise.
13968 (fma_test_data): Likewise.
13969 (fma_towardzero_test_data): Likewise.
13970 (fma_downward_test_data): Likewise.
13971 (fma_upward_test_data): Likewise.
13972 (fmax_test_data): Likewise.
13973 (fmin_test_data): Likewise.
13974 (fmod_test_data): Likewise.
13975 (fpclassify_test_data): Likewise.
13976 (frexp_test_data): Likewise.
13977 (gamma_test_data): Likewise.
13978 (hypot_test_data): Likewise.
13979 (ilogb_test_data): Likewise.
13980 (isfinite_test_data): Likewise.
13981 (isgreater_test_data): Likewise.
13982 (isgreaterequal_test_data): Likewise.
13983 (isinf_test_data): Likewise.
13984 (isless_test_data): Likewise.
13985 (islessequal_test_data): Likewise.
13986 (islessgreater_test_data): Likewise.
13987 (isnan_test_data): Likewise.
13988 (isnormal_test_data): Likewise.
13989 (issignaling_test_data): Likewise.
13990 (isunordered_test_data): Likewise.
13991 (j0_test_data): Likewise.
13992 (j1_test_data): Likewise.
13993 (jn_test_data): Likewise.
13994 (ldexp_test_data): Likewise.
13995 (lgamma_test_data): Likewise.
13996 (lrint_test_data): Likewise.
13997 (lrint_tonearest_test_data): Likewise.
13998 (lrint_towardzero_test_data): Likewise.
13999 (lrint_downward_test_data): Likewise.
14000 (lrint_upward_test_data): Likewise.
14001 (llrint_test_data): Likewise.
14002 (llrint_tonearest_test_data): Likewise.
14003 (llrint_towardzero_test_data): Likewise.
14004 (llrint_downward_test_data): Likewise.
14005 (llrint_upward_test_data): Likewise.
14006 (log_test_data): Likewise.
14007 (log10_test_data): Likewise.
14008 (log1p_test_data): Likewise.
14009 (log2_test_data): Likewise.
14010 (logb_test_data): Likewise.
14011 (logb_downward_test_data): Likewise.
14012 (lround_test_data): Likewise.
14013 (llround_test_data): Likewise.
14014 (modf_test_data): Likewise.
14015 (nearbyint_test_data): Likewise.
14016 (nextafter_test_data): Likewise.
14017 (nexttoward_test_data): Likewise.
14018 (pow_test_data): Likewise.
14019 (pow_tonearest_test_data): Likewise.
14020 (pow_towardzero_test_data): Likewise.
14021 (pow_downward_test_data): Likewise.
14022 (pow_upward_test_data): Likewise.
14023 (remainder_test_data): Likewise.
14024 (remainder_tonearest_test_data): Likewise.
14025 (remainder_towardzero_test_data): Likewise.
14026 (remainder_downward_test_data): Likewise.
14027 (remainder_upward_test_data): Likewise.
14028 (remquo_test_data): Likewise.
14029 (rint_test_data): Likewise.
14030 (rint_tonearest_test_data): Likewise.
14031 (rint_towardzero_test_data): Likewise.
14032 (rint_downward_test_data): Likewise.
14033 (rint_upward_test_data): Likewise.
14034 (round_test_data): Likewise.
14035 (scalb_test_data): Likewise.
14036 (scalbn_test_data): Likewise.
14037 (scalbln_test_data): Likewise.
14038 (signbit_test_data): Likewise.
14039 (sin_test_data): Likewise.
14040 (sin_tonearest_test_data): Likewise.
14041 (sin_towardzero_test_data): Likewise.
14042 (sin_downward_test_data): Likewise.
14043 (sin_upward_test_data): Likewise.
14044 (sincos_test_data): Likewise.
14045 (sinh_test_data): Likewise.
14046 (sinh_tonearest_test_data): Likewise.
14047 (sinh_towardzero_test_data): Likewise.
14048 (sinh_downward_test_data): Likewise.
14049 (sinh_upward_test_data): Likewise.
14050 (sqrt_test_data): Likewise.
14051 (tan_test_data): Likewise.
14052 (tan_tonearest_test_data): Likewise.
14053 (tan_towardzero_test_data): Likewise.
14054 (tan_downward_test_data): Likewise.
14055 (tan_upward_test_data): Likewise.
14056 (tanh_test_data): Likewise.
14057 (tgamma_test_data): Likewise.
14058 (trunc_test_data): Likewise.
14059 (y0_test_data): Likewise.
14060 (y1_test_data): Likewise.
14061 (yn_test_data): Likewise.
14062 (significand_test_data): Likewise.
14063
14064 * math/gen-libm-test.pl (@functions): Remove variable.
14065 (generate_testfile): Don't handle START and END lines.
14066 * math/libm-test.inc (START): New macro.
14067 (END): Likewise.
14068 (END_COMPLEX): Likewise.
14069 (acos_test): Use END macro without arguments.
14070 (acos_test_tonearest): Likewise.
14071 (acos_test_towardzero): Likewise.
14072 (acos_test_downward): Likewise.
14073 (acos_test_upward): Likewise.
14074 (acosh_test): Likewise.
14075 (asin_test): Likewise.
14076 (asin_test_tonearest): Likewise.
14077 (asin_test_towardzero): Likewise.
14078 (asin_test_downward): Likewise.
14079 (asin_test_upward): Likewise.
14080 (asinh_test): Likewise.
14081 (atan_test): Likewise.
14082 (atanh_test): Likewise.
14083 (atan2_test): Likewise.
14084 (cabs_test): Likewise.
14085 (cacos_test): Use END_COMPLEX macro without arguments.
14086 (cacosh_test): Likewise.
14087 (carg_test): Use END macro without arguments.
14088 (casin_test): Use END_COMPLEX macro without arguments.
14089 (casinh_test): Likewise.
14090 (catan_test): Likewise.
14091 (catanh_test): Likewise.
14092 (cbrt_test): Use END macro without arguments.
14093 (ccos_test): Use END_COMPLEX macro without arguments.
14094 (ccosh_test): Likewise.
14095 (ceil_test): Use END macro without arguments.
14096 (cexp_test): Use END_COMPLEX macro without arguments.
14097 (cimag_test): Use END macro without arguments.
14098 (clog_test): Use END_COMPLEX macro without arguments.
14099 (clog10_test): Likewise.
14100 (conj_test): Likewise.
14101 (copysign_test): Use END macro without arguments.
14102 (cos_test): Likewise.
14103 (cos_test_tonearest): Likewise.
14104 (cos_test_towardzero): Likewise.
14105 (cos_test_downward): Likewise.
14106 (cos_test_upward): Likewise.
14107 (cosh_test): Likewise.
14108 (cosh_test_tonearest): Likewise.
14109 (cosh_test_towardzero): Likewise.
14110 (cosh_test_downward): Likewise.
14111 (cosh_test_upward): Likewise.
14112 (cpow_test): Use END_COMPLEX macro without arguments.
14113 (cproj_test): Likewise.
14114 (creal_test): Use END macro without arguments.
14115 (csin_test): Use END_COMPLEX macro without arguments.
14116 (csinh_test): Likewise.
14117 (csqrt_test): Likewise.
14118 (ctan_test): Likewise.
14119 (ctan_test_tonearest): Likewise.
14120 (ctan_test_towardzero): Likewise.
14121 (ctan_test_downward): Likewise.
14122 (ctan_test_upward): Likewise.
14123 (ctanh_test): Likewise.
14124 (ctanh_test_tonearest): Likewise.
14125 (ctanh_test_towardzero): Likewise.
14126 (ctanh_test_downward): Likewise.
14127 (ctanh_test_upward): Likewise.
14128 (erf_test): Use END macro without arguments.
14129 (erfc_test): Likewise.
14130 (exp_test): Likewise.
14131 (exp_test_tonearest): Likewise.
14132 (exp_test_towardzero): Likewise.
14133 (exp_test_downward): Likewise.
14134 (exp_test_upward): Likewise.
14135 (exp10_test): Likewise.
14136 (exp2_test): Likewise.
14137 (expm1_test): Likewise.
14138 (fabs_test): Likewise.
14139 (fdim_test): Likewise.
14140 (finite_test): Likewise.
14141 (floor_test): Likewise.
14142 (fma_test): Likewise.
14143 (fma_test_towardzero): Likewise.
14144 (fma_test_downward): Likewise.
14145 (fma_test_upward): Likewise.
14146 (fmax_test): Likewise.
14147 (fmin_test): Likewise.
14148 (fmod_test): Likewise.
14149 (fpclassify_test): Likewise.
14150 (frexp_test): Likewise.
14151 (gamma_test): Likewise.
14152 (hypot_test): Likewise.
14153 (ilogb_test): Likewise.
14154 (isfinite_test): Likewise.
14155 (isgreater_test): Likewise.
14156 (isgreaterequal_test): Likewise.
14157 (isinf_test): Likewise.
14158 (isless_test): Likewise.
14159 (islessequal_test): Likewise.
14160 (islessgreater_test): Likewise.
14161 (isnan_test): Likewise.
14162 (isnormal_test): Likewise.
14163 (issignaling_test): Likewise.
14164 (isunordered_test): Likewise.
14165 (j0_test): Likewise.
14166 (j1_test): Likewise.
14167 (jn_test): Likewise.
14168 (ldexp_test): Likewise.
14169 (lgamma_test): Likewise.
14170 (lrint_test): Likewise.
14171 (lrint_test_tonearest): Likewise.
14172 (lrint_test_towardzero): Likewise.
14173 (lrint_test_downward): Likewise.
14174 (lrint_test_upward): Likewise.
14175 (llrint_test): Likewise.
14176 (llrint_test_tonearest): Likewise.
14177 (llrint_test_towardzero): Likewise.
14178 (llrint_test_downward): Likewise.
14179 (llrint_test_upward): Likewise.
14180 (log_test): Likewise.
14181 (log10_test): Likewise.
14182 (log1p_test): Likewise.
14183 (log2_test): Likewise.
14184 (logb_test): Likewise.
14185 (logb_test_downward): Likewise.
14186 (lround_test): Likewise.
14187 (llround_test): Likewise.
14188 (modf_test): Likewise.
14189 (nearbyint_test): Likewise.
14190 (nextafter_test): Likewise.
14191 (nexttoward_test): Likewise.
14192 (pow_test): Likewise.
14193 (pow_test_tonearest): Likewise.
14194 (pow_test_towardzero): Likewise.
14195 (pow_test_downward): Likewise.
14196 (pow_test_upward): Likewise.
14197 (remainder_test): Likewise.
14198 (remainder_test_tonearest): Likewise.
14199 (remainder_test_towardzero): Likewise.
14200 (remainder_test_downward): Likewise.
14201 (remainder_test_upward): Likewise.
14202 (remquo_test): Likewise.
14203 (rint_test): Likewise.
14204 (rint_test_tonearest): Likewise.
14205 (rint_test_towardzero): Likewise.
14206 (rint_test_downward): Likewise.
14207 (rint_test_upward): Likewise.
14208 (round_test): Likewise.
14209 (scalb_test): Likewise.
14210 (scalbn_test): Likewise.
14211 (scalbln_test): Likewise.
14212 (signbit_test): Likewise.
14213 (sin_test): Likewise.
14214 (sin_test_tonearest): Likewise.
14215 (sin_test_towardzero): Likewise.
14216 (sin_test_downward): Likewise.
14217 (sin_test_upward): Likewise.
14218 (sincos_test): Likewise.
14219 (sinh_test): Likewise.
14220 (sinh_test_tonearest): Likewise.
14221 (sinh_test_towardzero): Likewise.
14222 (sinh_test_downward): Likewise.
14223 (sinh_test_upward): Likewise.
14224 (sqrt_test): Likewise.
14225 (tan_test): Likewise.
14226 (tan_test_tonearest): Likewise.
14227 (tan_test_towardzero): Likewise.
14228 (tan_test_downward): Likewise.
14229 (tan_test_upward): Likewise.
14230 (tanh_test): Likewise.
14231 (tgamma_test): Likewise.
14232 (trunc_test): Likewise.
14233 (y0_test): Likewise.
14234 (y1_test): Likewise.
14235 (yn_test): Likewise.
14236 (significand_test): Likewise.
14237
142382013-05-24 Ondřej Bílka <neleai@seznam.cz>
14239
14240 [BZ #15381]
14241 * libio/genops.c (_IO_no_init): Initialize wide struct info.
14242
142432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
14244
14245 [BZ #14894]
14246 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14247 __ppc_mdoio and __ppc_mdoom.
14248 * manual/platform.texi: Document new functions __ppc_yield,
14249 __ppc_mdoio and __ppc_mdoom.
14250
142512013-05-22 Carlos O'Donell <carlos@redhat.com>
14252
14253 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14254 (main): Mention "tls" pseudo-hwcap is legacy.
14255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14256
142572013-05-22 Joseph Myers <joseph@codesourcery.com>
14258
14259 * math/gen-libm-test.pl (parse_args): Output only string of
14260 arguments as text for test name, not full call or descriptions of
14261 tests for extra outputs.
14262 (generate_testfile): Do not pass function name to parse_args.
14263 Generate this_func variable from START.
14264 * math/libm-test.inc (struct test_f_f_data): Rename test_name
14265 field to arg_str.
14266 (struct test_ff_f_data): Likewise.
14267 (test_ff_f_data_nexttoward): Likewise.
14268 (struct test_fi_f_data): Likewise.
14269 (struct test_fl_f_data): Likewise.
14270 (struct test_if_f_data): Likewise.
14271 (struct test_fff_f_data): Likewise.
14272 (struct test_c_f_data): Likewise.
14273 (struct test_f_f1_data): Likewise. Remove field extra_name.
14274 (struct test_fF_f1_data): Likewise.
14275 (struct test_ffI_f1_data): Likewise.
14276 (struct test_c_c_data): Rename test_name field to arg_str.
14277 (struct test_cc_c_data): Likewise.
14278 (struct test_f_i_data): Likewise.
14279 (struct test_ff_i_data): Likewise.
14280 (struct test_f_l_data): Likewise.
14281 (struct test_f_L_data): Likewise.
14282 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
14283 and extra2_name.
14284 (COMMON_TEST_SETUP): New macro.
14285 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14286 (COMMON_TEST_CLEANUP): Likewise.
14287 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14288 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
14289 macros.
14290 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14291 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
14292 macros.
14293 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14294 (RUN_TEST_fff_f): Take argument string. Call new setup and
14295 cleanup macros.
14296 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14297 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
14298 macros.
14299 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14300 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
14301 macros.
14302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14303 (RUN_TEST_fF_f1): Take argument string. Call new setup and
14304 cleanup macros.
14305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14306 (RUN_TEST_fI_f1): Take argument string. Call new setup and
14307 cleanup macros.
14308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14309 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
14310 cleanup macros.
14311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14312 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
14313 macros.
14314 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14315 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
14316 macros.
14317 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14318 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
14319 macros.
14320 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14321 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
14322 cleanup macros.
14323 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14324 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
14325 cleanup macros.
14326 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14327 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
14328 macros.
14329 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14330 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
14331 cleanup macros.
14332 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14333 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
14334 macros.
14335 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14336 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
14337 macros.
14338 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14339 (RUN_TEST_fFF_11): Take argument string. Call new setup and
14340 cleanup macros.
14341 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14342
143432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14344
14345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14346 to _sifields.sigfault.
14347 (si_addr_lsb): Define new macro.
14348 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14350 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14351
143522013-05-03 Carlos O'Donell <carlos at redhat.com>
14353
14354 [BZ #15441]
14355 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14356 returns -1.
14357 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14358 null return -1.
14359 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14360 loading the domain.
14361
143622013-05-22 Joseph Myers <joseph@codesourcery.com>
14363
14364 * math/gen-libm-test.pl (parse_args): Do not include expected
14365 result in test name.
14366 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372
143732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14374
14375 * benchtests/Makefile: Sort function entries.
14376
14377 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14378 tanh, asinh, acosh, atanh.
14379 * benchtests/acos-inputs: New file.
14380 * benchtests/acosh-inputs: New file.
14381 * benchtests/asin-inputs: New file.
14382 * benchtests/asinh-inputs: New file.
14383 * benchtests/atanh-inputs: New file.
14384 * benchtests/cosh-inputs: New file.
14385 * benchtests/log-inputs: New file.
14386 * benchtests/sinh-inputs: New file.
14387 * benchtests/tanh-inputs: New file.
14388
143892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
14390
14391 [BZ #15339]
14392 * posix/tst-getaddrinfo4.c: New test.
14393 * posix/Makefile (tests): Add it.
14394
143952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14396
14397 [BZ #15339]
14398 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14399 when no services were used.
14400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14401 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14402
144032013-05-21 Andreas Schwab <schwab@suse.de>
14404
14405 [BZ #15014]
14406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14407 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14408 successful.
14409 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14410 redundant variable declarations and reallocation of buffer when
14411 parsing as IPv6 address. Always set NSS status when called from
14412 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
14413 buffer too small. Correct computation of needed size.
14414 * nss/Makefile (tests): Add test-digits-dots.
14415 * nss/test-digits-dots.c: New test.
14416
144172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14418
14419 * benchtests/Makefile: Remove instructions for adding
14420 benchmark tests.
14421 * benchtests/README: New file to explain how to execute and
14422 enhance the benchmark tests.
14423
144242013-05-21 Andreas Schwab <schwab@suse.de>
14425
14426 [BZ #15493]
14427 * setjmp/Makefile (tests): Add tst-sigsetjmp.
14428 * setjmp/tst-sigsetjmp.c: New test.
14429
144302013-05-20 Ondřej Bílka <neleai@seznam.cz>
14431
14432 * sysdeps/x86_64/memset.S (memset): New implementation.
14433 (__bzero): Likewise.
14434 (__memset_tail): New function.
14435
144362013-05-20 Ondřej Bílka <neleai@seznam.cz>
14437
14438 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14439 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14440 __memcpy_sse2_unaligned ifunc selection.
14441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14442 Add memcpy-sse2-unaligned.S.
14443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14444 Add: __memcpy_sse2_unaligned.
14445
144462013-05-19 Joseph Myers <joseph@codesourcery.com>
14447
14448 [BZ #15490]
14449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14450 math_force_eval before restoring floating-point envrionment.
14451 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14453 Likewise.
14454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14455 <math_private.h>.
14456 (__nearbyintl): Use math_force_eval before restoring
14457 floating-point environment.
14458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14459
14460 * math/gen-libm-test.pl (special_functions): Remove.
14461 (parse_args): Don't handle TEST_extra. Handle functions with no
14462 return value.
14463 * math/libm-test.inc (struct test_sincos_data): Replace with
14464 struct test_fFF_11_data.
14465 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14466 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14467 (sincos_test_data): Change element type to struct
14468 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
14469 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14470 RUN_TEST_LOOP_sincos.
14471 * math/README.libm-test: Don't mention special handling of
14472 individual functions.
14473 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14476 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14479
14480 * math/gen-libm-test.pl (get_variable): Remove function.
14481 (parse_args): Don't show pointer parameters to call in test
14482 names. Use "extra output N" in test names for extra outputs
14483 rather than naming variables.
14484
144852013-05-18 Joseph Myers <joseph@codesourcery.com>
14486
14487 [BZ #15488]
14488 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14489 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14490 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14491 double tests.
14492 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14493 disable.
14494 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14495 check_long_double.
14496
14497 * math/gen-libm-test.pl (@tests): Remove variable.
14498 ($count): Likewise.
14499 (new_test): Remove function.
14500 (show_exceptions): New function.
14501 (special_functions): Use show_exceptions instead of new_test.
14502 (parse_args): Likewise.
14503 (generate_testfile): Pass only function name in generated call to
14504 print_max_error or print_complex_max_error.
14505 (get_ulps): Do not handle complex tests specially.
14506 (output_test): Rename to ...
14507 (get_all_ulps_for_test): ... this. Return a string rather than
14508 printing to a file. Require ulps to be present.
14509 (output_ulps): Generate arrays rather than #defines.
14510 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14511 (struct ulp_data): New type.
14512 (BUILD_COMPLEX_ULP): Remove macro.
14513 (compare_ulp_data): New function.
14514 (find_ulps): Likewise.
14515 (find_test_ulps): Likewise.
14516 (find_function_ulps): Likewise.
14517 (find_complex_function_ulps): Likewise.
14518 (print_max_error): Determine allowed ulps using
14519 find_function_ulps.
14520 (print_complex_max_error): Determine allowed ulps using
14521 find_complex_function_ulps.
14522 (check_float_internal): Determine max ulps using find_test_ulps.
14523 (check_float): Do not take max_ulp parameter. Update call to
14524 check_float_internal.
14525 (check_complex): Likewise.
14526 (check_int): Do not take max_ulp parameter.
14527 (check_long): Likewise.
14528 (check_bool): Likewise.
14529 (check_longlong): Likewise.
14530 (struct test_f_f_data): Remove max_ulp field.
14531 (struct test_ff_f_data): Likewise.
14532 (struct test_ff_f_data_nexttoward): Likewise.
14533 (struct test_fi_f_data): Likewise.
14534 (struct test_fl_f_data): Likewise.
14535 (struct test_if_f_data): Likewise.
14536 (struct test_fff_f_data): Likewise.
14537 (struct test_c_f_data): Likewise.
14538 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14539 (struct test_fF_f1_data): Likewise.
14540 (struct test_ffI_f1_data): Likewise.
14541 (struct test_c_c_data): Remove max_ulp field.
14542 (struct test_cc_c_data): Likewise.
14543 (struct test_f_i_data): Likewise.
14544 (struct test_ff_i_data): Likewise.
14545 (struct test_f_l_data): Likewise.
14546 (struct test_f_L_data): Likewise.
14547 (struct test_sincos_data): Likewise.
14548 (RUN_TEST_f_f): Do not handle ulps.
14549 (RUN_TEST_LOOP_f_f): Likewise.
14550 (RUN_TEST_2_f): Likewise.
14551 (RUN_TEST_LOOP_2_f): Likewise.
14552 (RUN_TEST_fff_f): Likewise.
14553 (RUN_TEST_LOOP_fff_f): Likewise.
14554 (RUN_TEST_c_f): Likewise.
14555 (RUN_TEST_LOOP_c_f): Likewise.
14556 (RUN_TEST_f_f1): Likewise.
14557 (RUN_TEST_LOOP_f_f1): Likewise.
14558 (RUN_TEST_fF_f1): Likewise.
14559 (RUN_TEST_LOOP_fF_f1): Likewise.
14560 (RUN_TEST_fI_f1): Likewise.
14561 (RUN_TEST_LOOP_fI_f1): Likewise.
14562 (RUN_TEST_ffI_f1): Likewise.
14563 (RUN_TEST_LOOP_ffI_f1): Likewise.
14564 (RUN_TEST_c_c): Likewise.
14565 (RUN_TEST_LOOP_c_c): Likewise.
14566 (RUN_TEST_cc_c): Likewise.
14567 (RUN_TEST_LOOP_cc_c): Likewise.
14568 (RUN_TEST_f_i): Likewise.
14569 (RUN_TEST_LOOP_f_i): Likewise.
14570 (RUN_TEST_f_i_tg): Likewise.
14571 (RUN_TEST_LOOP_f_i_tg): Likewise.
14572 (RUN_TEST_ff_i_tg): Likewise.
14573 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14574 (RUN_TEST_f_b): Likewise.
14575 (RUN_TEST_LOOP_f_b): Likewise.
14576 (RUN_TEST_f_b_tg): Likewise.
14577 (RUN_TEST_LOOP_f_b_tg): Likewise.
14578 (RUN_TEST_f_l): Likewise.
14579 (RUN_TEST_LOOP_f_l): Likewise.
14580 (RUN_TEST_f_L): Likewise.
14581 (RUN_TEST_LOOP_f_L): Likewise.
14582 (RUN_TEST_sincos): Likewise.
14583 (RUN_TEST_LOOP_sincos): Likewise.
14584
145852013-05-17 Joseph Myers <joseph@codesourcery.com>
14586
14587 [BZ #15480]
14588 [BZ #15485]
14589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14590 main case of finite arguments, set rounding mode to FE_TONEAREST
14591 and discard exceptions.
14592 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14593 exceptions.
14594 (remainder_tonearest_test_data): New variable.
14595 (remainder_test_tonearest): New function.
14596 (remainder_towardzero_test_data): New variable.
14597 (remainder_test_towardzero): New function.
14598 (remainder_downward_test_data): New variable.
14599 (remainder_test_downward): New function.
14600 (remainder_upward_test_data): New variable.
14601 (remainder_test_upward): New function.
14602 (main): Call the new test functions.
14603
14604 * math/libm-test.inc (struct test_f_f1_data): Remove field
14605 extra_init.
14606 (struct test_fF_f1_data): Likewise.
14607 (struct test_ffI_f1_data): Likewise.
14608 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14609 based on value of EXTRA_EXPECTED.
14610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14611 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14612 EXTRA_VAR based on value of EXTRA_EXPECTED.
14613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14614 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14615 EXTRA_VAR based on value of EXTRA_EXPECTED.
14616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14617 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14618 EXTRA_VAR based on value of EXTRA_EXPECTED.
14619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14620 * math/gen-libm-test.pl (parse_args): Don't output initializers
14621 for extra output values.
14622
14623 * math/libm-test.inc (check_int): Expect result to be exactly
14624 equal to expected value and do not handle ulps.
14625 (check_long): Likewise.
14626 (check_longlong): Likewise.
14627
14628 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14629 exceptions.
14630 (cimag_test_data): Likewise.
14631 (conj_test_data): Likewise.
14632 (copysign_test_data): Likewise.
14633 (cproj_test_data): Likewise.
14634 (creal_test_data): Likewise.
14635 (fabs_test_data): Likewise.
14636 (fdim_test_data): Likewise.
14637 (finite_test_data): Likewise.
14638 (floor_test_data): Likewise.
14639 (fmax_test_data): Likewise.
14640 (fmin_test_data): Likewise.
14641 (fmod_test_data): Likewise.
14642 (fpclassify_test_data): Likewise.
14643 (frexp_test_data): Likewise.
14644 (ilogb_test_data): Likewise.
14645 (isfinite_test_data): Likewise.
14646 (isgreater_test_data): Likewise.
14647 (isgreaterequal_test_data): Likewise.
14648 (isinf_test_data): Likewise.
14649 (isless_test_data): Likewise.
14650 (islessequal_test_data): Likewise.
14651 (islessgreater_test_data): Likewise.
14652 (isnan_test_data): Likewise.
14653 (isnormal_test_data): Likewise.
14654 (issignaling_test_data): Likewise.
14655 (isunordered_test_data): Likewise.
14656 (ldexp_test_data): Likewise.
14657 (lrint_test_data): Likewise.
14658 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14659 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14660 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14661 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14662 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14663 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14664 test input.
14665 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14666 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14667 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14668 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14669 that test input.
14670 (lrint_downward_test_data): Test for "inexact" exceptions.
14671 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14672 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14673 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14674 test input.
14675 (lrint_upward_test_data): Test for "inexact" exceptions.
14676 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14677 test input.
14678 (llrint_test_data): Test for "inexact" exceptions.
14679 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14680 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14681 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14682 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14683 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14684 (llrint_downward_test_data): Test for "inexact" exceptions.
14685 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14686 (llrint_upward_test_data): Test for "inexact" exceptions.
14687 (logb_test_data): Likewise.
14688 (logb_downward_test_data): Likewise.
14689 (nextafter_test_data): Likewise.
14690 (nexttoward_test_data): Likewise.
14691 (remainder_test_data): Likewise.
14692 (remquo_test_data): Likewise.
14693 (scalbn_test_data): Likewise.
14694 (scalbln_test_data): Likewise.
14695 (signbit_test_data): Likewise.
14696 (sqrt_test_data): Likewise.
14697 (significand_test_data): Likewise.
14698
146992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14700
14701 [BZ #15424]
14702 * benchtests/bench-modf.c (struct args): Mark arg0 as
14703 volatile.
14704 * scripts/bench.pl: Mark members of struct args as volatile.
14705
147062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14707
14708 [BZ # 15497]
14709 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14710 negative infinity on POWER6 or lower.
14711 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14712
147132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14714
14715 [BZ #15442]
14716 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14717 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14718 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14719 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14720 (_FP_SETQNAN): New macro.
14721 (_FP_SETQNAN_SEMIRAW): Likewise.
14722 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14723 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14724 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14725 (FP_EXTEND): Use _FP_FRAC_SNANP.
14726 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14727 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14728 into account.
14729 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14730 New macro.
14731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14732 Likewise.
14733
147342013-05-16 Joseph Myers <joseph@codesourcery.com>
14735
14736 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14737 with DIVIDE_BY_ZERO_EXCEPTION.
14738 (gamma_test_data): Likewise.
14739 (lgamma_test_data): Likewise.
14740 (log_test_data): Likewise.
14741 (log10_test_data): Likewise.
14742 (log2_test_data): Likewise.
14743 (tgamma_test_data): Likewise.
14744
14745 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14746 (acos_test_tonearest): Likewise.
14747 (acos_test_towardzero): Likewise.
14748 (acos_test_downward): Likewise.
14749 (acos_test_upward): Likewise.
14750 (acosh_test): Likewise.
14751 (asin_test): Likewise.
14752 (asin_test_tonearest): Likewise.
14753 (asin_test_towardzero): Likewise.
14754 (asin_test_downward): Likewise.
14755 (asin_test_upward): Likewise.
14756 (asinh_test): Likewise.
14757 (atan_test): Likewise.
14758 (atanh_test): Likewise.
14759 (atan2_test): Likewise.
14760 (cabs_test): Likewise.
14761 (cacos_test): Likewise.
14762 (cacosh_test): Likewise.
14763 (casin_test): Likewise.
14764 (casinh_test): Likewise.
14765 (catan_test): Likewise.
14766 (catanh_test): Likewise.
14767 (cbrt_test): Likewise.
14768 (ccos_test): Likewise.
14769 (ccosh_test): Likewise.
14770 (cexp_test): Likewise.
14771 (clog_test): Likewise.
14772 (clog10_test): Likewise.
14773 (cos_test): Likewise.
14774 (cos_test_tonearest): Likewise.
14775 (cos_test_towardzero): Likewise.
14776 (cos_test_downward): Likewise.
14777 (cos_test_upward): Likewise.
14778 (cosh_test): Likewise.
14779 (cosh_test_tonearest): Likewise.
14780 (cosh_test_towardzero): Likewise.
14781 (cosh_test_downward): Likewise.
14782 (cosh_test_upward): Likewise.
14783 (cpow_test): Likewise.
14784 (csin_test): Likewise.
14785 (csinh_test): Likewise.
14786 (csqrt_test): Likewise.
14787 (ctan_test): Likewise.
14788 (ctan_test_tonearest): Likewise.
14789 (ctan_test_towardzero): Likewise.
14790 (ctan_test_downward): Likewise.
14791 (ctan_test_upward): Likewise.
14792 (ctanh_test): Likewise.
14793 (ctanh_test_tonearest): Likewise.
14794 (ctanh_test_towardzero): Likewise.
14795 (ctanh_test_downward): Likewise.
14796 (ctanh_test_upward): Likewise.
14797 (erf_test): Likewise.
14798 (erfc_test): Likewise.
14799 (exp_test): Likewise.
14800 (exp_test_tonearest): Likewise.
14801 (exp_test_towardzero): Likewise.
14802 (exp_test_downward): Likewise.
14803 (exp_test_upward): Likewise.
14804 (exp10_test): Likewise.
14805 (exp2_test): Likewise.
14806 (expm1_test): Likewise.
14807 (fmod_test): Likewise.
14808 (gamma_test): Likewise.
14809 (hypot_test): Likewise.
14810 (j0_test): Likewise.
14811 (j1_test): Likewise.
14812 (jn_test): Likewise.
14813 (lgamma_test): Likewise.
14814 (log_test): Likewise.
14815 (log10_test): Likewise.
14816 (log1p_test): Likewise.
14817 (log2_test): Likewise.
14818 (logb_test_downward): Likewise.
14819 (pow_test): Likewise.
14820 (pow_test_tonearest): Likewise.
14821 (pow_test_towardzero): Likewise.
14822 (pow_test_downward): Likewise.
14823 (pow_test_upward): Likewise.
14824 (remainder_test): Likewise.
14825 (remquo_test): Likewise.
14826 (sin_test): Likewise.
14827 (sin_test_tonearest): Likewise.
14828 (sin_test_towardzero): Likewise.
14829 (sin_test_downward): Likewise.
14830 (sin_test_upward): Likewise.
14831 (sincos_test): Likewise.
14832 (sinh_test): Likewise.
14833 (sinh_test_tonearest): Likewise.
14834 (sinh_test_towardzero): Likewise.
14835 (sinh_test_downward): Likewise.
14836 (sinh_test_upward): Likewise.
14837 (sqrt_test): Likewise.
14838 (tan_test): Likewise.
14839 (tan_test_tonearest): Likewise.
14840 (tan_test_towardzero): Likewise.
14841 (tan_test_downward): Likewise.
14842 (tan_test_upward): Likewise.
14843 (tanh_test): Likewise.
14844 (tgamma_test): Likewise.
14845 (y0_test): Likewise.
14846 (y1_test): Likewise.
14847 (yn_test): Likewise.
14848
14849 * math/gen-libm-test.pl (adjust_arg): Remove function.
14850 (special_function): Remove argument $in_func. Only handle
14851 generating output for tables of tests, not inside functions.
14852 (parse_args): Likewise.
14853 (generate_testfile): Remove variable $in_func. Update call to
14854 parse_args.
14855 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14856 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14857 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14858 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14859 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14860 (MAX_VALUE_INIT): Rename macro to max_value.
14861 (MIN_VALUE_INIT): Rename macro to min_value.
14862 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14863 (plus_zero): Remove variable.
14864 (minus_zero): Likewise.
14865 (plus_infty): Likewise.
14866 (minus_infty): Likewise.
14867 (qnan_value): Likewise.
14868 (max_value): Likewise.
14869 (min_value): Likewise.
14870 (min_subnorm_value): Likewise.
14871
148722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14873
14874 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14875 uint64_t or uint32_t usage.
14876 * crypt/sha256-block.c: Likewise.
14877 * crypt/sha256-crypt.c: Likewise.
14878 * crypt/sha256.c: Likewise.
14879 * crypt/sha512-block.c: Likewise.
14880 * crypt/sha512-crypt.c: Likewise.
14881 * crypt/sha512.c: Likewise.
14882 * debug/backtrace-tst.c: Likewise.
14883 * debug/pcprofiledump.c: Likewise.
14884 * elf/cache.c: Likewise.
14885 * elf/dl-cache.c: Likewise.
14886 * elf/dl-misc.c: Likewise.
14887 * elf/dl-profile.c: Likewise.
14888 * elf/dl-support.c: Likewise.
14889 * elf/ldconfig.c: Likewise.
14890 * elf/sprof.c: Likewise.
14891 * iconv/dummy-repertoire.c: Likewise.
14892 * iconv/iconv_charmap.c: Likewise.
14893 * iconv/skeleton.c: Likewise.
14894 * iconvdata/8bit-generic.c: Likewise.
14895 * iconvdata/cp737.h: Likewise.
14896 * iconvdata/cp775.h: Likewise.
14897 * iconvdata/ibm1008.h: Likewise.
14898 * iconvdata/ibm1025.h: Likewise.
14899 * iconvdata/ibm1046.h: Likewise.
14900 * iconvdata/ibm1097.h: Likewise.
14901 * iconvdata/ibm1112.h: Likewise.
14902 * iconvdata/ibm1122.h: Likewise.
14903 * iconvdata/ibm1123.h: Likewise.
14904 * iconvdata/ibm1124.h: Likewise.
14905 * iconvdata/ibm1129.h: Likewise.
14906 * iconvdata/ibm1130.h: Likewise.
14907 * iconvdata/ibm1132.h: Likewise.
14908 * iconvdata/ibm1133.h: Likewise.
14909 * iconvdata/ibm1137.h: Likewise.
14910 * iconvdata/ibm1140.h: Likewise.
14911 * iconvdata/ibm1141.h: Likewise.
14912 * iconvdata/ibm1142.h: Likewise.
14913 * iconvdata/ibm1143.h: Likewise.
14914 * iconvdata/ibm1144.h: Likewise.
14915 * iconvdata/ibm1145.h: Likewise.
14916 * iconvdata/ibm1146.h: Likewise.
14917 * iconvdata/ibm1147.h: Likewise.
14918 * iconvdata/ibm1148.h: Likewise.
14919 * iconvdata/ibm1149.h: Likewise.
14920 * iconvdata/ibm1153.h: Likewise.
14921 * iconvdata/ibm1154.h: Likewise.
14922 * iconvdata/ibm1155.h: Likewise.
14923 * iconvdata/ibm1156.h: Likewise.
14924 * iconvdata/ibm1157.h: Likewise.
14925 * iconvdata/ibm1158.h: Likewise.
14926 * iconvdata/ibm1160.h: Likewise.
14927 * iconvdata/ibm1161.h: Likewise.
14928 * iconvdata/ibm1162.h: Likewise.
14929 * iconvdata/ibm1163.h: Likewise.
14930 * iconvdata/ibm1164.h: Likewise.
14931 * iconvdata/ibm1166.h: Likewise.
14932 * iconvdata/ibm1167.h: Likewise.
14933 * iconvdata/ibm12712.h: Likewise.
14934 * iconvdata/ibm1390.h: Likewise.
14935 * iconvdata/ibm1399.h: Likewise.
14936 * iconvdata/ibm16804.h: Likewise.
14937 * iconvdata/ibm4517.h: Likewise.
14938 * iconvdata/ibm4899.h: Likewise.
14939 * iconvdata/ibm4909.h: Likewise.
14940 * iconvdata/ibm4971.h: Likewise.
14941 * iconvdata/ibm5347.h: Likewise.
14942 * iconvdata/ibm803.h: Likewise.
14943 * iconvdata/ibm856.h: Likewise.
14944 * iconvdata/ibm901.h: Likewise.
14945 * iconvdata/ibm902.h: Likewise.
14946 * iconvdata/ibm9030.h: Likewise.
14947 * iconvdata/ibm9066.h: Likewise.
14948 * iconvdata/ibm921.h: Likewise.
14949 * iconvdata/ibm922.h: Likewise.
14950 * iconvdata/ibm9448.h: Likewise.
14951 * iconvdata/isiri-3342.h: Likewise.
14952 * iconvdata/jis0201.h: Likewise.
14953 * include/link.h: Likewise.
14954 * include/netdb.h: Likewise.
14955 * inet/check_native.c: Likewise.
14956 * inet/check_pf.c: Likewise.
14957 * inet/getipv4sourcefilter.c: Likewise.
14958 * inet/getnameinfo.c: Likewise.
14959 * inet/getsourcefilter.c: Likewise.
14960 * inet/htonl.c: Likewise.
14961 * inet/setipv4sourcefilter.c: Likewise.
14962 * inet/setsourcefilter.c: Likewise.
14963 * inet/test-inet6_opt.c: Likewise.
14964 * inet/tst-network.c: Likewise.
14965 * locale/C-collate.c: Likewise.
14966 * locale/C-ctype.c: Likewise.
14967 * locale/C-time.c: Likewise.
14968 * locale/C-translit.h: Likewise.
14969 * locale/loadarchive.c: Likewise.
14970 * locale/programs/3level.h: Likewise.
14971 * locale/programs/charmap.c: Likewise.
14972 * locale/programs/charmap.h: Likewise.
14973 * locale/programs/ld-address.c: Likewise.
14974 * locale/programs/ld-collate.c: Likewise.
14975 * locale/programs/ld-ctype.c: Likewise.
14976 * locale/programs/ld-identification.c: Likewise.
14977 * locale/programs/ld-measurement.c: Likewise.
14978 * locale/programs/ld-messages.c: Likewise.
14979 * locale/programs/ld-monetary.c: Likewise.
14980 * locale/programs/ld-name.c: Likewise.
14981 * locale/programs/ld-numeric.c: Likewise.
14982 * locale/programs/ld-paper.c: Likewise.
14983 * locale/programs/ld-telephone.c: Likewise.
14984 * locale/programs/ld-time.c: Likewise.
14985 * locale/programs/linereader.c: Likewise.
14986 * locale/programs/locale.c: Likewise.
14987 * locale/programs/locarchive.c: Likewise.
14988 * locale/programs/locfile.h: Likewise.
14989 * locale/programs/repertoire.c: Likewise.
14990 * locale/programs/simple-hash.c: Likewise.
14991 * locale/programs/simple-hash.h: Likewise.
14992 * malloc/memusage.c: Likewise.
14993 * malloc/memusagestat.c: Likewise.
14994 * nis/nis_defaults.c: Likewise.
14995 * nis/nis_hash.c: Likewise.
14996 * nis/nis_print.c: Likewise.
14997 * nis/nis_xdr.c: Likewise.
14998 * nscd/connections.c: Likewise.
14999 * nscd/hstcache.c: Likewise.
15000 * nscd/nscd_gethst_r.c: Likewise.
15001 * nscd/nscd_getserv_r.c: Likewise.
15002 * nscd/nscd_helper.c: Likewise.
15003 * nscd/servicescache.c: Likewise.
15004 * nss/makedb.c: Likewise.
15005 * nss/nss_db/db-XXX.c: Likewise.
15006 * nss/nss_db/db-initgroups.c: Likewise.
15007 * nss/nss_db/db-netgrp.c: Likewise.
15008 * nss/nss_files/files-network.c: Likewise.
15009 * nss/nss_files/files-parse.c: Likewise.
15010 * posix/bug-regex5.c: Likewise.
15011 * posix/fnmatch_loop.c: Likewise.
15012 * posix/regcomp.c: Likewise.
15013 * posix/regexec.c: Likewise.
15014 * posix/tst-rfc3484-2.c: Likewise.
15015 * posix/tst-rfc3484-3.c: Likewise.
15016 * posix/tst-rfc3484.c: Likewise.
15017 * resolv/nss_dns/dns-canon.c: Likewise.
15018 * resolv/nss_dns/dns-network.c: Likewise.
15019 * resolv/res_init.c: Likewise.
15020 * resolv/res_mkquery.c: Likewise.
15021 * resolv/tst-aton.c: Likewise.
15022 * stdlib/cxa_atexit.c: Likewise.
15023 * stdlib/cxa_finalize.c: Likewise.
15024 * stdlib/gen-fpioconst.c: Likewise.
15025 * stdlib/strtol_l.c: Likewise.
15026 * string/tst-endian.c: Likewise.
15027 * sunrpc/auth_des.c: Likewise.
15028 * sunrpc/clnt_udp.c: Likewise.
15029 * sunrpc/rtime.c: Likewise.
15030 * sunrpc/svcauth_des.c: Likewise.
15031 * sunrpc/xdr.c: Likewise.
15032 * sunrpc/xdr_intXX_t.c: Likewise.
15033 * sunrpc/xdr_rec.c: Likewise.
15034 * sysdeps/generic/ldconfig.h: Likewise.
15035 * sysdeps/generic/ldsodefs.h: Likewise.
15036 * sysdeps/generic/memusage.h: Likewise.
15037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15047 * sysdeps/posix/getaddrinfo.c: Likewise.
15048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15052 * sysdeps/powerpc/test-gettimebase.c: Likewise.
15053 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15054 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15055 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15056 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15059 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15060 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15061 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15063 * sysdeps/x86_64/dl-tls.h: Likewise.
15064 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15065 * time/alt_digit.c: Likewise.
15066 * time/era.c: Likewise.
15067 * wcsmbs/tst-c16c32-1.c: Likewise.
15068
150692013-05-16 Joseph Myers <joseph@codesourcery.com>
15070
15071 * math/libm-test.inc (struct test_sincos_data): New type.
15072 (RUN_TEST_LOOP_sincos): New macro.
15073 (sincos_test_data): New variable.
15074 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15075
150762013-05-16 Richard Henderson <rth@redhat.com>
15077
15078 * math/atest-exp2.c (LIMB64): New macro.
15079 (CONSTSZ): New macro.
15080 (mp_exp1, mp_exp_m1, mp_log2): New variables.
15081 (hexdig): Move ...
15082 (print_mpn_fp): ... to function scope.
15083 (read_mpn_hex): Remove.
15084 (get_log2): Remove.
15085 (exp2_mpn): Use mp_log2.
15086 (main): Use mp_exp1.
15087
150882013-05-16 Joseph Myers <joseph@codesourcery.com>
15089
15090 * math/libm-test.inc: Remove comment about not testing "inexact"
15091 exceptions.
15092 (INEXACT_EXCEPTION): New macro.
15093 (NO_INEXACT_EXCEPTION): Likewise.
15094 (INVALID_EXCEPTION_OK): Update value.
15095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15096 (OVERFLOW_EXCEPTION_OK): Likewise.
15097 (UNDERFLOW_EXCEPTION_OK): Likewise.
15098 (IGNORE_ZERO_INF_SIGN): Likewise.
15099 (ERRNO_UNCHANGED): Likewise.
15100 (ERRNO_EDOM): Likewise.
15101 (ERRNO_ERANGE): Likewise.
15102 (test_exceptions): Handle testing "inexact" exceptions.
15103 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15104 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15105 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15106 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15107 INEXACT_EXCEPTION.
15108 (rint_towardzero_test_data): Likewise.
15109 (rint_downward_test_data): Likewise.
15110 (rint_upward_test_data): Likewise.
15111
15112 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15113 with OVERFLOW_EXCEPTION.
15114 (exp10_test_data): Likewise.
15115 (exp2_test_data): Likewise.
15116 (expm1_test_data): Likewise.
15117 (lgamma_test_data): Likewise.
15118 (pow_test_data): Likewise.
15119 (tgamma_test_data): Likewise.
15120 (yn_test_data): Remove duplicate test of overflow.
15121
15122 * math/libm-test.inc (struct test_cc_c_data): New type.
15123 (RUN_TEST_LOOP_cc_c): New macro.
15124 (cpow_test_data): New variable.
15125 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15126
15127 * math/libm-test.inc (struct test_f_L_data): New type.
15128 (RUN_TEST_LOOP_f_L): New macro.
15129 (llrint_test_data): New variable.
15130 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15131 (llrint_tonearest_test_data): New variable.
15132 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15133 (llrint_towardzero_test_data): New variable.
15134 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15135 (llrint_downward_test_data): New variable.
15136 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15137 (llrint_upward_test_data): New variable.
15138 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15139 (llround_test_data): New variable.
15140 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15141
151422013-05-13 Peter Collingbourne <pcc@google.com>
15143
15144 * math/atest-exp2.c (get_log2): Remove const attribute.
15145
151462013-05-15 Joseph Myers <joseph@codesourcery.com>
15147
15148 * math/libm-test.inc (struct test_f_l_data): New type.
15149 (RUN_TEST_LOOP_f_l): New macro.
15150 (lrint_test_data): New variable.
15151 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15152 (lrint_tonearest_test_data): New variable.
15153 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15154 (lrint_towardzero_test_data): New variable.
15155 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15156 (lrint_downward_test_data): New variable.
15157 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15158 (lrint_upward_test_data): New variable.
15159 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15160 (lround_test_data): New variable.
15161 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15162
151632013-05-15 Peter Collingbourne <pcc@google.com>
15164
15165 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15166 (EXTRACT_WORDS64) Use where appropriate.
15167 (INSERT_WORDS64) Likewise.
15168
15169 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15170 constraints with x constraints.
15171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15172
15173 * malloc/obstack.c (_obstack_compat): Add initializer.
15174
151752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
15176
15177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15178 si_trapno and add si_addr_lsb to _sifields.sigfault.
15179 (si_trapno): Remove macro.
15180 (si_addr_lsb): Define new macro.
15181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15182
151832013-05-15 Joseph Myers <joseph@codesourcery.com>
15184
15185 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15186 instead of TEST_f_l.
15187 (llrint_test_tonearest): Likewise.
15188 (llrint_test_towardzero): Likewise.
15189 (llrint_test_downward): Likewise.
15190 (llrint_test_upward): Likewise.
15191 (llround_test): Likewise.
15192
15193 * math/libm-test.inc (struct test_f_i_data): Add comment.
15194 (RUN_TEST_LOOP_f_b): New macro.
15195 (RUN_TEST_LOOP_f_b_tg): Likewise.
15196 (finite_test_data): New variable.
15197 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15198 (isfinite_test_data): New variable.
15199 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15200 (isinf_test_data): New variable.
15201 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15202 (isnan_test_data): New variable.
15203 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15204 (isnormal_test_data): New variable.
15205 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15206 (issignaling_test_data): New variable.
15207 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15208 (signbit_test_data): New variable.
15209 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15210
15211 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15212 with INVALID_EXCEPTION.
15213 (acosh_test_data): Likewise.
15214 (asin_test_data): Likewise.
15215 (atanh_test_data): Likewise.
15216 (fmod_test_data): Likewise.
15217 (log_test_data): Likewise.
15218 (log10_test_data): Likewise.
15219 (log2_test_data): Likewise.
15220 (pow_test_data): Likewise.
15221 (sqrt_test_data): Likewise.
15222 (y0_test_data): Likewise.
15223 (y1_test_data): Likewise.
15224 (yn_test_data): Likewise.
15225
15226 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15227 function contents.
15228
15229 * math/libm-test.inc (struct test_ff_i_data): New type.
15230 (RUN_TEST_LOOP_ff_i_tg): New macro.
15231 (isgreater_test_data): New variable.
15232 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15233 (isgreaterequal_test_data): New variable.
15234 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15235 (isless_test_data): New variable.
15236 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15237 (islessequal_test_data): New variable.
15238 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15239 (islessgreater_test_data): New variable.
15240 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15241 (isunordered_test_data): New variable.
15242 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15243
152442013-05-14 David S. Miller <davem@davemloft.net>
15245
15246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15247
152482013-05-14 Joseph Myers <joseph@codesourcery.com>
15249
15250 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15251
15252 * math/libm-test.inc (struct test_fF_f1_data): Change type of
15253 extra_test to int.
15254 (struct test_f_i_data): Change type of max_ulp to int.
15255
15256 * math/libm-test.inc (test_ffI_f1_data): New type.
15257 (RUN_TEST_LOOP_ffI_f1): New macro.
15258 (remquo_test_data): New variable.
15259 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15260
15261 * setjmp/tst-setjmp-fp.c: New file.
15262 * setjmp/Makefile (tests): Add tst-setjmp-fp.
15263 (link-libm): New variable.
15264 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15265
15266 * math/libm-test.inc (struct test_f_i_data): New type.
15267 (RUN_TEST_LOOP_f_i): New macro.
15268 (RUN_TEST_LOOP_f_i_tg): Likewise.
15269 (fpclassify_test_data): New variable.
15270 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15271 (ilogb_test_data): New variable.
15272 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15273
15274 * math/libm-test.inc (scalbln_test): Correct function name in END
15275 call.
15276
15277 * math/libm-test.inc (struct test_f_f1_data): Add comment.
15278 (RUN_TEST_LOOP_fI_f1): New macro.
15279 (frexp_test_data): New variable.
15280 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15281
15282 * math/libm-test.inc (struct test_fF_f1_data): New type.
15283 (RUN_TEST_LOOP_fF_f1): New macro.
15284 (modf_test_data): New variable.
15285 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15286
15287 * math/libm-test.inc (struct test_f_f1_data): New type.
15288 (RUN_TEST_LOOP_f_f1): New macro.
15289 (gamma_test_data): New variable.
15290 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15291 (lgamma_test_data): New variable.
15292 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15293
152942013-05-13 Carlos O'Donell <carlos@redhat.com>
15295
15296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15297 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15298 (main): Comment "tls" pseudo-hwcap.
15299
153002013-05-13 Joseph Myers <joseph@codesourcery.com>
15301
15302 * math/libm-test.inc (struct test_fl_f_data): New type.
15303 (RUN_TEST_LOOP_fl_f): New variable.
15304 (scalbln_test_data): New variable.
15305 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15306
15307 * math/libm-test.inc (struct test_fi_f_data): New type.
15308 (RUN_TEST_LOOP_fi_f): New macro.
15309 (ldexp_test_data): New variable.
15310 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15311 (scalbn_test_data): New variable.
15312 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15313
15314 * math/libm-test.inc (struct test_c_f_data): New type.
15315 (RUN_TEST_LOOP_c_f): New macro.
15316 (cabs_test_data): New variable.
15317 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15318 (carg_test_data): New variable.
15319 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15320 (cimag_test_data): New variable.
15321 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15322 (creal_test_data): New variable.
15323 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15324
15325 * math/libm-test.inc (struct test_if_f_data): New type.
15326 (RUN_TEST_LOOP_if_f): New macro.
15327 (jn_test_data): New variable.
15328 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15329 (yn_test_data): New variable.
15330 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15331
15332 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15333
153342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335
15336 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15337 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15338
153392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15340
15341 * benchtests/Makefile (CPPFLAGS-nonlib): Add
15342 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15343 (bench-deps): Add bench-timing.h.
15344 * benchtests-bench-skeleton.c: Include bench-timing.h.
15345 (main): Use TIMING_* macros instead of clock_gettime.
15346 * benchtests/bench-timing.h: New file.
15347
15348 [BZ #14582]
15349 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15350 Renamed from _LIB_VERSION.
15351 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15352
153532013-05-12 Joseph Myers <joseph@codesourcery.com>
15354
15355 * math/libm-test.inc (struct test_fff_f_data): New type.
15356 (RUN_TEST_LOOP_fff_f): New macro.
15357 (fma_test_data): New variable.
15358 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15359 (fma_towardzero_test_data): New variable.
15360 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15361 (fma_downward_test_data): New variable.
15362 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15363 (fma_upward_test_data): New variable.
15364 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15365
15366 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15367 (struct test_c_c_data): New type.
15368 (RUN_TEST_LOOP_c_c): New macro.
15369 (cacos_test_data): New variable.
15370 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15371 (cacosh_test_data): New variable.
15372 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15373 (casin_test_data): New variable.
15374 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15375 (casinh_test_data): New variable.
15376 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15377 (catan_test_data): New variable.
15378 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15379 (catanh_test_data): New variable.
15380 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15381 (ccos_test_data): New variable.
15382 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15383 (ccosh_test_data): New variable.
15384 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15385 (cexp_test_data): New variable.
15386 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15387 (clog_test_data): New variable.
15388 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15389 (clog10_test_data): New variable.
15390 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15391 (conj_test_data): New variable.
15392 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15393 (cproj_test_data): New variable.
15394 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15395 (csin_test_data): New variable.
15396 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15397 (csinh_test_data): New variable.
15398 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15399 (csqrt_test_data): New variable.
15400 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15401 (ctan_test_data): New variable.
15402 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15403 (ctan_tonearest_test_data): New variable.
15404 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15405 (ctan_towardzero_test_data): New variable.
15406 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15407 (ctan_downward_test_data): New variable.
15408 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15409 (ctan_upward_test_data): New variable.
15410 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15411 (ctanh_test_data): New variable.
15412 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15413 (ctanh_tonearest_test_data): New variable.
15414 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15415 (ctanh_towardzero_test_data): New variable.
15416 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15417 (ctanh_downward_test_data): New variable.
15418 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15419 (ctanh_upward_test_data): New variable.
15420 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15421 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15422 of BUILD_COMPLEX.
15423
15424 * math/libm-test.inc (struct test_ff_f_data): New type.
15425 (struct test_ff_f_data_nexttoward): Likewise.
15426 (RUN_TEST_LOOP_2_f): New macro.
15427 (RUN_TEST_LOOP_ff_f): Likewise.
15428 (atan2_test_data): New variable.
15429 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15430 (copysign_test_data): New variable.
15431 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15432 (fdim_test_data): New variable.
15433 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15434 (fmax_test_data): New variable.
15435 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15436 (fmin_test_data): New variable.
15437 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15438 (fmod_test_data): New variable.
15439 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15440 (hypot_test_data): New variable.
15441 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15442 (nextafter_test_data): New variable.
15443 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15444 (nexttoward_test_data): New variable.
15445 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15446 (pow_test_data): New variable.
15447 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15448 (pow_tonearest_test_data): New variable.
15449 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15450 (pow_towardzero_test_data): New variable.
15451 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15452 (pow_downward_test_data): New variable.
15453 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15454 (pow_upward_test_data): New variable.
15455 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15456 (remainder_test_data): New variable.
15457 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15458 (scalb_test_data): New variable.
15459 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15460 * sysdeps/i386/fpu/libm-test-ulps: Update.
15461
154622013-05-11 Joseph Myers <joseph@codesourcery.com>
15463
15464 * math/libm-test.inc (fma_test): Use max_value instead of local
15465 variable fltmax.
15466 (nextafter_test): Likewise.
15467
15468 * math/libm-test.inc (acos_towardzero_test_data): New variable.
15469 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15470 (acos_downward_test_data): New variable.
15471 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15472 (acos_upward_test_data): New variable.
15473 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15474 (acosh_test_data): New variable.
15475 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15476 (asin_test_data): New variable.
15477 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15478 (asin_tonearest_test_data): New variable.
15479 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15480 (asin_towardzero_test_data): New variable.
15481 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15482 (asin_downward_test_data): New variable.
15483 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15484 (asin_upward_test_data): New variable.
15485 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15486 (asinh_test_data): New variable.
15487 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15488 (atan_test_data): New variable.
15489 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15490 (atanh_test_data): New variable.
15491 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15492 (cbrt_test_data): New variable.
15493 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15494 (ceil_test_data): New variable.
15495 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15496 (cos_test_data): New variable.
15497 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15498 (cos_tonearest_test_data): New variable.
15499 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15500 (cos_towardzero_test_data): New variable.
15501 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15502 (cos_downward_test_data): New variable.
15503 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15504 (cos_upward_test_data): New variable.
15505 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15506 (cosh_test_data): New variable.
15507 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15508 (cosh_tonearest_test_data): New variable.
15509 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15510 (cosh_towardzero_test_data): New variable.
15511 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15512 (cosh_downward_test_data): New variable.
15513 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15514 (cosh_upward_test_data): New variable.
15515 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15516 (erf_test_data): New variable.
15517 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15518 (erfc_test_data): New variable.
15519 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15520 (exp_test_data): New variable.
15521 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15522 (exp_tonearest_test_data): New variable.
15523 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15524 (exp_towardzero_test_data): New variable.
15525 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15526 (exp_downward_test_data): New variable.
15527 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15528 (exp_upward_test_data): New variable.
15529 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15530 (exp10_test_data): New variable.
15531 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15532 (exp2_test_data): New variable.
15533 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15534 (expm1_test_data): New variable.
15535 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15536 (fabs_test_data): New variable.
15537 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15538 (floor_test_data): New variable.
15539 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15540 (j0_test_data): New variable.
15541 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15542 (j1_test_data): New variable.
15543 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15544 (log_test_data): New variable.
15545 (log_test): Run tests with RUN_TEST_LOOP_f_f.
15546 (log10_test_data): New variable.
15547 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15548 (log1p_test_data): New variable.
15549 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15550 (log2_test_data): New variable.
15551 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15552 (logb_test_data): New variable.
15553 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15554 (logb_downward_test_data): New variable.
15555 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15556 (nearbyint_test_data): New variable.
15557 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15558 (rint_test_data): New variable.
15559 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15560 (rint_tonearest_test_data): New variable.
15561 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15562 (rint_towardzero_test_data): New variable.
15563 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15564 (rint_downward_test_data): New variable.
15565 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15566 (rint_upward_test_data): New variable.
15567 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15568 (round_test_data): New variable.
15569 (round_test): Run tests with RUN_TEST_LOOP_f_f.
15570 (sin_test_data): New variable.
15571 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15572 (sin_tonearest_test_data): New variable.
15573 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15574 (sin_towardzero_test_data): New variable.
15575 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15576 (sin_downward_test_data): New variable.
15577 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15578 (sin_upward_test_data): New variable.
15579 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15580 (sinh_test_data): New variable.
15581 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15582 (sinh_tonearest_test_data): New variable.
15583 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15584 (sinh_towardzero_test_data): New variable.
15585 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15586 (sinh_downward_test_data): New variable.
15587 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15588 (sinh_upward_test_data): New variable.
15589 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15590 (sqrt_test_data): New variable.
15591 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15592 (tan_test_data): New variable.
15593 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15594 (tan_tonearest_test_data): New variable.
15595 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15596 (tan_towardzero_test_data): New variable.
15597 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15598 (tan_downward_test_data): New variable.
15599 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15600 (tan_upward_test_data): New variable.
15601 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15602 (tanh_test_data): New variable.
15603 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15604 (tgamma_test_data): New variable.
15605 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15606 (trunc_test_data): New variable.
15607 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15608 (y0_test_data): New variable.
15609 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15610 (y1_test_data): New variable.
15611 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15612 (significand_test_data): New variable.
15613 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15614
156152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15616
15617 [BZ #12387]
15618 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15619
156202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15621
15622 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15623
156242013-05-10 Andreas Jaeger <aj@suse.de>
15625
15626 [BZ #15448]
15627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15628 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15629
156302013-05-10 Joseph Myers <joseph@codesourcery.com>
15631
15632 * math/gen-libm-test.pl (adjust_arg): New function.
15633 (special_functions): Handle generating output in both functions
15634 and arrays.
15635 (parse_args): Likewise.
15636 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15637 $in_func argument to parse_args.
15638 * math/libm-test.inc (struct test_f_f_data): New type.
15639 (IF_ROUND_INIT_): New macro.
15640 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15641 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15642 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15643 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15644 (ROUND_RESTORE_): Likewise.
15645 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15646 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15647 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15648 (ROUND_RESTORE_FE_UPWARD): Likewise.
15649 (RUN_TEST_LOOP_f_f): New macro.
15650 (acos_test_data): New variable.
15651 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15652 (acos_tonearest_test_data): New variable.
15653 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15654
156552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15656
15657 * benchtests/bench-skeleton.c (startup): Fix coding style.
15658
156592013-05-10 Joseph Myers <joseph@codesourcery.com>
15660
15661 [BZ #6809]
15662 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15663 negative infinity argument.
15664 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15665 negative infinity argument.
15666 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15667 negative infinity argument.
15668 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15669 domain errors.
15670
156712013-05-10 Florian Weimer <fweimer@redhat.com>
15672
15673 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15674 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15675 * iconv/iconv_prog.c (main): Likewise.
15676 * locale/programs/charmap-dir.c (charmap_readdir)
15677 (fopen_uncompressed): Likewise.
15678 * locale/programs/locfile.c (siblings_uncached)
15679 (write_locale_data): Use lstat64 instead of lstat.
15680 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15681 stat.
15682
156832013-05-10 Andreas Jaeger <aj@suse.de>
15684
15685 [BZ #15395]
15686 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15687 localization.
15688 Include <locale.h>.
15689
156902013-05-09 Carlos O'Donell <carlos@redhat.com>
15691
15692 * elf/dl-close.c (_dl_close_worker): Add comments.
15693
156942013-05-09 Joseph Myers <joseph@codesourcery.com>
15695
15696 [BZ #15359]
15697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15698 high part of pi/2.
15699 (__ieee754_rem_pio2l): Update comments.
15700
15701 [BZ #15429]
15702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15703 high part of pi/2.
15704 (__ieee754_rem_pio2l): Update comments.
15705
15706 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15707 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15708
15709 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15710 M_PI_4l.
15711
15712 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15713 (M_PI_34_LOG10El): Likewise.
15714 (M_PI2_LOG10El): Likewise.
15715 (M_PI4_LOG10El): Likewise.
15716 (M_PI_LOG10El): Likewise.
15717
157182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15719
15720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15721
157222013-05-08 Joseph Myers <joseph@codesourcery.com>
15723
15724 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15725 (MINUS_ZERO_INIT): Likewise.
15726 (PLUS_INFTY_INIT): Likewise.
15727 (MINUS_INFTY_INIT): Likewise.
15728 (QNAN_VALUE_INIT): Likewise.
15729 (MAX_VALUE_INIT): Likewise.
15730 (MIN_VALUE_INIT): Likewise.
15731 (MIN_SUBNORM_VALUE_INIT): Likewise.
15732 (plus_zero): Initialize with PLUS_ZERO_INIT.
15733 (minus_zero): Initialize with MINUS_ZERO_INIT.
15734 (plus_infty): Initialize with PLUS_INFTY_INIT.
15735 (minus_infty): Initialize with MINUS_INFTY_INIT.
15736 (qnan_value): Initialize with QNAN_VALUE_INIT.
15737 (max_value): Initialize with MAX_VALUE_INIT.
15738 (min_value): Initialize with MIN_VALUE_INIT.
15739 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15740
15741 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15742 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15743 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15744 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15745
15746 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15747 (RUN_TEST_2_f): Likewise.
15748 (RUN_TEST_ff_f): Likewise.
15749 (RUN_TEST_fi_f): Likewise.
15750 (RUN_TEST_fl_f): Likewise.
15751 (RUN_TEST_fff_f): Likewise.
15752 (RUN_TEST_c_f): Likewise.
15753 (RUN_TEST_f_f1): Likewise.
15754 (RUN_TEST_fF_f1): Likewise.
15755 (RUN_TEST_fI_f1): Likewise.
15756 (RUN_TEST_ffI_f1): Likewise.
15757 (RUN_TEST_c_c): Likewise.
15758 (RUN_TEST_cc_c): Likewise.
15759 (RUN_TEST_f_i): Likewise.
15760 (RUN_TEST_f_i_tg): Likewise.
15761 (RUN_TEST_ff_i_tg): Likewise.
15762 (RUN_TEST_f_b): Likewise.
15763 (RUN_TEST_f_b_tg): Likewise.
15764 (RUN_TEST_f_l): Likewise.
15765 (RUN_TEST_f_L): Likewise.
15766 (RUN_TEST_sincos): Likewise.
15767 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15768 whether to show exceptions. Do not include ");\n" in return
15769 value.
15770 (special_functions): Output call to RUN_TEST_sincos instead of
15771 check_float calls. Update calls to new_test.
15772 (parse_args): Output call to single RUN_TEST_* macro instead of
15773 check_* calls and other assignments. Update calls to new_test.
15774
15775 [BZ #2546]
15776 [BZ #2560]
15777 [BZ #5159]
15778 [BZ #15426]
15779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15780 input to result for tgamma overflow.
15781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15782 (gamma_coeff): New variable.
15783 (NCOEFF): New macro.
15784 (gamma_positive): New function.
15785 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15786 underflow here. Use gamma_positive instead of exp (lgamma) for
15787 other arguments.
15788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15789 (gamma_coeff): New variable.
15790 (NCOEFF): New macro.
15791 (gammaf_positive): New function.
15792 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15793 underflow here. Use gamma_positive instead of exp (lgamma) for
15794 other arguments.
15795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15796 (gamma_coeff): New variable.
15797 (NCOEFF): New macro.
15798 (gammal_positive): New function.
15799 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15800 underflow here. Use gamma_positive instead of exp (lgamma) for
15801 other arguments.
15802 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15803 (gamma_coeff): New variable.
15804 (NCOEFF): New macro.
15805 (gammal_positive): New function.
15806 (__ieee754_gammal_r): Handle positive infinity, overflow and
15807 underflow here. Handle NaN the same as positive infinity. Remove
15808 check x < 0xffffffff for negative integers. Use gamma_positive
15809 instead of exp (lgamma) for other arguments.
15810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15811 (gamma_coeff): New variable.
15812 (NCOEFF): New macro.
15813 (gammal_positive): New function.
15814 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15815 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15819 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15820 * sysdeps/generic/math_private.h (__gamma_productf): New
15821 prototype.
15822 (__gamma_product): Likewise.
15823 (__gamma_productl): Likewise.
15824 * math/Makefile (libm-calls): Add gamma_product.
15825 * math/libm-test.inc (tgamma_test): Add more tests.
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15828
158292013-05-08 Ondřej Bílka <neleai@seznam.cz>
15830
15831 * benchtests/bench-skeleton.c (main): Preheat CPU.
15832
158332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15834
15835 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15836
158372013-05-07 Roland McGrath <roland@hack.frob.com>
15838
15839 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15840 and _dl_skip_args_internal.
15841
158422013-05-07 Carlos O'Donell <carlos@redhat.com>
15843
15844 * manual/message.texi (Message Translation): Talk about users.
15845 Message to key mapping impacts design.
15846
158472013-05-06 Roland McGrath <roland@hack.frob.com>
15848
15849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15850
15851 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15852
15853 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15854 * sysdeps/wordsize-64/glob64.c: ... here.
15855
15856 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15857 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15858 New macros.
15859
15860 * debug/getlogin_r_chk.c: Moved to ...
15861 * login/getlogin_r_chk.c: ... here.
15862 * debug/Makefile (routines): Move getlogin_r_chk to ...
15863 * login/Makefile (routines): ... here.
15864 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15865 * login/Versions (libc: GLIBC_2.4): ... here.
15866
15867 * io/poll.c (__poll): Renamed from poll.
15868 Add libc_hidden_def.
15869 (poll): Define as weak alias.
15870
15871 * debug/ptsname_r_chk.c: Moved to ...
15872 * login/ptsname_r_chk.c: ... here.
15873 * debug/Makefile (routines): Move ptsname_r_chk to ...
15874 * login/Makefile (routines): ... here.
15875 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15876 * login/Versions (libc: GLIBC_2.4): ... here.
15877
15878 * posix/getlogin.c: Moved to ...
15879 * login/getlogin.c: ... here.
15880 * posix/getlogin_r.c: Moved to ...
15881 * login/getlogin_r.c: ... here.
15882 * posix/getlogin_r.c: Moved to ...
15883 * login/getlogin_r.c: ... here.
15884 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15885 * login/Makefile (routines): ... here.
15886 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15887 * login/Versions (libc: GLIBC_2.0): ... here.
15888
15889 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15890 (setrlimit): Define as weak alias.
15891
15892 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15893 Call __ names for open, ftruncate, and close.
15894 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15895 (truncate): Define as weak alias.
15896
158972013-05-06 Joseph Myers <joseph@codesourcery.com>
15898
15899 * math/gen-libm-test.pl (parse_args): Initialize x before each
15900 test of frexp, modf and remquo.
15901
15902 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15903 test signgam value.
15904
159052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15906
15907 [BZ #15418]
15908 [BZ #15419]
15909 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15910 internal tests.
15911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15912
159132013-05-06 Roland McGrath <roland@hack.frob.com>
15914
15915 * elf/dl-writev.h: New file.
15916 * elf/dl-misc.c: Include it.
15917 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15918 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15919
159202013-05-04 Joseph Myers <joseph@codesourcery.com>
15921
15922 * math/libm-test.inc (noXFails): Remove variable.
15923 (noXPasses): Likewise.
15924 (BUILD_COMPLEX_INT): Remove macro.
15925 (print_screen): Remove xfail argument.
15926 (print_screen_max_error): Likewise.
15927 (update_stats): Likewise.
15928 (print_max_error): Likewise. Update calls to other affected
15929 functions.
15930 (print_complex_max_error): Likewise.
15931 (test_single_exception): Update calls to print_screen.
15932 (test_single_errno): Likewise.
15933 (check_float_internal): Remove xfail argument. Update calls to
15934 other affected functions.
15935 (check_float): Likewise.
15936 (check_complex): Likewise.
15937 (check_int): Likewise.
15938 (check_long): Likewise.
15939 (check_bool): Likewise.
15940 (check_longlong): Likewise.
15941 (main): Don't print noXFails and noXPasses.
15942 * math/gen-libm-test.pl (top level): Don't mention expected
15943 failure handling in comment.
15944 (new_test): Don't handle expected failures.
15945 (parse_args): Don't mention expected failure handling in comment.
15946 (generate_testfile): Don't handle expected failures.
15947 (parse_ulps): Likewise.
15948 (print_ulps_file): Likewise.
15949 (get_failure): Remove function.
15950 (output_test): Don't handle expected failures.
15951 * make/README.libm-test: Don't mention expected failure handling.
15952
15953 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15954 (minus_zero): Likewise.
15955 (plus_infty): Likewise.
15956 (minus_infty): Likewise.
15957 (qnan_value): Likewise.
15958 (max_value): Likewise.
15959 (min_value): Likewise.
15960 (min_subnorm_value): Likewise.
15961 (initialize): Do not initialize those variables dynamically.
15962
159632013-05-03 Roland McGrath <roland@hack.frob.com>
15964
15965 * io/open.c (__open_2): Moved to ...
15966 * io/open_2.c: ... this new file.
15967 * io/open64.c (__open64_2): Moved to ...
15968 * io/open64_2.c: ... this new file.
15969 * io/openat.c (__openat_2): Moved to ...
15970 * io/openat_2.c: ... this new file.
15971 * io/openat64.c (__openat64_2): Moved to ...
15972 * io/openat64_2.c: ... this new file.
15973 * io/Makefile (routines): Add them.
15974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15975 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15976 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15977 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15978 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15979 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15980 (__openat64): Add hidden_ver.
15981 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15982 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15983
15984 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15985 Separately conditionalize setting of GLRO(dl_sysinfo) so
15986 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15987 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15988
159892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15990
15991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15993 definition.
15994 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15996 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15997 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15998 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15999
160002013-05-03 Joseph Myers <joseph@codesourcery.com>
16001
16002 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16003 test signgam value.
16004
16005 * math/libm-test.inc (hypot_test): Do not use
16006 IGNORE_ZERO_INF_SIGN.
16007
160082013-05-03 Andreas Jaeger <aj@suse.de>
16009
16010 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16011 Linux 3.9.
16012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16013 (PF_MAX): Adjust for VSOCK change.
16014
160152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16016
16017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16018
160192013-05-02 Carlos O'Donell <carlos@redhat.com>
16020
16021 [BZ #15264]
16022 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16023 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16024 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16025
160262013-05-02 David S. Miller <davem@davemloft.net>
16027
16028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16029
160302013-05-01 Ondřej Bílka <neleai@seznam.cz>
16031
16032 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16033
160342013-05-01 Roland McGrath <roland@hack.frob.com>
16035
16036 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16037
160382013-05-01 Richard Smith <richard@metafoo.co.uk>
16039
16040 [BZ #14952]
16041 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16042 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16043 Use __attribute__ ((__gnu_inline__)).
16044 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16045 Don't use __attribute__ ((__gnu_inline__)).
16046
160472013-05-01 Joseph Myers <joseph@codesourcery.com>
16048
16049 [BZ #15423]
16050 * math/s_catan.c (__catan): Handle small real or imaginary part of
16051 input specially to avoid spurious underflow.
16052 * math/s_catanf.c (__catanf): Likewise.
16053 * math/s_catanh.c (__catanh): Likewise.
16054 * math/s_catanhf.c (__catanhf): Likewise.
16055 * math/s_catanhl.c (__catanhl): Likewise.
16056 * math/s_catanl.c (__catanl): Likewise.
16057 * math/libm-test.inc (catan_test): Add more tests.
16058 (catanh_test): Likewise.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16061
160622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16063
16064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16065
160662013-04-30 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #15416]
16069 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16070 accurately for denominator in atan2.
16071 * math/s_catanf.c (__catanf): Likewise.
16072 * math/s_catanh.c (__catanh): Likewise.
16073 * math/s_catanhf.c (__catanhf): Likewise.
16074 * math/s_catanhl.c (__catanhl): Likewise.
16075 * math/s_catanl.c (__catanl): Likewise.
16076 * math/libm-test.inc (catan_test): Add more tests.
16077 (catanh_test): Likewise.
16078 * sysdeps/i386/fpu/libm-test-ulps: Update.
16079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16080
160812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16082
16083 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16084
16085 * benchtests/Makefile (bench): Remove slow benchmarks.
16086 * benchtests/atan-inputs: Add slow benchmark inputs.
16087 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16088 (BENCH_FUNC): Accept variant offset.
16089 (VARIANT): Define.
16090 * benchtests/bench-skeleton.c (main): Run benchmark for each
16091 variant.
16092 * benchtests/cos-inputs: Add slow benchmark inputs.
16093 * benchtests/exp-inputs: Likewise.
16094 * benchtests/pow-inputs: Likewise.
16095 * benchtests/sin-inputs: Likewise.
16096 * benchtests/slowatan-inputs: Remove.
16097 * benchtests/slowatan.c: Remove.
16098 * benchtests/slowcos-inputs: Remove.
16099 * benchtests/slowcos.c: Remove.
16100 * benchtests/slowexp-inputs: Remove.
16101 * benchtests/slowexp.c: Remove.
16102 * benchtests/slowpow-inputs: Remove.
16103 * benchtests/slowpow.c: Remove.
16104 * benchtests/slowsin-inputs: Remove.
16105 * benchtests/slowsin.c: Remove.
16106 * benchtests/slowtan-inputs: Remove.
16107 * benchtests/slowtan.c: Remove.
16108 * benchtests/tan-inputs: Add slow benchmark inputs.
16109 * scripts/bench.pl: Parse comments and directives.
16110
16111 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
16112 in CPPFLAGS.
16113 ($(objpfx)bench-%.c): Remove *-ITER.
16114 * benchtests/bench-modf.c: Remove definition of ITER.
16115 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16116 (main): Loop for DURATION seconds instead of fixed number of
16117 iterations.
16118 * scripts/bench.pl: Don't expect iterations in parameters.
16119
161202013-04-29 Roland McGrath <roland@hack.frob.com>
16121
16122 * io/fchdir.c (__fchdir): Renamed from fchdir.
16123 (fchdir): Define as weak alias.
16124
161252013-04-29 Joseph Myers <joseph@codesourcery.com>
16126
16127 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16128 (ERRNO_EDOM): Likewise.
16129 (ERRNO_ERANGE): Likewise.
16130 (noErrnoTests): New variable.
16131 (init_max_error): Set errno to 0.
16132 (test_single_errno): New function.
16133 (test_errno): Likewise.
16134 (check_float_internal): Call test_errno. Set errno to 0.
16135 (check_complex): Refer to errno tests in comment.
16136 (check_int): Call test_errno. Set errno to 0.
16137 (check_long): Likewise.
16138 (check_bool): Likewise.
16139 (check_longlong): Likewise.
16140 (cos_test): Use ERRNO_* flags for errno tests instead of
16141 check_int.
16142 (expm1_test): Likewise.
16143 (fmod_test): Likewise.
16144 (ilogb_test): Likewise.
16145 (lgamma_test): Likewise.
16146 (pow_test): Likewise.
16147 (remainder_test): Likewise.
16148 (sin_test): Likewise.
16149 (tan_test): Likewise.
16150 (yn_test): Likewise.
16151 (initialize): Set errno to 0.
16152 (main): Print number of errno tests.
16153 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16154
161552013-04-29 Andreas Jaeger <aj@suse.de>
16156
16157 [BZ #15084]
16158 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16159 and RES_USEVC.
16160
16161 [BZ #15085]
16162 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16163 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16164 unimplemented.
16165
16166 [BZ #15380]
16167 * stdlib/random.c (__initstate): Return NULL if
16168 __initstate fails.
16169
16170 [BZ #15086]
16171 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16172 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16173 RES_SNGLKUPREOP.
16174
161752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16176
16177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16178
161792013-04-29 Joseph Myers <joseph@codesourcery.com>
16180
16181 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16182 of individual tests.
16183 (casin_test): Likewise.
16184 (casinh_test): Likewise.
16185
161862013-04-27 Joseph Myers <joseph@codesourcery.com>
16187
16188 [BZ #15409]
16189 * math/s_catan.c (__catan): Handle arguments with large real or
16190 imaginary part separately without squaring.
16191 * math/s_catanf.c (__catanf): Likewise.
16192 * math/s_catanh.c (__catanh): Likewise.
16193 * math/s_catanhf.c (__catanhf): Likewise.
16194 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16195 and redefine.
16196 (__catanhl): Handle arguments with large real or imaginary part
16197 separately without squaring.
16198 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16199 and redefine.
16200 (__catanl): Handle arguments with large real or imaginary part
16201 separately without squaring.
16202 * math/libm-test.inc (catan_test): Add more tests.
16203 (catanh_test): Likewise.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16206
162072013-04-27 Andreas Jaeger <aj@suse.de>
16208
16209 [BZ #15007]
16210 * stdlib/stdlib.h: Update guards for qecvt.
16211 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16212 <stdlib.h>.
16213
162142013-04-27 Allan McRae <allan@archlinux.org>
16215
16216 * sysdeps/i386/fpu/libm-test-ulps: Update.
16217
162182013-04-26 Joseph Myers <joseph@codesourcery.com>
16219
16220 [BZ #15406]
16221 * math/s_catan.c: Include <float.h>.
16222 (__catan): Ensure underflow exception occurs for underflowed
16223 result.
16224 * math/s_catanf.c: Include <float.h>.
16225 (__catanf): Ensure underflow exception occurs for underflowed
16226 result.
16227 * math/s_catanh.c: Include <float.h>.
16228 (__catanh): Ensure underflow exception occurs for underflowed
16229 result.
16230 * math/s_catanhf.c: Include <float.h>.
16231 (__catanhf): Ensure underflow exception occurs for underflowed
16232 result.
16233 * math/s_catanhl.c: Include <float.h>.
16234 (__catanhl): Ensure underflow exception occurs for underflowed
16235 result.
16236 * math/s_catanl.c: Include <float.h>.
16237 (__catanl): Ensure underflow exception occurs for underflowed
16238 result.
16239 * math/libm-test.inc (catan_test): Add more tests.
16240 (catanh_test): Likewise.
16241
16242 [BZ #15405]
16243 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16244 underflowed result.
16245 * math/s_ccoshf.c (__ccoshf): Likewise.
16246 * math/s_ccoshl.c (__ccoshl): Likewise.
16247 * math/s_csin.c (__csin): Likewise.
16248 * math/s_csinf.c (__csinf): Likewise.
16249 * math/s_csinh.c (__csinh): Likewise.
16250 * math/s_csinhf.c (__csinhf): Likewise.
16251 * math/s_csinhl.c (__csinhl): Likewise.
16252 * math/s_csinl.c (__csinl): Likewise.
16253 * math/libm-test.inc (ccos_test): Add more tests.
16254 (ccosh_test): Likewise.
16255 (csin_test): Likewise.
16256 (csinh_test): Likewise.
16257
162582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16259
16260 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16261 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16262 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16263 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16264 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16265 powerpc/power5+/fpu folders.
16266 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16267
16268
162692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16270
16271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16272
162732013-04-25 Joseph Myers <joseph@codesourcery.com>
16274
16275 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16276 additions to variable.
16277 [$(config-machine) = x86_64] (modules-names): Likewise.
16278 ($(objpfx)tst-audit3): Remove dependency.
16279 ($(objpfx)tst-audit3.out): Likewise.
16280 ($(objpfx)tst-audit4): Likewise.
16281 ($(objpfx)tst-audit4.out): Likewise.
16282 ($(objpfx)tst-audit5): Likewise.
16283 ($(objpfx)tst-audit5.out): Likewise.
16284 ($(objpfx)tst-audit6): Likewise.
16285 ($(objpfx)tst-audit6.out): Likewise.
16286 ($(objpfx)tst-audit7): Likewise.
16287 ($(objpfx)tst-audit7.out): Likewise.
16288 (tst-audit3-ENV): Remove variable.
16289 (tst-audit4-ENV): Likewise.
16290 (tst-audit5-ENV): Likewise.
16291 (tst-audit6-ENV): Likewise.
16292 (tst-audit7-ENV): Likewise.
16293 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16294 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16295 addition to variable.
16296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16300 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16301 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16302 tst-audit3, tst-audit4 and tst-audit5.
16303 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16304 tst-audit6 and tst-audit7.
16305 [$(subdir) = elf] (modules-names): Add audit modules for those
16306 tests.
16307 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16308 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16309 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16310 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16311 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16312 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16313 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16314 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16315 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16316 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16317 [$(subdir) = elf] (tst-audit3-ENV): New variable.
16318 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16319 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16320 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16321 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16322 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16323 Likewise.
16324 [$(subdir) = elf && $(config-cflags-avx) = yes]
16325 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16326 [$(subdir) = elf && $(config-cflags-avx) = yes]
16327 (CFLAGS-tst-auditmod4a.c): Likewise.
16328 [$(subdir) = elf && $(config-cflags-avx) = yes]
16329 (CFLAGS-tst-auditmod4b.c): Likewise.
16330 [$(subdir) = elf && $(config-cflags-avx) = yes]
16331 (CFLAGS-tst-auditmod6b.c): Likewise.
16332 [$(subdir) = elf && $(config-cflags-avx) = yes]
16333 (CFLAGS-tst-auditmod6c.c): Likewise.
16334 [$(subdir) = elf && $(config-cflags-avx) = yes]
16335 (CFLAGS-tst-auditmod7b.c): Likewise.
16336 * elf/tst-audit3.c: Move to ...
16337 * sysdeps/x86_64/tst-audit3.c: ... here.
16338 * elf/tst-audit4.c: Move to ...
16339 * sysdeps/x86_64/tst-audit4.c: ... here.
16340 * elf/tst-audit5.c: Move to ...
16341 * sysdeps/x86_64/tst-audit5.c: ... here.
16342 * elf/tst-audit6.c: Move to ...
16343 * sysdeps/x86_64/tst-audit6.c: ... here.
16344 * elf/tst-audit7.c: Move to ...
16345 * sysdeps/x86_64/tst-audit7.c: ... here.
16346 * elf/tst-auditmod3a.c: Move to ...
16347 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16348 * elf/tst-auditmod3b.c: Move to ...
16349 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16350 * elf/tst-auditmod4a.c: Move to ...
16351 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16352 * elf/tst-auditmod4b.c: Move to ...
16353 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16354 * elf/tst-auditmod5a.c: Move to ...
16355 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16356 * elf/tst-auditmod5b.c: Move to ...
16357 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16358 * elf/tst-auditmod6a.c: Move to ...
16359 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16360 * elf/tst-auditmod6b.c: Move to ...
16361 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16362 * elf/tst-auditmod6c.c: Move to ...
16363 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16364 * elf/tst-auditmod7a.c: Move to ...
16365 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16366 * elf/tst-auditmod7b.c: Move to ...
16367 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16368
163692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
16370
16371 [BZ #15366]
16372 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16373 define unconditionally.
16374 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16375 define unconditionally.
16376 (INT8_C, INT16_C, etc.): Likewise.
16377
163782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
16379
16380 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16381 __ehdr_start with hidden visibility.
16382
16383 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16384
163852013-04-24 Carlos O'Donell <carlos@redhat.com>
16386
16387 * math/libm-test.inc (cos_test): Use accurate hex constants.
16388 (sincost_test): Likewise.
16389
163902013-04-24 Joseph Myers <joseph@codesourcery.com>
16391
16392 * math/libm-test.inc (catan_test): Add more tests.
16393 (catanh_test): Likewise.
16394
16395 * math/s_catanf.c (__catanf): Use suffixed floating-point
16396 constants.
16397 * math/s_catanhf.c (__catanhf): Likewise.
16398 * math/s_catanhl.c (__catanhl): Likewise.
16399 * math/s_catanl.c (__catanl): Likewise.
16400
16401 [BZ #15394]
16402 * math/s_catan.c (__catan): Calculate imaginary part of result
16403 with log1p not log unless computing log of number close to 0.
16404 * math/s_catanf.c (__catanf): Likewise.
16405 * math/s_catanl.c (__catanl): Likewise.
16406 * math/s_catanh.c (__catanh): Calculate real part of result with
16407 log1p not log unless computing log of number close to 0.
16408 * math/s_catanhf.c (__catanhf): Likewise.
16409 * math/s_catanhl.c (__catanhl): Likewise.
16410 * math/libm-test.inc (catan_test): Add more tests.
16411 (catanh_test): Likewise.
16412 * sysdeps/i386/fpu/libm-test-ulps: Update.
16413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16414
164152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16416
16417 * benchtests/Makefile: Mention files in which fast and slow
16418 paths of math functions are implemented.
16419
164202013-04-23 Roland McGrath <roland@hack.frob.com>
16421
16422 * sysdeps/posix/timespec_get.c: New file.
16423
164242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16425
16426 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16427 POWER.
16428 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16429 for POWER.
16430 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16431 powerpc/power5/fpu folders.
16432 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16433 * benchtests/Makefile: Add modf testcase.
16434 * benchtests/bench-modf.c: New file: Benchmark test for mo
16435
164362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16437
16438 [BZ #14888]
16439 * time/Makefile (tests): Add tst-strptime-whitespace.
16440 * time/strptime_l.c (get_number): Use ISSPACE.
16441 (__strptime_internal): Likewise.
16442 * time/tst-strptime-whitespace.c: New test case.
16443
164442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
16445
16446 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16447 member.
16448 (_nss_files_init): Set it here.
16449
164502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
16451
16452 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16453 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16454 unsigned.
16455
164562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
16457
16458 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16459
164602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16461
16462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16463 size just once.
16464
164652013-04-21 David S. Miller <davem@davemloft.net>
16466
16467 * po/ru.po: Update Russion translation from translation project.
16468
164692013-04-17 Adam Conrad <adconrad@0c3.net>
16470
16471 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16472 and setfsgid.
16473
164742013-04-17 Carlos O'Donell <carlos@redhat.com>
16475
16476 * configure.in: Remove i386 configure warning. Remove i386 case.
16477 * configure: Regenerate.
16478 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16479 Add example to error message.
16480 * sysdeps/i386/configure: Regenerate.
16481
164822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16483
16484 * benchtests/Makefile (bench): Add cos, tan, slowcos and
16485 slowtan.
16486 * benchtests/cos-inputs: New file.
16487 * benchtests/slowcos-inputs: New file.
16488 * benchtests/slowcos.c: New file.
16489 * benchtests/slowtan-inputs: New file.
16490 * benchtests/slowtan.c: New file.
16491 * benchtests/tan-inputs: New file.
16492
164932013-04-16 Roland McGrath <roland@hack.frob.com>
16494
16495 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16496 considered kosher.
16497
164982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16499
16500 * benchtests/Makefile: Include cppflags-iterator.mk to add
16501 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16502
16503 * Makefile.in (bench-clean): New target.
16504 * benchtests/Makefile (bench-clean): Likewise.
16505
165062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
16507
16508 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16509
165102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
16511
16512 * stdio-common/tstdiomisc.c: Fix coding-style violation.
16513
165142013-04-15 Andreas Schwab <schwab@suse.de>
16515
16516 * nscd/grpcache.c (cache_addgr): Properly check for short write.
16517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16518 * nscd/pwdcache.c (cache_addpw): Likewise.
16519 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
16520 more than recsize.
16521
165222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16523
16524 * benchtests/Makefile (bench): Write all output to
16525 bench-out.tmp together.
16526
165272013-04-15 Andreas Schwab <schwab@suse.de>
16528
16529 * nscd/nscd.c (main): Don't fork again after closing files.
16530
165312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16532
16533 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16534
16535 * benchtests/Rules (bench-deps): Collect dependencies into a
16536 single variable. Add Makefile to dependencies.
16537 ($(objpfx)bench-%.c): Depend on bench-deps.
16538
165392013-04-12 Roland McGrath <roland@hack.frob.com>
16540 Xavier Roche <roche+kml2@exalead.com>
16541
16542 [BZ #15361]
16543 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16544 just that it's a file descriptor.
16545 * manual/llio.texi (Synchronizing AIO Operations): Update description
16546 for EBADF error from aio_fsync.
16547
165482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 * Rules (bench): Move target definition...
16551 * benchtests/Makefile: ... here.
16552
165532013-04-11 Carlos O'Donell <carlos@redhat.com>
16554
16555 * math/libm-test.inc (cos_test): Fix PI/2 test.
16556 (sincos_test): Likewise.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16558 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16559
165602013-04-11 Andreas Schwab <schwab@suse.de>
16561
16562 [BZ #13988]
16563 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16564 accept exponent character only when digits were seen.
16565 * stdio-common/Makefile (tests): Add bug26.
16566 * stdio-common/bug26.c: New file.
16567
16568 [BZ #14293]
16569 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16570 non-freeable.
16571
165722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16573
16574 * Makeconfig (rtld-prefix): Define built linker prefix.
16575 * Rules (run-bench): Use it.
16576 * math/Makefile (run-regen-ulps): Likewise.
16577
16578 * Rules (bench): Remove eval.
16579
165802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16581 Roland McGrath <roland@hack.frob.com>
16582 Ondrej Bilka <neleai@seznam.cz>
16583
16584 [BZ #15346]
16585 * time/getdate.c: Include ctype.h and alloca.h.
16586 (__getdate_r): Trim leading and trailing spaces of input.
16587 * time/tst-getdate.c (tests): Add tests with leading and
16588 trailing spaces.
16589
165902013-04-08 Roland McGrath <roland@hack.frob.com>
16591
16592 [BZ #14280]
16593 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16594 when computing value.
16595
165962013-04-06 Carlos O'Donell <carlos@redhat.com>
16597
16598 * math/README.libm-test (How can I generate "libm-test-ulps"?):
16599 Use testrun.sh to run libm tests.
16600
16601 [BZ #15309]
16602 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16603
166042013-04-06 Marko Myllynen <myllynen@redhat.com>
16605
16606 [BZ #15264]
16607 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16608
166092013-04-06 Carlos O'Donell <carlos@redhat.com>
16610
16611 * Makefile.in (regen-ulps): New target.
16612 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16613 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16614 [ifneq (no,$(PERL)] (regen-ulps): New target.
16615 [ifeq (no,$(PERL)] (regen-ulps): New target.
16616 * math/libm-test.inc (ulps_file_name): Define.
16617 (output_dir): New variable.
16618 (options): Add "output-dir" option.
16619 (parse_opt): Handle 'o' case.
16620 (main): If output_dir is non-NULL use it as a prefix
16621 otherwise use "".
16622 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16623
166242013-04-06 Carlos O'Donell <carlos@redhat.com>
16625
16626 [BZ #10060, #10062]
16627 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16628 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16629 fail configure if __sync_val_compare_and_swap is not inlined.
16630 * sysdeps/i386/configure: Regenerate.
16631 * configure.in: Build for i686 when configured for i386.
16632 * configure: Regenerate.
16633 * README: Remove i386 reference.
16634
166352013-04-06 Carlos O'Donell <carlos@redhat.com>
16636
16637 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16639
166402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16641
16642 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16643 (lmsnanval): New variables.
16644 (F): Add conversion tests.
16645 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16646 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16647
16648 * stdio-common/tstdiomisc.c (F): Properly collect individual
16649 tests' results.
16650
16651 [BZ #14686, #15336]
16652 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16653 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16654 Instead, use input NaN values or generate a qNaN by arithmetic
16655 operation. Also fix bugs to comply with the standard.
16656 * math/libm-test.inc (remainder_test): Add more tests.
16657
16658 [BZ #15335, #15342]
16659 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16661 input NaN values or generate a qNaN by arithmetic operation.
16662
16663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16664 unreachable code.
16665
16666 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16667 definitions.
16668
166692013-04-03 Joseph Myers <joseph@codesourcery.com>
16670
16671 [BZ #14478]
16672 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16673 underflowed result.
16674 * math/s_cexpf.c (__cexpf): Likewise.
16675 * math/s_cexpl.c (__cexpl): Likewise.
16676 * math/libm-test.inc (cexp_test): Add more tests.
16677
166782013-04-03 Andreas Schwab <schwab@suse.de>
16679
16680 [BZ #15330]
16681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16682 order arrays from heap if bigger than alloca cutoff.
16683
166842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16685
16686 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16687 (SNAN_TESTS_double): Refer to GCC PR56831.
16688 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16689 GCC PR56828.
16690
166912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16692
16693 * Rules (bench): Move bench.out after the run is complete.
16694
16695 * Rules (bench): Echo currently running benchmark.
16696
16697 * benchtests/Makefile (bench): Add atan and slowatan.
16698 * benchtests/atan-inputs: New file.
16699 * benchtests/slowatan-inputs: New file.
16700 * benchtests/slowatan.c: New file.
16701
16702 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16704 its value.
16705
16706 [BZ #15305]
16707 * sysdeps/unix/sysv/linux/kernel-features.h
16708 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16709 __ASSUME_XFS_RESTRICTED_CHOWN.
16710 * sysdeps/unix/sysv/linux/pathconf.c
16711 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16712 Save and restore errno.
16713
167142013-04-02 Joseph Myers <joseph@codesourcery.com>
16715
16716 [BZ #15327]
16717 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16718 arguments using __kernel_casinh.
16719 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16720 arguments using __kernel_casinhf.
16721 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16722 arguments using __kernel_casinhl.
16723 * math/libm-test.inc (cacosh_test): Add more tests.
16724 * sysdeps/i386/fpu/libm-test-ulps: Update.
16725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16726
167272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16728
16729 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16731
16732 * bench/Makefile (bench): Add sin and slowsin.
16733 * benchtests/sin-inputs: New file.
16734 * benchtests/slowsin-inputs: New file.
16735 * benchtests/slowsin.c: New file.
16736
16737 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16738 (bench): Add slowexp and slowpow.
16739 (exp-ITER): Increase iterations.
16740 (pow-ITER): Likewise.
16741 * benchtests/exp-inputs: Change input.
16742 * benchtests/pow-inputs: Likewise.
16743 * benchtests/slowexp-inputs: New file.
16744 * benchtests/slowexp.c: New file.
16745 * benchtests/slowpow-inputs: New file.
16746 * benchtests/slowpow.c: New file.
16747
167482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16749
16750 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16751 instructions.
16752 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16753 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16755 * benchtests/Makefile: Add rint benchtest.
16756 * benchtests/rint-inputs: Input for rint benchtest.
16757
167582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16759
16760 * Versions.def (libm): Add GLIBC_2.18.
16761 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16762 hidden libm prototypes.
16763 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16764 * math/Makefile (libm-calls): Add s_issignaling.
16765 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16766 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16767 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16768 declaration.
16769 * math/math.h [__USE_GNU] (issignaling): New macro.
16770 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16771 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16772 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16776 * manual/arith.texi (issignaling): New section.
16777 * manual/libm-err-tab.pl (@all_functions): Update comment.
16778 * math/gen-libm-test.pl (parse_args): Apply special handling for
16779 issignaling.
16780 * math/libm-test.inc (print_float, issignaling_test): New
16781 functions.
16782 (check_float_internal): Add issignaling checks.
16783 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16784 default definition.
16785 * sysdeps/powerpc/math-tests.h: New file.
16786 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16787 tests.
16788 * math/test-snan.c (TEST_FUNC): Likewise.
16789
167902013-03-30 David S. Miller <davem@davemloft.net>
16791
16792 * po/de.po: Update from translation team.
16793
167942013-03-30 Joseph Myers <joseph@codesourcery.com>
16795
16796 [BZ #10357]
16797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16798 imaginary part less than 1.0 and real part less than 0.5
16799 specially.
16800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16802 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16803 (cacos_test): Add more tests.
16804 (casin_test): Likewise.
16805 (casinh_test): Likewise.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16808
168092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16810
16811 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16812 ONE with its value.
16813
16814 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16815 (__pow_mp): Replace ONE and MONE with their values.
16816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16819 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16822
16823 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16824
16825 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16826 (__pow_mp): Replace ZERO and MZERO with their values.
16827 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16829 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16831 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16832 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16833 (__sqr): Likewise.
16834
16835 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16836
16837 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16838
168392013-03-28 Roland McGrath <roland@hack.frob.com>
16840
16841 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16842 Declare with __attribute__ ((weak)).
16843 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16844 Call __call_tls_dtors only if it's not NULL.
16845
168462013-03-28 Roland McGrath <roland@hack.frob.com>
16847
16848 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16849 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16850 magic __ehdr_start linker symbol if it's defined.
16851 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16852 them up here if it was already done.
16853
16854 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16855 (_dl_aux_init): Use const in cast when setting it.
16856 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16857 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16858 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16859
16860 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16861 Declare them here.
16862 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16863 * csu/libc-tls.c: Nor here.
16864 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16865
16866 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16867 (__libc_message): Never call vsyslog.
16868
168692013-03-28 Alan Modra <amodra@gmail.com>
16870
16871 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16872 Define as empty.
16873 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16874 Likewise.
16875
168762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16877
16878 [BZ #15214]
16879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16880 underflow.
16881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16882
168832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16884
16885 [BZ #15304]
16886 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16887 Don't add gid passed as argument.
16888
16889 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16890
168912013-03-27 Joseph Myers <joseph@codesourcery.com>
16892
16893 [BZ #15307]
16894 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16895 imaginary part between 1.0 and 1.5 and real part less than 0.5
16896 specially.
16897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16899 * math/libm-test.inc (cacos_test): Add more tests.
16900 (casin_test): Likewise.
16901 (casinh_test): Likewise.
16902 * sysdeps/i386/fpu/libm-test-ulps: Update.
16903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16904
169052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16906
16907 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16908 constants.
16909 (norm): Likewise.
16910 (denorm): Likewise.
16911 (__dbl_mp): Likewise.
16912 (add_magnitudes): Likewise.
16913 (sub_magnitudes): Likewise.
16914 (__add): Likewise.
16915 (__sub): Likewise.
16916 (__mul): Likewise.
16917 (__sqr): Likewise.
16918 (__inv): Likewise.
16919 (__dvd): Likewise.
16920
16921 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16922 commented code.
16923 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16924 (__dubcos): Likewise.
16925 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16926 (__ieee754_acos): Likewise.
16927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16929 (__exp1): Likewise.
16930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16932 (log1): Likewise.
16933 (my_log2): Likewise.
16934 (checkint): Likewise.
16935 * sysdeps/ieee754/dbl-64/e_remainder.c
16936 (__ieee754_remainder): Likewise.
16937 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16939 (bsloww): Likewise.
16940 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16941
16942 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16944 MANTISSA_STORE_T to store computations on mantissa. Use
16945 macros for rounding and division.
16946 (denorm): Likewise.
16947 (__dbl_mp): Likewise.
16948 (add_magnitudes): Likewise.
16949 (sub_magnitudes): Likewise.
16950 (__mul): Likewise.
16951 (__sqr): Likewise.
16952 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16953 powers of two in terms of TWOPOW macro.
16954 (mp_no): Make type of mantissa as MANTISSA_T.
16955 [!RADIXI]: Define RADIXI.
16956 [!TWO52]: Define TWO52.
16957 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16958
169592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16960
16961 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16962 llroundl symbol when building for PPC32.
16963
169642013-03-24 Mark H Weaver <mhw@netris.org>
16965
16966 * manual/arith.texi (Normalization Functions): Fix prototypes for
16967 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16968
169692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16970
16971 [BZ #13889]
16972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16973 high value to check if expl overflow.
16974 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16975 to check for underflow and overflow.
16976 * math/libm-test.inc: Add exp test.
16977
169782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16979
16980 [BZ #11120]
16981 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16982 with NOT_IN_libc.
16983
169842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985
16986 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16987 symbol.
16988
169892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16990
16991 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16992 wrap blocks consisting of several statements.
16993
16994 * sysdeps/generic/math-tests.h: New file.
16995 * sysdeps/i386/fpu/math-tests.h: Likewise.
16996 * math/test-snan.c: Include it.
16997 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16998
169992013-03-21 Joseph Myers <joseph@codesourcery.com>
17000
17001 [BZ #15285]
17002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17003 (__ieee754_j0l): Do not improve calculations using cos of twice
17004 input for inputs above LDBL_MAX / 2.0L.
17005 (__ieee754_y0l): Likewise.
17006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17007 (__ieee754_j1l): Do not improve calculations using cos of twice
17008 input for inputs above LDBL_MAX / 2.0L.
17009 (__ieee754_y1l): Likewise.
17010 * math/libm-test.inc (j0_test): Add another test.
17011 (j1_test): Likewise.
17012 (y0_test): Likewise.
17013 (y1_test): Likewise.
17014 * sysdeps/i386/fpu/libm-test-ulps: Update.
17015
170162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17017
17018 * Rules ($(objpfx)bench-%.c): Include code from a C source
17019 file.
17020
170212013-03-21 Joseph Myers <joseph@codesourcery.com>
17022
17023 [BZ #15287]
17024 * math/k_casinh.c (__kernel_casinh): Handle arguments with
17025 imaginary part 1.0 and real part less than 0.5 specially.
17026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17028 * math/libm-test.inc (cacos_test): Add more tests.
17029 (casin_test): Likewise.
17030 (casinh_test): Likewise.
17031 * sysdeps/i386/fpu/libm-test-ulps: Update.
17032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17033
170342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17035
17036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17037 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17038
170392013-03-20 Joseph Myers <joseph@codesourcery.com>
17040
17041 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17042 * config.make.in (config-cflags-sse4): Remove variable.
17043 (config-cflags-avx): Likewise.
17044 (config-cflags-sse2avx): Likewise.
17045 (config-cflags-novzeroupper): Likewise.
17046 (config-asflags-i686): Likewise.
17047 (have-mfma4): Likewise.
17048 (have-as-vis3): Likewise.
17049 (MIG): Likewise.
17050 * configure.in (MIG): Do not AC_SUBST.
17051 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17052 (libc_cv_cc_sse4): Do not AC_SUBST.
17053 (libc_cv_cc_avx): Likewise.
17054 (libc_cv_cc_sse2avx): Likewise.
17055 (libc_cv_cc_novzeroupper): Likewise.
17056 (libc_cv_cc_fma4): Likewise.
17057 (libc_cv_as_i686): Likewise.
17058 (libc_cv_sparc_as_vis3): Likewise.
17059 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17060 LIBC_CONFIG_VAR.
17061 (config-asflags-i686): Likewise.
17062 (config-cflags-avx): Likewise.
17063 (config-cflags-sse2avx): Likewise.
17064 (have-mfma4): Likewise.
17065 (config-cflags-novzeroupper): Likewise.
17066 * sysdeps/mach/configure.in (MIG): Likewise.
17067 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17068 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17069 LIBC_CONFIG_VAR.
17070 (config-cflags-avx): Likewise.
17071 (config-cflags-sse2avx): Likewise.
17072 (have-mfma4): Likewise.
17073 (config-cflags-novzeroupper): Likewise.
17074 * configure: Regenerated.
17075 * sysdeps/i386/configure: Likewise.
17076 * sysdeps/mach/configure: Likewise.
17077 * sysdeps/sparc/configure: Likewise.
17078 * sysdeps/x86_64/configure: Likewise.
17079
170802013-03-20 Roland McGrath <roland@hack.frob.com>
17081
17082 [BZ #14812]
17083 * locale/programs/localedef.c (options): Put N_ translation marker
17084 on argument names, not just descriptions.
17085
170862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17087
17088 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17089
170902013-03-20 Ondřej Bílka <neleai@seznam.cz>
17091
17092 [BZ #14176]
17093 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17094
170952013-03-19 Roland McGrath <roland@hack.frob.com>
17096
17097 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17098 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17099 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17100 [!BEFORE_ABORT] (before_abort): New function.
17101 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17102 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17103 (writev_for_fatal): New function.
17104 (WRITEV_FOR_FATAL): New macro; call that.
17105 (backtrace_and_maps): New function.
17106 (BEFORE_ABORT): New macro; call that.
17107 (struct str_list): Type removed.
17108 (__libc_message, __libc_fatal): Functions removed.
17109 Include <sysdeps/posix/libc_fatal.c> instead.
17110
171112013-03-19 Joseph Myers <joseph@codesourcery.com>
17112
17113 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17114 constants.
17115 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17116 double constants.
17117
171182013-03-19 Andreas Schwab <schwab@suse.de>
17119
17120 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17121 * sysdeps/gnu/configure: Regenerate.
17122
17123 * configure.in: Substitute libc_cv_rtlddir.
17124 * configure: Regenerate.
17125 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17126 * Makeconfig (rtlddir, inst_rtlddir): New variables.
17127 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17128 * elf/Makefile (install-others, CFLAGS-interp.c)
17129 (ldso_install, common-ldd-rewrite): Likewise.
17130 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17131 $(inst_slibdir)/$(rtld-installed-name).
17132 * scripts/rellns-sh: Add -p option.
17133 * Makerules (make-shlib-link): Use rellns-sh to get relative name
17134 for source.
17135
171362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17137
17138 * manual/nptl.texi: Renamed to ...
17139 * manual/threads.texi: ... this.
17140 * manual/Makefile (chapters): Update.
17141
171422013-03-18 Roland McGrath <roland@hack.frob.com>
17143
17144 [BZ #14812]
17145 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17146 on argument names, not just descriptions.
17147 * malloc/memusagestat.c (options): Likewise.
17148 * nss/getent.c (options): Likewise.
17149
171502013-03-18 Benno Schulenberg <bensberg@justemail.net>
17151
17152 [BZ #14812]
17153 * iconv/iconv_prog.c (options): Put N_ translation marker
17154 on argument names, not just descriptions.
17155 * iconv/iconvconfig.c (options): Likewise.
17156
171572013-03-18 Ondrej Bilka <neleai@seznam.cz>
17158
17159 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17160 implementation which is faster on all x86_64 architectures.
17161 Tested on AMD, Intel Nehalem, SNB, IVB.
17162 * sysdeps/x86_64/strnlen.S: Likewise.
17163
17164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17165 Remove all multiarch strlen and strnlen versions.
17166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17167 Remove strlen and strnlen related parts.
17168
17169 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17170 Inline strlen part.
17171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17172
17173 * sysdeps/x86_64/multiarch/strlen.S: Remove.
17174 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17176 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17177 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17178 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17179
171802013-03-17 Carlos O'Donell <carlos@redhat.com>
17181
17182 * manual/memory.texi (Malloc Tunable Parameters):
17183 Sort parameters alphabetically. Add comments for missing entries.
17184
171852013-03-17 David S. Miller <davem@davemloft.net>
17186
17187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17188
171892013-03-16 Joseph Myers <joseph@codesourcery.com>
17190
17191 [BZ #15283]
17192 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17193 for arguments at most half maximum finite value.
17194 * math/libm-test.inc (j0_test): Add more tests.
17195 (j1_test): Likewise.
17196 (y0_test): Likewise.
17197 (y1_test): Likewise.
17198 * sysdeps/i386/fpu/libm-test-ulps: Update.
17199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17200
17201 [BZ #14155]
17202 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17203 1 / x and functions P and Q for arguments above 0x1p256L.
17204 (__ieee754_y0l): Likewise.
17205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17206 (__ieee754_y1l): Likewise.
17207 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17208 (j1_test): Likewise.
17209 (y0_test): Likewise.
17210 (y1_test): Likewise.
17211
172122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
17213
17214 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17215 variable.
17216
172172013-03-15 Roland McGrath <roland@hack.frob.com>
17218
17219 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17220 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17221 zero since it's initialized to EXEC_PAGESIZE.
17222
17223 * sysdeps/unix/sysv/linux/ldsodefs.h
17224 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17225 * sysdeps/generic/ldsodefs.h: ... here.
17226
172272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
17228
17229 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17230
17231 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17232 math/test-snan.c.
17233 * math/test-snan.c: Renamed from
17234 sysdeps/powerpc/fpu/test-powerpc-snan.c.
17235 * math/Makefile (tests): Add test-snan.
17236 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17237 test-powerpc-snan.
17238
17239 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17240 SUFFIX. Initialize qNaN_var with __builtin_nan family of
17241 functions.
17242 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
17243 __builtin_nan family of functions.
17244 * math/libm-test.inc (initialize): Initialize qnan_value with
17245 __builtin_nan family of functions.
17246 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17247 Remove variables.
17248 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17249 Remove functions.
17250 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
17251 storage class. Initialize qNaN_var and sNaN_var with
17252 __builtin_nan and __builtin_nans families of functions,
17253 respectively.
17254
17255 * math/libm-test.inc (acosh_test): Also test with qNaN input.
17256 (sqrt_test): Remove duplicate test with qNaN input.
17257 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17258 (round_test, signbit_test, significand_test): Note missing +/-Inf
17259 as well as qNaN tests.
17260
17261 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17262 qNaN_var. Fix a few strings, too.
17263 * math/libm-test.inc (nan_value): Rename to qnan_value.
17264 * math/gen-libm-test.pl (%beautify): Adjust to that.
17265 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17266 * math/test-misc.c (main): Likewise.
17267 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17268 to __qnan_bytes, and __qnan_union, respectively.
17269 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17270 Likewise.
17271 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17272 and lqnanval, respectively.
17273 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17274 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17275 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17276 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17277
17278 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17279 * math/test-misc.c (main) [__x86_64__]: Enable test for long
17280 doubles.
17281
17282 * math/test-misc.c (main): Fix copy'n'pastos.
17283 * misc/tst-efgcvt.c (special): Likewise.
17284
17285 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17286 Remove declarations.
17287
172882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17289
17290 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17291 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17292 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17294
172952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17296
17297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17298 macro to return vdso values correctly in IFUNC implementations.
17299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17300 Optimization by using IFUNC.
17301
173022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17303 Richard Henderson <rth@redhat.com>
17304 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17305
17306 * Makefile.in (bench): New target.
17307 * NEWS: Mention the benchmark framework.
17308 * Rules (bench): Likewise.
17309 (binaries-bench): Generate binaries for functions to
17310 benchmark.
17311 * benchtests/Makefile: New makefile for benchmark tests.
17312 * benchtests/bench-skeleton.c: New skeleton file for benchmark
17313 programs.
17314 * benchtests/exp-inputs: New input file for EXP function.
17315 * benchtests/pow-inputs: New input file for POW function.
17316 * scripts/bench.pl: New script to generate source files for
17317 benchmark programs.
17318
173192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17320
17321 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17323 computations on mantissa. Use macros for rounding and
17324 division.
17325 (denorm): Likewise.
17326 (__dbl_mp): Likewise.
17327 (add_magnitudes): Likewise.
17328 (sub_magnitudes): Likewise.
17329 (__mul): Likewise.
17330 (__sqr): Likewise.
17331 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
17332 powers of two in terms of TWOPOW macro.
17333 (mp_no): Make type of mantissa as MANTISSA_T.
17334 [!RADIXI]: Define RADIXI.
17335 [!TWO52]: Define TWO52.
17336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17337
17338 * manual/nptl.texi (cindex): Modify threads to pthreads.
17339
173402013-03-15 Joseph Myers <joseph@codesourcery.com>
17341
17342 * sysdeps/x86_64/preconfigure: Regenerated.
17343
173442013-03-14 Joseph Myers <joseph@codesourcery.com>
17345
17346 [BZ #14155]
17347 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17348 0x1p28 and above.
17349 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17350 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17351 0x1p28 and above.
17352 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17353 * math/libm-test.inc (j0_test): Do not allow one spurious
17354 underflow exception.
17355 (y1_test): Likewise.
17356
173572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17358
17359 * manual/Makefile (chapters): Add nptl.
17360 * manual/debug.texi (Debugging Support): Add link to Threads
17361 chapter.
17362 * manual/nptl.texi: New file.
17363
17364 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17365
173662013-03-14 Petr Baudis <pasky@ucw.cz>
17367
17368 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17369 for non-NULL pointer before the memory validity test. Pointed
17370 out by Holger Brunck <holger.brunck@keymile.com>.
17371
173722013-03-13 Andreas Schwab <schwab@suse.de>
17373
17374 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17375 instead of .os.
17376
173772013-03-13 Joseph Myers <joseph@codesourcery.com>
17378
17379 * timezone/zic.c: Update from tzcode 2013b.
17380
173812013-03-12 Carlos O'Donell <carlos@redhat.com>
17382
17383 * manual/install.texi (Configuring and compiling):
17384 Mention i686 and i586.
17385 * INSTALL: Regenerate.
17386
173872013-03-12 Roland McGrath <roland@hack.frob.com>
17388
17389 * sysdeps/init_array/elf-init.c: New file.
17390 * csu/elf-init.c
17391 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17392 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17393
17394 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17395 __gmon_start__ as global, but as static with a .preinit_array pointer.
17396 * sysdeps/init_array/gmon-start.c: New file. Use that.
17397 * sysdeps/init_array/crti.S: New file, empty except for comments.
17398 * sysdeps/init_array/crtn.S: Likewise.
17399
174002013-03-11 Ondřej Bílka <neleai@seznam.cz>
17401
17402 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17403 definining bcopy.
17404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17405 Remove Prefer_SSE_for_memop.
17406 * sysdeps/x86_64/multiarch/init-arch.h: Remove
17407 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17408 HAS_PREFER_SSE_FOR_MEMOP.
17409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17410 memset-x86-64.
17411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17412 Remove bzero, memset ifunc support.
17413 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17414 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17417
174182013-03-11 Andreas Schwab <schwab@suse.de>
17419
17420 [BZ #15234]
17421 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17422 by SHLIB_COMPAT.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17424 (GLIBC_2.16): Remove pthread_atfork.
17425
174262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17427
17428 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17429 (ptestcases.h): Likewise.
17430
174312013-03-08 Roland McGrath <roland@hack.frob.com>
17432
17433 * Makeconfig ($(common-objpfx)config.status): Depend on
17434 sysdeps/*/preconfigure{,.in} too.
17435
174362013-03-08 Joseph Myers <joseph@codesourcery.com>
17437
17438 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17439 (__free_hook): Use void * instead of __malloc_ptr_t.
17440 (__malloc_hook): Likewise.
17441 (__realloc_hook): Likewise.
17442 (__memalign_hook): Likewise.
17443 (__after_morecore_hook): Likewise.
17444 * malloc/arena.c (save_malloc_hook): Likewise.
17445 (save_free_hook): Likewise.
17446 * malloc/hooks.c (malloc_hook_ini): Likewise.
17447 (realloc_hook_ini): Likewise.
17448 (memalign_hook_ini): Likewise.
17449 * malloc/malloc.c (malloc_hook_ini): Likewise.
17450 (realloc_hook_ini): Likewise.
17451 (memalign_hook_ini): Likewise.
17452 (__free_hook): Likewise.
17453 (__malloc_hook): Likewise.
17454 (__realloc_hook): Likewise.
17455 (__memalign_hook): Likewise.
17456 (__libc_malloc): Likewise.
17457 (__libc_free): Likewise.
17458 (__libc_realloc): Likewise.
17459 (__libc_memalign): Likewise.
17460 (__libc_valloc): Likewise.
17461 (__libc_pvalloc): Likewise.
17462 (__libc_calloc): Likewise.
17463 (__posix_memalign): Likewise.
17464 * malloc/morecore.c (__sbrk): Likewise.
17465 (__default_morecore): Likewise.
17466
17467 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17468
17469 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17470 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17471 __malloc_ptrdiff_t.
17472
17473 * malloc/malloc.h (__malloc_size_t): Remove macro.
17474 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17475 __malloc_size_t.
17476 (old_memalign_hook): Likewise.
17477 (old_realloc_hook): Likewise.
17478 (struct hdr): Likewise.
17479 (flood): Likewise.
17480 (mallochook): Likewise.
17481 (memalignhook): Likewise.
17482 (reallochook): Likewise.
17483 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17484 (tr_old_realloc_hook): Likewise.
17485 (tr_old_memalign_hook): Likewise.
17486 (tr_mallochook): Likewise.
17487 (tr_reallochook): Likewise.
17488 (tr_memalignhook): Likewise.
17489
174902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491
17492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17493 default_ldbl_pack and using as default implementation.
17494 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17495 implementation.
17496 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17497 redundant definition.
17498 (ldbl_insert_mantissa): Likewise.
17499 (ldbl_canonicalize): Likewise.
17500 (ldbl_nearbyint): Likewise.
17501 (ldbl_pack): Rename to ldbl_pack_ppc.
17502 (ldbl_unpack): Rename to ldbl_unpack_ppc.
17503 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17504 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17505
175062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17507
17508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17509 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17511 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17514 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17515 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17516
175172013-03-07 Andreas Jaeger <aj@suse.de>
17518
17519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17520 bits/mman-linux.h.
17521
175222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17523
17524 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17525 Include mpa.h and declare __MPEXP.
17526 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17528 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17531 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17532 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17533
17534 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17535 (__slowpow): Use long double EXPL and LOGL functions to
17536 compute POW.
17537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17538 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17541 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17543
17544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17545 intermediate variable to calculate exponent.
17546 (__sqr): Likewise.
17547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17548 Likewise.
17549 (__sqr): Likewise.
17550
17551 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17552 [!NO__SQR]: Define __sqr.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17554 and NO__SQR. Remove all code except __mul and __sqr. Include
17555 sysdeps/ieee754/dbl-64/mpa.c.
17556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17557
17558 [BZ #12723]
17559 * posix/Makefile (tests): Add tst-pathconf.
17560 * posix/tst-pathconf.c: New test case.
17561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17562 _PC_PIPE_BUF.
17563 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17564
175652013-03-06 Patsy Franklin <pfrankli@redhat.com>
17566
17567 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17568
175692013-03-06 Andreas Jaeger <aj@suse.de>
17570
17571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17572 definition via __MAP_ANONYMOUS.
17573
17574 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17575 it's not part of Linux headers.
17576
17577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17578 (MAP_HUGE_MASK): Define.
17579
17580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17581 Define.
17582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17584 Define.
17585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17586 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17587 Define.
17588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17590 Define.
17591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17592
17593 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17594 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17595 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17596 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17597 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17598 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17599
17600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17601 Handle f2fs.
17602
17603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17604 Handle f2fs and efivarfs.
17605
17606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17607 f2fs.
17608
17609 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17610 (EFIVARFS_MAGIC): Add.
17611 (F2FS_LINK_MAX): Add.
17612
176132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17614
17615 * stdio-common/vfprintf.c: Replace __builtin_expect with
17616 __glibc_unlikely.
17617
176182013-03-06 Joseph Myers <joseph@codesourcery.com>
17619
17620 [BZ #13550]
17621 * sysdeps/generic/bp-sym.h: Remove file.
17622 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17623 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17624 <bp-sym.h> and <bp-asm.h>.
17625 (__longjmp): Don't use BP_SYM.
17626 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17627 and <bp-asm.h>.
17628 (memcpy): Don't use BP_SYM.
17629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17630 <bp-sym.h> and <bp-asm.h>.
17631 (memcpy): Don't use BP_SYM.
17632 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17633 <bp-asm.h>.
17634 (memcpy): Don't use BP_SYM.
17635 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17636 <bp-asm.h>.
17637 (memset): Don't use BP_SYM.
17638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17640 (__bzero): Don't use BP_SYM.
17641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17644 <bp-sym.h> and <bp-asm.h>.
17645 (memcmp): Don't use BP_SYM. Remove comment about bounded
17646 pointers.
17647 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17648 <bp-sym.h> and <bp-asm.h>.
17649 (memcpy): Don't use BP_SYM.
17650 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17651 <bp-sym.h> and <bp-asm.h>.
17652 (memset): Don't use BP_SYM.
17653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17655 (__bzero): Don't use BP_SYM.
17656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17659 <bp-sym.h> and <bp-asm.h>.
17660 (strncmp): Don't use BP_SYM. Remove comment about bounded
17661 pointers.
17662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17663 <bp-sym.h> and <bp-asm.h>.
17664 (memcpy): Don't use BP_SYM.
17665 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17666 <bp-sym.h> and <bp-asm.h>.
17667 (memset): Don't use BP_SYM.
17668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17670 (__bzero): Don't use BP_SYM.
17671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17674 <bp-sym.h> and <bp-asm.h>.
17675 (__memchr): Don't use BP_SYM.
17676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17677 <bp-sym.h> and <bp-asm.h>.
17678 (memcmp): Don't use BP_SYM. Remove comment about bounded
17679 pointers.
17680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17681 <bp-sym.h> and <bp-asm.h>.
17682 (memcpy): Don't use BP_SYM.
17683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17684 <bp-sym.h> and <bp-asm.h>.
17685 (__mempcpy): Don't use BP_SYM.
17686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17687 <bp-sym.h> and <bp-asm.h>.
17688 (__memrchr): Don't use BP_SYM.
17689 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17690 <bp-sym.h> and <bp-asm.h>.
17691 (memset): Don't use BP_SYM.
17692 (__bzero): Likewise.
17693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17694 <bp-sym.h> and <bp-asm.h>.
17695 (__rawmemchr): Don't use BP_SYM.
17696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17697 <bp-sym.h> and <bp-asm.h>.
17698 (__STRCMP): Don't use BP_SYM.
17699 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17700 <bp-sym.h> and <bp-asm.h>.
17701 (strchr): Don't use BP_SYM.
17702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17703 <bp-sym.h> and <bp-asm.h>.
17704 (__strchrnul): Don't use BP_SYM.
17705 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17706 <bp-sym.h> and <bp-asm.h>.
17707 (strlen): Don't use BP_SYM.
17708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17709 <bp-sym.h> and <bp-asm.h>.
17710 (strncmp): Don't use BP_SYM. Remove comment about bounded
17711 pointers.
17712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17713 <bp-sym.h> and <bp-asm.h>.
17714 (__strnlen): Don't use BP_SYM.
17715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17716 <bp-sym.h> and <bp-asm.h>.
17717 (__GI__setjmp): Don't use BP_SYM.
17718 (_setjmp): Likewise.
17719 (__sigsetjmp): Likewise.
17720 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17721 (L(start_addresses)): Don't use BP_SYM.
17722 (_start): Likewise.
17723 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17724 <bp-asm.h>.
17725 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17726 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17729 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17730 <bp-asm.h>.
17731 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17732 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17733 about bounded pointers.
17734 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17735 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17736 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17737 <bp-asm.h>.
17738 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17739 about bounded pointers. Remove GKM FIXME comments.
17740 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17741 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17742 <bp-asm.h>.
17743 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17744 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17745 Remove GKM FIXME comments.
17746 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17747 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17748 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17749 <bp-asm.h>.
17750 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17751 about bounded pointers. Remove GKM FIXME comment.
17752 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17753 and <bp-asm.h>.
17754 (strncmp): Don't use BP_SYM. Remove comment about bounded
17755 pointers.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17757 <bp-sym.h> and <bp-asm.h>.
17758 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17760 <bp-sym.h> and <bp-asm.h>.
17761 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17762 comment.
17763
177642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17765
17766 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17767 call free(NULL).
17768
177692013-03-05 David S. Miller <davem@davemloft.net>
17770
17771 * po/es.po: Update from translation team.
17772
177732013-03-05 Andreas Jaeger <aj@suse.de>
17774
17775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17776 <bits/mman-linux.h>.
17777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17778 is fine.
17779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17780 <bits/mman-linux.h> to end of file.
17781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17782 is fine.
17783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17784 <bits/mman-linux.h> to end of file.
17785 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17786 is fine.
17787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17788 <bits/mman-linux.h> to end of file.
17789
17790 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17791 (MCL_CURRENT, MCL_FUTURE): Define here.
17792
177932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17794
17795 [BZ #15232]
17796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17797 attribute_hidden.
17798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17799
178002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17801
17802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17803 fourth parameter needed for rt_sigprocmask syscall.
17804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17806 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17807 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17809 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17810
178112013-03-04 Joseph Myers <joseph@codesourcery.com>
17812
17813 [BZ #13550]
17814 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17815 comment about bounded pointers.
17816 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17817 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17818
178192013-03-04 Andreas Jaeger <aj@suse.de>
17820
17821 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17822 common definitions.
17823
17824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17825 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17830
178312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17832
17833 [BZ #15055]
17834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17835 __ieee754_sqrl instead of __sqrl.
17836
178372013-03-01 Joseph Myers <joseph@codesourcery.com>
17838
17839 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17840 * sysdeps/powerpc/fpu_control.h: ... here.
17841 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17842 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17843 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17844 * sysdeps/powerpc/bits/mathinline.h: ... here.
17845
178462013-03-01 Roland McGrath <roland@hack.frob.com>
17847
17848 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17849 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17850 to just [NEED_DL_SYSINFO_DSO].
17851 * elf/dl-support.c: Likewise.
17852 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17853 * elf/rtld.c (dl_main): Likewise.
17854 * elf/setup-vdso.h (setup_vdso): Likewise.
17855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17856 * sysdeps/unix/sysv/linux/dl-sysdep.c
17857 (_dl_discover_osversion): Likewise.
17858
178592013-03-01 Carlos O'Donell <carlos@redhat.com>
17860
17861 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17862 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17863
178642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17865
17866 * NEWS: Mention libm performance improvements and non-x86 PI
17867 futex support.
17868
17869 * csu/libc-start.c (__pthread_initialize_minimal): Change
17870 function arguments.
17871 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17872
178732013-02-28 Joseph Myers <joseph@codesourcery.com>
17874
17875 [BZ #13550]
17876 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17878 <bp-sym.h> and <bp-asm.h>.
17879 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17881 and <bp-asm.h>.
17882 (memcpy): Don't use BP_SYM.
17883 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17884 <bp-asm.h>.
17885 (__mpn_add_n): Don't use BP_SYM.
17886 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17887 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17888 and <bp-asm.h>.
17889 (__mpn_addmul_1): Don't use BP_SYM.
17890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17891 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17892 <bp-sym.h>.
17893 (_setjmp): Don't use BP_SYM.
17894 (__novmx_setjmp): Likewise.
17895 (__GI__setjmp): Likewise.
17896 (__vmx_setjmp): Likewise.
17897 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17898 <bp-sym.h>.
17899 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17900 (__bzero): Don't use BP_SYM.
17901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17904 <bp-sym.h> and <bp-asm.h>.
17905 (memcpy): Don't use BP_SYM.
17906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17907 <bp-sym.h> and <bp-asm.h>.
17908 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17910 <bp-sym.h> and <bp-asm.h>.
17911 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17912 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17913 <bp-asm.h>.
17914 (__mpn_lshift): Don't use BP_SYM.
17915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17916 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17917 <bp-asm.h>.
17918 (memset): Don't use BP_SYM.
17919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17921 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17922 <bp-asm.h>.
17923 (__mpn_mul_1): Don't use BP_SYM.
17924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17926 <bp-sym.h> and <bp-asm.h>.
17927 (memcmp): Don't use BP_SYM.
17928 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17929 <bp-sym.h> and <bp-asm.h>.
17930 (memcpy): Don't use BP_SYM.
17931 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17932 <bp-sym.h> and <bp-asm.h>.
17933 (memset): Don't use BP_SYM.
17934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17935 <bp-sym.h> and <bp-asm.h>.
17936 (strncmp): Don't use BP_SYM.
17937 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17938 <bp-sym.h> and <bp-asm.h>.
17939 (memcpy): Don't use BP_SYM.
17940 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17941 <bp-sym.h> and <bp-asm.h>.
17942 (memset): Don't use BP_SYM.
17943 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17944 <bp-sym.h> and <bp-asm.h>.
17945 (__memchr): Don't use BP_SYM.
17946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17947 <bp-sym.h> and <bp-asm.h>.
17948 (memcmp): Don't use BP_SYM.
17949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17950 <bp-sym.h> and <bp-asm.h>.
17951 (memcpy): Don't use BP_SYM.
17952 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17953 <bp-sym.h> and <bp-asm.h>.
17954 (__mempcpy): Don't use BP_SYM.
17955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17956 <bp-sym.h> and <bp-asm.h>.
17957 (__memrchr): Don't use BP_SYM.
17958 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17959 <bp-sym.h> and <bp-asm.h>.
17960 (memset): Don't use BP_SYM.
17961 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17962 <bp-sym.h> and <bp-asm.h>.
17963 (__rawmemchr): Don't use BP_SYM.
17964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17965 <bp-sym.h> and <bp-asm.h>.
17966 (__STRCMP): Don't use BP_SYM.
17967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17968 <bp-sym.h> and <bp-asm.h>.
17969 (strchr): Don't use BP_SYM.
17970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17971 <bp-sym.h> and <bp-asm.h>.
17972 (__strchrnul): Don't use BP_SYM.
17973 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17974 <bp-sym.h> and <bp-asm.h>.
17975 (strlen): Don't use BP_SYM.
17976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17977 <bp-sym.h> and <bp-asm.h>.
17978 (strncmp): Don't use BP_SYM.
17979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17980 <bp-sym.h> and <bp-asm.h>.
17981 (__strnlen): Don't use BP_SYM.
17982 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17983 <bp-asm.h>.
17984 (__mpn_rshift): Don't use BP_SYM.
17985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17986 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17987 <bp-sym.h> and <bp-asm.h>.
17988 (__sigsetjmp): Don't use BP_SYM.
17989 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17990 (L(start_addresses)): Don't use BP_SYM.
17991 (_start): Likewise.
17992 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17993 <bp-asm.h>.
17994 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17997 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17998 <bp-asm.h>.
17999 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18000 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18001 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18002 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18003 <bp-asm.h>.
18004 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18005 comments.
18006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18007 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18008 <bp-asm.h>.
18009 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
18010 FIXME comments.
18011 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18012 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18013 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18014 <bp-asm.h>.
18015 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
18016 comment.
18017 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18018 and <bp-asm.h>.
18019 (strncmp): Don't use BP_SYM,
18020 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18021 <bp-asm.h>.
18022 (__mpn_sub_n): Don't use BP_SYM.
18023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18024 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18025 and <bp-asm.h>.
18026 (__mpn_submul_1): Don't use BP_SYM.
18027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18029 <bp-sym.h> and <bp-asm.h>.
18030 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18032 <bp-sym.h> and <bp-asm.h>.
18033 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18034 comment.
18035
180362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18037
18038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18039 Use ZK to minimize writes to Z.
18040 (sub_magnitudes): Simplify code a bit.
18041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18042 Use ZK to minimize writes to Z.
18043 (sub_magnitudes): Simplify code a bit.
18044
180452013-02-27 Roland McGrath <roland@hack.frob.com>
18046
18047 * csu/gmon-start.c: Add special exception to license text.
18048
180492013-02-27 Richard Henderson <rth@redhat.com>
18050
18051 * scripts/config.guess: Update from config.git.
18052 * scripts/config.sub: Likewise.
18053
180542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18055
18056 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18057
18058 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18059
18060 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18061
18062 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18063
18064 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18065
180662013-02-26 Roland McGrath <roland@hack.frob.com>
18067
18068 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18069 [$(build-shared = yes].
18070
180712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18072
18073 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18074 (__mul): Reduce iterations for calculating mantissa.
18075
18076 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18077 MPTWO.
18078 (__mpranred): Likewise.
18079
18080 [BZ #15160]
18081 * malloc/memusagestat.c (main): Draw graphs for heap and stack
18082 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18083
180842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
18085
18086 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18087 Define __attribute__.
18088
180892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18090
18091 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18092 unused.
18093 * posix/regex_internal.h (__attribute): Remove.
18094 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18095 (re_string_context_at): Likewise.
18096 (bitset_not): Use __attribute__ and mark function as possibly
18097 unused.
18098 (bitset_merge): Likewise.
18099 (bitset_mask): Likewise.
18100 (re_string_char_size_at): Likewise.
18101 (re_string_wchar_at): Likewise.
18102 (re_string_elem_size_at): Likewise.
18103
181042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18105
18106 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18107 code.
18108 (cc32): Likewise.
18109
18110 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18111 (__acr): Likewise.
18112 (__cpy): Likewise.
18113 (norm): Likewise.
18114 (denorm): Likewise.
18115 (__dbl_mp): Likewise.
18116 (add_magnitudes): Likewise.
18117 (sub_magnitudes): Likewise.
18118 (__mul): Likewise.
18119 (__inv): Likewise.
18120
18121 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18122 style.
18123
18124 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18125 style.
18126
18127 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18128 code.
18129
18130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18131 up changes with default code.
18132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18133 Likewise.
18134
181352013-02-24 Allan McRae <allan@archlinux.org>
18136
18137 * manual/socket.texi (The Internet Namespace): Order menu items
18138 to match that in the file.
18139
18140 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18141 node listing of the info page menu.
18142
181432013-02-21 Joseph Myers <joseph@codesourcery.com>
18144
18145 [BZ #13550]
18146 * sysdeps/i386/bp-asm.h: Remove file.
18147 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18148 (PARMS): Do not use macros from bp-asm.h.
18149 (S1): Likewise.
18150 (S2): Likewise.
18151 (SIZE): Likewise.
18152 (__mpn_add_n): Do not use BP_SYM
18153 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18154 "bp-asm.h".
18155 (PARMS): Do not use macros from bp-asm.h.
18156 (S1): Likewise.
18157 (SIZE): Likewise.
18158 (__mpn_addmul_1): Do not use BP_SYM
18159 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18160 "bp-asm.h".
18161 (PARMS): Do not use macros from bp-asm.h.
18162 (SIGMSK): Likewise.
18163 (_setjmp): Likewise. Do not use BP_SYM.
18164 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18165 "bp-asm.h".
18166 (PARMS): Do not use macros from bp-asm.h.
18167 (SIGMSK): Likewise.
18168 (setjmp): Likewise. Do not use BP_SYM.
18169 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18170 "bp-asm.h".
18171 (PARMS): Do not use macros from bp-asm.h.
18172 (__frexp): Do not use BP_SYM.
18173 (frexp): Likewise.
18174 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18175 "bp-asm.h".
18176 (PARMS): Do not use macros from bp-asm.h.
18177 (__frexpf): Do not use BP_SYM.
18178 (frexpf): Likewise.
18179 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18180 "bp-asm.h".
18181 (PARMS): Do not use macros from bp-asm.h.
18182 (__frexpl): Do not use BP_SYM.
18183 (frexpl): Likewise.
18184 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18185 "bp-asm.h".
18186 (PARMS): Do not use macros from bp-asm.h.
18187 (__remquo): Do not use BP_SYM.
18188 (remquo): Likewise.
18189 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18190 "bp-asm.h".
18191 (PARMS): Do not use macros from bp-asm.h.
18192 (__remquof): Do not use BP_SYM.
18193 (remquof): Likewise.
18194 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18195 "bp-asm.h".
18196 (PARMS): Do not use macros from bp-asm.h.
18197 (__remquol): Do not use BP_SYM.
18198 (remquol): Likewise.
18199 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18200 "bp-asm.h".
18201 (PARMS): Do not use macros from bp-asm.h.
18202 (DEST): Likewise.
18203 (SRC): Likewise.
18204 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
18205 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18206 "bp-asm.h".
18207 (PARMS): Do not use macros from bp-asm.h.
18208 (strlen): Do not use BP_SYM.
18209 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18210 "bp-asm.h".
18211 (PARMS): Do not use macros from bp-asm.h.
18212 (S1): Likewise.
18213 (S2): Likewise.
18214 (SIZE): Likewise.
18215 (__mpn_add_n): Do not use BP_SYM.
18216 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18217 "bp-asm.h".
18218 (PARMS): Do not use macros from bp-asm.h.
18219 (S1): Likewise.
18220 (SIZE): Likewise.
18221 (__mpn_addmul_1): Do not use BP_SYM.
18222 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18223 weak_alias.
18224 (bzero): Likewise.
18225 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18226 "bp-asm.h".
18227 (PARMS): Do not use macros from bp-asm.h.
18228 (S): Likewise.
18229 (SIZE): Likewise.
18230 (__mpn_lshift): Do not use BP_SYM.
18231 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18232 "bp-asm.h".
18233 (PARMS): Do not use macros from bp-asm.h.
18234 (DEST): Likewise.
18235 (SRC): Likewise.
18236 (LEN): Likewise.
18237 (memcpy): Likewise. Do not use BP_SYM.
18238 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18239 libc_hidden_def and weak_alias.
18240 (mempcpy): Do not use BP_SYM in weak_alias.
18241 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18242 "bp-asm.h".
18243 (PARMS): Do not use macros from bp-asm.h.
18244 (DEST): Likewise.
18245 (LEN): Likewise.
18246 [!BZERO_P] (CHR): Likewise.
18247 (memset): Likewise. Do not use BP_SYM.
18248 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18249 "bp-asm.h".
18250 (PARMS): Do not use macros from bp-asm.h.
18251 (S1): Likewise.
18252 (SIZE): Likewise.
18253 (__mpn_mul_1): Do not use BP_SYM.
18254 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18255 "bp-asm.h".
18256 (PARMS): Do not use macros from bp-asm.h.
18257 (S): Likewise.
18258 (SIZE): Likewise.
18259 (__mpn_rshift): Do not use BP_SYM.
18260 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18261 "bp-asm.h".
18262 (PARMS): Do not use macros from bp-asm.h.
18263 (STR): Likewise.
18264 (CHR): Likewise.
18265 (strchr): Likewise. Do not use BP_SYM.
18266 (index): Do not use BP_SYM in weak_alias.
18267 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18268 "bp-asm.h".
18269 (PARMS): Do not use macros from bp-asm.h.
18270 (DEST): Likewise.
18271 (SRC): Likewise.
18272 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
18273 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18274 "bp-asm.h".
18275 (PARMS): Do not use macros from bp-asm.h.
18276 (strlen): Do not use BP_SYM.
18277 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18278 "bp-asm.h".
18279 (PARMS): Do not use macros from bp-asm.h.
18280 (S1): Likewise.
18281 (S2): Likewise.
18282 (SIZE): Likewise.
18283 (__mpn_sub_n): Do not use BP_SYM.
18284 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18285 "bp-asm.h".
18286 (PARMS): Do not use macros from bp-asm.h.
18287 (S1): Likewise.
18288 (SIZE): Likewise.
18289 (__mpn_submul_1): Do not use BP_SYM.
18290 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18291 "bp-asm.h".
18292 (PARMS): Do not use macros from bp-asm.h.
18293 (S1): Likewise.
18294 (S2): Likewise.
18295 (SIZE): Likewise.
18296 (__mpn_add_n): Do not use BP_SYM.
18297 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18298 weak_alias.
18299 (bzero): Likewise.
18300 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18301 "bp-asm.h".
18302 (PARMS): Do not use macros from bp-asm.h.
18303 (BLK2): Likewise.
18304 (LEN): Likewise.
18305 (memcmp): Do not use BP_SYM.
18306 (bcmp): Do not use BP_SYM in weak_alias.
18307 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18308 "bp-asm.h".
18309 (PARMS): Do not use macros from bp-asm.h.
18310 (DEST): Likewise.
18311 (SRC): Likewise.
18312 (LEN): Likewise.
18313 (memcpy): Likewise. Do not use BP_SYM.
18314 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18315 "bp-asm.h".
18316 (PARMS): Do not use macros from bp-asm.h.
18317 (DEST): Likewise.
18318 (SRC): Likewise.
18319 (LEN): Likewise.
18320 (memmove): Likewise. Do not use BP_SYM.
18321 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18322 "bp-asm.h".
18323 (PARMS): Do not use macros from bp-asm.h.
18324 (DEST): Likewise.
18325 (SRC): Likewise.
18326 (LEN): Likewise.
18327 (__mempcpy): Likewise. Do not use BP_SYM.
18328 (mempcpy): Do not use BP_SYM in weak_alias.
18329 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18330 "bp-asm.h".
18331 (PARMS): Do not use macros from bp-asm.h.
18332 (DEST): Likewise.
18333 (LEN): Likewise.
18334 [!BZERO_P] (CHR): Likewise.
18335 (memset): Likewise. Do not use BP_SYM.
18336 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18337 "bp-asm.h".
18338 (PARMS): Do not use macros from bp-asm.h.
18339 (STR2): Likewise.
18340 (strcmp): Do not use BP_SYM.
18341 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18342 "bp-asm.h".
18343 (PARMS): Do not use macros from bp-asm.h.
18344 (STR): Likewise.
18345 (DELIM): Likewise.
18346 [USE_AS_STRTOK_R] (SAVE): Likewise.
18347 (FUNCTION): Likewise. Do not use BP_SYM.
18348 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18349 aliases.
18350 (strtok_r): Likewise.
18351 (__GI___strtok_r): Likewise.
18352 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18353 (PARMS): Do not use macros from bp-asm.h.
18354 (S): Likewise.
18355 (SIZE): Likewise.
18356 (__mpn_lshift): Do not use BP_SYM.
18357 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18358 (PARMS): Do not use macros from bp-asm.h.
18359 (STR): Likewise.
18360 (CHR): Likewise.
18361 (__memchr): Do not use BP_SYM.
18362 (memchr): Do not use BP_SYM in weak_alias.
18363 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18364 (PARMS): Do not use macros from bp-asm.h.
18365 (BLK2): Likewise.
18366 (LEN): Likewise.
18367 (memcmp): Do not use BP_SYM.
18368 (bcmp): Do not use BP_SYM in weak_alias.
18369 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18370 (PARMS): Do not use macros from bp-asm.h.
18371 (S1): Likewise.
18372 (SIZE): Likewise.
18373 (__mpn_mul_1): Do not use BP_SYM.
18374 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18375 "bp-asm.h".
18376 (PARMS): Do not use macros from bp-asm.h.
18377 (STR): Likewise.
18378 (CHR): Likewise.
18379 (__rawmemchr): Do not use BP_SYM.
18380 (rawmemchr): Do not use BP_SYM in weak_alias.
18381 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18382 (PARMS): Do not use macros from bp-asm.h.
18383 (S): Likewise.
18384 (SIZE): Likewise.
18385 (__mpn_rshift): Do not use BP_SYM.
18386 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18387 (PARMS): Do not use macros from bp-asm.h.
18388 (SIGMSK): Likewise.
18389 (__sigsetjmp): Likewise. Do not use BP_SYM.
18390 * sysdeps/i386/start.S: Do not include "bp-sym.h".
18391 (_start): Do not use BP_SYM.
18392 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18393 (PARMS): Do not use macros from bp-asm.h.
18394 (DEST): Likewise.
18395 (SRC): Likewise.
18396 (__stpcpy): Likewise. Do not use BP_SYM.
18397 (stpcpy): Do not use BP_SYM in weak_alias.
18398 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18399 "bp-asm.h".
18400 (PARMS): Do not use macros from bp-asm.h.
18401 (DEST): Likewise.
18402 (SRC): Likewise.
18403 (LEN): Likewise.
18404 (__stpncpy): Likewise. Do not use BP_SYM.
18405 (stpncpy): Do not use BP_SYM in weak_alias.
18406 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18407 (PARMS): Do not use macros from bp-asm.h.
18408 (STR): Likewise.
18409 (CHR): Likewise.
18410 (strchr): Likewise. Do not use BP_SYM.
18411 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18412 "bp-asm.h".
18413 (PARMS): Do not use macros from bp-asm.h.
18414 (STR): Likewise.
18415 (CHR): Likewise.
18416 (__strchrnul): Likewise. Do not use BP_SYM.
18417 (strchrnul): Do not use BP_SYM in weak_alias.
18418 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18419 "bp-asm.h".
18420 (PARMS): Do not use macros from bp-asm.h.
18421 (STOP): Likewise.
18422 (strcspn): Do not use BP_SYM.
18423 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18424 "bp-asm.h".
18425 (PARMS): Do not use macros from bp-asm.h.
18426 (STR): Likewise.
18427 (STOP): Likewise.
18428 (strpbrk): Likewise. Do not use BP_SYM.
18429 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18430 "bp-asm.h".
18431 (PARMS): Do not use macros from bp-asm.h.
18432 (STR): Likewise.
18433 (CHR): Likewise.
18434 (strrchr): Likewise. Do not use BP_SYM.
18435 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18436 (PARMS): Do not use macros from bp-asm.h.
18437 (SKIP): Likewise.
18438 (strspn): Do not use BP_SYM.
18439 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18440 (PARMS): Do not use macros from bp-asm.h.
18441 (STR): Likewise.
18442 (DELIM): Likewise.
18443 (SAVE): Likewise.
18444 (FUNCTION): Likewise. Do not use BP_SYM.
18445 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18446 aliases.
18447 (strtok_r): Likewise.
18448 (__GI___strtok_r): Likewise.
18449 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18450 (PARMS): Do not use macros from bp-asm.h.
18451 (S1): Likewise.
18452 (S2): Likewise.
18453 (SIZE): Likewise.
18454 (__mpn_sub_n): Do not use BP_SYM.
18455 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18456 "bp-asm.h".
18457 (PARMS): Do not use macros from bp-asm.h.
18458 (S1): Likewise.
18459 (SIZE): Likewise.
18460 (__mpn_submul_1): Do not use BP_SYM.
18461 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18462 <bp-sym.h>.
18463 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18464 and <bp-asm.h>.
18465 (PARMS): Do not use macros from bp-asm.h.
18466 (FLAGS): Likewise.
18467 (PTID): Likewise.
18468 (TLS): Likewise.
18469 (CTID): Likewise.
18470 (__clone): Do not use BP_SYM.
18471 (clone): Do not use BP_SYM in weak_alias.
18472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18473 and <bp-asm.h>.
18474 (PARMS): Do not use macros from bp-asm.h.
18475 (LEN): Likewise.
18476 (__mmap64): Do not use BP_SYM.
18477 (mmap64): Do not use BP_SYM in weak_alias.
18478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18479 <bp-sym.h> and <bp-asm.h>.
18480 (PARMS): Do not use macros from bp-asm.h.
18481 (__posix_fadvise64_l64): Do not use BP_SYM.
18482 * sysdeps/unix/sysv/linux/i386/semtimedop.S
18483 (PARMS): Do not use macros from bp-asm.h.
18484 (NSOPS): Likewise.
18485 (semtimedop): Do not use BP_SYM.
18486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18487 and <bp-asm.h>.
18488
184892013-02-21 Allan McRae <allan@archlinux.org>
18490
18491 * manual/message.texi (Charset conversion in gettext):
18492 Move @end statement to beginning of line.
18493
184942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18495
18496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18497 static.
18498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18499 Likewise.
18500
18501 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18502 (denorm): Likewise.
18503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18505
185062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18507
18508 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18509 tail-call to the resolved function if pltexit isn't needed.
18510
185112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18512
18513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18514 or Y being zero as being unlikely.
18515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18516 Likewise.
18517
185182013-02-20 Carlos O'Donell <carlos@redhat.com>
18519
18520 * manual/nss.texi (System Databases and Name Service Switch):
18521 Remove frobnicate @pxref.
18522
185232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18524
18525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18526 __attribute__ ((unused)) to __attribute__ ((__unused__)).
18527
185282013-02-20 Petr Machata <pmachata@redhat.com>
18529
18530 * elf/elf.h (R_ARM_TARGET1): New macro.
18531 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18532 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18533 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18534 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18535 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18536 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18537 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18538 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18539 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18540 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18541 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18542 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18543 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18544 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18545 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18546 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18547 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18548 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18549 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18550 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18551 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18552 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18553 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18554 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18555 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18556 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18557 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18558 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18559 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18560 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18561 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18562 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18563 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18564 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18565 (R_ARM_THM_GOT_BREL12): Likewise.
18566 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18567 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18568 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18569 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18570 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18571 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18572 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18573 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18574 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18575
185762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
18577
18578 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18579 __attribute_used__ to __attribute__ ((unused)).
18580
185812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18582
18583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18584 powerpc mpa.c.
18585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18586 comment formatting.
18587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18588
185892013-02-19 Joseph Myers <joseph@codesourcery.com>
18590
18591 [BZ #13550]
18592 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18593 Remove macro.
18594 (ENTER): Remove both macro definitions.
18595 (LEAVE): Likewise.
18596 (CHECK_BOUNDS_LOW): Likewise.
18597 (CHECK_BOUNDS_HIGH): Likewise.
18598 (CHECK_BOUNDS_BOTH): Likewise.
18599 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18600 (RETURN_BOUNDED_POINTER): Likewise.
18601 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18602 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18603 (POP_ERRNO_LOCATION_RETURN): Likewise.
18604 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18606 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18607 macros.
18608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18609 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18610 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18611 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18612 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18613 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18614 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18615 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18616 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18617 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18618 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18619 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18621 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18622 removed macros.
18623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18624 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18625 macros.
18626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18627 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18628 * sysdeps/i386/i586/memset.S (memset): Likewise.
18629 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18631 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18632 macros.
18633 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18634 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18635 Change uses of L(2) to L(out).
18636 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18637 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18638 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18640 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18641 removed macros.
18642 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18643 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18644 macros.
18645 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18646 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18647 (RETURN): Do not use macro LEAVE.
18648 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18649 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18650 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18651 * sysdeps/i386/i686/memset.S (memset): Likewise.
18652 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18653 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18655 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18656 Likewise.
18657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18658 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18659 L(1_2) and L(1_3) into L(1).
18660 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18661 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18663 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18664 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18665 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18666 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18667 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18668 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18669 macros.
18670 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18671 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18672 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18673 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18674 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18675 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18676 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18677 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18678 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18679 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18680 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18681 * sysdeps/i386/strspn.S (strspn): Likewise.
18682 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18683 conditional code.
18684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18685 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18687 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18688 L(1_3) into L(1_1).
18689 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18690 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18691 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18692 macros.
18693 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18694
186952013-02-19 Jakub Jelinek <jakub@redhat.com>
18696
18697 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18698 macro.
18699
187002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18701
18702 * math/atest-exp.c (exp_mpn): Remove ROUND.
18703 * math/atest-exp2.c (exp_mpn): Likewise.
18704 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18705
18706 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18707 * stdlib/tst-tls-atexit-lib.c: Likewise.
18708 * stdlib/tst-tls-atexit.c: Likewise.
18709
187102013-02-18 Mike Frysinger <vapier@gentoo.org>
18711
18712 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18713 and __attribute_alloc_size__.
18714
187152013-02-18 Mike Frysinger <vapier@gentoo.org>
18716
18717 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18718 __attribute_alloc_size__.
18719 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18720 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18721
187222013-02-18 Mike Frysinger <vapier@gentoo.org>
18723
18724 * include/programs/xmalloc.h: New file.
18725 * catgets/gencat.c: Include it.
18726 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18727 * elf/pldd.c: Likewise.
18728 * iconv/iconv_charmap.c: Likewise.
18729 * iconv/iconvconfig.c: Likewise.
18730 * iconv/strtab.c: Likewise.
18731 * locale/programs/locale.c: Likewise.
18732 * locale/programs/localedef.h: Likewise.
18733 * locale/programs/simple-hash.c: Likewise.
18734 * nscd/nscd.h: Likewise.
18735 * nss/makedb.c: Likewise.
18736 * sysdeps/generic/ldconfig.h: Likewise.
18737
187382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18739
18740 * Versions.def: Add GLIBC_2.18.
18741 * include/link.h (struct link_map): New member l_tls_dtor_count.
18742 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18743 (__call_tls_dtors): Likewise.
18744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18745 __cxa_thread_atexit_impl.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18747 Likewise.
18748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18749 Likewise.
18750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18751 Likewise.
18752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18753 Likewise.
18754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18756 Likewise.
18757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18758 Likewise.
18759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18761 Likewise.
18762 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18763 (tests): Add test case tst-tls-atexit.
18764 (modules-names): Add shared library for tst-tls-atexit.
18765 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
18766 (GLIBC_PRIVATE): Add __call_tls_dtors.
18767 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18768 for libstdc++.
18769 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18770 * stdlib/tst-tls-atexit.c: New test case.
18771 * stdlib/tst-tls-atexit-lib.c: New test case.
18772
18773 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
18774
18775 * elf/Versions (ld): Add _dl_find_dso_for_object.
18776 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18777 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18778 (dl_open_worker): Use _dl_find_dso_for_object.
18779 * elf/dl-sym.c (do_sym): Likewise.
18780 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18781
187822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18783
18784 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18785 Syntactic changes only.
18786 (_dl_runtime_profile): Do a tail-call to the resolved function.
18787
187882013-02-17 Joseph Myers <joseph@codesourcery.com>
18789
18790 [BZ #13550]
18791 * sysdeps/x86_64/bp-asm.h: Remove file.
18792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18793 <bp-sym.h> and <bp-asm.h>.
18794 (__clone): Do not use BP_SYM.
18795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18796 <bp-sym.h> and <bp-asm.h>.
18797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18798 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18799 "bp-asm.h".
18800 (_setjmp): Do not use BP_SYM.
18801 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18802 "bp-asm.h".
18803 (setjmp): Do not use BP_SYM.
18804 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18805 libc_hidden_def.
18806 (mempcpy): Do not use BP_SYM in weak_alias.
18807 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18808 "bp-asm.h".
18809 (strchr): Do not use BP_SYM.
18810 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18811 "bp-asm.h".
18812 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18813 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18814 (_start): Do not use BP_SYM.
18815 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18816 "bp-asm.h".
18817 (strcat): Do not use BP_SYM.
18818 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18819 "bp-asm.h".
18820 (STRCMP): Do not use BP_SYM.
18821 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18822 "bp-asm.h".
18823 (STRCPY): Do not use BP_SYM.
18824 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18825 "bp-asm.h".
18826 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18827 "bp-asm.h".
18828 (FUNCTION): Do not use BP_SYM.
18829 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18830 weak_alias.
18831 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18832
188332013-02-17 Andreas Jaeger <aj@suse.de>
18834
18835 * time/Versions: Sort entries.
18836 * string/Versions: Likewise.
18837 * resolv/Versions: Likewise.
18838 * posix/Versions: Likewise.
18839 * iconv/Versions: Likewise.
18840 * elf/Versions: Likewise.
18841 * wcsmbs/Versions: Likewise.
18842
188432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18844
18845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18846 loop termination condition.
18847
18848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18849 variable to calculate EZ.
18850 (__sqr): Likewise.
18851
18852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18853 the lower precision input.
18854
188552013-02-15 Joseph Myers <joseph@codesourcery.com>
18856
18857 [BZ #13550]
18858 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18859 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18860 (run-via-rtld-prefix): Do not handle %-bp tests.
18861 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18862 (all-object-suffixes): Remove .ob.
18863 (bppfx): Remove variable.
18864 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18865 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18866 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18867 [$(build-bounded) = yes] (libtype.ob): Likewise.
18868 * Makerules (elide-routines.ob): Remove variable.
18869 (do-tests-clean): Do not handle *-bp.out.
18870 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18871 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18872 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18873 (tests): Do not include $(tests-bp.out).
18874 (xtests): Do not include $(xtests-bp.out).
18875 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18876 [$(build-bounded) = yes] ($(addprefix
18877 $(objpfx),$(binaries-bounded))): Remove rule.
18878 ($(objpfx)%-bp.out): Remove rule.
18879 * config.make.in (build-bounded): Remove variable.
18880 * crypt/Makefile [$(build-bounded) = yes]
18881 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18882 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18883 append to variable.
18884 [$(build-bounded) = yes] (install-lib): Likewise.
18885 [$(build-bounded) = yes] (generated): Likewise.
18886 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18887 Remove rule.
18888 * intl/Makefile [$(build-bounded) = yes]
18889 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18890 * math/Makefile [$(build-bounded) = yes]
18891 ($(tests:%=$(objpfx)%-bp): Likewise.
18892 * misc/Makefile [$(build-bounded) = yes]
18893 ($(objpfx)tst-tsearch-bp): Likewise.
18894 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18895 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18896 Remove dependency.
18897 * string/Makefile (o-objects.ob): Remove variable.
18898 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18899 (CFLAGS-.ob): Remove variable.
18900 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18901 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18902 both definitions of variable.
18903 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18904 (ASFLAGS-.ob): Remove variable.
18905
189062013-02-14 Joseph Myers <joseph@codesourcery.com>
18907
18908 [BZ #13550]
18909 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18910 Remove __BOUNDED_POINTERS__ from condition.
18911 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18912 * string/bits/string2.h [!__NO_STRING_INLINES &&
18913 !__BOUNDED_POINTERS__]: Likewise.
18914 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18915 Likewise.
18916 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18917 Remove conditional code.
18918 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18919 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18920 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18921 condition.
18922
18923 [BZ #13550]
18924 * csu/libc-start.c: Do not include <bp-sym.h>.
18925 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18926 * elf/dl-open.c: Do not include <bp-sym.h>.
18927 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18928 * math/fegetenv.c: Do not include <bp-sym.h>.
18929 (fegetenv): Do not use BP_SYM in versioned symbols.
18930 * nptl/sysdeps/pthread/bits/libc-lockP.h
18931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18932 <bp-sym.h>.
18933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18934 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18936 (__pthread_mutex_destroy): Likewise.
18937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18938 (__pthread_mutex_lock): Likewise.
18939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18940 (__pthread_mutex_trylock): Likewise.
18941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18942 (__pthread_mutex_unlock): Likewise.
18943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18944 (__pthread_mutexattr_init): Likewise.
18945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18946 (__pthread_mutexattr_destroy): Likewise.
18947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18948 (__pthread_mutexattr_settype): Likewise.
18949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18950 (__pthread_rwlock_init): Likewise.
18951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18952 (__pthread_rwlock_destroy): Likewise.
18953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18954 (__pthread_rwlock_rdlock): Likewise.
18955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18956 (__pthread_rwlock_tryrdlock): Likewise.
18957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18958 (__pthread_rwlock_wrlock): Likewise.
18959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18960 (__pthread_rwlock_trywrlock): Likewise.
18961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18962 (__pthread_rwlock_unlock): Likewise.
18963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18964 (__pthread_key_create): Likewise.
18965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18966 (__pthread_setspecific): Likewise.
18967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18968 (__pthread_getspecific): Likewise.
18969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18970 Likewise.
18971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18972 (_pthread_cleanup_push_defer): Likewise.
18973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18974 (_pthread_cleanup_pop_restore): Likewise.
18975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18976 (pthread_setcancelstate): Likewise.
18977 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18978 <bp-sym.h>.
18979 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18980 (memchr): Do not use BP_SYM in weak_alias.
18981 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18982 (fegetenv): Do not use BP_SYM in versioned symbols.
18983 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18984 (fesetenv): Do not use BP_SYM in versioned symbols.
18985 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18986 (feupdateenv): Do not use BP_SYM in versioned symbols.
18987 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18988 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18989 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18990 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18991 (open64): Do not use BP_SYM in weak_alias.
18992 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18993 (fegetenv): Do not use BP_SYM in versioned symbols.
18994 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18995 (fesetenv): Do not use BP_SYM in versioned symbols.
18996 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18997 (feupdateenv): Do not use BP_SYM in versioned symbols.
18998 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18999 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19000 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19001 (feraiseexcept): Do not use BP_SYM in versioned symbols.
19002 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19005 <bp-sym.h>.
19006 (__libc_start_main): Do not use BP_SYM.
19007
190082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19009
19010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19011 redundant return line.
19012 (norm): Likewise.
19013 (denorm): Likewise.
19014 (dbl_mp): Likewise.
19015 (sub_magnitudes): Likewise.
19016 (__add): Likewise.
19017 (__sub): Likewise.
19018 (__mul): Likewise.
19019 (__inv): Likewise.
19020 (__dvd): Likewise.
19021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19022 (norm): Likewise.
19023 (denorm): Likewise.
19024 (dbl_mp): Likewise.
19025 (sub_magnitudes): Likewise.
19026 (__add): Likewise.
19027 (__sub): Likewise.
19028 (__mul): Likewise.
19029 (__inv): Likewise.
19030 (__dvd): Likewise.
19031
19032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19033 instead of __mul.
19034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19036 (cc32): Likewise.
19037
19038 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19039 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19041 of __mul for squares.
19042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19043 function
19044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19045 Likewise.
19046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19048
190492013-02-13 Joseph Myers <joseph@codesourcery.com>
19050
19051 [BZ #13550]
19052 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19053 code.
19054 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19055 prototype or function definition. Rename ubp_* variables and
19056 parameters. Remove argv definitions conditional on
19057 [__BOUNDED_POINTERS__].
19058 * debug/backtrace.c (__backtrace): Do not use __unbounded.
19059 * elf/dl-runtime.c (_dl_fixup): Likewise.
19060 * include/set-hooks.h (RUN_HOOK): Likewise.
19061 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19062 definition.
19063 * string/strcpy.c (strcpy): Do not use __unbounded.
19064 * sysdeps/generic/frame.h (struct layout): Likewise.
19065 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19066 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19067 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19068 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19069 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19070 (__backtrace): Likewise.
19071 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19072 use __ptrvalue.
19073 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19075 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19076 Likewise.
19077 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19078 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19079 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19081 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19082 Do not use __unbounded.
19083 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19084 Rename __unboundedrlimits parameter to rlimits in prototype.
19085 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19086 Do not use __unbounded.
19087 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19088 not use __ptrvalue.
19089 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19090 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19093 __ptrvalue or __unbounded.
19094 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19095 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19096 use __unbounded.
19097 (__new_msgctl): Do not use __ptrvalue.
19098 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19099 __unbounded.
19100 (__libc_msgrcv): Do not use __ptrvalue.
19101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19102 startup_info): Do not use __unbounded.
19103 (__libc_start_main): Likewise. Rename ubp_* variables and
19104 parameters. Remove argv definitions conditional on
19105 [__BOUNDED_POINTERS__].
19106 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19107 __ptrvalue.
19108 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19109 use __unbounded.
19110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19111 or __ptrvalue.
19112 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19113 use __unbounded.
19114 (__new_shmctl): Do not use __ptrvalue.
19115 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19116 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19117 Likewise.
19118 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19120 (__libc_sigaction): Likewise.
19121 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19123 Likewise.
19124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19125
191262013-02-13 Ondřej Bílka <neleai@seznam.cz>
19127
19128 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19129
19130 * string/mempcpy.c: Implement by calling memcpy.
19131
191322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19133
19134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19135
19136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19137 evaluation.
19138
19139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19140 values in the mantissa.
19141
19142 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19143 minimize writes to Z.
19144 (sub_magnitudes): Simplify code a bit.
19145
191462013-02-12 Roland McGrath <roland@hack.frob.com>
19147
19148 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19149 from the message. The linker prefixes all warnings with that already.
19150
191512013-02-12 Andreas Schwab <schwab@suse.de>
19152
19153 [BZ #15078]
19154 * posix/regexec.c (extend_buffers): Add parameter min_len.
19155 (check_matching): Pass minimum needed length.
19156 (clean_state_log_if_needed): Likewise.
19157 (get_subexp): Likewise.
19158 * posix/Makefile (tests): Add bug-regex34.
19159 (bug-regex34-ENV): Define.
19160 * posix/bug-regex34.c: New file.
19161
19162 [BZ #11561]
19163 * posix/regcomp.c (parse_bracket_exp): When looking up collating
19164 elements compare against the byte sequence of it, not its name.
19165 * posix/Makefile (tests): Add bug-regex35.
19166 (bug-regex35-ENV): Define.
19167 * posix/bug-regex35.c: New file.
19168
191692013-02-11 Tom de Vries <tom@codesourcery.com>
19170
19171 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
19172 comment.
19173 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19174 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19175 (CHECK_EOL): Add undef.
19176
191772013-02-11 Ondřej Bílka <neleai@seznam.cz>
19178
19179 * bits/stdlib-bsearch.h: New file.
19180 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19181 * stdlib/stdlib.h: Likewise.
19182
191832013-02-11 Roland McGrath <roland@hack.frob.com>
19184
19185 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19186 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19187 declaration.
19188 * manual/search.texi (Array Search Function): Add missing const in
19189 lfind prototype.
19190 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19191 declaration to use rlim_t.
19192 (Basic Scheduling Functions): Remove erroneous const from
19193 sched_getparam prototype. Remove erroneous * from
19194 sched_get_priority_max and sched_get_priority_min prototypes.
19195 (Resource Usage): Fix summary @comment on vtimes to refer to
19196 sys/vtimes.h rather than vtimes.h.
19197 Add missing *s in vtimes prototype.
19198 (Limits on Resources): Fix ulimit prototype to return long int.
19199 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19200 prototypes to use long int rather than double.
19201 (BSD Random): Fix initstate and setstate to use char *, not void *.
19202 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19203 prototype to make second argument 'struct aiocb64 *const[]'.
19204 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19205 (Status of AIO Operations): Remove erroneous const in aio_return and
19206 aio_return64 prototypes.
19207 (Synchronizing I/O): Fix sync prototype to return void.
19208 * manual/startup.texi (Suboptions): Remove an erroneous const in
19209 getsubopt prototype.
19210 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19211 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19212 use size_t rather than int.
19213 (Scanning All Users): Likewise for getpwent_r.
19214 (Setting Groups): Add missing const to setgroups prototype.
19215 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19216 * manual/socket.texi (Host Names): Fix gethostbyaddr and
19217 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19218 'const void *' rather than 'const char *'.
19219 (Host Address Functions): Likewise for inet_ntop.
19220 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19221 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19222 ssize_t for return value.
19223 (Sending Data): Likewise for send, sendto, sendmsg.
19224 (Socket Option Functions): Add a missing const in setsockopt prototype.
19225 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19226 use wchar_t for the argument.
19227 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19228 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19229 take no arguments.
19230 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19231 double/float/long double for second argument.
19232 Fix return types of significand, significandf, significandl.
19233 * manual/filesys.texi (Setting Permissions): Use mode_t for second
19234 argument in fchmod prototype.
19235 (File Owner): Use uid_t and gid_t in fchown prototype.
19236 (File Times): Add const to utimes, futimes, and lutimes prototypes.
19237 (Making Special Files): Use mode_t and dev_t in mknod prototype.
19238 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19239 use 'const struct dirent **' as argument types to CMP function pointer
19240 argument.
19241 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19242 (File Times): Fix summary magic @comment for struct utimbuf and utime
19243 to refer to utime.h, not time.h.
19244 * manual/string.texi (Argz Functions): Add missing const in
19245 argz_extract and argz_next prototypes.
19246 (Finding Tokens in a String): Likewise for basename.
19247 (String/Array Comparison): Fix typo in wcscasecmp prototype.
19248 (Copying and Concatenation): Fix typo in wmemmove prototype.
19249 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19250 (Signal Stack): Remove erroneous const in sigstack prototype.
19251 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19252 prototype.
19253 (Simple Calendar Time): Likewise for stime.
19254 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19255 prototype.
19256 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19257 say sys/sysctl.h instead.
19258 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19259 and vsyslog prototypes.
19260
192612013-02-11 Tom de Vries <tom@codesourcery.com>
19262
19263 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19264 Remove.
19265
192662013-02-11 Roland McGrath <roland@hack.frob.com>
19267
19268 * misc/sys/mman.h: Fix typo in mremap comment.
19269
192702013-02-08 Roland McGrath <roland@hack.frob.com>
19271
19272 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19273 the '\0' terminator.
19274
192752013-02-08 Joseph Myers <joseph@codesourcery.com>
19276
19277 [BZ #13550]
19278 * debug/segfault.c: Don't include <bp-checks.h>.
19279 * sysdeps/generic/bp-checks.h: Remove file.
19280 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19281 (__GETDENTS): Don't use CHECK_N.
19282 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19283 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19284 (__getgroups): Don't use CHECK_N.
19285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19286 (setgroups): Don't use CHECK_N.
19287 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19288 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19289 (__libc_msgrcv): Don't use CHECK_N.
19290 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19291 (__libc_msgsnd): Don't use CHECK_N.
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19293 <bp-checks.h>.
19294 (__libc_pread): Don't use CHECK_N.
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19296 include <bp-checks.h>.
19297 (__libc_pread64): Don't use CHECK_N.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19299 include <bp-checks.h>.
19300 (__libc_pwrite): Don't use CHECK_N.
19301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19302 include <bp-checks.h>.
19303 (__libc_pwrite64): Don't use CHECK_N.
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19305 <bp-checks.h>.
19306 (__libc_pread): Don't use CHECK_N.
19307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19308 include <bp-checks.h>.
19309 (__libc_pread64): Don't use CHECK_N.
19310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19311 include <bp-checks.h>.
19312 (__libc_pwrite): Don't use CHECK_N.
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19314 include <bp-checks.h>.
19315 (__libc_pwrite64): Don't use CHECK_N.
19316 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19317 (do_pread): Don't use CHECK_N.
19318 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19319 (do_pread64): Don't use CHECK_N.
19320 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19321 (do_pwrite): Don't use CHECK_N.
19322 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19323 (do_pwrite64): Don't use CHECK_N.
19324 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19325 (__libc_readv): Don't use CHECK_N.
19326 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19327 (semop): Don't use CHECK_N.
19328 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19329 <bp-checks.h>.
19330 (semtimedop): Don't use CHECK_N.
19331 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19332 (__libc_pread): Don't use CHECK_N.
19333 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19334 <bp-checks.h>.
19335 (__libc_pread64): Don't use CHECK_N.
19336 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19337 <bp-checks.h>.
19338 (__libc_pwrite): Don't use CHECK_N.
19339 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19340 <bp-checks.h>.
19341 (__libc_pwrite64): Don't use CHECK_N.
19342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19343 <bp-checks.h>.
19344 (__libc_msgrcv): Don't use CHECK_N.
19345 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19346 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
19347 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19348 (__libc_writev): Don't use CHECK_N.
19349
193502013-02-08 Roland McGrath <roland@hack.frob.com>
19351
19352 * string/strcpy.c: Removed unused variable.
19353
19354 * Makeconfig (+sysdep-includes): Define with := rather than =.
19355 Use an existing include/ subdir of each sysdeps dir before it.
19356
193572013-02-08 Carlos O'Donell <carlos@redhat.com>
19358
19359 * nscd/connection.c (register_traced_file): Comment function.
19360 [HAVE_INOTIFY] (union __inev): Define.
19361 [HAVE_INOTIFY] (inotify_check_files): New function.
19362 [HAVE_INOTIFY] (clear_db_cache): Likewise.
19363 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19364 clear_db_cache.
19365 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19366
193672013-02-08 Carlos O'Donell <carlos@redhat.com>
19368
19369 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19370 loaded if not already and that a failure is permanent.
19371
193722013-02-08 Carlos O'Donell <carlos@redhat.com>
19373
19374 [BZ #15006]
19375 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19376 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19377
193782013-02-08 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #13550]
19381 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19382 (CHECK_1_NULL_OK): Likewise.
19383 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19384 (__fxstat): Do not use CHECK_1.
19385 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19386 <bp-checks.h>.
19387 (___fxstat64): Do not use CHECK_1.
19388 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19389 <bp-checks.h>.
19390 (__fxstatat): Do not use CHECK_1.
19391 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19392 <bp-checks.h>.
19393 (__fxstatat64): Do not use CHECK_1.
19394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19395 <bp-checks.h>.
19396 (__fxstat): Do not use CHECK_1.
19397 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19398 <bp-checks.h>.
19399 (__fxstatat): Do not use CHECK_1.
19400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19401 <bp-checks.h>.
19402 (__getresgid): Do not use CHECK_1.
19403 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19404 <bp-checks.h>.
19405 (__getresuid): Do not use CHECK_1.
19406 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19407 <bp-checks.h>.
19408 (__lxstat): Do not use CHECK_1.
19409 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19410 <bp-checks.h>.
19411 (__old_msgctl): Do not use CHECK_1.
19412 (__new_msgctl): Likewise.
19413 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19414 <bp-checks.h>.
19415 (__new_setrlimit): Do not use CHECK_1.
19416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19417 <bp-checks.h>.
19418 (__old_shmctl): Do not use CHECK_1.
19419 (__new_shmctl): Likewise.
19420 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19421 <bp-checks.h>.
19422 (__xstat): Do not use CHECK_1.
19423 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19424 (__lxstat): Do not use CHECK_1.
19425 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19426 <bp-checks.h>.
19427 (___lxstat64): Do not use CHECK_1.
19428 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19429 (__old_msgctl): Do not use CHECK_1.
19430 (__new_msgctl): Likewise.
19431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19432 <bp-checks.h>.
19433 (__gettimeofday): Do not use CHECK_1.
19434 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19435 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19436 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19437 <bp-checks.h>.
19438 (__gettimeofday): Do not use CHECK_1.
19439 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19440 (__old_shmctl): Do not use CHECK_1_NULL_OK.
19441 (__new_shmctl): Do not use CHECK_1.
19442 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19443 <bp-checks.h>.
19444 (do_sigtimedwait): Do not use CHECK_1.
19445 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19446 <bp-checks.h>.
19447 (do_sigwaitinfo): Do not use CHECK_1.
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19449 <bp-checks.h>.
19450 (msgctl): Do not use CHECK_1.
19451 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19452 <bp-checks.h>.
19453 (shmctl): Do not use CHECK_1.
19454 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19455 (ustat): Do not use CHECK_1.
19456 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19457 <bp-checks.h>.
19458 (__fxstat): Do not use CHECK_1.
19459 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19460 <bp-checks.h>.
19461 (__fxstatat): Do not use CHECK_1.
19462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19463 <bp-checks.h>.
19464 (__lxstat): Do not use CHECK_1.
19465 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19466 <bp-checks.h>.
19467 (__xstat): Do not use CHECK_1.
19468 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19469 (__xstat): Do not use CHECK_1.
19470 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19471 (___xstat64): Do not use CHECK_1.
19472
19473 [BZ #13550]
19474 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19475 definitions.
19476 (CHECK_BOUNDS_HIGH): Likewise.
19477 * string/strcpy.c: Do not include <bp-checks.h>.
19478 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19479
194802013-02-07 Roland McGrath <roland@hack.frob.com>
19481
19482 * nscd/nscd-client.h (__nscd_drop_map_ref):
19483 Add __attribute__ ((unused)).
19484 * nis/nss-nisplus.h (niserr2nss): Likewise.
19485
19486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19487 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19488
19489 * csu/libc-tls.c (init_static_tls, init_slotinfo):
19490 Remove inline keyword.
19491 * include/rounding-mode.h (round_away): Likewise.
19492 * libio/wfileops.c (adjust_wide_data): Likewise.
19493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19494 (__m128i_strloadu_tolower): Likewise.
19495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19496 (__m128i_strloadu_tolower): Likewise.
19497 * time/mktime.c (ydhms_diff): Likewise.
19498 * locale/elem-hash.h (elem_hash): Likewise.
19499 * locale/setlocale.c (setdata): Likewise.
19500 * posix/regex_internal.h (re_string_char_size_at): Likewise.
19501 (re_string_wchar_at): Likewise.
19502 (bitset_not, bitset_merge, bitset_mask): Likewise.
19503 [!(__GNUC__ > 3)] (inline): Remove macro.
19504 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19505 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19506 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19507 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19508 * string/memcmp.c (memcmp_bytes): Likewise.
19509 * locale/programs/locarchive.c (compute_hashval): Likewise.
19510 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19511 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19512 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19513 * nss/getent.c (print_rpc, print_protocols): Likewise.
19514 (print_passwd, print_group, print_aliases): Likewise.
19515 * nis/nss-nisplus.h (niserr2nss): Likewise.
19516 * nscd/connections.c (restart_p): Likewise.
19517 Change return type to bool.
19518
195192013-02-05 Roland McGrath <roland@hack.frob.com>
19520
19521 * Makeconfig (all-Depend-files): Add existing
19522 $(sorted-subdirs:=/Depend) files.
19523 (all-subdirs): Remove nss.
19524 * sysdeps/unix/inet/Subdirs: Add it here instead.
19525 * hesiod/Depend: New file.
19526
19527 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19528 instead of calling alloca.
19529
19530 * io/lseek.c (__lseek): Rename to __libc_lseek.
19531 Define __lseek as an alias.
19532
19533 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19534
195352013-02-04 Carlos O'Donell <carlos@redhat.com>
19536
19537 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19538 else clause and remove check for non-standard endianness.
19539
195402013-02-04 David S. Miller <davem@davemloft.net>
19541
19542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19543
195442013-02-04 Joseph Myers <joseph@codesourcery.com>
19545
19546 [BZ #13550]
19547 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19548 (__ubp_memchr): Remove prototype.
19549 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19550 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19551 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19552 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19553 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19554 Remove alias.
19555 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19556 (__ubp_memchr): Likewise.
19557 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19558 (__ubp_memchr): Likewise.
19559 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19560 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19561 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19562 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19563 CHECK_STRING.
19564 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19565 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19566 (__getcwd): Do not use CHECK_STRING.
19567 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19568 <bp-checks.h>.
19569 (__real_chown): Do not use CHECK_STRING.
19570 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19571 <bp-checks.h>.
19572 (fchownat): Do not use CHECK_STRING.
19573 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19574 CHECK_STRING.
19575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19576 <bp-checks.h>.
19577 (__lchown): Do not use CHECK_STRING.
19578 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19579 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19581 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19583 include <bp-checks.h>.
19584 (truncate64): Do not use CHECK_STRING.
19585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19586 <bp-checks.h>.
19587 (__real_chown): Do not use CHECK_STRING.
19588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19589 <bp-checks.h>.
19590 (__lchown): Do not use CHECK_STRING.
19591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19592 <bp-checks.h>.
19593 (__chown): Do not use CHECK_STRING.
19594 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19595 <bp-checks.h>.
19596 (truncate64): Do not use CHECK_STRING.
19597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19598 Likewise.
19599 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19600 (__xmknod): Do not use CHECK_STRING.
19601 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19602 <bp-checks.h>.
19603 (__xmknodat): Do not use CHECK_STRING.
19604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19605 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19606
196072013-02-04 Andreas Schwab <schwab@suse.de>
19608
19609 [BZ #14142]
19610 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19611 * include/netdb.h: Likewise for h_errno.
19612 * elf/tst-stackguard1.c: Include <tls.h>.
19613
196142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19615
19616 * elf/link.h (struct link_map): Extend the l_addr comment.
19617 * include/link.h (struct link_map): Likewise.
19618
196192013-02-01 Joseph Myers <joseph@codesourcery.com>
19620
19621 [BZ #13550]
19622 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19623 (BOUNDED_1): Remove macro.
19624 * debug/backtrace.c: Don't include <bp-checks.h>.
19625 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19626 (__backtrace): Likewise.
19627 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19628 <bp-checks.h>.
19629 (__backtrace): Don't use BOUNDED_1.
19630 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19631 <bp-checks.h>.
19632 (__backtrace): Don't use BOUNDED_1.
19633 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19634 (__backtrace): Don't use BOUNDED_1.
19635 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19636 (shmat): Don't use BOUNDED_N.
19637
196382013-01-31 Joseph Myers <joseph@codesourcery.com>
19639
19640 [BZ #13550]
19641 * sysdeps/generic/bp-start.h: Remove file.
19642 * csu/libc-start.c: Don't include <bp-start.h>.
19643 (LIBC_START_MAIN): Set up __environ directly instead of using
19644 INIT_ARGV_and_ENVIRON.
19645 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19646 <bp-start.h>.
19647
19648 [BZ #13550]
19649 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19650 definitions.
19651 (CHECK_FCNTL): Likewise.
19652 (CHECK_N_PAGES): Likewise.
19653
19654 [BZ #13550]
19655 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19656 definitions.
19657 (CHECK_SIGSET_NULL_OK): Likewise.
19658 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19659 <bp-checks.h>.
19660 (sigpending): Don't use CHECK_SIGSET.
19661 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19662 <bp-checks.h>.
19663 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19664 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19665 <bp-checks.h>.
19666 (do_sigsuspend): Don't use CHECK_SIGSET.
19667 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19668 use CHECK_SIGSET.
19669 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19670 (do_sigwait): Don't use CHECK_SIGSET.
19671 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19672 use CHECK_SIGSET.
19673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19674 include <bp-checks.h>.
19675 (sigpending): Don't use CHECK_SIGSET.
19676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19677 include <bp-checks.h>.
19678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19679 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19680 <bp-checks.h>.
19681 (sigpending): Don't use CHECK_SIGSET.
19682 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19683 <bp-checks.h>.
19684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19685
19686 [BZ #13550]
19687 * sysdeps/generic/bp-semctl.h: Remove file.
19688 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19689 <bp-checks.h> and <bp-semctl.h>.
19690 (__old_semctl): Don't use CHECK_SEMCTL.
19691 (__new_semctl): Likewise.
19692 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19693 and <bp-semctl.h>.
19694 (__old_semctl): Don't use CHECK_SEMCTL.
19695 (__new_semctl): Likewise.
19696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19697 <bp-checks.h> and <bp-semctl.h>.
19698 (__old_semctl): Don't use CHECK_SEMCTL.
19699 (__new_semctl): Likewise.
19700 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19701 <bp-checks.h> and <bp-semctl.h>.
19702 (semctl): Don't use CHECK_SEMCTL.
19703
19704 [BZ #13550]
19705 * Makerules (elide-bp-thunks): Remove variable.
19706 (elide-routines.oS): Don't use $(elide-bp-thunks).
19707 (elide-routines.os): Likewise.
19708 (elide-routines.o): Likewise.
19709 (elide-routines.op): Likewise.
19710 (elide-routines.og): Likewise.
19711 (objects): Don't use $(bp-thunks).
19712 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19713 include.
19714 (common-generated): Do not add s-proto-bp.d.
19715 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19716 (int): Likewise.
19717 (typ): Likewise.
19718 Do not generate makefile rules for bounded-pointer thunks.
19719 * sysdeps/generic/bp-thunks.h: Remove file.
19720 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19721 * sysdeps/unix/s-proto-bp.S: Likewise.
19722
19723 [BZ #15062]
19724 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19725 parts of result separately when argument is not close to line from
19726 -i to i and one part of argument is small.
19727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19729 * math/libm-test.inc (cacos_test): Add more tests.
19730 (casin_test): Likewise.
19731 (casinh_test): Likewise.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734
197352013-01-31 David S. Miller <davem@davemloft.net>
19736
19737 * po/de.po: Update from translation team.
19738
197392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19740
19741 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19742
197432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19744
19745 * configure.in (_AC_PROG_CC_C89): New definition.
19746 * configure: Regenerate.
19747
19748 * configure.in (AC_PROG_CPP): New definition.
19749 * configure: Regenerate.
19750
197512013-01-23 Joseph Myers <joseph@codesourcery.com>
19752
19753 * debug/tst-backtrace.h: New file.
19754 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19755 (ret): Remove variable.
19756 (x): Likewise.
19757 (FAIL): Remove macro.
19758 (NO_INLINE): Likewise.
19759 (fn1): Use match function instead of strstr.
19760 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19761 (ret): Remove variable.
19762 (x): Likewise.
19763 (FAIL): Remove macro.
19764 (NO_INLINE): Likewise.
19765 (fn): Use match function instead of strstr.
19766 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19767 (ret): Remove variable.
19768 (x): Likewise.
19769 (FAIL): Remove macro.
19770 (NO_INLINE): Likewise.
19771 (handle_signal): Use match function instead of strstr.
19772 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19773 (ret): Remove variable.
19774 (x): Likewise.
19775 (FAIL): Remove macro.
19776 (NO_INLINE): Likewise.
19777 (handle_signal): Use match function instead of strstr.
19778
197792013-01-23 Roland McGrath <roland@hack.frob.com>
19780
19781 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19782
197832013-01-23 David S. Miller <davem@davemloft.net>
19784
19785 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19786 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19787 argument of CAS if possible.
19788 * sysdeps/sparc/sparc64/bits/atomic.h
19789 (__arch_compare_and_exchange_val_32_acq): Likewise.
19790 (__arch_compare_and_exchange_val_64_acq): Likewise.
19791
197922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19793
19794 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19795 * sysdeps/posix/ulimit.c: ... this.
19796 Include <limits.h>.
19797 * sysdeps/unix/bsd/ulimit.c: Remove file.
19798
197992013-01-23 Adam Conrad <adconrad@0c3.net>
19800
19801 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19802 (LDFLAGS-tst-array5): Likewise.
19803
198042013-01-23 Joseph Myers <joseph@codesourcery.com>
19805
19806 [BZ #15036]
19807 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19808 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19809 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19811
198122013-01-21 David S. Miller <davem@davemloft.net>
19813
19814 * sysdeps/sparc/backtrace.c: New file.
19815 * sysdeps/sparc/sparc32/backtrace.h: New file.
19816 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19817 * sysdeps/sparc/sparc64/backtrace.h: New file.
19818 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19819 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19820 -funwind-tables.
19821
198222013-01-21 Andreas Schwab <schwab@suse.de>
19823
19824 [BZ #15020]
19825 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19826 closed its stdout.
19827
198282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19829
19830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19831 "mpa2.h".
19832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19833
198342013-01-18 Joseph Myers <joseph@codesourcery.com>
19835 Mark Mitchell <mark@codesourcery.com>
19836 Tom de Vries <tom@codesourcery.com>
19837 Paul Pluzhnikov <ppluzhnikov@google.com>
19838
19839 * debug/tst-backtrace2.c: New file.
19840 * debug/tst-backtrace3.c: Likewise.
19841 * debug/tst-backtrace4.c: Likewise.
19842 * debug/tst-backtrace5.c: Likewise.
19843 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19844 (CFLAGS-tst-backtrace3.c): Likewise.
19845 (CFLAGS-tst-backtrace4.c): Likewise.
19846 (CFLAGS-tst-backtrace5.c): Likewise.
19847 (LDFLAGS-tst-backtrace2): Likewise.
19848 (LDFLAGS-tst-backtrace3): Likewise.
19849 (LDFLAGS-tst-backtrace4): Likewise.
19850 (LDFLAGS-tst-backtrace5): Likewise.
19851 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19852 tst-backtrace4 and tst-backtrace5.
19853
198542013-01-18 Anton Blanchard <anton@samba.org>
19855 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19856
19857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19858 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19860 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19862 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19863 "+r" and remove output regs list as redundant. Add explicit inline
19864 asm to specify register of return val to work around compiler codegen
19865 bug. Remove (int) cast on return value. Add return type parameter to
19866 use in macro so that this macro does not truncate return value for
19867 64-bit values.
19868 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19869 pass to INTERNAL_VSYSCALL_NCS.
19870 (INLINE_VSYSCALL): Add 'long int' as return type to
19871 INTERNAL_VSYSCALL_NCS macro invocation.
19872 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19873 INTERNAL_VSYSCALL_NCS macro invocation.
19874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19875
198762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19877
19878 [BZ #14496]
19879 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19880 Fix application of SIMD FP exception mask.
19881
19882 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19883 mp_no from a power of two.
19884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19885 __mpexp_twomm1. Use __pow_mp.
19886
19887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19888 multiplication.
19889
198902013-01-17 David S. Miller <davem@davemloft.net>
19891
19892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19893
198942013-01-17 Joseph Myers <joseph@codesourcery.com>
19895
19896 [BZ #15023]
19897 * include/complex.h: Condition contents on [!_COMPLEX_H].
19898 (__kernel_casinhf): New prototype.
19899 (__kernel_casinh): Likewise.
19900 (__kernel_casinhl): Likewise.
19901 * math/Makefile (libm_calls): Add k_casinh.
19902 * math/k_casinh.c: New file.
19903 * math/k_casinhf.c: Likewise.
19904 * math/k_casinhl.c: Likewise.
19905 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19906 finite nonzero arguments.
19907 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19908 finite nonzero arguments.
19909 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19910 finite nonzero arguments.
19911 * math/s_casinh.c: Do not include <float.h>.
19912 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19913 * math/s_casinhf.c: Do not include <float.h>.
19914 (__casinhf): Move code for finite nonzero arguments to
19915 k_casinhf.c.
19916 * math/s_casinhl.c: Do not include <float.h>.
19917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19918 redefine.
19919 (__casinhl): Move code for finite nonzero arguments to
19920 k_casinhl.c.
19921 * math/libm-test.inc (cacos_test): Add more tests.
19922 * sysdeps/i386/fpu/libm-test-ulps: Update.
19923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924
199252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19926
19927 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19928 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19929 [!HAVE_MREMAP]: Remove [defined linux] case.
19930 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19931
199322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19933
19934 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19935
199362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19937
19938 * elf/elf.h (R_386_SIZE32): New relocation.
19939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19940 R_386_SIZE32.
19941 (elf_machine_rela): Likewise.
19942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19943 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19944
199452013-01-17 Joseph Myers <joseph@codesourcery.com>
19946
19947 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19948 (FP_FAST_FMA): Do not define.
19949 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19950 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19951 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19952 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19953 !_SOFT_FLOAT]: Likewise.
19954 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19956 value.
19957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19958 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19959 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19960 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19961 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19962 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19963 file.
19964
199652013-01-16 Andreas Schwab <schwab@suse.de>
19966
19967 [BZ #14327]
19968 * include/stdlib.h (__mktemp): Add declaration.
19969 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19970 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19971
199722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19973
19974 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19975 definitions.
19976 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19977 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19978 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19979 definitions here.
19980 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19981 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19982 definitions.
19983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19984 and ONE.
19985 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19986 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19987 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19988 definitions.
19989 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19990 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19991 definitions.
19992 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19993
19994 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19995
199962013-01-15 David S. Miller <davem@davemloft.net>
19997
19998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19999 trunc{,f} to libm-sysdep_routes.
20000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20002 file.
20003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20005 file.
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20007 file.
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20013 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20014 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20015 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20016
20017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20018 nearbyint{,f} to libm-sysdep_routes.
20019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20021 New file.
20022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20023 file.
20024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20025 New file.
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20027 file.
20028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20031 file.
20032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20034 file.
20035 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20036 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20037 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20038
20039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20040 libc_feholdexcept and libc_fesetenv.
20041
200422013-01-15 Mike Frysinger <vapier@gentoo.org>
20043
20044 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20045
200462013-01-14 David S. Miller <davem@davemloft.net>
20047
20048 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20049 (SPARC_ASM_VIS2_IFUNC): Likewise.
20050 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20052 use of 'siam' instruction.
20053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20054 Likewise.
20055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20056 Likewise.
20057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20058 Likewise.
20059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20064 file.
20065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20066 file.
20067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20068 file.
20069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20070 file.
20071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20076 new VIS2 routines.
20077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20080 Likewise.
20081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20086 routines to libm-sysdep_routines.
20087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20088
20089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20090 fdim/fdimf to libm-sysdep_routines.
20091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20092 file.
20093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20095 file.
20096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20099 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20100 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20101 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20102 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20103
201042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20105
20106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20107 to optimize copies.
20108
20109 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20112
20113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20114 local variable MPTWO.
20115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20116 Likewise.
20117
201182013-01-13 Mike Frysinger <vapier@gentoo.org>
20119
20120 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20121 GLOB_NOESCAPE.
20122
201232013-01-13 Mike Frysinger <vapier@gentoo.org>
20124
20125 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20126
201272013-01-13 Mike Frysinger <vapier@gentoo.org>
20128
20129 * manual/pattern.texi (glob_t): Document gl_flags.
20130 (glob64_t): Likewise.
20131
201322013-01-11 David S. Miller <davem@davemloft.net>
20133
20134 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20135 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20136 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
20137 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20138 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20139 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20140 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20141 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20142 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20143 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20145 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20146 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20147
20148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20149 sparc V9 rather than using V8 code.
20150 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20151 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20152
20153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20154 Move to...
20155 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20156 Here.
20157
201582013-01-11 Roland McGrath <roland@hack.frob.com>
20159
20160 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20161 not in the main loop.
20162 * configure: Regenerated.
20163
201642013-01-11 Joseph Myers <joseph@codesourcery.com>
20165
20166 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20167 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20168 to just #else.
20169 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
20170 [!__GLIBC_HAVE_LONG_LONG] case.
20171 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20172 condition to just #else.
20173 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20174 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20175 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20176 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20177 unconditional.
20178 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20179 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20180 #elif condition to just #else.
20181 * sysdeps/unix/sysv/linux/sys/sysmacros.h
20182 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20183 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20184 #elif condition to just #else.
20185
201862013-01-11 Steve Ellcey <sellcey@mips.com>
20187
20188 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20189 (EF_MIPS_ARCH_64): Fix value.
20190 (EF_MIPS_ARCH_32R2): New.
20191 (EF_MIPS_ARCH_64R2): New.
20192
201932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
20194
20195 * Makeconfig (+link-pie-before-libc): New.
20196 (+link-pie-after-libc): Likewise.
20197 (+link-pie-tests): Likewise.
20198 (+link-pie): Rewritten.
20199 (link-before-libc): Remove $(config-LDFLAGS).
20200 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20201 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20202 (config-LDFLAGS): Renamed to ...
20203 (rtld-LDFLAGS): This.
20204 (rtld-tests-LDFLAGS): New macro.
20205 (link-libc-rpath-link): Likewise.
20206 (link-libc-tests-rpath-link): Likewise.
20207 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20208 (link-libc): Prepand $(link-libc-rpath-link).
20209 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20210 (test-program-prefix): New macro.
20211 (test-via-rtld-prefix): Likewise.
20212 (test-program-cmd): Likewise.
20213 (host-test-program-cmd): Likewise.
20214 * Makefile ($(common-objpfx)testrun.sh): Replace
20215 $(run-program-prefix) with $(test-program-prefix).
20216 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20217 $(rtld-LDFLAGS).
20218 ($(common-objpfx)shlib.lds): Likewise.
20219 (build-module-helper): Likewise.
20220 ($(common-objpfx)format.lds): Likewise.
20221 * Rules (binaries-pie-tests): New.
20222 (binaries-pie-notests): Likewise.
20223 (binaries-pie): Rewritten.
20224 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20225 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20226 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20227 (make-test-out): Replace $(host-built-program-cmd) with
20228 $(host-test-program-cmd).
20229 * config.make.in (build-hardcoded-path-in-tests): New variable.
20230 * configure.in (--enable-hardcoded-path-in-tests): New configure
20231 option.
20232 (hardcoded_path_in_tests): New AC_SUBST.
20233 * configure: Regenerated.
20234 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20235 $(built-program-cmd) with $(test-program-cmd).
20236 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20237 (test_program_cmd): This.
20238 * elf/Makefile ($(objpfx)order.out): Run test with
20239 $(test-program-prefix).
20240 ($(objpfx)order2.out): Likewise.
20241 ($(objpfx)tst-initorder.out): Likewise.
20242 ($(objpfx)tst-initorder2.out): Likewise.
20243 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20244 $(test-program-cmd).
20245 ($(objpfx)tst-array1-static.out): Likewise.
20246 ($(objpfx)tst-array2.out): Likewise.
20247 ($(objpfx)tst-array3.out): Likewise.
20248 ($(objpfx)tst-array4.out): Likewise.
20249 ($(objpfx)tst-array5.out): Likewise.
20250 ($(objpfx)tst-array5-static.out): Likewise.
20251 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20252 $(test-program-cmd).
20253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20254 $(run-program-prefix) with $(test-program-prefix).
20255 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20256 (test_program_prefix): This.
20257 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20258 $(run-program-prefix) with $(test-program-prefix).
20259 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20260 (test_program_prefix): This.
20261 * iconvdata/tst-tables.sh: Likewise.
20262 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20263 $(run-program-prefix) with $(test-program-prefix).
20264 ($(objpfx)tst-translit.out): Likewise.
20265 ($(objpfx)tst-gettext2.out): Likewise.
20266 ($(objpfx)tst-gettext4.out): Likewise.
20267 ($(objpfx)tst-gettext6.out): Likewise.
20268 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20269 (test_program_prefix): This.
20270 * intl/tst-gettext2.sh: Likewise.
20271 * intl/tst-gettext4.sh Likewise.
20272 * intl/tst-gettext6.sh: Likewise.
20273 * intl/tst-translit.sh: Likewise.
20274 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20275 with $(test-program-cmd).
20276 * libio/Makefile ($(objpfx)test-freopen.out): Replace
20277 $(run-program-prefix) with $(test-program-prefix).
20278 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20279 (test_program_prefix): This.
20280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20281 $(run-program-prefix) with $(test-program-prefix).
20282 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20283 (test_program_prefix): This.
20284 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20285 * posix/Makefile ($(objpfx)globtest.out): Replace
20286 $(run-via-rtld-prefix) and $(test-wrapper) with
20287 $(test-program-prefix) and $(test-via-rtld-prefix).
20288 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20289 $(test-program-prefix).
20290 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20291 $(host-test-program-cmd).
20292 (tst-spawn-ARGS): Likewise.
20293 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20294 $(test-program-prefix).
20295 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20296 (test_via_rtld_prefix): This.
20297 (test_wrapper): Renamed to ...
20298 (test_program_prefix): This.
20299 (run_program_prefix): Replaced by test_program_prefix.
20300 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20301 (test_program_prefix): This.
20302 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20303 with $(host-test-program-cmd).
20304 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20305 $(run-program-prefix) with $(test-program-prefix).
20306 ($(objpfx)tst-printf.out): Likewise.
20307 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20308 $(test-program-cmd).
20309 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20310 (test_program_prefix): This.
20311 * stdio-common/tst-unbputc.sh: Likewise.
20312 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20313 $(run-program-prefix) with $(test-program-prefix).
20314 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20315 (test_program_prefix): This.
20316 * string/Makefile ($(objpfx)tst-svc.out): Replace
20317 $(built-program-cmd) with $(test-program-cmd).
20318
203192013-01-11 Andreas Jaeger <aj@suse.de>
20320
20321 [BZ #15003]
20322 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20323 value. Sync with Linux 3.7.
20324
203252013-01-10 David S. Miller <davem@davemloft.net>
20326
20327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20330
203312013-01-10 Roland McGrath <roland@hack.frob.com>
20332
20333 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20334 never set.
20335 * configure: Regenerated.
20336
203372013-01-10 David S. Miller <davem@davemloft.net>
20338
20339 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20340 sparc V9 rather than using V8 code.
20341 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20342 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20343
203442013-01-10 Roland McGrath <roland@hack.frob.com>
20345
20346 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20347 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20348 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20349 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20350 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20351 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20352 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20353 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20354 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20355 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20356 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20357 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20358 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20359 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20360 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20361 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20362 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20363 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20364 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20365 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20366 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20367 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20368 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20369 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20370 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20371 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20372 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20373
203742013-01-10 David S. Miller <davem@davemloft.net>
20375
20376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20377
203782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20379
20380 * posix/Makefile (tests-static): New variable.
20381 (tests): Add $(tests-static).
20382 (tst-exec-static-ARGS): New variable.
20383 (tst-spawn-static-ARGS): Likewise.
20384 * posix/tst-exec-static.c: New file.
20385 * posix/tst-spawn-static.c: Likewise.
20386 * posix/tst-exec.c: Support run directly.
20387 * posix/tst-spawn.c: Likewise.
20388
203892013-01-10 Joseph Myers <joseph@codesourcery.com>
20390
20391 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20392 long.
20393 * math/bits/mathcalls.h (llrint): Likewise.
20394 (llround): Likewise.
20395 * stdlib/stdlib.h (struct drand48_data): Likewise.
20396 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20397 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20398 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20399 Likewise.
20400 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20401 Likewise.
20402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20403 (elf_greg_t): Likewise.
20404 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20405 (__jmp_buf): Likewise.
20406 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20407 definitions.
20408 (llrint): Likewise, for all definitions.
20409 (llrintl): Likewise.
20410
20411 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20412 Remove [__GNUC__] condition.
20413 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20414 condition to just [__USE_ISOC99].
20415 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20416
204172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
20418
20419 [BZ #14200]
20420 * sysdeps/unix/sysv/linux/x86/bits/environments.h
20421 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20422 defined.
20423 (_POSIX_V6_ILP32_OFF32): Likewise.
20424 (_XBS5_ILP32_OFF32): Likewise.
20425 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20426 (__ILP32_OFFBIG_LDFLAGS): Likewise.
20427
204282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20429
20430 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20431
20432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20433 doubles __mpexp_twomm1. Adjust usage.
20434 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20435 Remove.
20436
204372013-01-10 Andreas Schwab <schwab@suse.de>
20438
20439 [BZ #14964]
20440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20441 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20442
204432013-01-09 David S. Miller <davem@davemloft.net>
20444
20445 [BZ #15003]
20446 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20447 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20448 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20449 (TCP_FASTOPEN): Define.
20450 (tcp_repair_opt): New structure.
20451 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20452 enum values.
20453 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20454 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20455 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20456 (tcp_cookie_transactions): New structure.
20457
204582013-01-09 Anton Blanchard <anton@samba.org>
20459
20460 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20461 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20464
204652013-01-09 Joseph Myers <joseph@codesourcery.com>
20466
20467 * include/features.h (__USE_ANSI): Remove.
20468
204692013-01-09 Roland McGrath <roland@hack.frob.com>
20470
20471 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20472
20473 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20474
204752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
20476
20477 * sysdeps/s390/fpu/libm-test-ulps: Update.
20478
20479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20480
20481 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20482 (__acr): Likewise.
20483 (__cpy): Likewise.
20484 (norm): Likewise.
20485 (denorm): Likewise.
20486 (__mp_dbl): Likewise.
20487 (__dbl_mp): Likewise.
20488 (add_magnitudes): Likewise.
20489 (sub_magnitudes): Likewise.
20490 (__add): Likewise.
20491 (__sub): Likewise.
20492 (__mul): Likewise.
20493 (__inv): Likewise.
20494 (__dvd): Likewise.
20495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20496 (__acr): Likewise.
20497 (__cpy): Likewise.
20498 (norm): Likewise.
20499 (denorm): Likewise.
20500 (__mp_dbl): Likewise.
20501 (__dbl_mp): Likewise.
20502 (add_magnitudes): Likewise.
20503 (sub_magnitudes): Likewise.
20504 (__add): Likewise.
20505 (__sub): Likewise.
20506 (__mul): Likewise.
20507 (__inv): Likewise.
20508 (__dvd): Likewise.
20509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20510 (__acr): Likewise.
20511 (__cpy): Likewise.
20512 (norm): Likewise.
20513 (denorm): Likewise.
20514 (__mp_dbl): Likewise.
20515 (__dbl_mp): Likewise.
20516 (add_magnitudes): Likewise.
20517 (sub_magnitudes): Likewise.
20518 (__add): Likewise.
20519 (__sub): Likewise.
20520 (__mul): Likewise.
20521 (__inv): Likewise.
20522 (__dvd): Likewise.
20523
205242013-01-08 Joseph Myers <joseph@codesourcery.com>
20525
20526 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20527 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20528 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20529 2 && __USE_EXTERN_INLINES]: Likewise.
20530
205312013-01-08 Andreas Jaeger <aj@suse.de>
20532
20533 [BZ# 14985]
20534 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20535 Remove.
20536 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20538
205392013-01-07 Anton Blanchard <anton@samba.org>
20540
20541 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20542 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20543 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20544 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20545 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20546 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20547 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20548 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20550 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20561 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20562 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20564 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20565 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20566 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20568 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20570 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20571 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20575 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20579 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20580 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20583 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20584
205852013-01-07 Joseph Myers <joseph@codesourcery.com>
20586
20587 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20588 (__MALLOC_PMT): Likewise.
20589 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20590 [__GNUC__], only on [_LIBC].
20591 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20592 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20593 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20594 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20595 forward declaration.
20596 (realloc_hook_ini): Likewise.
20597 (memalign_hook_ini): Likewise.
20598 (__libc_memalign): Do not use __MALLOC_PMT in variable
20599 declaration.
20600 (__libc_valloc): Likewise.
20601 (__libc_pvalloc): Likewise.
20602 (__libc_calloc): Likewise.
20603 (__posix_memalign): Likewise.
20604
20605 [BZ #14996]
20606 * math/s_casinh.c: Include <float.h>.
20607 (__casinh): Do not do computation with squaring and square root
20608 for large arguments.
20609 * math/s_casinhf.c: Include <float.h>.
20610 (__casinhf): Do not do computation with squaring and square root
20611 for large arguments.
20612 * math/s_casinhl.c: Include <float.h>.
20613 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20614 (__casinhl): Do not do computation with squaring and square root
20615 for large arguments.
20616 * math/libm-test.inc (casin_test): Add more tests.
20617 (casinh_test): Likewise.
20618 * sysdeps/i386/fpu/libm-test-ulps: Update.
20619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20620
206212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20622
20623 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20624 (__x86_64_raw_data_cache_size): Likewise.
20625 (__x86_64_data_cache_size_half): Likewise.
20626 (__x86_64_raw_data_cache_size_half): Likewise.
20627 (__x86_64_shared_cache_size): Likewise.
20628 (__x86_64_raw_shared_cache_size): Likewise.
20629 (__x86_64_shared_cache_size_half): Likewise.
20630 (__x86_64_raw_shared_cache_size_half): Likewise.
20631 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20632 to ...
20633 (__x86_data_cache_size): This.
20634 (__x86_64_raw_data_cache_size): Renamed to ...
20635 (__x86_raw_data_cache_size): This.
20636 (__x86_64_data_cache_size_half): Renamed to ...
20637 (__x86_data_cache_size_half): This.
20638 (__x86_64_raw_data_cache_size_half): Renamed to ...
20639 (__x86_raw_data_cache_size_half): This.
20640 (__x86_64_shared_cache_size): Renamed to ...
20641 (__x86_shared_cache_size): This.
20642 (__x86_64_raw_shared_cache_size): Renamed to ...
20643 (__x86_raw_shared_cache_size): This.
20644 (__x86_64_shared_cache_size_half): Renamed to ...
20645 (__x86_shared_cache_size_half): This.
20646 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20647 (__x86_raw_shared_cache_size_half): This.
20648 * sysdeps/x86_64/memcpy.S: Updated.
20649 * sysdeps/x86_64/memset.S: Likewise.
20650 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20653
206542013-01-04 David S. Miller <davem@davemloft.net>
20655
20656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20657
206582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20659
20660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20661 1 to avoid redefinition warning.
20662 (__USE_GNU): Don't define.
20663 (init_signaling_nan): Protoize.
20664
20665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20666
206672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20668
20669 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20671 (__cpymn): Likewise.
20672 (norm): Remove commented code.
20673 (denorm): Likewise.
20674 (__mp_dbl): Likewise.
20675 (__inv): Likewise.
20676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20677 (__cpymn): Likewise.
20678 (norm): Remove commented code.
20679 (denorm): Likewise.
20680 (__mp_dbl): Likewise.
20681 (__inv): Likewise.
20682
20683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20684 mp_no value for 1.0 and 2.0.
20685 (norm): Use RADIXI instead of radixi.d.
20686 (denorm): Likewise.
20687 (__mul): Use 0.0 instead of zero.d.
20688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20689 mp_no value for 1.0 and 2.0.
20690 (norm): Use RADIXI instead of radixi.d.
20691 (denorm): Likewise.
20692 (__mul): Use 0.0 instead of zero.d.
20693
206942013-01-04 Joseph Myers <joseph@codesourcery.com>
20695
20696 [BZ #14994]
20697 * math/s_casinh.c (__casinh): Reduce finite argument to first
20698 quadrant then set signs of results at the end.
20699 * math/s_casinhf.c (__casinhf): Likewise.
20700 * math/s_casinhl.c (__casinhl): Likewise.
20701 * math/libm-test.inc (casin_test): Add more tests.
20702 (casinh_test): Likewise.
20703 * sysdeps/i386/fpu/libm-test-ulps: Update.
20704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20705
207062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20707
20708 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20709
20710 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20711
20712 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20713 declarations.
20714 (denorm): Likewise.
20715 (__mp_dbl): Likewise.
20716 (__inv): Likewise.
20717
20718 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20719 and adjust the header comment.
20720
20721 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20722 variable name from declaration.
20723
207242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20725
20726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20727 Initialize COMMON_CPUID_INDEX_7 element.
20728 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20729 (CPUID_RTM): Likewise.
20730 (HAS_RTM): Likewise.
20731 (COMMON_CPUID_INDEX_7): New enum.
20732
207332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20734
20735 [BZ #14981]
20736 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20737 size is zero, record memory as freed.
20738
207392013-01-03 Andreas Jaeger <aj@suse.de>
20740
20741 * po/ia.po: Add new Interlingua translation.
20742
207432012-01-03 Allan McRae <allan@archlinux.org>
20744
20745 * locale/programs/localedef.c: Fix description of '--posix' flag.
20746
207472013-01-02 Joseph Myers <joseph@codesourcery.com>
20748
20749 * NEWS: Update dates in second copyright notice.
20750 * README: Update copyright dates in example.
20751 * manual/libc.texinfo: Update copyright dates.
20752 * scripts/test-installation.pl: Update copyright date in --version
20753 output.
20754
20755 * hurd/ctty-input.c: Fix copyright notice formatting.
20756 * hurd/ctty-output.c: Likewise.
20757 * hurd/dtable.c: Likewise.
20758 * hurd/hurd-raise.c: Likewise.
20759 * hurd/hurdprio.c: Likewise.
20760 * hurd/msgportdemux.c: Likewise.
20761 * misc/sys/file.h: Likewise.
20762 * misc/sys/ioctl.h: Likewise.
20763 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20764 * sysdeps/mach/hurd/chdir.c: Likewise.
20765 * sysdeps/mach/hurd/fchdir.c: Likewise.
20766 * sysdeps/mach/hurd/rename.c: Likewise.
20767 * sysdeps/mach/hurd/rmdir.c: Likewise.
20768 * sysdeps/mach/hurd/seekdir.c: Likewise.
20769 * sysdeps/mach/hurd/setsid.c: Likewise.
20770 * sysdeps/posix/wait3.c: Likewise.
20771
20772 * All files with FSF copyright notices: Update copyright dates
20773 using scripts/update-copyrights.
20774 * intl/plural.c: Regenerated.
20775 * locale/programs/charmap-kw.h: Likewise.
20776 * locale/programs/locfile-kw.h: Likewise.
20777
207782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20779
20780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20781 four values.
20782
20783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20784 calculation loop and add branch prediction.
20785
20786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20787 check access beyond bounds of m1np.
20788
20789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20790 MPTWO.
20791 (__inv): Remove local variable MPTWO to use the global
20792 constant.
20793 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20795 variable MPTWO.
20796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20797 MP3HALFS static const.
20798
207992013-01-01 David S. Miller <davem@davemloft.net>
20800
20801 * po/ca.po: Update from translation team.
20802
208032013-01-01 Joseph Myers <joseph@codesourcery.com>
20804
20805 * scripts/update-copyrights: New file.
20806 * Makeconfig: Reformat copyright notice.
20807 * ctype/ctype.h: Likewise.
20808 * debug/swprintf_chk.c: Likewise.
20809 * elf/dl-cache.c: Likewise.
20810 * elf/dl-debug.c: Likewise.
20811 * elf/dl-object.c: Likewise.
20812 * grp/initgroups.c: Likewise.
20813 * hurd/Makefile: Likewise.
20814 * hurd/hurd/signal.h: Likewise.
20815 * hurd/hurdfault.c: Likewise.
20816 * hurd/hurdioctl.c: Likewise.
20817 * hurd/hurdlookup.c: Likewise.
20818 * hurd/intr-msg.c: Likewise.
20819 * iconv/gconv_open.c: Likewise.
20820 * libio/swprintf.c: Likewise.
20821 * locale/lc-ctype.c: Likewise.
20822 * locale/nl_langinfo.c: Likewise.
20823 * mach/Machrules: Likewise.
20824 * mach/Makefile: Likewise.
20825 * malloc/obstack.h: Likewise.
20826 * manual/Makefile: Likewise.
20827 * manual/tsort.awk: Likewise.
20828 * misc/bits/stab.def: Likewise.
20829 * nis/nis_print_group_entry.c: Likewise.
20830 * nis/nis_table.c: Likewise.
20831 * nis/nss_compat/compat-pwd.c: Likewise.
20832 * nis/nss_compat/compat-spwd.c: Likewise.
20833 * po/Makefile: Likewise.
20834 * posix/fnmatch.c: Likewise.
20835 * posix/regex.h: Likewise.
20836 * resolv/Makefile: Likewise.
20837 * resolv/nss_dns/dns-network.c: Likewise.
20838 * resolv/res_hconf.c: Likewise.
20839 * scripts/gen-sorted.awk: Likewise.
20840 * soft-fp/soft-fp.h: Likewise.
20841 * stdio-common/printf.h: Likewise.
20842 * stdlib/monetary.h: Likewise.
20843 * stdlib/random.c: Likewise.
20844 * stdlib/random_r.c: Likewise.
20845 * sysdeps/generic/Makefile: Likewise.
20846 * sysdeps/gnu/Makefile: Likewise.
20847 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20858 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20859 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20860 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20861 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20865 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20867 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20868 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20869 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20870 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20871 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20875 * sysdeps/mach/hurd/errnos.awk: Likewise.
20876 * sysdeps/mach/hurd/fork.c: Likewise.
20877 * sysdeps/mach/hurd/getcwd.c: Likewise.
20878 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20879 * sysdeps/mach/hurd/mmap.c: Likewise.
20880 * sysdeps/mach/hurd/utimes.c: Likewise.
20881 * sysdeps/mach/hurd/xmknod.c: Likewise.
20882 * sysdeps/posix/profil.c: Likewise.
20883 * sysdeps/posix/readdir_r.c: Likewise.
20884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20885 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20886 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20895 * sysdeps/pthread/lio_listio.c: Likewise.
20896 * sysdeps/sparc/dl-procinfo.h: Likewise.
20897 * sysdeps/unix/i386/sysdep.S: Likewise.
20898 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20899 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20900 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20901 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20903 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20904 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20905 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20906 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20907 * sysdeps/wordsize-32/divdi3.c: Likewise.
20908 * time/sys/time.h: Likewise.
20909 * wcsmbs/Makefile: Likewise.
20910
209112013-01-01 David S. Miller <davem@davemloft.net>
20912
20913 * po/fr.po: Update from translation team.
20914
20915 * catgets/gencat.c: Update copyright year.
20916 * csu/version.c: Likewise.
20917 * debug/catchsegv.sh: Likewise.
20918 * debug/pcprofiledump.c: Likewise.
20919 * debug/xtrace.sh: Likewise.
20920 * elf/ldconfig.c: Likewise.
20921 * elf/ldd.bash.in: Likewise.
20922 * elf/pldd.c: Likewise.
20923 * elf/sotruss.ksh: Likewise.
20924 * elf/sprof.c: Likewise.
20925 * iconv/iconv_prog.c: Likewise.
20926 * iconv/iconvconfig.c: Likewise.
20927 * locale/programs/locale.c: Likewise.
20928 * locale/programs/localedef.c: Likewise.
20929 * login/programs/pt_chown.c: Likewise.
20930 * malloc/memusage.sh: Likewise.
20931 * malloc/memusagestat.c: Likewise.
20932 * malloc/mtrace.pl: Likewise.
20933 * nscd/nscd.c: Likewise.
20934 * nss/getent.c: Likewise.
20935 * nss/makedb.c: Likewise.
20936 * posix/getconf.c: Likewise.
20937
209382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20939
20940 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20941 numbers.
20942
209432012-12-30 Mike Frysinger <vapier@gentoo.org>
20944
20945 * math/bits/mathcalls.h (modf): Use __nonnull.
20946
209472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20948
20949 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20950 (split): Use macro CN instead of the bare value.
20951 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20952 could be used.
20953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20954 instead of the bare value.
20955 (power1): Likewise.
20956
209572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20958
20959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20960 __ATAN_TWOM.
20961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20962
20963 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20964 their values.
20965 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20967 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20968 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20969
209702012-12-28 Andreas Jaeger <aj@suse.de>
20971
20972 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20973 values are from Linux 3.7.
20974
20975 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20976 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20977
209782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20979
20980 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20981 TRUE case.
20982
20983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20984 (norm): Likewise.
20985 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20986 variables with preprocessor constants.
20987 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20988 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20990
209912012-12-27 Bruno Haible <bruno@clisp.org>
20992
20993 [BZ #14317]
20994 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20995 only if needed.
20996
209972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20998
20999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21000 and use variable directly.
21001 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21002
21003 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21004 MPONE.
21005 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21007 variable MPONE.
21008 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21010 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21011 include directive. Remove local variable MPONE.
21012 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21013 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21015
210162012-12-25 David S. Miller <davem@davemloft.net>
21017
21018 * version.h (RELEASE): Set to "development".
21019 (VERSION): Set to "2.17.90".
21020 * NEWS: Add 2.18 section.
21021
210222012-12-21 David S. Miller <davem@davemloft.net>
21023
21024 * po/hr.po: Update from translation team.
21025
210262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21027
21028 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21029
210302012-12-19 Steve Ellcey <sellcey@mips.com>
21031
21032 * NEWS: Mention new memcpy for MIPS.
21033
210342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21035
21036 * manual/contrib.texi (Contributors): Spelling correction.
21037
210382012-12-15 David S. Miller <davem@davemloft.net>
21039
21040 * po/ru.po: Update from translation team.
21041
210422012-12-13 David S. Miller <davem@davemloft.net>
21043
21044 * NEWS: Mention IFUNC testsuite enhancements.
21045
21046 * po/pl.po: Update from translation team.
21047 * po/bg.po: Likewise.
21048
21049 * manual/contrib.texi (Contributors): Update entries for Hongjiu
21050 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
21051
210522012-12-11 David S. Miller <davem@davemloft.net>
21053
21054 * po/sv.po: Update from translation team.
21055
21056 * po/vi.po: Update from translation team.
21057
21058 * po/cs.po: Update from translation team.
21059
21060 * po/de.po: Update from translation team.
21061 * po/eo.po: Likewise.
21062 * po/nl.po: Likewise.
21063
210642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21065
21066 [BZ #14246]
21067 * manual/argp.texi (Argp Helper Functions): Move node to follow
21068 Argp Parsing State.
21069
21070 [BZ #14872]
21071 * manual/conf.texi (Limits on File System Capacity): Mention if
21072 terminating null is included in the max size.
21073
210742012-12-10 Andreas Jaeger <aj@suse.de>
21075
21076 * po/cs.po: Update from translation team.
21077
210782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21079
21080 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21081 void pointer and cast to uintptr_t.
21082 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21083 path.
21084 * sysdeps/s390/s390-64/memcpy.S: Likewise.
21085 * sysdeps/s390/s390-64/memset.S: Likewise.
21086
210872012-12-08 Benno Schulenberg <bensberg@justemail.net>
21088
21089 [BZ #14833]
21090 * menual/message.texi (Message Translation): Fix typos.
21091 (Helper programs for gettext): Likewise.
21092
210932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
21094
21095 [BZ #14898]
21096 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21097 Change to -1.
21098
210992012-12-07 David S. Miller <davem@davemloft.net>
21100
21101 * po/libc.pot: Update.
21102
211032012-12-07 Richard Henderson <rth@redhat.com>
21104
21105 [BZ #10114]
21106 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21107 normal/normal case to before the switch.
21108 (_FP_DIV): Likewise.
21109
211102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
21111 Mike Frysinger <vapier@gentoo.org>
21112
21113 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21114 check for __NR_fadvise64_64.
21115
211162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
21117
21118 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21119 0, not just to plain "0" as a statement.
21120 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21121 with cw.
21122
211232012-12-06 Joseph Myers <joseph@codesourcery.com>
21124
21125 * NEWS: Use sourceware.org in Bugzilla URL.
21126
211272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21128
21129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21130 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21131
21132 * stdio-common/tst-put-error.c (do_test): Add newline to the
21133 padded test to ensure flush.
21134
211352012-12-05 Jeff Law <law@redhat.com>
21136
21137 * sunrpc/etc.rpc (fedfs_admin): Add entry.
21138
211392012-12-05 Joseph Myers <joseph@codesourcery.com>
21140
21141 * README: Don't refer to ports add-on as distributed separately.
21142 Mention AArch64 in list of systems supported in the ports add-on.
21143
21144 * LICENSES: Add more non-FSF copyright and license notices.
21145
21146 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21147 ((unused)).
21148
21149 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21150
21151 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21152 10000 as width of padded output.
21153
211542012-12-04 Joseph Myers <joseph@codesourcery.com>
21155
21156 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21157
21158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21159 variable LX with __attribute__ ((unused)).
21160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21161 Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21165 with __attribute__ ((unused)).
21166
211672012-12-04 David S. Miller <davem@abraco.davemloft.net>
21168
21169 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21170
211712012-12-04 Joseph Myers <joseph@codesourcery.com>
21172
21173 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21174 (CFLAGS-nldbl-acos.c): New variable.
21175 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21176 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21177 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21178 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21179 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21180 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21181 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21182 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21183 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21184 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21185 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21186 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21187 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21188 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21189 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21190 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21191 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21192 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21193 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21194 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21195 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21196 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21197 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21198 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21199 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21200 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21201 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21202 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21203 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21204 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21205 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21206 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21207 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21208 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21209 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21210 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21211 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21212 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21213 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21214 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21215 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21216 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21217 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21218 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21219 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21220 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21221 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21222 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21223 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21224 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21225 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21226 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21227 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21228 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21229 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21230 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21231 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21232 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21233 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21234 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21235 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21236 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21237 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21238 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21239 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21240 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21241 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21242 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21243 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21244 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21245 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21246 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21247 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21248 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21249 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21250 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21251 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21252 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21253 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21254 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21255 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21256 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21257 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21258 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21259 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21260 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21261 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21262 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21263 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21264 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21265 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21266 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21267 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21268 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21269 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21270 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21271 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21272
21273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21274 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21275
21276 [BZ #14914]
21277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21278 whole low double instead of just low 47 bits when splitting values
21279 into two parts.
21280
212812012-12-03 Allan McRae <allan@archlinux.org>
21282
21283 * manual/stdio.texi (Predefined Printf Handlers): Remove
21284 @hsep and @vsep usage.
21285
212862012-12-03 Mike Frysinger <vapier@gentoo.org>
21287
21288 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21289 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21290
212912012-12-03 Jeff Law <law@redhat.com>
21292
21293 * time/sys/time.h (settimeofday): Do not mark TV argument
21294 as __nonnull.
21295
212962012-12-01 Mike Frysinger <vapier@gentoo.org>
21297
21298 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21299 when currently writing and seek to current position when not.
21300 * libio/Makefile (tests): Remove bug-fclose1.
21301 * libio/bug-fclose1.c: Delete.
21302
213032012-12-01 Joseph Myers <joseph@codesourcery.com>
21304
21305 * manual/arith.texi (feenableexcept): Fix typo.
21306 (fedisableexcept): Likewise.
21307
213082012-11-30 Roland McGrath <roland@hack.frob.com>
21309
21310 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21311 second, differently-typed declaration, rather than a cast.
21312
213132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21314
21315 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21316 * include/rpc/svc.h: ... here.
21317
213182012-11-30 Aurelien Jarno <aurel32@debian.org>
21319
21320 [BZ #13013]
21321 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21322 depending n and resplen2 to catch cases where answer
21323 equals answerp2.
21324
213252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
21326
21327 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21328 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21329
213302012-11-29 Mike Frysinger <vapier@gentoo.org>
21331
21332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21333
213342012-11-29 Roland McGrath <roland@hack.frob.com>
21335
21336 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21337
213382012-11-28 Jeff Law <law@redhat.com>
21339
21340 [BZ #13761]
21341 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21342 dataset_temporary. Track alloca usage into alloca_used.
21343 If dataset is large allocate and release it via malloc/free.
21344
213452012-06-04 Florian Weimer <fweimer@redhat.com>
21346
21347 [BZ #14197]
21348 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21349
213502012-11-28 David S. Miller <davem@davemloft.net>
21351
21352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21353
213542012-11-28 Joseph Myers <joseph@codesourcery.com>
21355
21356 [BZ #14803]
21357 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21358 of pi/2 rounded to nearest to 64 bits.
21359 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21360 nearest to 64 bits.
21361 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21362 bits.
21363
213642012-11-28 Jeff Law <law@redhat.com>
21365 Martin Osvald <mosvald@redhat.com>
21366
21367 [BZ #14889]
21368 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21369 * sunrpc/svc.c: Include time.h.
21370 (__svc_accept_failed): New function.
21371 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21372 any reason other than EINTR, call __svc_accept_failed.
21373 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21374 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21375
213762012-11-28 Andreas Schwab <schwab@suse.de>
21377
21378 * scripts/abilist.awk: Also handle indirect functions in .opd
21379 section.
21380
213812012-11-28 Joseph Myers <joseph@codesourcery.com>
21382
21383 [BZ #13881]
21384 * sysdeps/x86/fpu/powl_helper.c: New file.
21385 * sysdeps/x86/fpu/Makefile: Likewise.
21386 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21387 (p3): New object.
21388 (__ieee754_powl): Use __powl_helper for finite arguments except
21389 integer exponents below 8.
21390 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21391 (p3): New object.
21392 (__ieee754_powl): Use __powl_helper for finite arguments except
21393 integer exponents below 8.
21394 * math/libm-test.inc (pow_test): Add more tests and enable some
21395 previously disabled tests.
21396 * sysdeps/i386/fpu/libm-test-ulps: Update.
21397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21398
213992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21400 Carlos O'Donell <carlos_odonell@mentor.com>
21401
21402 * nss/makedb.c (is_prime): Assert that input is odd and greater
21403 than 4. Note that fact in a comment too.
21404 (next_prime): Add 4 to input.
21405
214062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21407
21408 [BZ #11741]
21409 * libio/Makefile (tests): Add test case tst-fwrite-error.
21410 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21411 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21412 * libio/tst-fwrite-error.c: New test case.
21413
214142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21417 before casting to void *.
21418 * include/libc-internal.h (__pointer_type): New macro.
21419 (__integer_if_pointer_type_sub): Likewise.
21420 (__integer_if_pointer_type): Likewise.
21421 (cast_to_integer): Likewise.
21422 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21423 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21424 before casting to atomic64_t.
21425 (atomic_exchange_acq): Likewise.
21426 (__arch_exchange_and_add_body): Likewise.
21427 (__arch_add_body): Likewise.
21428 (atomic_add_negative): Likewise.
21429 (atomic_add_zero): Likewise.
21430
214312012-11-26 Joseph Myers <joseph@codesourcery.com>
21432
21433 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21434 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21435 (add_fdes): Likewise.
21436 (linear_search_fdes): Likewise.
21437 (binary_search_unencoded_fdes): Likewise.
21438
214392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
21440
21441 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21442
214432012-11-24 Adam Conrad <adconrad@0c3.net>
21444
21445 * configure.in: Autodetect C++ header directories.
21446 * configure: Regenerated.
21447
214482012-11-23 Mike Frysinger <vapier@gentoo.org>
21449
21450 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21451
214522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
21453
21454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21455
214562012-11-22 Joseph Myers <joseph@codesourcery.com>
21457
21458 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21459 LDBL_MANT_DIG == 106]: Disable some tests.
21460 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21461 Likewise.
21462 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21463 Likewise.
21464
21465 [BZ #14871]
21466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21467 input for small inputs. Return +/- pi/2 for large inputs.
21468 * math/libm-test.inc (atan_test): Add more tests.
21469
21470 * sysdeps/generic/unwind-dw2-fde-glibc.c
21471 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21472 __attribute__ ((unused)).
21473
21474 [BZ #14645]
21475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21476 x * y if x and y are nonzero and z is zero.
21477
21478 [BZ #14811]
21479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21480 nonzero exponents with absolute value below 0x1p-117 to +/-
21481 0x1p-117.
21482
21483 [BZ #14869]
21484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21485 up arguments below 2**-450, not just those below 2**-500.
21486 * math/libm-test.inc (hypot_test): Add another test.
21487
21488 [BZ #14868]
21489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21490 Return a+b for ratio over 2**120, not 2**60.
21491 * math/libm-test.inc (hypot_test): Add another test.
21492
21493 * math/libm-test.inc (clog_test): Use
21494 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21495 (clog10_test): Likewise.
21496
21497 [BZ #6778]
21498 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21499
215002012-11-22 Andreas Schwab <schwab@suse.de>
21501
21502 * sysdeps/i386/fpu/libm-test-ulps: Update.
21503
215042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
21505
21506 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21507 printf output with newline.
21508
215092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
21510
21511 [BZ #14865]
21512 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21513 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21514 -z nodlopen, -z initfirst and -z execstack support.
21515 * configure: Regenerated.
21516
21517 * elf/elf.h (DF_1_NODIRECT): New macro.
21518 (DF_1_IGNMULDEF): Likewise.
21519 (DF_1_NOKSYMS): Likewise.
21520 (DF_1_NOHDR): Likewise.
21521 (DF_1_EDITED): Likewise.
21522 (DF_1_NORELOC): Likewise.
21523 (DF_1_SYMINTPOSE): Likewise.
21524 (DF_1_GLOBAUDIT): Likewise.
21525 (DF_1_SINGLETON): Likewise.
21526 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21527 DT_1_SUPPORTED_MASK bits.
21528 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21529
215302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
21531
21532 * sysdeps/unix/make-syscalls.sh: Document prefixes.
21533
215342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
21535
21536 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21537 macro.
21538
21539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21540 (sendmmsg): Move declarations...
21541 * socket/sys/socket.h: ... here.
21542 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21543 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21544 include it from...
21545 * socket/recvmmsg.c: ... this new file.
21546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21547 (sendmmsg): Rename to __sendmmsg, create weak alias and make
21548 definition of __sendmmsg hidden.
21549 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21550 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21551 Move ENOSYS stub into and include it from...
21552 * socket/sendmmsg.c: ... this new file.
21553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21554 (sysdep_routines): Move recvmmsg and sendmmsg...
21555 * socket/Makefile (routines): ... here.
21556 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21557 (GLIBC_PRIVATE): Add __sendmmsg.
21558 * include/sys/socket.h (__sendmmsg): Add declarations.
21559 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21560 sendmmsg.
21561
215622012-11-20 Joseph Myers <joseph@codesourcery.com>
21563
21564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21565 variable I1 with __attribute__ ((unused)).
21566 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21567
215682012-11-19 Joseph Myers <joseph@codesourcery.com>
21569
21570 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21571 DUMMY variables with __attribute__ ((unused)).
21572
21573 * bits/byteswap.h: Include <bits/types.h>.
21574 (__bswap_64): Use __uint64_t instead of unsigned long long int.
21575
215762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21577
21578 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21579 string_t. Do not manually set errno.
21580 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21581 length with __strnlen. Make sure to both set errno and return it on
21582 failure.
21583
215842012-11-19 David S. Miller <davem@davemloft.net>
21585
21586 With help from Joseph Myers.
21587 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21588 very large arguments properly.
21589 * math/libm-test.inc (atan_test): New tests.
21590 (atan2_test): New tests.
21591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21593
215942012-11-19 Joseph Myers <joseph@codesourcery.com>
21595
21596 [BZ #14856]
21597 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21598 Define to 3.
21599
21600 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21601 [POSIX] (EADDRNOTAVAIL): Likewise.
21602 [POSIX] (EAFNOSUPPORT): Likewise.
21603 [POSIX] (EALREADY): Likewise.
21604 [POSIX] (ECONNABORTED): Likewise.
21605 [POSIX] (ECONNREFUSED): Likewise.
21606 [POSIX] (ECONNRESET): Likewise.
21607 [POSIX] (EDESTADDRREQ): Likewise.
21608 [POSIX] (EDQUOT): Likewise.
21609 [POSIX] (EHOSTUNREACH): Likewise.
21610 [POSIX] (EIDRM): Likewise.
21611 [POSIX] (EISCONN): Likewise.
21612 [POSIX] (ELOOP): Likewise.
21613 [POSIX] (EMULTIHOP): Likewise.
21614 [POSIX] (ENETDOWN): Likewise.
21615 [POSIX] (ENETUNREACH): Likewise.
21616 [POSIX] (ENOBUFS): Likewise.
21617 [POSIX] (ENODATA): Likewise.
21618 [POSIX] (ENOLINK): Likewise.
21619 [POSIX] (ENOMSG): Likewise.
21620 [POSIX] (ENOPROTOOPT): Likewise.
21621 [POSIX] (ENOSR): Likewise.
21622 [POSIX] (ENOSTR): Likewise.
21623 [POSIX] (ENOTCONN): Likewise.
21624 [POSIX] (ENOTSOCK): Likewise.
21625 [POSIX] (EOPNOTSUPP): Likewise.
21626 [POSIX] (EOVERFLOW): Likewise.
21627 [POSIX] (EPROTO): Likewise.
21628 [POSIX] (EPROTONOSUPPORT): Likewise.
21629 [POSIX] (EPROTOTYPE): Likewise.
21630 [POSIX] (ESTALE): Likewise.
21631 [POSIX] (ETIME): Likewise.
21632 [POSIX] (ETXTBSY): Likewise.
21633 [POSIX] (EWOULDBLOCK): Likewise.
21634 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21635 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21636 [POSIX] (SEEK_CUR): Likewise.
21637 [POSIX] (SEEK_END): Likewise.
21638 [POSIX || UNIX98] (mode_t): Do not require.
21639 [POSIX] (off_t): Likewise.
21640 [POSIX] (pid_t): Likewise.
21641 [POSIX] (sys/stat.h): Do not allow header.
21642 [POSIX] (unistd.h): Likewise.
21643 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21644 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21645 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21646 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21647 require.
21648 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21649 sigevent): Specify elements.
21650 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21651 entry.
21652 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21653 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21654
21655 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21656 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21657 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21658 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21659 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21660 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21661 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21662 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21663 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21664 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21665 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21666 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21667 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21669 Likewise.
21670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21671 Likewise.
21672 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21673 Likewise.
21674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21675 Likewise.
21676 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21677 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21678 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21679 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21680 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21681 Specify lower bound on value.
21682 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21683 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21684 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21685 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21686 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21687 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21688 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21689 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21690 value.
21691 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21692 as optional.
21693 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21694 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21695 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21696 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21697 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21698 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21699 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21700 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21701 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21702 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21703 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21704 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21705 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21706 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21707 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21708 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21709 entry.
21710 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21711 optional.
21712 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21713 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21714 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21715 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21716 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21717 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21718 Likewise.
21719 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21720 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21721 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21722 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21723 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21724 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21726 as optional.
21727 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21731 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21732 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21733 specify as optional.
21734 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21737 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21738 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21739 [XPG3] (NL_LANGMAX): Likewise.
21740 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21741 [POSIX || XPG3] (NL_NMAX): Likewise.
21742 [POSIX || XPG3] (NL_SETMAX): Likewise.
21743 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21744 [XPG3] (NZERO): Likewise.
21745 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21746 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21747 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21748 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21749 (REG_ERANGE): Expect.
21750 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21751 optional-constant.
21752 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21753 Use (void) in prototype.
21754 [POSIX] (*_t): Allow.
21755 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21756 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21757 (WRDE_BADVAL): Expect.
21758
21759 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21760 expect.
21761 [XPG3 || XPG4] (O_RSYNC): Likewise.
21762 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21763 Likewise.
21764 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21765 [XPG3 || XPG4] (sigqueue): Likewise.
21766 [XPG3 || XPG4] (sigtimedwait): Likewise.
21767 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21768 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21769 [XPG3 || XPG4] (vsnprintf): Likewise.
21770 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21771 Likewise.
21772 [XPG3 || XPG4] (blksize_t): Likewise.
21773 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21774 Likewise.
21775 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21776 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21777 [XPG3 || XPG4] (struct itimerspec): Likewise.
21778 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21779 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21780 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21781 [XPG3 || XPG4] (clockid_t): Likewise.
21782 [XPG3 || XPG4] (timer_t): Likewise.
21783 [XPG3 || XPG4] (clock_getres): Likewise.
21784 [XPG3 || XPG4] (clock_gettime): Likewise.
21785 [XPG3 || XPG4] (clock_settime): Likewise.
21786 [XPG3 || XPG4] (nanosleep): Likewise.
21787 [XPG3 || XPG4] (timer_create): Likewise.
21788 [XPG3 || XPG4] (timer_delete): Likewise.
21789 [XPG3 || XPG4] (timer_gettime): Likewise.
21790 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21791 [XPG3 || XPG4] (timer_settime): Likewise.
21792 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21793 [XPG3 || XPG4] (getlogin_r): Likewise.
21794 [XPG3 || XPG4] (pread): Likewise.
21795 [XPG3 || XPG4] (pthread_atfork): Likewise.
21796 [XPG3 || XPG4] (pwrite): Likewise.
21797
21798 [BZ #14835]
21799 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21800 <bits/siginfo.h>.
21801
218022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21803
21804 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21805 finalizing MALLSTREAM.
21806
21807 * sysdeps/mach/hurd/syncfs.c: New file.
21808
218092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21810
21811 [BZ #14719]
21812 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21813 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21815 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21816 (_nss_dns_gethostbyname4_r): Likewise.
21817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21818 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21819
218202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21821
21822 [BZ #13763]
21823 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21824
218252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21826
21827 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21828 * elf/cache.c (print_entry): Print ",AArch64" for
21829 FLAG_AARCH64_LIB64
21830
21831 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21832 * elf/cache.c (print_entry): Print ",hard-float" for
21833 FLAG_ARM_LIBHF.
21834
218352012-11-18 David S. Miller <davem@davemloft.net>
21836
21837 With help from Joseph Myers.
21838 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21839 cutoff to 2**-13.
21840 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21841 cutoff to 2**-25.
21842 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21843 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21844 small.
21845 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21846 * math/libm-test.inc (y0_test): New tests.
21847 (y1_test): New tests.
21848 * sysdeps/i386/fpu/libm-test-ulps: Update.
21849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21851
218522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21853
21854 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21855 64-bit targets.
21856 * configure: Regenerated.
21857
218582012-11-17 David S. Miller <davem@davemloft.net>
21859
21860 [BZ #14811]
21861 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21862 nonzero exponents with absolute value below 0x1p-128 to +/-
21863 0x1p-128.
21864
218652012-11-17 Joseph Myers <joseph@codesourcery.com>
21866
21867 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21868
21869 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21870
21871 * posix/getconf-speclist.c: New file.
21872 * posix/posix-envs.def: Likewise.
21873 * posix/confstr.c (START_ENV_GROUP): New macro.
21874 (END_ENV_GROUP): Likewise.
21875 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21876 (KNOWN_PRESENT_ENV_STRING): Likewise.
21877 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21878 (UNKNOWN_ENVIRONMENT): Likewise.
21879 (confstr): Include posix-envs.def instead of handling
21880 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21881 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21882 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21883 (END_ENV_GROUP): Likewise.
21884 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21885 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21886 (UNKNOWN_ENVIRONMENT): Likewise.
21887 (__sysconf): Include posix-envs.def instead of handling associated
21888 cases directly here.
21889 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21890 preprocessing getconf-speclist.c rather than running getconf or
21891 generating empty file.
21892
218932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21894
21895 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21896
218972012-11-16 Andrej Lajovic <natrij@gmail.com>
21898
21899 [BZ #14672]
21900 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21901
219022012-11-16 David S. Miller <davem@davemloft.net>
21903
21904 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21905 smaller than LDBL_EPSILON/2.0L, just return xm1.
21906
219072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * elf/tst-array1.c (init): Set constructor priority to 1000.
21910 (fini): Set destructor priority to 1000.
21911 * elf/tst-array2dep.c: Likewise.
21912
219132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21914
21915 [BZ #11741]
21916 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21917 (_IO_new_file_xsputn): Also return EOF if none of the input
21918 data was written when overflow failed.
21919 * libio/iopadn.c (_IO_padn): Likewise.
21920 * libio/iowpadn.c (_IO_wpadn): Likewise.
21921 * stdio-common/tst-put-error.c: Add copyright notice.
21922 (do_test): Add case for printing padded string.
21923 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21924 _IO_padn returned error.
21925 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21926 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21927 return EOF.
21928
219292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21930
21931 * libio/libioP.h: Add comment note that the references to C++
21932 bits are now obsolete.
21933
219342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21935
21936 * math/libm-test.inc (check_complex): Use asprintf.
21937
219382012-11-14 Joseph Myers <joseph@codesourcery.com>
21939
21940 * debug/pcprofiledump.c (print_version): Update copyright year.
21941 * malloc/memusagestat.c (print_version): Likewise.
21942
219432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21944
21945 [BZ #14831]
21946 * elf/Makefile (tests): Add tst-audit8.
21947 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21948 ($(objpfx)tst-audit8.out): New target.
21949 (tst-audit8-ENV): New variable.
21950 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21951 audit if l_reloc_result is NULL.
21952 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21953 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21954 * elf/tst-audit8.c: New file.
21955
219562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21957
21958 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21959 * misc/Makefile (CFLAGS-select.c): Define.
21960 * posix/Makefile (CFLAGS-pause.c): Define.
21961
219622012-11-13 David S. Miller <davem@davemloft.net>
21963
21964 * crypt/Makefile: Move test targets after toplevel Rules
21965 inclusion. Grab any necessary sysdep routines when linking.
21966 * crypt/md5.c (md5_process_block): Remove define, we will always
21967 name it __md5_process_block.
21968 (md5_finish_ctx): Update md5_process_block call.
21969 (md5_stream): Likewise.
21970 (md5_process_bytes): Likewise.
21971 (md5_process_block): Rename to __md5_process_block and move to ...
21972 * crypt/md5-block.c: ... here.
21973 * crypt/sha256.c (sha256_process_block): Move to ...
21974 * crypt/sha256-block.c: ... here.
21975 * crypt/sha512.c (sha512_process_block): Move to ...
21976 * crypt/sha512-block.c: ... here.
21977 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21978 path.
21979 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21980 * sysdeps/sparc/sparc64/multiarch/Makefile
21981 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21982 crypt subdir.
21983 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21985 multiarch changes.
21986 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21987 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21988 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21989 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21990 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21991 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21992 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21993 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21995 file.
21996 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21998 file.
21999 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22000
220012012-11-13 Joseph Myers <joseph@codesourcery.com>
22002
22003 * timezone/tzselect.ksh: Update from tzcode git revision
22004 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22005 * timezone/zdump.c: Likewise.
22006 * timezone/zic.c: Likewise.
22007 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22008 in TZVERSION setting, not $(PKGVERSION).
22009 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
22010 REPORT_BUGS_TO settings.
22011
22012 [BZ #14838]
22013 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22014 macro.
22015
220162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22017
22018 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22019 detection to immediately after _FP_ROUND().
22020 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22021 bits are 0.
22022
220232012-11-11 David S. Miller <davem@davemloft.net>
22024
22025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22026 inttypes.h
22027 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22028 __close rather than their public counterparts.
22029
220302012-11-10 Joseph Myers <joseph@codesourcery.com>
22031
22032 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22033 file.
22034 [UNIX98] (sem_timedwait): Do not expect.
22035 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22036 [XPG4 || UNIX98] (sockatmark): Do not expect.
22037 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22038 (clock_getcpuclockid): Do not expect.
22039 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22040 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22041 Do not expect.
22042 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22043 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22044 [UNIX98] (vwscanf): Likewise.
22045 [UNIX98] (vswscanf): Likewise.
22046
220472012-11-09 Joseph Myers <joseph@codesourcery.com>
22048
22049 * timezone/version.h: Remove file.
22050 * timezone/README: Do not refer to version.h.
22051 * timezone/Makefile ($(objpfx)zic.o): New dependency on
22052 $(objpfx)version.h.
22053 ($(objpfx)zdump.o): Likewise.
22054 ($(objpfx)version.h): New target.
22055
22056 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22057 2012i.
22058 * timezone/README: Don't mention modification to tzselect.ksh.
22059 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22060 work on unmodified tzselect.ksh. Substitute version numbers in
22061 tzselect.ksh.
22062
22063 * Makefile (format-me): Remove.
22064 (INSTALL): Adjust indentation. Use commands directly instead of
22065 using $(format-me).
22066
22067 * aclocal.m4 (ACX_PKGVERSION): New macro.
22068 (ACX_BUGURL): Likewise.
22069 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22070 (PKGVERSION): New AC_DEFINE_UNQUOTED.
22071 (REPORT_BUGS_TO): Likewise.
22072 * configure: Regenerated.
22073 * config.h.in (PKGVERSION): New macro.
22074 (REPORT_BUGS_TO): Likewise.
22075 * config.make.in (PKGVERSION): New variable.
22076 (PKGVERSION_TEXI): Likewise.
22077 (REPORT_BUGS_TO): Likewise.
22078 (REPORT_BUGS_TEXI): Likewise.
22079 * Makefile (format-me): Use -I$(common-objpfx)manual.
22080 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22081 ($(common-objpfx)manual/%): New target.
22082 (manual/%): Remove target.
22083 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22084 (print_version): Use PKGVERSION.
22085 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22086 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22087 and REPORT_BUGS_TO.
22088 ($(objpfx)xtrace): Likewise.
22089 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22090 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22091 (print_version): Use PKGVERSION.
22092 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22093 (do_version): Use PKGVERSION.
22094 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22095 REPORT_BUGS_TO.
22096 (common-ldd-rewrite): Likewise.
22097 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22098 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22099 (print_version): Use PKGVERSION.
22100 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22101 * elf/pldd.c (argp_program_bug_address): Remove variable.
22102 (more_help): New function.
22103 (argp): Use more_help.
22104 (print_version): Use PKGVERSION.
22105 * elf/sln.c (main): Use PKGVERSION.
22106 (usage): Use REPORT_BUGS_TO.
22107 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22108 (top level): Use PKGVERSION.
22109 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22110 (print_version): Use PKGVERSION.
22111 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22112 (print_version): Use PKGVERSION.
22113 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22114 (print_version): Use PKGVERSION.
22115 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22116 (print_version): Use PKGVERSION.
22117 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22118 (print_version): Use PKGVERSION.
22119 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22120 (print_version): Use PKGVERSION.
22121 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22122 and BUGURL.
22123 ($(objpfx)memusage): Likewise.
22124 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22125 (do_version): Use PKGVERSION.
22126 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22127 (print_version): Use PKGVERSION.
22128 * malloc/mtrace.pl ($PACKAGE): Remove variable.
22129 ($PKGVERSION): New variable.
22130 ($REPORT_BUGS_TO): Likewise.
22131 (usage): Use $REPORT_BUGS_TO.
22132 (top level): Use $PKGVERSION.
22133 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22134 ($(objpfx)pkgvers.texi): New rule.
22135 ($(objpfx)stamp-pkgvers): Likewise.
22136 * manual/install.texi: Include pkgvers.texi.
22137 (--with-pkgversion): Document new configure option.
22138 (--with-bugurl): Likewise.
22139 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22140 than necessarily for this particular distribution. Use
22141 REPORT_BUGS_TO for where to report bugs.
22142 * INSTALL: Regenerated.
22143 * manual/libc.texinfo: Include pkgvers.texi.
22144 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22145 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22146 (print_version): Use PKGVERSION.
22147 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22148 (print_version): Use PKGVERSION.
22149 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22150 (print_version): Use PKGVERSION.
22151 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22152 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22153 macro.
22154 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22155 (print_version): Use PKGVERSION.
22156 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22157 (print_version): Use PKGVERSION.
22158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22159 and PKGVERSION.
22160
22161 * timezone/checktab.awk: Update from tzcode 2012i.
22162 * timezone/ialloc.c: Likewise.
22163 * timezone/private.h: Likewise.
22164 * timezone/scheck.c: Likewise.
22165 * timezone/tzfile.h: Likewise.
22166 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22167 (TZVERSION): Hardcode tzcode version number.
22168 * timezone/zdump.c: Update from tzcode 2012i.
22169 * timezone/zic.c: Likewise.
22170 * timezone/version.h: New file.
22171 * timezone/README: Describe version.h. Update upstream location.
22172
22173 [BZ #14824]
22174 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22175 (mktemp): Enable declaration.
22176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22180 Likewise.
22181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22182 Likewise.
22183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22184 Likewise.
22185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22186 Likewise.
22187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22188 Likewise.
22189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22190 Likewise.
22191
22192 [BZ #14821]
22193 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22194 offset in buffer as u_int32_t not u_long. Consistently use memcpy
22195 for copies of such integer values.
22196 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22197 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22198
221992012-11-09 Andreas Jaeger <aj@suse.de>
22200
22201 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22202 definitions and declarations that are provided by
22203 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22204
222052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22206
22207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22208 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22209 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22210 definition.
22211
222122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22213
22214 * elf/elf.h: Update comment before AArch64 relocations.
22215
222162012-11-07 David S. Miller <davem@davemloft.net>
22217
22218 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22220 (__start_context): Declare.
22221 (__makecontext_ret): Delete.
22222 (__makecontext): Hook up __start_context instead of
22223 __makecontext_ret.
22224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22225 (sysdep_routines): Add __start_context when in stdlib.
22226
222272012-11-07 Joseph Myers <joseph@codesourcery.com>
22228
22229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22230 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22231 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
22232 hardcoded "nm".
22233 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
22234 (READELF): New variable. Use it instead of hardcoded "readelf".
22235
222362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
22237
22238 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22239 * sysdeps/x86/Makefile: Here.
22240 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22241 * sysdeps/x86/tst-xmmymm.sh: This.
22242
222432012-11-07 Joseph Myers <joseph@codesourcery.com>
22244
22245 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22246 expectations.
22247 [UNIX98] (pthread_barrier_t): Do not expect.
22248 [UNIX98] (pthread_barrierattr_t): Likewise.
22249 [UNIX98] (pthread_spinlock_t): Likewise.
22250 [UNIX98] (pthread_barrier_destroy): Likewise.
22251 [UNIX98] (pthread_barrier_init): Likewise.
22252 [UNIX98] (pthread_barrier_wait): Likewise.
22253 [UNIX98] (pthread_barrierattr_destroy): Likewise.
22254 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22255 [UNIX98] (pthread_barrierattr_init): Likewise.
22256 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22257 [UNIX98] (pthread_getcpuclockid): Likewise.
22258 [UNIX98] (pthread_mutex_timedlock): Likewise.
22259 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22260 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22261 [UNIX98] (pthread_sigmask): Likewise.
22262 [UNIX98] (pthread_spin_destroy): Likewise.
22263 [UNIX98] (pthread_spin_init): Likewise.
22264 [UNIX98] (pthread_spin_lock): Likewise.
22265 [UNIX98] (pthread_spin_trylock): Likewise.
22266 [UNIX98] (pthread_spin_unlock): Likewise.
22267 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22268 Do not expect.
22269 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22271 [XPG3 || XPG4] (pthread_cond_t): Likewise.
22272 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22273 [XPG3 || XPG4] (pthread_key_t): Likewise.
22274 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22275 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22276 [XPG3 || XPG4] (pthread_once_t): Likewise.
22277 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22278 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22279 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22280 [XPG3 || XPG4] (pthread_t): Likewise.
22281
22282 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22283 not expect.
22284 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22285
22286 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22287 Change function return type to int.
22288
22289 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22290 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22291 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22292 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22293 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22294 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22295 [!POSIX] (posix_madvise): Likewise.
22296 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22297 && !UNIX98].
22298 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22299 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22300 (mode_t): Likewise.
22301 (posix_mem_offset): Likewise.
22302 (posix_typed_mem_get_info): Likewise.
22303 (posix_typed_mem_open): Likewise.
22304
22305 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22306 Change condition to [XOPEN2K8].
22307
22308 * conform/conformtest.pl: Preprocess allow-header data with -x c
22309 instead of from stdin.
22310 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22311 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22312 [C99-based standards] (cerfc): Likewise.
22313 [C99-based standards] (cexp2): Likewise.
22314 [C99-based standards] (cexpm1): Likewise.
22315 [C99-based standards] (clog10): Likewise.
22316 [C99-based standards] (clog1p): Likewise.
22317 [C99-based standards] (clog2): Likewise.
22318 [C99-based standards] (clgamma): Likewise.
22319 [C99-based standards] (ctgamma): Likewise.
22320 [C99-based standards] (cerff): Likewise.
22321 [C99-based standards] (cerfcf): Likewise.
22322 [C99-based standards] (cexp2f): Likewise.
22323 [C99-based standards] (cexpm1f): Likewise.
22324 [C99-based standards] (clog10f): Likewise.
22325 [C99-based standards] (clog1pf): Likewise.
22326 [C99-based standards] (clog2f): Likewise.
22327 [C99-based standards] (clgammaf): Likewise.
22328 [C99-based standards] (ctgammaf): Likewise.
22329 [C99-based standards] (cerfl): Likewise.
22330 [C99-based standards] (cerfcl): Likewise.
22331 [C99-based standards] (cexp2l): Likewise.
22332 [C99-based standards] (cexpm1l): Likewise.
22333 [C99-based standards] (clog10l): Likewise.
22334 [C99-based standards] (clog1pl): Likewise.
22335 [C99-based standards] (clog2l): Likewise.
22336 [C99-based standards] (clgammal): Likewise.
22337 [C99-based standards] (ctgammal): Likewise.
22338 * conform/data/inttypes.h-data [C99-based standards]: Include
22339 stdint.h-data. Remove all expectations for stdint.h contents.
22340 [C99-based standards] (PRI*): Do not allow.
22341 [C99-based standards] (SCN*): Likewise.
22342 [C99-based standards] (*_t): Likewise.
22343 [C99-based-standards] (PRId8): Expect macro.
22344 [C99-based-standards] (PRIi8): Likewise.
22345 [C99-based-standards] (PRIo8): Likewise.
22346 [C99-based-standards] (PRIu8): Likewise.
22347 [C99-based-standards] (PRIx8): Likewise.
22348 [C99-based-standards] (PRIX8): Likewise.
22349 [C99-based-standards] (SCNd8): Likewise.
22350 [C99-based-standards] (SCNi8): Likewise.
22351 [C99-based-standards] (SCNo8): Likewise.
22352 [C99-based-standards] (SCNu8): Likewise.
22353 [C99-based-standards] (SCNx8): Likewise.
22354 [C99-based-standards] (PRIdLEAST8): Likewise.
22355 [C99-based-standards] (PRIiLEAST8): Likewise.
22356 [C99-based-standards] (PRIoLEAST8): Likewise.
22357 [C99-based-standards] (PRIuLEAST8): Likewise.
22358 [C99-based-standards] (PRIxLEAST8): Likewise.
22359 [C99-based-standards] (PRIXLEAST8): Likewise.
22360 [C99-based-standards] (SCNdLEAST8): Likewise.
22361 [C99-based-standards] (SCNiLEAST8): Likewise.
22362 [C99-based-standards] (SCNoLEAST8): Likewise.
22363 [C99-based-standards] (SCNuLEAST8): Likewise.
22364 [C99-based-standards] (SCNxLEAST8): Likewise.
22365 [C99-based-standards] (PRIdFAST8): Likewise.
22366 [C99-based-standards] (PRIiFAST8): Likewise.
22367 [C99-based-standards] (PRIoFAST8): Likewise.
22368 [C99-based-standards] (PRIuFAST8): Likewise.
22369 [C99-based-standards] (PRIxFAST8): Likewise.
22370 [C99-based-standards] (PRIXFAST8): Likewise.
22371 [C99-based-standards] (SCNdFAST8): Likewise.
22372 [C99-based-standards] (SCNiFAST8): Likewise.
22373 [C99-based-standards] (SCNoFAST8): Likewise.
22374 [C99-based-standards] (SCNuFAST8): Likewise.
22375 [C99-based-standards] (SCNxFAST8): Likewise.
22376 [C99-based-standards] (PRId16): Likewise.
22377 [C99-based-standards] (PRIi16): Likewise.
22378 [C99-based-standards] (PRIo16): Likewise.
22379 [C99-based-standards] (PRIu16): Likewise.
22380 [C99-based-standards] (PRIx16): Likewise.
22381 [C99-based-standards] (PRIX16): Likewise.
22382 [C99-based-standards] (SCNd16): Likewise.
22383 [C99-based-standards] (SCNi16): Likewise.
22384 [C99-based-standards] (SCNo16): Likewise.
22385 [C99-based-standards] (SCNu16): Likewise.
22386 [C99-based-standards] (SCNx16): Likewise.
22387 [C99-based-standards] (PRIdLEAST16): Likewise.
22388 [C99-based-standards] (PRIiLEAST16): Likewise.
22389 [C99-based-standards] (PRIoLEAST16): Likewise.
22390 [C99-based-standards] (PRIuLEAST16): Likewise.
22391 [C99-based-standards] (PRIxLEAST16): Likewise.
22392 [C99-based-standards] (PRIXLEAST16): Likewise.
22393 [C99-based-standards] (SCNdLEAST16): Likewise.
22394 [C99-based-standards] (SCNiLEAST16): Likewise.
22395 [C99-based-standards] (SCNoLEAST16): Likewise.
22396 [C99-based-standards] (SCNuLEAST16): Likewise.
22397 [C99-based-standards] (SCNxLEAST16): Likewise.
22398 [C99-based-standards] (PRIdFAST16): Likewise.
22399 [C99-based-standards] (PRIiFAST16): Likewise.
22400 [C99-based-standards] (PRIoFAST16): Likewise.
22401 [C99-based-standards] (PRIuFAST16): Likewise.
22402 [C99-based-standards] (PRIxFAST16): Likewise.
22403 [C99-based-standards] (PRIXFAST16): Likewise.
22404 [C99-based-standards] (SCNdFAST16): Likewise.
22405 [C99-based-standards] (SCNiFAST16): Likewise.
22406 [C99-based-standards] (SCNoFAST16): Likewise.
22407 [C99-based-standards] (SCNuFAST16): Likewise.
22408 [C99-based-standards] (SCNxFAST16): Likewise.
22409 [C99-based-standards] (PRId32): Likewise.
22410 [C99-based-standards] (PRIi32): Likewise.
22411 [C99-based-standards] (PRIo32): Likewise.
22412 [C99-based-standards] (PRIu32): Likewise.
22413 [C99-based-standards] (PRIx32): Likewise.
22414 [C99-based-standards] (PRIX32): Likewise.
22415 [C99-based-standards] (SCNd32): Likewise.
22416 [C99-based-standards] (SCNi32): Likewise.
22417 [C99-based-standards] (SCNo32): Likewise.
22418 [C99-based-standards] (SCNu32): Likewise.
22419 [C99-based-standards] (SCNx32): Likewise.
22420 [C99-based-standards] (PRIdLEAST32): Likewise.
22421 [C99-based-standards] (PRIiLEAST32): Likewise.
22422 [C99-based-standards] (PRIoLEAST32): Likewise.
22423 [C99-based-standards] (PRIuLEAST32): Likewise.
22424 [C99-based-standards] (PRIxLEAST32): Likewise.
22425 [C99-based-standards] (PRIXLEAST32): Likewise.
22426 [C99-based-standards] (SCNdLEAST32): Likewise.
22427 [C99-based-standards] (SCNiLEAST32): Likewise.
22428 [C99-based-standards] (SCNoLEAST32): Likewise.
22429 [C99-based-standards] (SCNuLEAST32): Likewise.
22430 [C99-based-standards] (SCNxLEAST32): Likewise.
22431 [C99-based-standards] (PRIdFAST32): Likewise.
22432 [C99-based-standards] (PRIiFAST32): Likewise.
22433 [C99-based-standards] (PRIoFAST32): Likewise.
22434 [C99-based-standards] (PRIuFAST32): Likewise.
22435 [C99-based-standards] (PRIxFAST32): Likewise.
22436 [C99-based-standards] (PRIXFAST32): Likewise.
22437 [C99-based-standards] (SCNdFAST32): Likewise.
22438 [C99-based-standards] (SCNiFAST32): Likewise.
22439 [C99-based-standards] (SCNoFAST32): Likewise.
22440 [C99-based-standards] (SCNuFAST32): Likewise.
22441 [C99-based-standards] (SCNxFAST32): Likewise.
22442 [C99-based-standards] (PRId64): Likewise.
22443 [C99-based-standards] (PRIi64): Likewise.
22444 [C99-based-standards] (PRIo64): Likewise.
22445 [C99-based-standards] (PRIu64): Likewise.
22446 [C99-based-standards] (PRIx64): Likewise.
22447 [C99-based-standards] (PRIX64): Likewise.
22448 [C99-based-standards] (SCNd64): Likewise.
22449 [C99-based-standards] (SCNi64): Likewise.
22450 [C99-based-standards] (SCNo64): Likewise.
22451 [C99-based-standards] (SCNu64): Likewise.
22452 [C99-based-standards] (SCNx64): Likewise.
22453 [C99-based-standards] (PRIdLEAST64): Likewise.
22454 [C99-based-standards] (PRIiLEAST64): Likewise.
22455 [C99-based-standards] (PRIoLEAST64): Likewise.
22456 [C99-based-standards] (PRIuLEAST64): Likewise.
22457 [C99-based-standards] (PRIxLEAST64): Likewise.
22458 [C99-based-standards] (PRIXLEAST64): Likewise.
22459 [C99-based-standards] (SCNdLEAST64): Likewise.
22460 [C99-based-standards] (SCNiLEAST64): Likewise.
22461 [C99-based-standards] (SCNoLEAST64): Likewise.
22462 [C99-based-standards] (SCNuLEAST64): Likewise.
22463 [C99-based-standards] (SCNxLEAST64): Likewise.
22464 [C99-based-standards] (PRIdFAST64): Likewise.
22465 [C99-based-standards] (PRIiFAST64): Likewise.
22466 [C99-based-standards] (PRIoFAST64): Likewise.
22467 [C99-based-standards] (PRIuFAST64): Likewise.
22468 [C99-based-standards] (PRIxFAST64): Likewise.
22469 [C99-based-standards] (PRIXFAST64): Likewise.
22470 [C99-based-standards] (SCNdFAST64): Likewise.
22471 [C99-based-standards] (SCNiFAST64): Likewise.
22472 [C99-based-standards] (SCNoFAST64): Likewise.
22473 [C99-based-standards] (SCNuFAST64): Likewise.
22474 [C99-based-standards] (SCNxFAST64): Likewise.
22475 [C99-based-standards] (PRIdMAX): Likewise.
22476 [C99-based-standards] (PRIiMAX): Likewise.
22477 [C99-based-standards] (PRIoMAX): Likewise.
22478 [C99-based-standards] (PRIuMAX): Likewise.
22479 [C99-based-standards] (PRIxMAX): Likewise.
22480 [C99-based-standards] (PRIXMAX): Likewise.
22481 [C99-based-standards] (SCNdMAX): Likewise.
22482 [C99-based-standards] (SCNiMAX): Likewise.
22483 [C99-based-standards] (SCNoMAX): Likewise.
22484 [C99-based-standards] (SCNuMAX): Likewise.
22485 [C99-based-standards] (SCNxMAX): Likewise.
22486 [C99-based-standards] (PRIdPTR): Likewise.
22487 [C99-based-standards] (PRIiPTR): Likewise.
22488 [C99-based-standards] (PRIoPTR): Likewise.
22489 [C99-based-standards] (PRIuPTR): Likewise.
22490 [C99-based-standards] (PRIxPTR): Likewise.
22491 [C99-based-standards] (PRIXPTR): Likewise.
22492 [C99-based-standards] (SCNdPTR): Likewise.
22493 [C99-based-standards] (SCNiPTR): Likewise.
22494 [C99-based-standards] (SCNoPTR): Likewise.
22495 [C99-based-standards] (SCNuPTR): Likewise.
22496 [C99-based-standards] (SCNxPTR): Likewise.
22497 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22498 allow.
22499 * conform/data/stdint.h-data: Update comments to clarify
22500 requirements.
22501 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
22502 type.
22503 [C99-based standards] (INT8_MAX): Likewise.
22504 [C99-based standards] (INT16_MIN): Likewise.
22505 [C99-based standards] (INT16_MAX): Likewise.
22506 [C99-based standards] (INT32_MIN): Likewise.
22507 [C99-based standards] (INT32_MAX): Likewise.
22508 [C99-based standards] (INT64_MIN): Likewise.
22509 [C99-based standards] (INT64_MAX): Likewise.
22510 [C99-based standards] (UINT8_MAX): Likewise.
22511 [C99-based standards] (UINT16_MAX): Likewise.
22512 [C99-based standards] (UINT32_MAX): Likewise.
22513 [C99-based standards] (UINT64_MAX): Likewise.
22514 [C99-based standards] (INT_LEAST8_MIN): Likewise.
22515 [C99-based standards] (INT_LEAST8_MAX): Likewise.
22516 [C99-based standards] (INT_LEAST16_MIN): Likewise.
22517 [C99-based standards] (INT_LEAST16_MAX): Likewise.
22518 [C99-based standards] (INT_LEAST32_MIN): Likewise.
22519 [C99-based standards] (INT_LEAST32_MAX): Likewise.
22520 [C99-based standards] (INT_LEAST64_MIN): Likewise.
22521 [C99-based standards] (INT_LEAST64_MAX): Likewise.
22522 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22523 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22524 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22525 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22526 [C99-based standards] (INT_FAST8_MIN): Likewise.
22527 [C99-based standards] (INT_FAST8_MAX): Likewise.
22528 [C99-based standards] (INT_FAST16_MIN): Likewise.
22529 [C99-based standards] (INT_FAST16_MAX): Likewise.
22530 [C99-based standards] (INT_FAST32_MIN): Likewise.
22531 [C99-based standards] (INT_FAST32_MAX): Likewise.
22532 [C99-based standards] (INT_FAST64_MIN): Likewise.
22533 [C99-based standards] (INT_FAST64_MAX): Likewise.
22534 [C99-based standards] (UINT_FAST8_MAX): Likewise.
22535 [C99-based standards] (UINT_FAST16_MAX): Likewise.
22536 [C99-based standards] (UINT_FAST32_MAX): Likewise.
22537 [C99-based standards] (UINT_FAST64_MAX): Likewise.
22538 [C99-based standards] (INTPTR_MIN): Likewise.
22539 [C99-based standards] (INTPTR_MAX): Likewise.
22540 [C99-based standards] (UINTPTR_MAX): Likewise.
22541 [C99-based standards] (INTMAX_MIN): Likewise.
22542 [C99-based standards] (INTMAX_MAX): Likewise.
22543 [C99-based standards] (UINTMAX_MAX): Likewise.
22544 [C99-based standards] (PTRDIFF_MIN): Likewise.
22545 [C99-based standards] (PTRDIFF_MAX): Likewise.
22546 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22547 [C99-based standards] (SIZE_MAX): Likewise.
22548 [C99-based standards] (WCHAR_MAX): Likewise.
22549 [C99-based standards] (WINT_MAX): Likewise.
22550 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
22551 constraint on value.
22552 [C99-based standards] (WCHAR_MIN): Likewise.
22553 [C99-based standards] (WINT_MIN): Likewise.
22554 [C99-based standards] (*_t): Allow.
22555 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22556 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22557 Include math.h-data and complex.h-data. Remove all expectations
22558 of math.h and complex.h contents.
22559 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22560 at end of line.
22561 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22562 (struct tm): Expect tag.
22563 [C99-based-standards] (wcstof): Expect function.
22564 [C99-based-standards] (wcstold): Likewise.
22565 [C99-based-standards] (wcstoll): Likewise.
22566 [C99-based-standards] (wcstoull): Likewise.
22567 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22568 macro-int-constant. Specify type.
22569 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
22570 constraint on value.
22571 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22572 Specify type.
22573 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22574 Specify value.
22575 [ISO C standards]: Do not allow headers.
22576 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22577 wcs[abcdefghijklmnopqrstuvwxyz]*.
22578 [ISO C standards] (*_t): Do not allow.
22579 * conform/data/wctype.h-data [C99-based standards] (iswblank):
22580 Expect function.
22581 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22582 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22583 Specify type.
22584 [ISO C standards]: Do not allow headers.
22585 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22586 is[abcdefghijklmnopqrstuvwxyz]*.
22587 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22588 to[abcdefghijklmnopqrstuvwxyz]*.
22589 [ISO C standards] (*_t): Do not allow.
22590 * conform/data/stdalign.h-data: New file.
22591 * conform/data/stdbool.h-data: Likewise.
22592 * conform/data/stdnoreturn.h-data: Likewise.
22593
225942012-11-07 Roland McGrath <roland@hack.frob.com>
22595
22596 [BZ #14815]
22597 * manual/filesys.texi (Directory Entries): Typo fix.
22598 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22599
226002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22601
22602 * elf/elf.h (EM_AARCH64): New macro.
22603 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22604 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22605 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22606 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22607 (R_AARCH64_TLSDESC): Likewise.
22608 (NT_ARM_TLS): Likewise.
22609 (NT_ARM_HW_BREAK): Likewise.
22610 (NT_ARM_HW_WATCH): Likewise.
22611
226122012-11-07 Joseph Myers <joseph@codesourcery.com>
22613
22614 [BZ #14811]
22615 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22616 (__ieee754_powl): Saturate nonzero exponents with absolute value
22617 below 0x1p-79 to +/- 0x1p-79.
22618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22619 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22620 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22621 nonzero exponents with absolute value below 0x1p-32 to +/-
22622 0x1p-32.
22623 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22624 (__ieee754_powl): Saturate nonzero exponents with absolute value
22625 below 0x1p-79 to +/- 0x1p-79.
22626 * math/libm-test.inc (pow_test): Add more tests.
22627
226282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22629
22630 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22631 _dl_s390_cap_flags with kernel. Increase string length.
22632 (_dl_s390_platforms): Add z196 and zEC12.
22633
226342012-11-07 Joseph Myers <joseph@codesourcery.com>
22635
22636 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22637 Change XOPEN21K to XOPEN2K.
22638
226392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22640
22641 * string/memmove.c: Use memcpy when possible.
22642
226432012-11-06 Andreas Jaeger <aj@suse.de>
22644
22645 * po/eo.po: Update from translation team.
22646
226472012-11-06 Joseph Myers <joseph@codesourcery.com>
22648
22649 [BZ #14793]
22650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22651 exponent and small x and y exponents, scale x or y up. Increase
22652 by 2 the exponent used in scaling up.
22653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22655 * math/libm-test.inc (fma_test): Add more tests.
22656 (fma_test_towardzero): Likewise.
22657 (fma_test_downward): Likewise.
22658 (fma_test_upward): Likewise.
22659
226602012-11-05 Joseph Myers <joseph@codesourcery.com>
22661
22662 [BZ #14805]
22663 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22664 fenv_t *.
22665
22666 [BZ #14801]
22667 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22668 namespace for names of struct fields.
22669 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22670 fenv_t fields.
22671 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22672 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22673
226742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22675
22676 [BZ #3665]
22677 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22678
226792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22680
22681 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22682 PTR_DEMANGLE.
22683
22684 [BZ #5246]
22685 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22686 PTR_DEMANGLE.
22687
226882012-11-04 Joseph Myers <joseph@codesourcery.com>
22689
22690 [BZ #14797]
22691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22692 definitely overflow as x * y not x * y + z.
22693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22695 * math/libm-test.inc (fma_test): Add more tests.
22696 (fma_test_towardzero): Likewise.
22697 (fma_test_downward): Likewise.
22698 (fma_test_upward): Likewise.
22699
227002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22701
22702 [BZ #157]
22703
22704 * include/stub-tag.h: Remove file.
22705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22706 '#include' of it.
22707 * manual/maint.texi (Porting): Don't reference it.
22708 * Makerules ($(objpfx)stubs): Likewise.
22709 * dirent/closedir.c: Don't include <stub-tag.h>.
22710 * dirent/dirfd.c: Likewise.
22711 * dirent/fdopendir.c: Likewise.
22712 * dirent/getdents.c: Likewise.
22713 * dirent/getdents64.c: Likewise.
22714 * dirent/opendir.c: Likewise.
22715 * dirent/readdir.c: Likewise.
22716 * dirent/readdir64.c: Likewise.
22717 * dirent/readdir64_r.c: Likewise.
22718 * dirent/readdir_r.c: Likewise.
22719 * dirent/rewinddir.c: Likewise.
22720 * dirent/seekdir.c: Likewise.
22721 * dirent/telldir.c: Likewise.
22722 * gmon/profil.c: Likewise.
22723 * grp/setgroups.c: Likewise.
22724 * inet/if_index.c: Likewise.
22725 * io/access.c: Likewise.
22726 * io/chdir.c: Likewise.
22727 * io/chmod.c: Likewise.
22728 * io/chown.c: Likewise.
22729 * io/close.c: Likewise.
22730 * io/dup.c: Likewise.
22731 * io/dup2.c: Likewise.
22732 * io/dup3.c: Likewise.
22733 * io/euidaccess.c: Likewise.
22734 * io/faccessat.c: Likewise.
22735 * io/fchdir.c: Likewise.
22736 * io/fchmod.c: Likewise.
22737 * io/fchmodat.c: Likewise.
22738 * io/fchown.c: Likewise.
22739 * io/fchownat.c: Likewise.
22740 * io/fcntl.c: Likewise.
22741 * io/flock.c: Likewise.
22742 * io/fstatfs.c: Likewise.
22743 * io/fstatfs64.c: Likewise.
22744 * io/fstatvfs.c: Likewise.
22745 * io/fstatvfs64.c: Likewise.
22746 * io/futimens.c: Likewise.
22747 * io/fxstat.c: Likewise.
22748 * io/fxstat64.c: Likewise.
22749 * io/fxstatat.c: Likewise.
22750 * io/fxstatat64.c: Likewise.
22751 * io/getcwd.c: Likewise.
22752 * io/isatty.c: Likewise.
22753 * io/lchmod.c: Likewise.
22754 * io/lchown.c: Likewise.
22755 * io/link.c: Likewise.
22756 * io/linkat.c: Likewise.
22757 * io/lseek.c: Likewise.
22758 * io/lseek64.c: Likewise.
22759 * io/lxstat64.c: Likewise.
22760 * io/mkdir.c: Likewise.
22761 * io/mkdirat.c: Likewise.
22762 * io/mkfifo.c: Likewise.
22763 * io/mkfifoat.c: Likewise.
22764 * io/open.c: Likewise.
22765 * io/open64.c: Likewise.
22766 * io/openat.c: Likewise.
22767 * io/openat64.c: Likewise.
22768 * io/pipe.c: Likewise.
22769 * io/pipe2.c: Likewise.
22770 * io/poll.c: Likewise.
22771 * io/posix_fadvise.c: Likewise.
22772 * io/posix_fadvise64.c: Likewise.
22773 * io/posix_fallocate.c: Likewise.
22774 * io/posix_fallocate64.c: Likewise.
22775 * io/read.c: Likewise.
22776 * io/readlink.c: Likewise.
22777 * io/readlinkat.c: Likewise.
22778 * io/rmdir.c: Likewise.
22779 * io/sendfile.c: Likewise.
22780 * io/sendfile64.c: Likewise.
22781 * io/statfs.c: Likewise.
22782 * io/statfs64.c: Likewise.
22783 * io/statvfs.c: Likewise.
22784 * io/statvfs64.c: Likewise.
22785 * io/symlink.c: Likewise.
22786 * io/symlinkat.c: Likewise.
22787 * io/ttyname.c: Likewise.
22788 * io/ttyname_r.c: Likewise.
22789 * io/umask.c: Likewise.
22790 * io/unlink.c: Likewise.
22791 * io/unlinkat.c: Likewise.
22792 * io/utime.c: Likewise.
22793 * io/utimensat.c: Likewise.
22794 * io/write.c: Likewise.
22795 * io/xmknod.c: Likewise.
22796 * io/xmknodat.c: Likewise.
22797 * io/xstat.c: Likewise.
22798 * io/xstat64.c: Likewise.
22799 * login/getpt.c: Likewise.
22800 * login/grantpt.c: Likewise.
22801 * login/unlockpt.c: Likewise.
22802 * math/e_acoshl.c: Likewise.
22803 * math/e_acosl.c: Likewise.
22804 * math/e_asinl.c: Likewise.
22805 * math/e_atan2l.c: Likewise.
22806 * math/e_atanhl.c: Likewise.
22807 * math/e_coshl.c: Likewise.
22808 * math/e_expl.c: Likewise.
22809 * math/e_fmodl.c: Likewise.
22810 * math/e_gammal_r.c: Likewise.
22811 * math/e_hypotl.c: Likewise.
22812 * math/e_j0l.c: Likewise.
22813 * math/e_j1l.c: Likewise.
22814 * math/e_jnl.c: Likewise.
22815 * math/e_lgammal_r.c: Likewise.
22816 * math/e_log10l.c: Likewise.
22817 * math/e_log2l.c: Likewise.
22818 * math/e_logl.c: Likewise.
22819 * math/e_powl.c: Likewise.
22820 * math/e_rem_pio2l.c: Likewise.
22821 * math/e_sinhl.c: Likewise.
22822 * math/e_sqrtl.c: Likewise.
22823 * math/fclrexcpt.c: Likewise.
22824 * math/fedisblxcpt.c: Likewise.
22825 * math/feenablxcpt.c: Likewise.
22826 * math/fegetenv.c: Likewise.
22827 * math/fegetexcept.c: Likewise.
22828 * math/fegetround.c: Likewise.
22829 * math/feholdexcpt.c: Likewise.
22830 * math/fesetenv.c: Likewise.
22831 * math/fesetround.c: Likewise.
22832 * math/feupdateenv.c: Likewise.
22833 * math/fgetexcptflg.c: Likewise.
22834 * math/fraiseexcpt.c: Likewise.
22835 * math/fsetexcptflg.c: Likewise.
22836 * math/ftestexcept.c: Likewise.
22837 * math/k_cosl.c: Likewise.
22838 * math/k_rem_pio2l.c: Likewise.
22839 * math/k_sinl.c: Likewise.
22840 * math/k_tanl.c: Likewise.
22841 * math/s_asinhl.c: Likewise.
22842 * math/s_atanl.c: Likewise.
22843 * math/s_cbrtl.c: Likewise.
22844 * math/s_erfl.c: Likewise.
22845 * math/s_expm1l.c: Likewise.
22846 * math/s_log1pl.c: Likewise.
22847 * math/s_tanhl.c: Likewise.
22848 * misc/acct.c: Likewise.
22849 * misc/brk.c: Likewise.
22850 * misc/chflags.c: Likewise.
22851 * misc/chroot.c: Likewise.
22852 * misc/fchflags.c: Likewise.
22853 * misc/fgetxattr.c: Likewise.
22854 * misc/flistxattr.c: Likewise.
22855 * misc/fremovexattr.c: Likewise.
22856 * misc/fsetxattr.c: Likewise.
22857 * misc/fsync.c: Likewise.
22858 * misc/ftruncate.c: Likewise.
22859 * misc/futimes.c: Likewise.
22860 * misc/futimesat.c: Likewise.
22861 * misc/getdomain.c: Likewise.
22862 * misc/getdtsz.c: Likewise.
22863 * misc/gethostid.c: Likewise.
22864 * misc/gethostname.c: Likewise.
22865 * misc/getloadavg.c: Likewise.
22866 * misc/getpagesize.c: Likewise.
22867 * misc/getsysstats.c: Likewise.
22868 * misc/getxattr.c: Likewise.
22869 * misc/gtty.c: Likewise.
22870 * misc/ioctl.c: Likewise.
22871 * misc/lgetxattr.c: Likewise.
22872 * misc/listxattr.c: Likewise.
22873 * misc/llistxattr.c: Likewise.
22874 * misc/lremovexattr.c: Likewise.
22875 * misc/lsetxattr.c: Likewise.
22876 * misc/lutimes.c: Likewise.
22877 * misc/madvise.c: Likewise.
22878 * misc/mincore.c: Likewise.
22879 * misc/mlock.c: Likewise.
22880 * misc/mlockall.c: Likewise.
22881 * misc/mmap.c: Likewise.
22882 * misc/mprotect.c: Likewise.
22883 * misc/msync.c: Likewise.
22884 * misc/munlock.c: Likewise.
22885 * misc/munlockall.c: Likewise.
22886 * misc/munmap.c: Likewise.
22887 * misc/preadv.c: Likewise.
22888 * misc/preadv64.c: Likewise.
22889 * misc/ptrace.c: Likewise.
22890 * misc/pwritev.c: Likewise.
22891 * misc/pwritev64.c: Likewise.
22892 * misc/readv.c: Likewise.
22893 * misc/reboot.c: Likewise.
22894 * misc/remap_file_pages.c: Likewise.
22895 * misc/removexattr.c: Likewise.
22896 * misc/revoke.c: Likewise.
22897 * misc/select.c: Likewise.
22898 * misc/setdomain.c: Likewise.
22899 * misc/setegid.c: Likewise.
22900 * misc/seteuid.c: Likewise.
22901 * misc/sethostid.c: Likewise.
22902 * misc/sethostname.c: Likewise.
22903 * misc/setregid.c: Likewise.
22904 * misc/setreuid.c: Likewise.
22905 * misc/setxattr.c: Likewise.
22906 * misc/sstk.c: Likewise.
22907 * misc/stty.c: Likewise.
22908 * misc/swapoff.c: Likewise.
22909 * misc/swapon.c: Likewise.
22910 * misc/sync.c: Likewise.
22911 * misc/syncfs.c: Likewise.
22912 * misc/syscall.c: Likewise.
22913 * misc/truncate.c: Likewise.
22914 * misc/ualarm.c: Likewise.
22915 * misc/usleep.c: Likewise.
22916 * misc/ustat.c: Likewise.
22917 * misc/utimes.c: Likewise.
22918 * misc/vhangup.c: Likewise.
22919 * misc/writev.c: Likewise.
22920 * posix/_exit.c: Likewise.
22921 * posix/alarm.c: Likewise.
22922 * posix/execve.c: Likewise.
22923 * posix/fexecve.c: Likewise.
22924 * posix/fork.c: Likewise.
22925 * posix/fpathconf.c: Likewise.
22926 * posix/getaddrinfo.c: Likewise.
22927 * posix/getegid.c: Likewise.
22928 * posix/geteuid.c: Likewise.
22929 * posix/getgid.c: Likewise.
22930 * posix/getgroups.c: Likewise.
22931 * posix/getlogin.c: Likewise.
22932 * posix/getlogin_r.c: Likewise.
22933 * posix/getpgid.c: Likewise.
22934 * posix/getpid.c: Likewise.
22935 * posix/getppid.c: Likewise.
22936 * posix/getresgid.c: Likewise.
22937 * posix/getresuid.c: Likewise.
22938 * posix/getsid.c: Likewise.
22939 * posix/getuid.c: Likewise.
22940 * posix/glob64.c: Likewise.
22941 * posix/nanosleep.c: Likewise.
22942 * posix/pathconf.c: Likewise.
22943 * posix/pause.c: Likewise.
22944 * posix/posix_madvise.c: Likewise.
22945 * posix/pread.c: Likewise.
22946 * posix/pread64.c: Likewise.
22947 * posix/pwrite.c: Likewise.
22948 * posix/pwrite64.c: Likewise.
22949 * posix/sched_getaffinity.c: Likewise.
22950 * posix/sched_getp.c: Likewise.
22951 * posix/sched_gets.c: Likewise.
22952 * posix/sched_primax.c: Likewise.
22953 * posix/sched_primin.c: Likewise.
22954 * posix/sched_rr_gi.c: Likewise.
22955 * posix/sched_setaffinity.c: Likewise.
22956 * posix/sched_setp.c: Likewise.
22957 * posix/sched_sets.c: Likewise.
22958 * posix/sched_yield.c: Likewise.
22959 * posix/setgid.c: Likewise.
22960 * posix/setlogin.c: Likewise.
22961 * posix/setpgid.c: Likewise.
22962 * posix/setresgid.c: Likewise.
22963 * posix/setresuid.c: Likewise.
22964 * posix/setsid.c: Likewise.
22965 * posix/setuid.c: Likewise.
22966 * posix/sleep.c: Likewise.
22967 * posix/spawni.c: Likewise.
22968 * posix/sysconf.c: Likewise.
22969 * posix/times.c: Likewise.
22970 * posix/wait.c: Likewise.
22971 * posix/wait3.c: Likewise.
22972 * posix/wait4.c: Likewise.
22973 * posix/waitpid.c: Likewise.
22974 * resolv/gai_sigqueue.c: Likewise.
22975 * resource/getpriority.c: Likewise.
22976 * resource/getrlimit.c: Likewise.
22977 * resource/getrusage.c: Likewise.
22978 * resource/nice.c: Likewise.
22979 * resource/setpriority.c: Likewise.
22980 * resource/setrlimit.c: Likewise.
22981 * resource/ulimit.c: Likewise.
22982 * rt/aio_cancel.c: Likewise.
22983 * rt/aio_fsync.c: Likewise.
22984 * rt/aio_read.c: Likewise.
22985 * rt/aio_sigqueue.c: Likewise.
22986 * rt/aio_suspend.c: Likewise.
22987 * rt/aio_write.c: Likewise.
22988 * rt/clock_getres.c: Likewise.
22989 * rt/clock_gettime.c: Likewise.
22990 * rt/clock_nanosleep.c: Likewise.
22991 * rt/clock_settime.c: Likewise.
22992 * rt/lio_listio.c: Likewise.
22993 * rt/mq_close.c: Likewise.
22994 * rt/mq_getattr.c: Likewise.
22995 * rt/mq_notify.c: Likewise.
22996 * rt/mq_open.c: Likewise.
22997 * rt/mq_receive.c: Likewise.
22998 * rt/mq_send.c: Likewise.
22999 * rt/mq_setattr.c: Likewise.
23000 * rt/mq_timedreceive.c: Likewise.
23001 * rt/mq_timedsend.c: Likewise.
23002 * rt/mq_unlink.c: Likewise.
23003 * rt/shm_open.c: Likewise.
23004 * rt/shm_unlink.c: Likewise.
23005 * rt/timer_create.c: Likewise.
23006 * rt/timer_delete.c: Likewise.
23007 * rt/timer_getoverr.c: Likewise.
23008 * rt/timer_gettime.c: Likewise.
23009 * rt/timer_settime.c: Likewise.
23010 * setjmp/__longjmp.c: Likewise.
23011 * setjmp/setjmp.c: Likewise.
23012 * signal/kill.c: Likewise.
23013 * signal/killpg.c: Likewise.
23014 * signal/raise.c: Likewise.
23015 * signal/sigaction.c: Likewise.
23016 * signal/sigaltstack.c: Likewise.
23017 * signal/sigblock.c: Likewise.
23018 * signal/sigignore.c: Likewise.
23019 * signal/sigintr.c: Likewise.
23020 * signal/signal.c: Likewise.
23021 * signal/sigpause.c: Likewise.
23022 * signal/sigpending.c: Likewise.
23023 * signal/sigqueue.c: Likewise.
23024 * signal/sigreturn.c: Likewise.
23025 * signal/sigset.c: Likewise.
23026 * signal/sigsetmask.c: Likewise.
23027 * signal/sigstack.c: Likewise.
23028 * signal/sigsuspend.c: Likewise.
23029 * signal/sigtimedwait.c: Likewise.
23030 * signal/sigvec.c: Likewise.
23031 * signal/sigwait.c: Likewise.
23032 * signal/sigwaitinfo.c: Likewise.
23033 * signal/sysv_signal.c: Likewise.
23034 * socket/accept.c: Likewise.
23035 * socket/accept4.c: Likewise.
23036 * socket/bind.c: Likewise.
23037 * socket/connect.c: Likewise.
23038 * socket/getpeername.c: Likewise.
23039 * socket/getsockname.c: Likewise.
23040 * socket/getsockopt.c: Likewise.
23041 * socket/isfdtype.c: Likewise.
23042 * socket/listen.c: Likewise.
23043 * socket/recv.c: Likewise.
23044 * socket/recvfrom.c: Likewise.
23045 * socket/recvmsg.c: Likewise.
23046 * socket/send.c: Likewise.
23047 * socket/sendmsg.c: Likewise.
23048 * socket/sendto.c: Likewise.
23049 * socket/setsockopt.c: Likewise.
23050 * socket/shutdown.c: Likewise.
23051 * socket/sockatmark.c: Likewise.
23052 * socket/socket.c: Likewise.
23053 * socket/socketpair.c: Likewise.
23054 * stdio-common/ctermid.c: Likewise.
23055 * stdio-common/cuserid.c: Likewise.
23056 * stdio-common/remove.c: Likewise.
23057 * stdio-common/rename.c: Likewise.
23058 * stdio-common/renameat.c: Likewise.
23059 * stdio-common/tempname.c: Likewise.
23060 * stdlib/getcontext.c: Likewise.
23061 * stdlib/makecontext.c: Likewise.
23062 * stdlib/setcontext.c: Likewise.
23063 * stdlib/swapcontext.c: Likewise.
23064 * stdlib/system.c: Likewise.
23065 * streams/fattach.c: Likewise.
23066 * streams/fdetach.c: Likewise.
23067 * streams/getmsg.c: Likewise.
23068 * streams/getpmsg.c: Likewise.
23069 * streams/putmsg.c: Likewise.
23070 * streams/putpmsg.c: Likewise.
23071 * sysdeps/unix/bsd/getpt.c: Likewise.
23072 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23073 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23074 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23076 Likewise.
23077 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23078 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23079 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23080 * sysvipc/msgctl.c: Likewise.
23081 * sysvipc/msgget.c: Likewise.
23082 * sysvipc/msgrcv.c: Likewise.
23083 * sysvipc/msgsnd.c: Likewise.
23084 * sysvipc/semctl.c: Likewise.
23085 * sysvipc/semget.c: Likewise.
23086 * sysvipc/semop.c: Likewise.
23087 * sysvipc/semtimedop.c: Likewise.
23088 * sysvipc/shmat.c: Likewise.
23089 * sysvipc/shmctl.c: Likewise.
23090 * sysvipc/shmdt.c: Likewise.
23091 * sysvipc/shmget.c: Likewise.
23092 * termios/tcdrain.c: Likewise.
23093 * termios/tcflow.c: Likewise.
23094 * termios/tcflush.c: Likewise.
23095 * termios/tcgetattr.c: Likewise.
23096 * termios/tcgetpgrp.c: Likewise.
23097 * termios/tcsendbrk.c: Likewise.
23098 * termios/tcsetattr.c: Likewise.
23099 * termios/tcsetpgrp.c: Likewise.
23100 * time/adjtime.c: Likewise.
23101 * time/clock.c: Likewise.
23102 * time/getitimer.c: Likewise.
23103 * time/gettimeofday.c: Likewise.
23104 * time/setitimer.c: Likewise.
23105 * time/settimeofday.c: Likewise.
23106 * time/stime.c: Likewise.
23107 * time/time.c: Likewise.
23108
231092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
23110
23111 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23112 /usr/old/bin.
23113
23114 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23115 instead of spaces.
23116 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23117
231182012-11-03 Joseph Myers <joseph@codesourcery.com>
23119
23120 [BZ #14796]
23121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23122 FE_TONEAREST before applying Dekker multiplication and Knuth
23123 addition. Clear inexact exceptions and check for exact zero
23124 results afterwards.
23125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23128 * math/libm-test.inc (fma_test): Add more tests.
23129 (fma_test_towardzero): Likewise.
23130 (fma_test_downward): Likewise.
23131 (fma_test_upward): Likewise.
23132 * sysdeps/generic/math_private.h (default_libc_fesetround): New
23133 function.
23134 (libc_fesetround): New macro.
23135 (libc_fesetroundf): Likewise.
23136 (libc_fesetroundl): Likewise.
23137 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23138 function.
23139 (libc_fesetround_387): Likewise.
23140 (libc_fesetroundf): New macro.
23141 (libc_fesetround): Likewise.
23142 (libc_fesetroundl): Likewise.
23143 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23144 function.
23145 (libc_fesetroundf): New macro.
23146 (libc_fesetround): Likewise.
23147 (libc_fesetroundl): Likewise.
23148 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23149 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23150 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23151 libm_hidden_ver.
23152 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23153 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23154 libm_hidden_def.
23155 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23156 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23157 libm_hidden_ver.
23158 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23159 libm_hidden_def.
23160
23161 [BZ #3439]
23162 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23163 integer constant usable in #if and use that to give value to enum
23164 constant.
23165 (FE_DIVBYZERO): Likewise.
23166 (FE_UNDERFLOW): Likewise.
23167 (FE_OVERFLOW): Likewise.
23168 (FE_INVALID): Likewise.
23169 (FE_INVALID_SNAN): Likewise.
23170 (FE_INVALID_ISI): Likewise.
23171 (FE_INVALID_IDI): Likewise.
23172 (FE_INVALID_ZDZ): Likewise.
23173 (FE_INVALID_IMZ): Likewise.
23174 (FE_INVALID_COMPARE): Likewise.
23175 (FE_INVALID_SOFTWARE): Likewise.
23176 (FE_INVALID_SQRT): Likewise.
23177 (FE_INVALID_INTEGER_CONVERSION): Likewise.
23178 (FE_TONEAREST): Likewise.
23179 (FE_TOWARDZERO): Likewise.
23180 (FE_UPWARD): Likewise.
23181 (FE_DOWNWARD): Likewise.
23182 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23183 (FE_DIVBYZERO): Likewise.
23184 (FE_OVERFLOW): Likewise.
23185 (FE_UNDERFLOW): Likewise.
23186 (FE_INEXACT): Likewise.
23187 (FE_TONEAREST): Likewise.
23188 (FE_DOWNWARD): Likewise.
23189 (FE_UPWARD): Likewise.
23190 (FE_TOWARDZERO): Likewise.
23191 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23192 (FE_UNDERFLOW): Likewise.
23193 (FE_OVERFLOW): Likewise.
23194 (FE_DIVBYZERO): Likewise.
23195 (FE_INVALID): Likewise.
23196 (FE_TONEAREST): Likewise.
23197 (FE_TOWARDZERO): Likewise.
23198 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23199 (FE_OVERFLOW): Likewise.
23200 (FE_UNDERFLOW): Likewise.
23201 (FE_DIVBYZERO): Likewise.
23202 (FE_INEXACT): Likewise.
23203 (FE_TONEAREST): Likewise.
23204 (FE_TOWARDZERO): Likewise.
23205 (FE_UPWARD): Likewise.
23206 (FE_DOWNWARD): Likewise.
23207 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23208 (FE_DIVBYZERO): Likewise.
23209 (FE_OVERFLOW): Likewise.
23210 (FE_UNDERFLOW): Likewise.
23211 (FE_INEXACT): Likewise.
23212 (FE_TONEAREST): Likewise.
23213 (FE_DOWNWARD): Likewise.
23214 (FE_UPWARD): Likewise.
23215 (FE_TOWARDZERO): Likewise.
23216
232172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
23218
23219 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23220
232212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
23222
23223 * scripts/cross-test-ssh.sh (command): Use newlines to separate
23224 commands. Quote $PWD.
23225 (blacklist_exports): Don't use remove_newlines. Replace "declare
23226 -x" by "export".
23227 (remove_newlines): Remove.
23228
232292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23232 * stdlib/stdlib.h (atof): Moved to ...
23233 * include/bits/stdlib-float.h: Here. New file.
23234 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23235 * stdlib/bits/stdlib-float.h: New file.
23236 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23237 -mno-sse -mno-mmx.
23238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23239 <xmmintrin.h>.
23240
232412012-11-02 Joseph Myers <joseph@codesourcery.com>
23242
23243 * conform/conformtest.pl (@headers): Add fenv.h.
23244 * conform/data/fenv.h-data: New file.
23245 * include/fenv.h [_ISOMAC]: Disable all contents of file except
23246 include of <math/fenv.h>.
23247
23248 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23249 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23250 && !UNIX98]. Enables tests for XOPEN2K8.
23251 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23252 POSIX2008]: Likewise.
23253
23254 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23255 (struct rusage): Do not expect type or its members.
23256
23257 [BZ #3439]
23258 * math/math.h (FP_NAN): Define macro to integer constant usable in
23259 #if and use that to give value to enum constant.
23260 (FP_INFINITE): Likewise.
23261 (FP_ZERO): Likewise.
23262 (FP_SUBNORMAL): Likewise.
23263 (FP_NORMAL): Likewise.
23264
232652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
23266
23267 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23268 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23269 arguments.
23270
232712012-11-02 Roland McGrath <roland@hack.frob.com>
23272
23273 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23274 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23275 autoconf-time if not.
23276 * configure.in: Remove AC_PREREQ.
23277
232782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23279
23280 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23281 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23282 of the internal implementation.
23283
232842012-11-02 Joseph Myers <joseph@codesourcery.com>
23285
23286 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23287 except include of <misc/sys/syslog.h>.
23288
232892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23290
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23292 function returns with a NULL context exit with zero.
23293
232942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23295
23296 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23297
232982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
23299
23300 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23301 (run_program_cmd): This.
23302 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23303 (tst_langinfo): New variable. Use it.
23304
233052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
23306
23307 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23308 floating point opcodes.
23309
233102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23311
23312 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23313 variable.
23314
23315 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23316
23317 * sysdeps/mach/hurd/powerpc: Remove directory.
23318 * sysdeps/mach/powerpc: Likewise.
23319
233202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
23321
23322 * scripts/check-local-headers.sh: Ignore c++ headers.
23323
233242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23325
23326 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23327 __libc_cleanup_region_start argument.
23328
233292012-11-01 Joseph Myers <joseph@codesourcery.com>
23330
23331 [BZ #14784]
23332 [BZ #14785]
23333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23334 x * y using scaling, not as x * y + z.
23335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23337 * math/libm-test.inc (fma_test): Add more tests.
23338 (fma_test_towardzero): Likewise.
23339 (fma_test_downward): Likewise.
23340 (fma_test_upward): Likewise.
23341
233422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
23343
23344 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23345
233462012-10-31 Joseph Myers <joseph@codesourcery.com>
23347
23348 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23349 New variable.
23350
233512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
23352
23353 * rt/tst-shm.c (worker): Correct checking for mmap failure.
23354
233552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23356
23357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23358 Fix sort order.
23359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23360 Likewise.
23361
233622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23363
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23365 Fix the order of the list for glibc 2.17.
23366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23367 Likewise.
23368
233692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
23370
23371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23372
233732012-10-31 Joseph Myers <joseph@codesourcery.com>
23374
23375 [BZ #14610]
23376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23377 for low part of x being zero before using __atanl (y).
23378 * math/libm-test.inc (atan2_test): Add another test.
23379
23380 * manual/install.texi (Configuring and compiling): Document
23381 general use of test-wrapper and test-wrapper-env.
23382 * INSTALL: Regenerated.
23383
23384 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23385 (__fma): Do not extract and scale down low bits on after-rounding
23386 systems when result rounded to normal precision would have normal
23387 exponent.
23388 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23389 (__fmal): Do not extract and scale down low bits on after-rounding
23390 systems when result rounded to normal precision would have normal
23391 exponent.
23392 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23393 (__fmal): Do not extract and scale down low bits on after-rounding
23394 systems when result rounded to normal precision would have normal
23395 exponent.
23396 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23397 macro.
23398 (fma_test): Add more tests.
23399 (fma_test_towardzero): Likewise.
23400 (fma_test_downward): Likewise.
23401 (fma_test_upward): Likewise.
23402
234032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
23404
23405 * sysdeps/i386/tininess.h: Renamed to ...
23406 * sysdeps/x86/tininess.h: This.
23407 * sysdeps/x86_64/tininess.h: Removed.
23408
234092012-10-30 Joseph Myers <joseph@codesourcery.com>
23410
23411 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23412 input. Use $(build-program-cmd).
23413 ($(objpfx)tst-array1-static.out): Likewise.
23414 ($(objpfx)tst-array2.out): Likewise.
23415 ($(objpfx)tst-array3.out): Likewise.
23416 ($(objpfx)tst-array4.out): Likewise.
23417 ($(objpfx)tst-array5.out): Likewise.
23418 ($(objpfx)tst-array5-static.out): Likewise.
23419
234202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
23421
23422 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23423 if defined.
23424
23425 * nss/nsswitch.h (nss_interface_function): Provide new
23426 macro for use with NSS functions.
23427 * grp/initgroups.c: Use new macro.
23428 * nss/getXXbyYY.c: Likewise.
23429 * nss/getXXbyYY_r.c: Likewise.
23430 * nss/getXXent.c: Likewise.
23431 * nss/getXXent_r.c: Likewise.
23432 * sysdeps/posix/getaddrinfo.c: Likewise.
23433
234342012-10-30 Andreas Jaeger <aj@suse.de>
23435
23436 * po/ru.po: Update Russion translation from translation project.
23437
234382012-10-30 Joseph Myers <joseph@codesourcery.com>
23439
23440 [BZ #14152]
23441 [BZ #14783]
23442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23443 result and shift together with sticky bit instead of replicating
23444 round-to-nearest rounding.
23445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23447 * math/libm-test.inc (fma_test): Add more tests. Do not permit
23448 missing underflow exceptions.
23449 (fma_test_towardzero): Add more tests.
23450 (fma_test_downward): Likewise.
23451 (fma_test_upward): Likewise.
23452
23453 [BZ #14047]
23454 * sysdeps/generic/tininess.h: New file.
23455 * sysdeps/i386/tininess.h: Likewise.
23456 * sysdeps/sh/tininess.h: Likewise.
23457 * sysdeps/x86_64/tininess.h: Likewise.
23458 * stdlib/tst-strtod-underflow.c: Likewise.
23459 * stdlib/tst-tininess.c: Likewise.
23460 * stdlib/strtod_l.c: Include <tininess.h>.
23461 (round_and_return): Do not set errno for exact underflow cases.
23462 Force an underflow exception when setting errno for underflow.
23463 Determine underflow based on rounding to normal precision if
23464 TININESS_AFTER_ROUNDING.
23465 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23466 ERANGE for exact underflow cases.
23467 * stdlib/Makefile (tests): Add tst-tininess and
23468 tst-strtod-underflow.
23469 ($(objpfx)tst-tininess): Use $(link-libm).
23470 ($(objpfx)tst-strtod-underflow): Likewise.
23471
234722012-10-30 Andreas Jaeger <aj@suse.de>
23473
23474 [BZ#14767]
23475 * elf/Makefile (tests): Remove conditional for have-initfini-array
23476 since this is now always required and the variable does not exist
23477 anymore.
23478 (tests-static): Likewise.
23479 (modules-names): Likewise.
23480
23481 * po/eo.po: Add Esperanto translation from translation project.
23482
23483 * elf/tst-array1.c (fini_array): Make writeable so that it can be
23484 merged with constructor/destructor.
23485 (init_array): Likewise.
23486 * elf/tst-array2dep.c (fini_array): Likewise.
23487 (init_array): Likewise.
23488
234892012-10-29 Mike Frysinger <vapier@gentoo.org>
23490
23491 * manual/message.texi: Delete @cartouche tags.
23492
234932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
23494
23495 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23496 EOPNOTSUPP.
23497 * sysdeps/mach/hurd/fsync.c: Likewise.
23498
23499 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23500 [_POSIX_REALTIME_SIGNALS]: Change condition to
23501 [_POSIX_REALTIME_SIGNALS > 0].
23502
235032012-10-27 Andreas Jaeger <aj@suse.de>
23504
23505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23506 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23508 [__WORDSIZE != 64]: Likewise.
23509
235102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
23511
23512 * iconvdata/tst-table.sh: Remove ${SHELL}.
23513 * iconvdata/tst-tables.sh: Likewise.
23514
235152012-10-25 David S. Miller <davem@davemloft.net>
23516
23517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23518 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23519 of strtoull.
23520
23521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23522 ifunc-impl-list.c
23523 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23524 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23525 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23526 file.
23527
235282012-10-25 Roland McGrath <roland@hack.frob.com>
23529
23530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23531 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23532 __getdirentries.
23533
235342012-10-25 Joseph Myers <joseph@codesourcery.com>
23535 Jim Blandy <jimb@codesourcery.com>
23536
23537 * scripts/cross-test-ssh.sh: New file.
23538 * manual/install.texi (Configuring and compiling): Document use of
23539 cross-test-ssh.sh.
23540 * INSTALL: Regenerated.
23541
235422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
23543
23544 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23545 EOPNOTSUPP.
23546
235472012-10-25 Joseph Myers <joseph@codesourcery.com>
23548
23549 * Makeconfig (run-program-prefix): Fix comment.
23550
235512012-10-24 Joseph Myers <joseph@codesourcery.com>
23552 Jim Blandy <jimb@codesourcery.com>
23553
23554 * Makeconfig (test-wrapper): New variable,
23555 (test-wrapper-env): Likewise.
23556 [$(cross-compiling) = yes && $(test-wrapper) != ""]
23557 (run-built-tests): Define to yes.
23558 (run-program-prefix): Use $(test-wrapper).
23559 (built-program-cmd): Likewise.
23560 * Rules (make-test-out): Use $(test-wrapper-env) and
23561 $(host-built-program-cmd).
23562 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23563 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23564 tst-pathopt.sh.
23565 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23566 $(test-wrapper-env) to tst-rtld-load-self.sh.
23567 ($(objpfx)order2.out): Use $(test-wrapper).
23568 ($(objpfx)tst-initorder.out): Likewise.
23569 ($(objpfx)tst-initorder2.out): Likewise.
23570 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23571 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23572 (test_wrapper_env): New variable. Use it to run ld.so.
23573 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23574 Use it to run ld.so.
23575 (test_wrapper_env): Likewise.
23576 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23577 $(test-wrapper) to run-iconv-test.sh.
23578 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23579 (ICONV): Use $test_wrapper.
23580 * posix/Makefile ($(objpfx)globtest.out): Pass
23581 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23582 globtest.sh, not $(run-program-prefix).
23583 * posix/globtest.sh (run_via_rtld_prefix): New variable.
23584 (test_wrapper): Likewise.
23585 (test_wrapper_env): Likewise. Use it to run globtest with HOME
23586 set together with run_via_rtld_prefix.
23587 (run_program_prefix): Define in terms of test_wrapper and
23588 run_via_rtld_prefix.
23589
235902012-10-24 Roland McGrath <roland@hack.frob.com>
23591
23592 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23593 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23594 Targets removed.
23595
23596 [BZ #14743]
23597 * include/time.h: Remove librt_hidden_proto (clock_gettime).
23598 Declare __clock_getres, __clock_gettime, __clock_settime,
23599 __clock_nanosleep, and __clock_getcpuclockid.
23600 * rt/clock_gettime.c: Define __clock_gettime as an alias.
23601 Remove librt_hidden_def (clock_gettime).
23602 * sysdeps/unix/clock_gettime.c: Likewise.
23603 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23604 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23605 * rt/clock_getres.c: Define __clock_getres as an alias.
23606 * sysdeps/posix/clock_getres.c: Likewise.
23607 * rt/clock_settime.c: Define __clock_settime as an alias.
23608 * sysdeps/unix/clock_settime.c: Likewise.
23609 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23610 * sysdeps/unix/clock_nanosleep.c: Likewise.
23611 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23612 * rt/clock-compat.c: New file.
23613 * rt/Makefile (librt-routines): Add clock-compat and move
23614 $(clock-routines) to ...
23615 (routines): ... here, new variable.
23616 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23617 Don't add get_clockfreq here.
23618 * rt/Versions (libc: GLIBC_2.17): New version set.
23619 Add clock_* symbols here.
23620 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23622 (GLIBC_2.17): Add clock_* symbols.
23623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23627 Likewise.
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23629 Likewise.
23630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23634 * NEWS: Mention the move.
23635
23636 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23637 Use __open, __read, __close rather than their public counterparts.
23638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23639 (__get_clockfreq_via_cpuinfo): Likewise.
23640 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23641 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23642
23643 * config.h.in (HAVE_IFUNC): New #undef.
23644 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23645 was successful.
23646 * configure: Regenerated.
23647
236482012-10-24 Mike Frysinger <vapier@gentoo.org>
23649
23650 * configure.in: Move READELF check to start of file.
23651 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23652 libc_cv_asm_gnu_indirect_function in the process.
23653 * configure: Regenerated.
23654
236552012-10-24 Mike Frysinger <vapier@gentoo.org>
23656
23657 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23658 send the output to /dev/null.
23659 (libc_cv_cc_with_libunwind): Likewise.
23660 (libc_cv_as_noexecstack): Likewise.
23661 * configure: Regenerate.
23662
236632012-10-24 Joseph Myers <joseph@codesourcery.com>
23664
23665 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23666
23667 * posix/globtest.sh (TMPDIR): Do not set.
23668 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23669 (testout): Likewise.
23670
236712012-10-24 Andreas Jaeger <aj@suse.de>
23672
23673 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23674 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23675 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23676 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23677 posix_fadvise64, posix_fallocate64.
23678
23679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23680 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23681 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23682 Likewise.
23683 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23684 Likewise.
23685 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23686
23687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23688 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23689 <bits/fcntl-linux.h>.
23690 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23691
23692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23693 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23694 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23695 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23696 [__WORDSIZE != 64]: Likewise.
23697
236982012-10-23 Joseph Myers <joseph@codesourcery.com>
23699
23700 * Makeconfig (run-built-tests): New variable.
23701 * Rules [$(cross-compiling) = yes]: Change condition to
23702 [$(run-built-tests) = no].
23703 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23704 to [$(run-built-tests) = yes].
23705 * elf/Makefile [$(cross-compiling) = no]: Likewise
23706 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23707 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23708 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23709 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23710 * io/Makefile [$(cross-compiling) = no]: Likewise.
23711 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23712 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23713 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23714 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23715 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23716 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23717 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23718 * string/Makefile [$(cross-compiling) = no]: Likewise.
23719
23720 * posix/Makefile ($(objpfx)globtest.out): Pass
23721 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23722 $(rtld-installed-name).
23723 * posix/globtest.sh (elf_objpfx): Remove variable.
23724 (rtld_installed_name): Likewise.
23725 (library_path): Likewise.
23726 (run_program_prefix): New variable. Use for running globtest
23727 binary.
23728
237292012-10-23 Jim Blandy <jimb@codesourcery.com>
23730 Joseph Myers <joseph@codesourcery.com>
23731
23732 * Makeconfig (host-built-program-cmd): New variable.
23733 * elf/Makefile (tst-stackguard1-ARGS): Use
23734 $(host-built-program-cmd).
23735 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23736 (tst-spawn-ARGS): Likewise.
23737 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23738
237392012-10-23 Joseph Myers <joseph@codesourcery.com>
23740 Jim Blandy <jimb@codesourcery.com>
23741
23742 * Makeconfig (run-via-rtld-prefix): New variable.
23743 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23744 (built-program-cmd): Likewise.
23745
237462012-10-22 Andreas Jaeger <aj@suse.de>
23747
23748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23749 __O_RSYNC if it exists, otherwise to O_SYNC.
23750
237512012-10-22 Jim Blandy <jimb@codesourcery.com>
23752 Joseph Myers <joseph@codesourcery.com>
23753
23754 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23755 /dev/null.
23756 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23757 from /dev/null
23758 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23759 /dev/null.
23760
237612012-10-22 Andreas Jaeger <aj@suse.de>
23762
23763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23764 Define always.
23765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23766
23767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23768 bits/fcntl-linux.h.
23769
23770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23771 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23772
23773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23774 to __O_LARGEFILE.
23775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23776 to __O_LARGEFILE.
23777
237782012-10-21 Jim Blandy <jimb@codesourcery.com>
23779 Joseph Myers <joseph@codesourcery.com>
23780
23781 * config.make.in (NM): New variable.
23782
237832012-10-21 Andreas Jaeger <aj@suse.de>
23784
23785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23786 definitions and declarations that are provided by
23787 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23788
237892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23790
23791 [BZ #14683]
23792 * elf/Makefile (tests-static): Add tst-leaks1-static.
23793 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23794 ($(objpfx)tst-leaks1-static): New rule.
23795 ($(objpfx)tst-leaks1-static-mem): Likewise.
23796 (tst-leaks1-static-ENV): New macro.
23797 * elf/dl-open.c (dl_open_worker): Check the main application
23798 only if SHARED is defined.
23799 * elf/tst-leaks1-static.c: New file.
23800
238012012-10-20 Andreas Jaeger <aj@suse.de>
23802
23803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23804 generic values for Linux.
23805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23806 and declarations that are provided by <bits/fcntl-linux.h> and
23807 include <bits/fcntl-linux.h>.
23808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23810
238112012-10-20 Roland McGrath <roland@hack.frob.com>
23812
23813 * io/fcntl.h: Move include of <bits/types.h> to the top and
23814 include it unconditionally.
23815
238162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * wcsmbs/Makefile (tests-ifunc): New variable.
23819 (tests): Add $(tests-ifunc).
23820 * wcsmbs/test-wcschr-ifunc.c: New file.
23821 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23822 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23823 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23824 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23825 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23826
23827 * string/Makefile (tests-ifunc): New variable.
23828 (tests): Add $(tests-ifunc).
23829 * string/test-memccpy.c (TEST_NAME): New macro.
23830 * string/test-memchr.c (TEST_NAME): Likewise.
23831 * string/test-memcmp.c (TEST_NAME): Likewise.
23832 * string/test-memcpy.c (TEST_NAME): Likewise.
23833 * string/test-memmem.c (TEST_NAME): Likewise.
23834 * string/test-memmove.c (TEST_NAME): Likewise.
23835 * string/test-memset.c (TEST_NAME): Likewise.
23836 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23837 * string/test-stpcpy.c (TEST_NAME): Likewise.
23838 * string/test-stpncpy.c (TEST_NAME): Likewise.
23839 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23840 * string/test-strcasestr.c (TEST_NAME): Likewise.
23841 * string/test-strcat.c (TEST_NAME): Likewise.
23842 * string/test-strchr.c (TEST_NAME): Likewise.
23843 * string/test-strcmp.c(TEST_NAME): Likewise.
23844 * string/test-strcpy.c (TEST_NAME): Likewise.
23845 * string/test-strcspn.c (TEST_NAME): Likewise.
23846 * string/test-strlen.c (TEST_NAME): Likewise.
23847 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23848 * string/test-strncmp.c (TEST_NAME): Likewise.
23849 * string/test-strncpy.c (TEST_NAME): Likewise.
23850 * string/test-strnlen.c (TEST_NAME): Likewise.
23851 * string/test-strpbrk.c (TEST_NAME): Likewise.
23852 * string/test-strrchr.c (TEST_NAME): Likewise.
23853 * string/test-strspn.c (TEST_NAME): Likewise.
23854 * string/test-strstr.c (TEST_NAME): Likewise.
23855 * string/test-bcopy-ifunc.c: New file.
23856 * string/test-bzero-ifunc.c: Likewise.
23857 * string/test-memccpy-ifunc.c: Likewise.
23858 * string/test-memchr-ifunc.c: Likewise.
23859 * string/test-memcmp-ifunc.c: Likewise.
23860 * string/test-memcpy-ifunc.c: Likewise.
23861 * string/test-memmem-ifunc.c: Likewise.
23862 * string/test-memmove-ifunc.c: Likewise.
23863 * string/test-mempcpy-ifunc.c: Likewise.
23864 * string/test-memset-ifunc.c: Likewise.
23865 * string/test-rawmemchr-ifunc.c: Likewise.
23866 * string/test-stpcpy-ifunc.c: Likewise.
23867 * string/test-stpncpy-ifunc.c: Likewise.
23868 * string/test-strcasecmp-ifunc.c: Likewise.
23869 * string/test-strcasestr-ifunc.c: Likewise.
23870 * string/test-strcat-ifunc.c: Likewise.
23871 * string/test-strchr-ifunc.c: Likewise.
23872 * string/test-strchrnul-ifunc.c: Likewise.
23873 * string/test-strcmp-ifunc.c: Likewise.
23874 * string/test-strcpy-ifunc.c: Likewise.
23875 * string/test-strcspn-ifunc.c: Likewise.
23876 * string/test-strlen-ifunc.c: Likewise.
23877 * string/test-strncasecmp-ifunc.c: Likewise.
23878 * string/test-strncat-ifunc.c: Likewise.
23879 * string/test-strncmp-ifunc.c: Likewise.
23880 * string/test-strncpy-ifunc.c: Likewise.
23881 * string/test-strnlen-ifunc.c: Likewise.
23882 * string/test-strpbrk-ifunc.c: Likewise.
23883 * string/test-strrchr-ifunc.c: Likewise.
23884 * string/test-strspn-ifunc.c: Likewise.
23885 * string/test-strstr-ifunc.c: Likewise.
23886
23887 * debug/Makefile (tests-ifunc): New variable.
23888 (tests): Add $(tests-ifunc).
23889 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23890 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23891 * debug/test-stpcpy_chk-ifunc.c: New file.
23892 * debug/test-strcpy_chk-ifunc.c: Likewise.
23893
238942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23895
23896 [BZ #13601]
23897 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23898 header is not read in.
23899
239002012-10-19 Joseph Myers <joseph@codesourcery.com>
23901
23902 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23903 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23904 directly. Pass built executable to script as
23905 $(built-program-cmd).
23906 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23907 $testprogram without using LD_LIBRARY_PATH and $ldso.
23908
23909 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23910 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23911 $(rtld-installed-name).
23912 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23913 (rtld_installed_name): Likewise.
23914 (library_path): Likewise.
23915 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23916 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23917 $(run-program-prefix) to tst-tables.sh.
23918 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23919 it to run tst-table-from and tst-table-to.
23920 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23921 Pass it to tst-table.sh.
23922 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23923 $(run-program-prefix) to tst-gettext.sh.
23924 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23925 tst-translit.sh.
23926 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23927 tst-gettext2.sh.
23928 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23929 to run tst-gettext.
23930 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23931 to run tst-gettext2.
23932 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23933 to run tst-translit.
23934 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23935 $(run-program-prefix) to tst-mtrace.sh.
23936 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23937 to run tst-mtrace.
23938 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23939 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23940 $(rtld-installed-name).
23941 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23942 (rtld_installed_name): Likewise.
23943 (run_program_prefix): New variable. Use it to run wordexp-test.
23944
23945 * Makeconfig (ARCH): Remove all definitions.
23946 (machine): Likewise.
23947 [ARCH]: Remove conditional code.
23948 [!objdir]: Give error.
23949 [!objdir] (objpfx): Remove.
23950 [!objdir] (common-objpfx): Likewise.
23951 [!objdir] (common-objdir): Likewise.
23952 * configure.in (config_makefile): Remove. Hardcode Makefile in
23953 AC_CONFIG_FILES call.
23954 * configure: Regenerated.
23955
23956 [BZ #13888]
23957 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23958 or TMPDIR.
23959 (testout): Likewise.
23960
23961 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23962 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23963 $(rtld-installed-name).
23964 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23965 (rtld_installed_name): Likwise.
23966 (runit): Remove function.
23967 (run_getconf): New variable, Use it for running getconf binary.
23968
239692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 [BZ #14716]
23972 * string/test-memmem.c (check_result): New function.
23973 (do_one_test): Use it.
23974 (check1): New function.
23975 (test_main): Use it.
23976
239772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23978
23979 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23980
239812012-10-18 Joseph Myers <joseph@codesourcery.com>
23982
23983 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23984 (_G_LSEEK64): Likewise.
23985 (_G_MMAP64): Likewise.
23986 (_G_FSTAT64): Likewise.
23987 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23988 (_G_LSEEK64): Likewise.
23989 (_G_MMAP64): Likewise.
23990 (_G_FSTAT64): Likewise.
23991 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23992 unconditional. Call __mmap64 directly.
23993 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23994 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23995 __lseek64 directly.
23996 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23997 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23998 __mmap64 directly.
23999 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24000 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
24001 __lseek64 directly.
24002 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24003 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
24004 __lseek64 directly.
24005 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24006 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
24007 __lseek64 directly.
24008 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24009 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
24010 __fxstat64 directly.
24011 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24012 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24013 unconditional.
24014 (freopen64) [!_G_OPEN64]: Remove conditional code.
24015 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24016 unconditional.
24017 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24018 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24019 unconditional.
24020 (ftello64) [!_G_LSEEK64]: Remove conditional code.
24021 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24022 unconditional.
24023 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24024 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24025 unconditional.
24026 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24027 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24028 unconditional.
24029 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24030 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24031 unconditional.
24032 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24033 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24034 unconditional.
24035 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24036
240372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24038
24039 [BZ #12140]
24040 * manual/memory.texi (Malloc Tunable Parameters): Add note
24041 about free list pointers overwriting some perturb bytes.
24042 Wording suggested by Roland McGrath.
24043
240442012-10-17 Joseph Myers <joseph@codesourcery.com>
24045
24046 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24047 (lgamma_test): Likewise.
24048 (tgamma_test): Likewise.
24049
240502012-10-16 Florian Weimer <fweimer@redhat.com>
24051
24052 [BZ #14700]
24053 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24054 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24055
240562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
24057
24058 * NEWS: Mention BZ #14716.
24059 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24060 when removing AVAILABLE1_USES_J macro.
24061
240622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
24063
24064 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24065 (__bswap_64): __uint64_t for unsigned 64-bit int.
24066
240672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
24068
24069 * include/string.h (memmem): Declare libc hidden alias.
24070 * string/memmem.c (memmem): Define libc hidden alias.
24071 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24072 __read, __close instead of open, read, close.
24073
240742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24077 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24078 global and hidden.
24079 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24080 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24081 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24082 Likewise.
24083 (__rawmemchr_sse2): Likewise.
24084 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24085 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24086 (__strchr_sse2): Likewise.
24087 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24088 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24089 (__strcasecmp_sse2): Likewise.
24090 (__strncasecmp_sse2): Likewise.
24091 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24092 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24093 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24094 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24095 (__strrchr_sse2): Likewise.
24096 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24097 ifunc-impl-list.c.
24098 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24099 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24100 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24101 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24102 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24103 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24104 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24105 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24106 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24107 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24108 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24109 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24110 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24111 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24112 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24113 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24114 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24115 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24116 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24117 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24118 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24119 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24120 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24121 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24122 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24124 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24125 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24126 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24127 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24128
24129 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24130 global and hidden.
24131 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24132 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24133 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24134 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24135 Likewise.
24136 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24137 Likewise.
24138 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24139 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24140 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24141 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24142 ifunc-impl-list.c.
24143 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24144 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24146 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24147 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24148 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24149 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24150 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24151 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24152 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24153 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24154 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24155 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24156 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24157 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24159 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24160 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24161 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24162 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24164 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24165 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24166 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24168 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24169 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24170 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24171 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24172 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24173 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24174 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24175 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24176 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24177 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24178 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24179 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24180 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24181 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24183 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24184
24185 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24186 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24187 * include/ifunc-impl-list.h: New file.
24188 * misc/ifunc-impl-list.c: Likewise.
24189 * misc/Makefile (routines): Add ifunc-impl-list.
24190 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24191 * string/test-string.h: Include <ifunc-impl-list.h>.
24192 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24193 TEST_NAME]: New variables.
24194 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24195 are defined.
24196 (test_init): Call __libc_ifunc_impl_list to initialize
24197 func_list if TEST_IFUNC and TEST_NAME are defined.
24198
24199 * string/Makefile (strop-tests): Add bcopy and bzero.
24200 * string/test-bcopy.c: New file.
24201 * string/test-bzero.c: Likewise.
24202 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24203 defined.
24204 * string/test-memset.c: Support bzero test if TEST_BZERO is
24205 defined.
24206 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24207 __libc_memmove.
24208 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24209 __libc_memset.
24210 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24211 of memset.
24212
242132012-10-10 Joseph Myers <joseph@codesourcery.com>
24214
24215 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24216 * configure: Regenerated.
24217
24218 * Makeconfig (+link-static-before-libc): Don't include
24219 $(link-static-libc).
24220
24221 * libio/libio.h (_IO_pos_t): Remove.
24222
242232012-10-10 Alexandre Oliva <aoliva@redhat.com>
24224
24225 * NEWS: Add note about FIPS mode. Wording suggested by Roland
24226 McGrath.
24227
242282012-10-10 Alexandre Oliva <aoliva@redhat.com>
24229
24230 * crypt/crypt-entry.c: Include fips-private.h.
24231 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24232 * crypt/md5c-test.c (main): Tolerate disabled MD5.
24233 * sysdeps/unix/sysv/linux/fips-private.h: New file.
24234 * sysdeps/generic/fips-private.h: New file, dummy fallback.
24235
242362012-10-10 Alexandre Oliva <aoliva@redhat.com>
24237
24238 * crypt/crypt-private.h: Include stdbool.h.
24239 (_ufc_setup_salt_r): Return bool.
24240 * crypt/crypt-entry.c: Include errno.h.
24241 (__crypt_r): Return NULL with EINVAL for bad salt.
24242 * crypt/crypt_util.c (bad_for_salt): New.
24243 (_ufc_setup_salt_r): Check that salt is long enough and within
24244 the specified alphabet.
24245 * crypt/badsalttest.c: New file.
24246 * crypt/Makefile (tests): Add it.
24247 ($(objpfx)badsalttest): New.
24248
242492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
24250
24251 * NEWS: Add entry for BZ #14602.
24252
242532012-10-09 Joseph Myers <joseph@codesourcery.com>
24254
24255 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24256 type-generic.
24257 * math/libm-test.inc: Update comment listing what functions and
24258 macros are tested.
24259 (isgreater_test): New function.
24260 (isgreaterequal_test): Likewise.
24261 (isless_test): Likewise.
24262 (islessequal_test): Likewise.
24263 (islessgreater_test): Likewise.
24264 (isunordered_test): Likewise.
24265 (main): Call the new functions.
24266
242672012-10-09 Roland McGrath <roland@hack.frob.com>
24268
24269 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24270 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24271 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24272 * sysdeps/i386/configure: Regenerated.
24273 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24274 * sysdeps/mach/configure: Regenerated.
24275 * sysdeps/mach/hurd/configure: Regenerated.
24276 * sysdeps/powerpc/configure: Regenerated.
24277 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24278 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24279 * sysdeps/s390/s390-32/configure: Regenerated.
24280 * sysdeps/s390/s390-64/configure: Regenerated.
24281 * sysdeps/sh/configure: Regenerated.
24282 * sysdeps/sparc/configure: Regenerated.
24283 * sysdeps/unix/sysv/linux/configure: Regenerated.
24284 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24285 * sysdeps/x86_64/configure: Regenerated.
24286
24287 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24288 defined. Don't check if MAP is NULL.
24289
242902012-10-09 Joseph Myers <joseph@codesourcery.com>
24291
24292 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24293 (_G_stat64): Likewise.
24294 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24295 (_G_stat64): Likewise.
24296 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24297 instead of struct _G_stat64.
24298 * libio/fileops.c (mmap_remap_check): Likewise.
24299 (decide_maybe_mmap): Likewise.
24300 (_IO_new_file_seekoff): Likewise.
24301 (_IO_file_stat): Likewise.
24302 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24303 _G_off64_t.
24304 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24305 instead of struct _G_stat64.
24306 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24307
243082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
24309
24310 [BZ #14602]
24311 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24312 Replace with ...
24313 (CHECK_EOL): New macro.
24314 (two_way_short_needle): Check beginning of haystack for EOL. Use
24315 CHECK_EOL.
24316 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24317 Replace with CHECK_EOL.
24318 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24319 Replace with CHECK_EOL.
24320
243212012-10-08 Joseph Myers <joseph@codesourcery.com>
24322
24323 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24324 type-generic.
24325 * math/libm-test.inc: Update comment listing what functions and
24326 macros are tested.
24327 (finite_test): New function.
24328 (isinf_test): Likewise.
24329 (isnan_test): Likewise.
24330 (fpclassify_test): Test subnormal input.
24331 (isfinite_test): Likewise.
24332 (isnormal_test): Likewise.
24333 (main): Call the new functions.
24334
243352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
24336
24337 [BZ #14660]
24338 * Makerules (%.dynsym): Force C locale when running
24339 $(OBJDUMP) --dynamic-syms.
24340
243412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
24342
24343 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24344 <stdint.h>.
24345
243462012-10-06 David S. Miller <davem@davemloft.net>
24347
24348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24349 upper 32-bits of the length value in %o2 since we use branch-on-register
24350 tests which consider the entire 64-bit register.
24351
243522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 * string/test-strstr.c (check2): Add a test for page boundary.
24355
243562012-10-05 David S. Miller <davem@davemloft.net>
24357
24358 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24360 file.
24361 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24362 sysdep_routines.
24363 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24364 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24365 and bzero when HWCAP_SPARC_CRYPTO is present.
24366
243672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 [BZ #14602]
24370 * string/test-strstr.c (check2): New function.
24371 (test_main): Call check2.
24372
24373 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24374 and bug-strchr1.
24375 * string/bug-strcasestr1.c (do_test): Moved to ...
24376 * string/test-strcasestr.c (check1): Here. New function.
24377 (do_one_test): Break out result checking code into ...
24378 (check_result): This. New function.
24379 (do_one_test): Call check_result.
24380 (test_main): Call check1.
24381 * string/bug-strchr1.c (do_test): Moved to ...
24382 * string/test-strchr.c (check1): Here. New function.
24383 (do_one_test): Break out result checking code into ...
24384 (check_result): This. New function.
24385 (do_one_test): Call check_result.
24386 (test_main): Call check1.
24387 * string/bug-strstr1.c (main): Moved to ...
24388 * string/test-strstr.c (check1): Here. New function.
24389 (do_one_test): Break out result checking code into ...
24390 (check_result): This. New function.
24391 (do_one_test): Call check_result.
24392 (test_main): Call check1.
24393 * string/bug-strcasestr1.c: Removed.
24394 * string/bug-strchr1.c: Likewise.
24395 * string/bug-strstr1.c: Likewise.
24396
24397 * elf/Makefile (dl-routines): Add hwcaps.
24398 * elf/dl-support.c (_dl_important_hwcaps): Removed.
24399 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24400 (_dl_important_hwcaps): Moved to ...
24401 * elf/dl-hwcaps.c: Here. New file.
24402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24403
24404 [BZ #14557]
24405 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24406 if IS_IN_rtld isn't defined.
24407
24408 * elf/dl-support.c (_dl_sysinfo_map): New.
24409 Include "get-dynamic-info.h" and "setup-vdso.h".
24410 (_dl_non_dynamic_init): Call setup_vdso.
24411 * elf/dynamic-link.h: Don't include <assert.h>.
24412 (elf_get_dynamic_info): Moved to ...
24413 * elf/get-dynamic-info.h: Here. New file.
24414 * elf/dynamic-link.h: Include "get-dynamic-info.h".
24415 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24416 * elf/setup-vdso.h: Here. New file.
24417 * elf/rtld.c: Include "setup-vdso.h".
24418 (dl_main): Call setup_vdso.
24419
244202012-10-05 Joseph Myers <joseph@codesourcery.com>
24421
24422 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24423 creal in comment listing functions tested. List finite, isinf,
24424 isnan, isless, islessequal, isgreater, isgreaterequal,
24425 islessgreater, isunordered, lgamma_r and pow10 as functions and
24426 macros not tested. Mention which functions not tested are aliases
24427 for other functions. Fix typo. Note that signs of NaNs are not
24428 tested.
24429
24430 * scripts/config.guess: Update from config.git.
24431 * scripts/config.sub: Likewise.
24432
244332012-10-04 Roland McGrath <roland@hack.frob.com>
24434
24435 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24436 * misc/madvise.c (madvise): Renamed to __madvise.
24437 Make madvise a weak alias.
24438 * include/sys/mman.h: Declare __madvise.
24439 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24440 * sysdeps/unix/syscalls.list
24441 (madvise): Make __madvise the strong name, and madvise a weak alias.
24442 * sysdeps/unix/sysv/linux/syscalls.list
24443 (madvise, mmap): Remove redundant entries.
24444 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24445 * malloc/malloc.c (mtrim): Likewise.
24446 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24447
244482012-10-03 Roland McGrath <roland@hack.frob.com>
24449
24450 * sysdeps/mach/hurd/dl-cache.c: File removed.
24451 * config.h.in (USE_LDCONFIG): New #undef.
24452 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24453 * configure: Regenerated.
24454 * elf/Makefile (dl-routines): Add dl-cache only under
24455 [$(use-ldconfig) = yes].
24456 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24457 cache on [USE_LDCONFIG].
24458 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24459 [USE_LDCONFIG].
24460 * elf/rtld.c (dl_main): Likewise.
24461
244622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
24463
24464 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24465 _SC_LEVEL4_CACHE_LINESIZE.
24466
244672012-10-03 Roland McGrath <roland@hack.frob.com>
24468
24469 * sysdeps/unix/bsd/confstr.h: File removed.
24470
244712012-10-02 Alexandre Oliva <aoliva@redhat.com>
24472
24473 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24474 sys/sdt-config.h.
24475
244762012-10-02 Roland McGrath <roland@hack.frob.com>
24477
24478 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24479 Make 'mapoff' field ElfW(Off) rather than off_t.
24480
244812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
24482
24483 * nscd/Makefile: Remove nscd-cflags and all its users.
24484 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24485 (CFLAGS-nonlib): Add compiler flags for nscd modules.
24486
24487 [BZ #10631]
24488 * malloc.c (malloc_printerr): Clarify error message.
24489
244902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
24491
24492 [BZ #14648]
24493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24494 Set bit_FMA_Usable if FMA is supported.
24495 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24496 macro.
24497 (bit_FMA4_Usable): Updated.
24498 (index_FMA_Usable): New macro.
24499 (CPUID_FMA): Likewise
24500 (HAS_FMA): Defined with bit_FMA_Usable.
24501
245022012-10-01 Roland McGrath <roland@hack.frob.com>
24503
24504 * bits/types.h (__swblk_t): Type removed.
24505 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24506 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24508 (__SWBLK_T_TYPE): Likewise.
24509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24510 (__SWBLK_T_TYPE): Likewise.
24511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24512 (__SWBLK_T_TYPE): Likewise.
24513 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24514 (__SWBLK_T_TYPE): Likewise.
24515
245162012-10-01 Patsy Franklin <pfrankli@redhat.com>
24517 Honza Horak <hhorak@redhat.com>
24518
24519 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24520 (xdr_mapname): Use YPMAXMAP as maxsize.
24521 (xdr_peername): Use YPMAXPEER as maxsize.
24522 (xdr_keydat): Use YPAXRECORD as maxsize.
24523 (xdr_valdat): Use YPMAXRECORD as maxsize.
24524
245252012-10-01 Roland McGrath <roland@hack.frob.com>
24526
24527 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24528
24529 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24530 * csu/init-first.c: ... here.
24531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24532 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24533 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24534 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24535 * sysdeps/i386/init-first.c: File removed.
24536 * sysdeps/sh/init-first.c: File removed.
24537
245382012-10-01 Joseph Myers <joseph@codesourcery.com>
24539
24540 [BZ #14645]
24541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24542 if x * y might underflow to zero and z is zero.
24543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24545 * math/libm-test.inc (min_subnorm_value): New variable.
24546 (fma_test): Add more tests.
24547 (fma_test_towardzero): Likewise.
24548 (fma_test_downward): Likewise
24549 (fma_test_upward): Likewise.
24550 (initialize): Set min_subnorm_value.
24551
245522012-09-29 Joseph Myers <joseph@codesourcery.com>
24553
24554 [BZ #14638]
24555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24556 0 + 0.
24557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24558 mode for addition resulting in exact zero.
24559 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24561 exact 0 + 0.
24562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24564 * math/libm-test.inc (fma_test): Add more tests.
24565 (fma_test_towardzero): New function.
24566 (fma_test_downward): Likewise.
24567 (fma_test_upward): Likewise.
24568 (main): Call the new functions.
24569
245702012-09-28 David S. Miller <davem@davemloft.net>
24571
24572 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24573
245742012-09-28 Roland McGrath <roland@hack.frob.com>
24575
24576 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24577 instead of SIGALRM.
24578
24579 * sysdeps/gnu/_G_config.h: Moved to ...
24580 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24581 * sysdeps/mach/hurd/_G_config.h: Moved to ...
24582 * sysdeps/generic/_G_config.h: ... here.
24583
24584 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
24585
24586 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24587
24588 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24589 Conditionalize target on [libnss_test1.so-version].
24590
24591 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24592
24593 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24594 (elfobjdir): Move out of conditionals.
24595
24596 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24597 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24598 (__nss_lookup_function): Conditionalize label remove_from_tree on
24599 [!DO_STATIC_NSS || SHARED], matching its only use.
24600
246012012-09-28 David S. Miller <davem@davemloft.net>
24602
24603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24605 file.
24606 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24607 sysdep_routines.
24608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24610 when HWCAP_SPARC_CRYPTO is present.
24611
246122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24613
24614 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24615
246162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24617
24618 [BZ #6530]
24619 * stdio-common/vfprintf.c (process_string_arg): Revert
24620 2000-07-22 change.
24621
246222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24623
24624 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24625 for testcase.
24626 * stdio-common/tst-sprintf.c: Include <locale.h>
24627 (main): Test sprintf's handling of incomplete multibyte
24628 characters.
24629
246302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24631
24632 * elf/dl-runtime.c (VERSYMIDX): Removed.
24633 * elf/dl-version.c (VERSYMIDX): Likewise.
24634 * elf/do-rel.h (VERSYMIDX): Likewise.
24635 (VALIDX): Likewise.
24636 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24637 * elf/rtld.c (VALIDX): Likewise.
24638 (ADDRIDX): Likewise.
24639 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24640 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24641 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24642 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24643 (VALIDX): Likewise.
24644 (ADDRIDX): Likewise.
24645
246462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24647
24648 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24649
246502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24651
24652 [BZ #11438]
24653 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24654 to global scope.
24655 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24656 addresses are in the same scope as 192.0.2/24.
24657 * posix/gai.conf: Document new scope table defaults.
24658
246592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24660
24661 [BZ #5298]
24662 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24663 for ftell. Compute offsets from write pointers instead.
24664 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24665
246662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24667
24668 [BZ #14543]
24669 * libio/Makefile (tests): New test case tst-fseek.
24670 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24671 combination works in wide mode.
24672 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24673 state when the external buffer state changes.
24674
246752012-09-27 David S. Miller <davem@davemloft.net>
24676
24677 [BZ #14376]
24678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24679 pass reloc->r_addend in as the 'high' argument to
24680 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24681
24682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24683
246842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24685
24686 * rt/tst-aio2.c: Include <pthread.h>.
24687 * rt/tst-aio3.c: Likewise.
24688
246892012-09-27 Steve Ellcey <sellcey@mips.com>
24690
24691 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24692
246932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24696 contents on [SHARED].
24697
246982012-09-26 Marek Polacek <polacek@redhat.com>
24699
24700 [BZ #14530]
24701 [BZ #13741]
24702 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24703 for C++ and GCC <4.3 as well as for non GCC compilers.
24704
247052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24706
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24708
247092012-09-25 Roland McGrath <roland@hack.frob.com>
24710
24711 * Makefile.in (all, install): Declare with .PHONY.
24712 Reported by Michael Hope <michael.hope@linaro.org>.
24713
247142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24715
24716 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24717 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24718 system header.
24719 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24720 Likewise.
24721 (sydep_routines): Add the new and the internal functions.
24722 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24725 (GLIBC_2.17): Add the new function.
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24727 (GLIBC_2.17): Likewise.
24728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24729 (GLIBC_2.17): Likewise.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24731 (GLIBC_2.17): Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24733
247342012-09-25 Alan Modra <amodra@gmail.com>
24735
24736 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24737 Add release barrier before setting once_control to say
24738 initialisation is done. Add hints on lwarx. Use macro in
24739 place of isync.
24740 (clear_once_control): Add release barrier.
24741
247422012-09-25 Joseph Myers <joseph@codesourcery.com>
24743
24744 [BZ #13629]
24745 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24746 specially.
24747 * math/s_clog10.c (__clog10): Likewise.
24748 * math/s_clog10f.c (__clog10f): Likewise.
24749 * math/s_clog10l.c (__clog10l): Likewise.
24750 * math/s_clogf.c (__clogf): Likewise.
24751 * math/s_clogl.c (__clogl): Likewise.
24752 * math/Makefile (libm-calls): Add x2y2m1.
24753 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24754 (__x2y2m1): Likewise.
24755 (__x2y2m1l): Likewise.
24756 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24757 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24760 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24761 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24762 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24763 * sysdeps/i386/fpu/libm-test-ulps: Update.
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24765
24766 [BZ #14621]
24767 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24768 int as type of variable DEPTH.
24769 (glob): Use size_t instead of int as type of variables NEWCOUNT
24770 and OLD_PATHC.
24771
247722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24773
24774 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24775 Add s_sincosf-sse2.
24776 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24777 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24778 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24779 macros for using routine as __sincosf_ia32.
24780 Use macro for function declaration and weak_alias.
24781 * sysdeps/i386/fpu/libm-test-ulps: Update.
24782
24783 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24785
24786 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
24787 subnormal argument.
24788 * math/s_cexpf.c (__cexpf): Likewise.
24789 * math/s_csinf.c (__csinf): Likewise.
24790 * math/s_csinhf.c (__csinhf): Likewise.
24791 * math/s_ctanf.c (__ctanf): Likewise.
24792 * math/s_ctanhf.c (__ctanhf): Likewise.
24793 * math/s_ccosh.c (__ccoshf): Likewise.
24794 * math/s_cexp.c (__cexpl): Likewise.
24795 * math/s_csin.c (__csin): Likewise.
24796 * math/s_csinh.c (__csinh): Likewise.
24797 * math/s_ctan.c (__ctan): Likewise.
24798 * math/s_ctanh.c (ctanh): Likewise.
24799 * math/s_ccoshl.c (__ccoshl): Likewise.
24800 * math/s_cexpl.c (__cexpl): Likewise.
24801 * math/s_csinl.c (__csinl): Likewise.
24802 * math/s_csinhl.c (__csinhl): Likewise.
24803 * math/s_ctanl.c (__ctanl): Likewise.
24804 * math/s_ctanhl.c (__ctanhl): Likewise.
24805
248062012-09-25 Joseph Myers <joseph@codesourcery.com>
24807
24808 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24809 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24810 (_IO_off_t): Define to __off_t, not _G_off_t.
24811 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24812 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24813 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24814 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24815 type of __dummy and __dummy2 fields.
24816 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24817 (_G_ssize_t): Likewise.
24818 (_G_off_t): Likewise.
24819 (_G_pid_t): Likewise.
24820 (_G_uid_t): Likewise.
24821 (_G_wchar_t): Likewise.
24822 (_G_wint_t): Likewise.
24823 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24824 (_G_ssize_t): Likewise.
24825 (_G_off_t): Likewise.
24826 (_G_pid_t): Likewise.
24827 (_G_uid_t): Likewise.
24828 (_G_wchar_t): Likewise.
24829 (_G_wint_t): Likewise.
24830 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24831 (_G_ssize_t): Likewise.
24832 (_G_off_t): Likewise.
24833 (_G_pid_t): Likewise.
24834 (_G_uid_t): Likewise.
24835 (_G_wchar_t): Likewise.
24836 (_G_wint_t): Likewise.
24837
248382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24839
24840 * malloc/arena.c: Include malloc-sysdep.h.
24841 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24842 is sufficient to shrink the heap or an unmap is needed.
24843 * sysdeps/generic/malloc-sysdep.h: New file. Define
24844 new function check_may_shrink_heap.
24845 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24846 new function check_may_shrink_heap.
24847
248482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24849
24850 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24851 comments.
24852
248532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24854
24855 * catgets/test-gencat.sh: Add "set -e".
24856 * elf/tst-pathopt.sh: Likewise.
24857 * grp/tst_fgetgrent.sh: Likewise.
24858 * iconvdata/run-iconv-test.sh: Likewise.
24859 * intl/tst-gettext.sh: Likewise.
24860 * intl/tst-gettext2.sh: Likewise.
24861 * intl/tst-gettext4.sh: Likewise.
24862 * intl/tst-gettext6.sh: Likewise.
24863 * intl/tst-translit.sh: Likewise.
24864 * io/ftwtest-sh: Likewise.
24865 * libio/test-freopen.sh: Likewise.
24866 * malloc/tst-mtrace.sh: Likewise.
24867 * posix/globtest.sh: Likewise.
24868 * posix/tst-getconf.sh: Likewise.
24869 * posix/wordexp-tst.sh: Likewise.
24870 * stdio-common/tst-printf.sh: Likewise.
24871 * stdio-common/tst-unbputc.sh: Likewise.
24872 * stdlib/tst-fmtmsg.sh: Likewise.
24873 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24874 * catgets/Makefile: Do not specify -e option when running
24875 testsuite shell scripts.
24876 * elf/Makefile: Likewise.
24877 * grp/Makefile: Likewise.
24878 * iconvdata/Makefile: Likewise.
24879 * intl/Makefile: Likewise.
24880 * io/Makefile: Likewise.
24881 * libio/Makefile: Likewise.
24882 * malloc/Makefile: Likewise.
24883 * posix/Makefile: Likewise.
24884 * stdio-common/Makefile: Likewise.
24885 * stdlib/Makefile: Likewise.
24886 * sysdeps/x86_64/Makefile: Likewise.
24887
24888 * io/ftwtest-sh: Add copyright header.
24889 * posix/globtest.sh: Likewise.
24890 * posix/tst-getconf.sh: Likewise.
24891 * posix/wordexp-tst.sh: Likewise.
24892 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24893
248942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24895
24896 [BZ #13679]
24897 * Makeconfig (+link): Defined as $(+link-static) if
24898 $(build-shared) isn't yes.
24899 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24900 isn't yes.
24901 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24902
24903 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24904
24905 [BZ #14562]
24906 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24907 new chunk size with MALLOC_ALIGN_MASK.
24908
249092012-09-24 Joseph Myers <joseph@codesourcery.com>
24910
24911 [BZ #5044]
24912 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24913 <rounding-mode.h>.
24914 (__printf_fphex): Determine rounding using get_rounding_mode and
24915 round_away.
24916 * stdio-common/tst-printf-round.c (struct hex_test): New
24917 structure.
24918 (hex_tests): New variable.
24919 (test_hex_in_one_mode): New function.
24920 (do_test): Also run tests for hex float output.
24921
249222012-09-21 Joseph Myers <joseph@codesourcery.com>
24923
24924 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24925 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24926 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24927 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24928 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24929 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24930 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24932
249332012-09-20 Joseph Myers <joseph@codesourcery.com>
24934
24935 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24936 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24937 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24938 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24939
249402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24941
24942 [BZ #14579]
24943 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24944 mode only.
24945 * elf/tst-rtld-load-self.sh: New test.
24946 * elf/Makefile: Run it.
24947
249482012-09-18 Joseph Myers <joseph@codesourcery.com>
24949
24950 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24951 (tst-writev-ENV): Remove.
24952 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24953
249542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24955
24956 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24957
249582012-09-17 Joseph Myers <joseph@codesourcery.com>
24959
24960 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24961 unconditional.
24962 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24963 Likewise.
24964 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24965 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24966 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24967 Likewise.
24968
249692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24970
24971 [BZ #14587]
24972 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24973 * config.make.in (have-cpp-asm-debuginfo): Removed.
24974 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24975 * configure: Regenerated.
24976
249772012-09-14 Joseph Myers <joseph@codesourcery.com>
24978
24979 [BZ #5044]
24980 * stdio-common/printf_fp.c: Include <stdbool.h> and
24981 <rounding-mode.h>.
24982 (___printf_fp): Determine rounding using get_rounding_mode and
24983 round_away.
24984 * stdio-common/tst-printf-round.c: New file.
24985 * stdio-common/Makefile (tests): Add tst-printf-round.
24986 (link-libm): New variable.
24987 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24988
249892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24990
24991 [BZ #14576]
24992 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24993 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24994 Likewise.
24995 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24996 Likewise.
24997
249982012-09-13 Joseph Myers <joseph@codesourcery.com>
24999
25000 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25001 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25002 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25003 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25004
250052012-09-12 Joseph Myers <joseph@codesourcery.com>
25006
25007 [BZ #14518]
25008 * include/rounding-mode.h: New file.
25009 * sysdeps/generic/get-rounding-mode.h: Likewise.
25010 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25011 * stdlib/strtod_l.c: Include <rounding-mode.h>.
25012 (MAX_VALUE): New macro.
25013 (MIN_VALUE): Likewise.
25014 (overflow_value): New function.
25015 (underflow_value): Likewise.
25016 (round_and_return): Use overflow_value and underflow_value to
25017 determine return values in overflow and underflow cases. Use
25018 round_away to determine rounding depending on rounding mode.
25019 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25020 determine return values in overflow and underflow cases.
25021 * stdlib/tst-strtod-round.c: Include <fenv.h>.
25022 (struct test_results): New structure.
25023 (struct test): Use struct test_results to store expected results
25024 for all rounding modes.
25025 (TEST): Include expected results for all rounding modes.
25026 (test_in_one_mode): New function.
25027 (do_test): Use test_in_one_mode to compute and check results.
25028 Check results for all rounding modes.
25029 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25030 $(link-libm).
25031
250322012-12-09 Allan McRae <allan@archlinux.org>
25033
25034 * sysdeps/i386/fpu/libm-test-ulps: Update
25035
250362012-09-11 Joseph Myers <joseph@codesourcery.com>
25037
25038 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25039 (_G_int32_t): Likewise.
25040 (_G_uint16_t): Likewise.
25041 (_G_uint32_t): Likewise.
25042 (_G_HAVE_BOOL): Likewise.
25043 (_G_HAVE_ATEXIT): Likewise.
25044 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25045 (_G_HAVE_IO_FILE_OPEN): Likewise.
25046 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25047 (_G_int32_t): Likewise.
25048 (_G_uint16_t): Likewise.
25049 (_G_uint32_t): Likewise.
25050 (_G_HAVE_BOOL): Likewise.
25051 (_G_HAVE_ATEXIT): Likewise.
25052 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25053 (_G_HAVE_IO_FILE_OPEN): Likewise.
25054 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25055 (_G_int32_t): Likewise.
25056 (_G_uint16_t): Likewise.
25057 (_G_uint32_t): Likewise.
25058 (_G_HAVE_BOOL): Likewise.
25059 (_G_HAVE_ATEXIT): Likewise.
25060 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25061 (_G_HAVE_IO_FILE_OPEN): Likewise.
25062
250632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
25064
25065 * csu/libc-tls.c: Update copyright years.
25066
250672012-09-10 Joseph Myers <joseph@codesourcery.com>
25068
25069 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25070 [!_G_USING_THUNKS]: Remove conditional code.
25071 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25072 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25073
25074 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25075 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25076 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25077 (_G_VTABLE_LABEL_PREFIX): Likewise.
25078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25079 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25081 (_G_VTABLE_LABEL_PREFIX): Likewise.
25082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25083 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25085 (_G_VTABLE_LABEL_PREFIX): Likewise.
25086 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25087
250882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
25089
25090 * libio/Makefile: Include ../Makeconfig before tests.
25091 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25092 only if $(build-shared) is yes.
25093
25094 * iconv/gconv_db.c: Update copyright years.
25095
250962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25097
25098 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25099 unwind info if defined PIC. Fix special cases description.
25100 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25101
25102 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25103 DP_HI_MASK entry.
25104 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25105
251062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
25107
25108 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25109
25110 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25111 is NULL.
25112
25113 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25114 (LDLIBS-tst-chk4): This.
25115 (LDFLAGS-tst-chk5): Renamed to ...
25116 (LDLIBS-tst-chk5): This.
25117 (LDFLAGS-tst-chk6): Renamed to ...
25118 (LDLIBS-tst-chk6): This.
25119 (LDFLAGS-tst-lfschk4): Renamed to ...
25120 (LDLIBS-tst-lfschk4): This.
25121 (LDFLAGS-tst-lfschk5): Renamed to ...
25122 (LDLIBS-tst-lfschk5): This.
25123 (LDFLAGS-tst-lfschk6): Renamed to ...
25124 (LDLIBS-tst-lfschk6): This.
25125
25126 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25127 on $(common-objpfx)soversions.mk.
25128
251292012-09-07 Joseph Myers <joseph@codesourcery.com>
25130
25131 [BZ #10014]
25132 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25133 example host name.
25134
251352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25136
25137 * malloc/arena.c (arena_get_retry): New function that gets
25138 another arena for the caller to try its request on.
25139 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25140 current arena cannot fulfill the request.
25141 (__libc_memalign): Likewise.
25142 (__libc_memalign): Likewise.
25143 (__libc_pvalloc): Likewise.
25144 (__libc_calloc): Likewise.
25145
251462012-09-05 John Tobey <john.tobey@gmail.com>
25147
25148 [BZ #13542]
25149 * manual/arith.texi (Operations on Complex): Fix description
25150 of carg branch cut.
25151
251522012-09-06 Joseph Myers <joseph@codesourcery.com>
25153
25154 [BZ #10014]
25155 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25156 host name.
25157
25158 [BZ #10038]
25159 * manual/memory.texi (Memory): Make order of menu items match
25160 order of sections.
25161
251622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25163
25164 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25165 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
25166 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25167
251682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25169
25170 * csu/libc-tls.c (static_dtv): Renamed to ...
25171 (_dl_static_dtv): This. Make it global.
25172 (_dl_initial_dtv): Removed.
25173 (__libc_setup_tls): Updated.
25174 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25175 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25176 DL_INITIAL_DTV.
25177
251782012-09-06 Petr Machata <pmachata@redhat.com>
25179
25180 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25181 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25182 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25183 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25184
251852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25186
25187 [BZ #14545]
25188 * csu/libc-tls.c (_dl_initial_dtv): New variable.
25189 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25190 freeing dtv[-1].
25191
251922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
25193
25194 [BZ #14544]
25195 * Makeconfig (link-static-before-libc): Replace $(+prector)
25196 with $(+prectorT).
25197 (link-static-after-libc): Replace $(+postctor) with
25198 $(+postctorT).
25199 (link-bounded): Replace $(+prector)/$(+postctor) with
25200 $(+prectorT)/$(+postctorT).
25201 (+prectorT): New macro.
25202 (+postctorT): Likewise.
25203
252042012-09-06 Joseph Myers <joseph@codesourcery.com>
25205
25206 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25207 (round_str): Handle values above the maximum for IBM long double
25208 as inexact.
25209 * stdlib/tst-strtod-round.c (tests): Regenerated.
25210
252112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25212
25213 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25214 assembler flag.
25215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25216 zarch_nohighgprs around the zarch optimized routines.
25217 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25218 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25220 for zarch.
25221
252222012-09-05 David S. Miller <davem@davemloft.net>
25223
25224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25225
25226 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25227 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25228 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25229 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25230 entries.
25231
252322012-09-05 Alexandre Oliva <aoliva@redhat.com>
25233
25234 * malloc/arena.c: Fold copyright years.
25235 * malloc/mcheck.c, malloc/memusage.c: Likewise.
25236
252372012-09-05 Alexandre Oliva <aoliva@redhat.com>
25238
25239 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25240
252412012-09-05 Alexandre Oliva <aoliva@redhat.com>
25242
25243 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
25244
252452012-09-05 Alexandre Oliva <aoliva@redhat.com>
25246
25247 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25248 change internal state upon failure.
25249
252502012-09-05 Alexandre Oliva <aoliva@redhat.com>
25251
25252 * malloc/mcheck.c (mcheck_check_all): Fix typo.
25253 * malloc/memusage.c (mmap): Likewise.
25254 (mmap64, mremap): Likewise. Adjust name in comment.
25255
252562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25257
25258 * libio/fileops.c: Fix typos in comments.
25259 * libio/oldfileops.c: Likewise.
25260 * libio/wfileops.c: Likewise.
25261
252622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25263
25264 [BZ #1349]
25265 * malloc/Makefile (tests): Add tst-malloc-usable test case.
25266 (tst-malloc-usable-ENV): Set environment for test case.
25267 * malloc/hooks.c (malloc_check_get_size): New function to get
25268 requested size.
25269 * malloc/malloc.c (musable): Use malloc_check_get_size.
25270 * malloc/tst-malloc-usable.c: New test case.
25271
252722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25273
25274 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25275
252762012-09-05 Allan McRae <allan@archlinux.org>
25277
25278 [BZ #13966]
25279 * configure.in (CXX_SYSINCLUDES): Use compiler output to
25280 determine header location.
25281 * configure: Regenerated.
25282
252832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
25284
25285 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25286 float format.
25287 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25288 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25289 format.
25290 (test): Regenerate.
25291
252922012-09-04 David S. Miller <davem@davemloft.net>
25293
25294 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25295 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25296 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25297
252982012-09-04 Florian Weimer <fweimer@redhat.com>
25299
25300 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25301 failures.
25302
25303 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25304
253052012-09-04 Joseph Myers <joseph@codesourcery.com>
25306
25307 [BZ #9914]
25308 * libio/iogetdelim.c: Include <limits.h>.
25309 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25310 + len + 1 would overflow.
25311
253122012-09-03 Andreas Jaeger <aj@suse.de>
25313
25314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25315 * sysdeps/i386/fpu/libm-test-ulps: Update.
25316
253172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25318
25319 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25320 Add s_sinf-sse2, s_conf-sse2.
25321
25322 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25323 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25324 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25325 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25326
25327 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25328 for using routine as __sinf_ia32.
25329 Use macro for function declaration and weak_alias.
25330 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25331 for using routine as __cosf_ia32.
25332 Use macro for function declaration and weak_alias.
25333
25334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25335 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25336
25337 * sysdeps/x86_64/fpu/s_sinf.S: New file.
25338 * sysdeps/x86_64/fpu/s_cosf.S: New file.
25339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25340
25341 * math/libm-test.inc (cos_test): Add more test cases.
25342 (sin_test): Likewise.
25343 (sincos_test): Likewise.
25344
253452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25346
25347 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25348 (IFUNC_RESOLVE): Make pointers to the specialized implementations
25349 hidden.
25350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25351
253522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
25353
25354 [BZ #14538]
25355 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25356 first element of the GOT.
25357 (elf_machine_load_address): Return the difference between
25358 the runtime address of _DYNAMIC and elf_machine_dynamic ().
25359
253602012-09-01 Allan McRae <allan@archlinux.org>
25361
25362 [BZ #13412]
25363 * configure.in (AWK): Require gawk version 3.0 or later.
25364 * configure: Regenerated.
25365
253662012-09-01 Joseph Myers <joseph@codesourcery.com>
25367
25368 * sysdeps/unix/sysv/linux/kernel-features.h
25369 (__ASSUME_POSIX_CPU_TIMERS): Remove.
25370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25371 [__NR_clock_getres]: Make code unconditional.
25372 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25373 (clock_getcpuclockid): Remove code left unreachable by removal of
25374 conditionals.
25375 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25376 code unconditional.
25377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25379 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25380 Make code unconditional.
25381 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25382 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25383 * sysdeps/unix/sysv/linux/clock_settime.c
25384 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25385 conditional code.
25386 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25387 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25388
253892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
25390
25391 [BZ #14476]
25392 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25393 scripts/test-installation.pl.
25394
25395 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25396 and $ld_so_version if it is set.
25397
253982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25399
25400 [BZ #14516]
25401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25402 failure if reading from procfs failed.
25403 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25404
254052012-08-27 Joseph Myers <joseph@codesourcery.com>
25406
25407 * sysdeps/unix/sysv/linux/kernel-features.h
25408 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25409 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25410 Remove conditional code.
25411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25412 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25413 Remove conditional code.
25414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25415 * sysdeps/unix/sysv/linux/i386/fxstat.c
25416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25418 * sysdeps/unix/sysv/linux/i386/fxstatat.c
25419 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25421 * sysdeps/unix/sysv/linux/i386/lxstat.c
25422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25424 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25425 Remove conditional code.
25426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25427 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25428 Remove conditional code.
25429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25431 <kernel-features.h>.
25432 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25433 Remove.
25434 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25435 Remove conditional code.
25436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25437 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25438 Remove conditional.
25439
254402012-08-27 Mike Frysinger <vapier@gentoo.org>
25441
25442 [BZ #5400]
25443 * NEWS: Add fixed bug number.
25444
254452012-08-27 Joseph Myers <joseph@codesourcery.com>
25446
25447 [BZ #14519]
25448 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25449 underflowing exponent in case of negative sign.
25450 * stdlib/tst-strtod-round-data: Add more tests.
25451 * stdlib/tst-strtod-round.c (tests): Regenerated.
25452
25453 [BZ #3479]
25454 * stdlib/strtod_l.c (NDIG): Remove.
25455 (HEXNDIG): Likewise.
25456 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25457 smallest representable value.
25458 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25459 lie within an exact representation of 1/2 ulp of the result.
25460 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25461 unconditionally.
25462 (TENS_P9_IDX): Define unconditionally.
25463 (TENS_P9_SIZE): Likewise.
25464 (TENS_P10_IDX): Likewise.
25465 (TENS_P10_SIZE): Likewise.
25466 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25467 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25468 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25469 entries for 10^2^13 and 10^2^14.
25470 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25471 (TENS_P13_IDX): Define.
25472 (TENS_P13_SIZE): Likewise.
25473 (TENS_P14_IDX): Likewise.
25474 (TENS_P14_SIZE): Likewise.
25475 (_fpioconst_pow10): Change array size to
25476 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
25477 unconditional.
25478 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25479 1024]: Add entries for 10^2^13 and 10^2^14.
25480 [LAST_POW10 > _LAST_POW10]: Remove #error.
25481 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25482 (_fpioconst_pow10): Change array size to
25483 FPIOCONST_POW10_ARRAY_SIZE.
25484 * stdlib/gen-fpioconst.c: New file.
25485 * stdlib/gen-tst-strtod-round.c: Likewise.
25486 * stdlib/tst-strtod-round-data: Likewise.
25487 * stdlib/tst-strtod-round.c: Likewise.
25488 * stdlib/Makefile (tests): Add tst-strtod-round.
25489
25490 [BZ #14459]
25491 * stdlib/strtod_l.c: Include <stdint.h>.
25492 (NDEBUG): Do not define.
25493 (round_and_return): Change EXPONENT parameter to type intmax_t.
25494 Rearrange calculations to avoid internal overflow possibilities.
25495 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25496 Rearrange calculations to avoid internal overflow possibilities.
25497 Assert that number fits inside MPNSIZE limbs.
25498 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25499 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
25500 calculations and add assertions to avoid internal overflow
25501 possibilities. Add casts to avoid signed/unsigned operations.
25502 * stdlib/tst-strtod-overflow.c: New file.
25503 * stdlib/Makefile (tests): Add tst-strtod-overflow.
25504
255052012-08-25 Marek Polacek <polacek@redhat.com>
25506
25507 * time/time.h: Fix some typos in comments.
25508
255092012-08-23 Roland McGrath <roland@hack.frob.com>
25510
25511 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25512 * posix/tst-rfc3484-2.c: Likewise.
25513 * posix/tst-rfc3484-3.c: Likewise.
25514
255152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
25516
25517 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25518 (EF_ARM_ABI_FLOAT_HARD): Likewise.
25519
255202012-08-23 Joseph Myers <joseph@codesourcery.com>
25521
25522 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25523 #include of fxstatat64.c.
25524
255252012-08-22 Roland McGrath <roland@hack.frob.com>
25526
25527 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25528 * shadow/getspent_r.c: Likewise.
25529 * shadow/getspnam.c: Likewise.
25530 * shadow/getspnam_r.c: Likewise.
25531 * gshadow/getsgent.c: Likewise.
25532 * gshadow/getsgent_r.c: Likewise.
25533 * gshadow/getsgnam.c: Likewise.
25534 * gshadow/getsgnam_r.c: Likewise.
25535 * inet/getnetbyad.c: Likewise.
25536 * inet/getnetbyad_r.c: Likewise.
25537 * inet/getnetbynm.c: Likewise.
25538 * inet/getnetbynm_r.c: Likewise.
25539 * inet/getnetent.c: Likewise.
25540 * inet/getnetent_r.c: Likewise.
25541 * inet/getproto.c: Likewise.
25542 * inet/getproto_r.c: Likewise.
25543 * inet/getprtent.c: Likewise.
25544 * inet/getprtent_r.c: Likewise.
25545 * inet/getprtname.c: Likewise.
25546 * inet/getprtname_r.c: Likewise.
25547 * inet/getrpcbyname.c: Likewise.
25548 * inet/getrpcbyname_r.c: Likewise.
25549 * inet/getrpcbynumber.c: Likewise.
25550 * inet/getrpcbynumber_r.c: Likewise.
25551 * inet/getrpcent.c: Likewise.
25552 * inet/getrpcent_r.c: Likewise.
25553 * inet/getaliasent.c: Likewise.
25554 * inet/getaliasent_r.c: Likewise.
25555 * inet/getaliasname.c: Likewise.
25556 * inet/getaliasname_r.c: Likewise.
25557 * nscd/getgrgid_r.c: Likewise.
25558 * nscd/getgrnam_r.c: Likewise.
25559 * nscd/gethstbyad_r.c: Likewise.
25560 * nscd/gethstbynm3_r.c: Likewise.
25561 * nscd/getpwnam_r.c: Likewise.
25562 * nscd/getpwuid_r.c: Likewise.
25563 * nscd/getsrvbynm_r.c: Likewise.
25564 * nscd/getsrvbypt_r.c: Likewise.
25565 * nscd/gai.c: Likewise.
25566
25567 * configure.in (build_nscd): New substituted variable, set
25568 by --disable-build-nscd and defaults to $use_nscd.
25569 * configure: Regenerated.
25570 * config.make.in (build-nscd): New substituted variable.
25571 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25572 Change conditional to require [$(build-nscd) = yes] as well.
25573 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25574
25575 [BZ# 13696]
25576 * configure.in (use_nscd): New substituted variable, set by
25577 --disable-nscd. If enabled, define USE_NSCD.
25578 * configure: Regenerated.
25579 * config.h.in: Add USE_NSCD.
25580 * config.make.in (use-nscd): New substituted variable.
25581 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25582 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25583 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25584 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25585 (CFLAGS-getgrnam_r.c): Likewise.
25586 (CFLAGS-initgroups.c): Likewise.
25587 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25588 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25589 Variables removed.
25590 * inet/getnetgrent_r.c
25591 (nscd_setnetgrent): New function, broken out of ...
25592 (setnetgrent): ... here. Call it.
25593 (innetgr): Conditionalize nscd bits on [USE_NSCD].
25594 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25595 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25596 * nscd/Makefile (routines, aux): Move definitions after include of
25597 Makeconfig. Conditionalize on [$(use-nscd) != no].
25598 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25599 Conditionalize on [USE_NSCD].
25600 (is_nscd, nscd_init_cb): Likewise.
25601 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25602 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25603 * nss/nss_db/db-init.c: Likewise.
25604 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25605 [USE_NSCD].
25606 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25607 (make_request): Use it.
25608 (cache_valid_p): New function.
25609 (__check_pf): Use it.
25610 * NEWS: Add item for --disable-nscd.
25611
256122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25613
25614 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25615 to support sed >= 4.2.1-20-ga9bf076.
25616 * configure: Regenerated.
25617
256182012-08-22 Roland McGrath <roland@hack.frob.com>
25619
25620 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25621 Conditionalize whole body on [IREL].
25622
256232012-08-22 Jeff Law <law@redhat.com>
25624
25625 [BZ #14505]
25626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25627 if the family is PF_UNSPEC.
25628
256292012-08-22 Mike Frysinger <vapier@gentoo.org>
25630
25631 * Makerules (lib-version): Rename from V.
25632 (install-lib-nosubdir): Change V to lib-version.
25633
256342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25635
25636 [BZ #14252]
25637 * powerpc32/power6/wcschr.c: New file.
25638 * powerpc32/power6/wcscpy.c: New file.
25639 * powerpc32/power6/wcsrchr.c: New file.
25640 * powerpc64/power6/wcschr.c: New file.
25641 * powerpc64/power6/wcscpy.c: New file.
25642 * powerpc64/power6/wcsrchr.c: New file.
25643
256442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25645
25646 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25647 (two_way_short_needle): Use it.
25648 * string/strstr.c (AVAILABLE1_USES_J): Define.
25649 * string/strcasestr.c: Likewise.
25650
25651 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25652 array references.
25653 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25654
25655 [BZ #11607]
25656 * NEWS: Add an entry.
25657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25658 define their defaults.
25659 (two_way_short_needle): Detect end-of-string on-the-fly.
25660 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25661 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25662 * string/bug-strcasestr1.c: New test.
25663 * string/Makefile: Run it.
25664
256652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25666
25667 [BZ #11607]
25668 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25669 the first character.
25670
256712012-08-21 Roland McGrath <roland@hack.frob.com>
25672
25673 * csu/elf-init.c (__libc_csu_irel): Function removed.
25674 * csu/libc-start.c (apply_irel): New function.
25675 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25676
256772012-08-21 Joseph Myers <joseph@codesourcery.com>
25678
25679 * sysdeps/unix/sysv/linux/kernel-features.h
25680 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25681 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25682 <kernel-features.h>.
25683 [__NR_fadvise64_64]: Make code unconditional.
25684 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25685 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25686 !__NR_fadvise64_64)]: Likewise.
25687 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25688 !__NR_fadvise64_64))]: Likewise.
25689 [__NR_fadvise64]: Make code unconditional.
25690 [!__NR_fadvise64]: Remove conditional code.
25691 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25692 <kernel-features.h>.
25693 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25694 unconditional.
25695 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25696 conditional code.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25698 not include <kernel-features.h>.
25699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25700 unconditional.
25701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25702 conditional code.
25703 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25704 include <kernel-features.h>.
25705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25706 unconditional.
25707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25708 conditional code.
25709
257102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25711
25712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25713 slight instruction rearrangements per scrollpipe analysis.
25714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25715
257162012-08-20 Roland McGrath <roland@hack.frob.com>
25717
25718 * manual/syslog.texi (syslog; vsyslog, closelog):
25719 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25720 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25721
25722 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25723 DSOCAPS to match condition on defining it.
25724
257252012-08-20 Joseph Myers <joseph@codesourcery.com>
25726
25727 * sysdeps/unix/sysv/linux/kernel-features.h
25728 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25733 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25734 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25738
25739 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25740 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25741
25742 * sysdeps/unix/sysv/linux/kernel-features.h
25743 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25744 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25745 unconditional.
25746 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25747 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25750 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25751 Make code unconditional.
25752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25753 (__mmap64) [!__NR_mmap2]: Likewise.
25754 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25755 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25756 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25757 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25758 [__NR_mmap2]: Make code unconditional.
25759 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25760 (__mmap64) [!__NR_mmap2]: Likewise.
25761
257622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25763
25764 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25765
257662012-08-18 Andreas Jaeger <aj@suse.de>
25767
25768 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25769
257702012-08-18 Mike Frysinger <vapier@gentoo.org>
25771
25772 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25773 * include/unistd.h (__have_sock_cloexec): Likewise.
25774 (__have_pipe2): Likewise.
25775 (__have_dup3): Likewise.
25776
257772012-08-18 Mike Frysinger <vapier@gentoo.org>
25778
25779 [BZ #9685]
25780 * include/unistd.h (__have_pipe2): Change define into an extern int.
25781 (__have_dup3): Likewise.
25782 * socket/have_sock_cloexec.c: Include fcntl.h.
25783 (__have_pipe2): New variable.
25784 (__have_dup3): Likewise.
25785
257862012-08-17 Mike Frysinger <vapier@gentoo.org>
25787
25788 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25789
257902012-08-17 Marek Polacek <polacek@redhat.com>
25791
25792 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25793 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25794
257952012-08-17 Roland McGrath <roland@hack.frob.com>
25796
25797 * configure.in: Add AC_SUBST for sysheaders.
25798 * configure: Regenerated.
25799 * config.make.in (sysheaders): New substituted variable.
25800
25801 * sysdeps/unix/mkfifo.c: Moved ...
25802 * sysdeps/posix/mkfifo.c: ... here.
25803 * sysdeps/unix/mkfifoat.c: Moved ...
25804 * sysdeps/posix/mkfifoat.c: ... here.
25805
25806 * sysdeps/unix/utime.c: Moved ...
25807 * sysdeps/posix/utime.c: ... here.
25808
25809 * sysdeps/unix/time.c: Moved ...
25810 * sysdeps/posix/time.c: ... here.
25811 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25812 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
25813
25814 * sysdeps/unix/nice.c: Moved ...
25815 * sysdeps/posix/nice.c: ... here.
25816
25817 * sysdeps/unix/alarm.c: Moved ...
25818 * sysdeps/posix/alarm.c: ... here.
25819
25820 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25821
258222012-08-17 Jeff Law <law@redhat.com>
25823
25824 * intl/Makefile (codeset_mo): New variable.
25825 ($(codeset_mo)): New target.
25826 (tst-codeset.out): Depend on that. Remove explicit rule.
25827 (tst-gettext3.out, tst-gettext5.out): Likewise.
25828 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25829 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25830 * intl/tst-codeset.sh: Remove.
25831 * intl/tst-gettext3.sh: Likewise.
25832 * intl/tst-gettext5.sh: Likewise.
25833
258342012-08-17 Roland McGrath <roland@hack.frob.com>
25835
25836 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25837 * sysdeps/unix/syscalls.list: ... here.
25838
25839 * sysdeps/posix/getaddrinfo.c
25840 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25841 (gaiconf_init, gaiconf_reload): Use them.
25842 [!_STATBUF_ST_NSEC]
25843 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25844 Define using time_t rather than struct timespec.
25845
25846 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25847 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25848 Macros removed.
25849 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25850 [!NO_THREADS].
25851 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25852 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25853 Likewise.
25854
25855 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25856 __libc_cleanup_push argument.
25857
25858 * bits/param.h: New file.
25859 * misc/sys/param.h: New file.
25860 * include/sys/param.h: New file.
25861 * misc/Makefile (headers): Add bits/param.h.
25862 * sysdeps/generic/sys/param.h: File removed.
25863 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25864 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25865 * sysdeps/mach/hurd/bits/param.h: New file.
25866 * sysdeps/mach/hurd/sys/param.h: File removed.
25867
25868 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25869 last change.
25870
25871 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25872 [_IO_MTSAFE_IO].
25873 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25874 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25875 New macros.
25876
25877 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25878 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25879 rather than -D_IO_MTSAFE_IO conditionally.
25880 * stdio-common/Makefile (CPPFLAGS): Likewise.
25881 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25882 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25883 Use $(libio-mtsafe).
25884 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25885 of -D_IO_MTSAFE_IO.
25886 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25887 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25888 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25889 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25890 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25891 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25892 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25893 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25894 (CFLAGS-fread_u_chk.c): Likewise.
25895 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25896 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25897 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25898 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25899 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25900 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25901 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25902 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25903 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25904
25905 * libio/Makefile: Test [$(libc-reentrant) = yes]
25906 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25907
25908 * Makeconfig
25909 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25910 * sysdeps/pthread/configure: File removed.
25911 * sysdeps/pthread/Makeconfig: New file.
25912 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25913 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25914
259152012-08-16 Gary Benson <gbenson@redhat.com>
25916
25917 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25918 unmapping the first object in a namespace.
25919
259202012-08-16 Roland McGrath <roland@hack.frob.com>
25921
25922 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25923 (__internal_setnetgrent): ... this. Add internal_function to
25924 definition. Add libc_hidden_def.
25925 (setnetgrent): Update caller.
25926 (internal_endnetgrent): Renamed to ...
25927 (__internal_endnetgrent): ... this. Add internal_function to
25928 definition. Add libc_hidden_def.
25929 (endnetgrent): Update caller.
25930 (internal_getnetgrent_r): Renamed to ...
25931 (__internal_getnetgrent_r): ... this. Add internal_function to
25932 definition. Add libc_hidden_def.
25933 (__getnetgrent_r): Update caller.
25934 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25935
259362012-08-16 Joseph Myers <joseph@codesourcery.com>
25937
25938 * stdlib/longlong.h: Update from GCC.
25939
259402012-08-16 Roland McGrath <roland@hack.frob.com>
25941
25942 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25943 on _QL, which is set by umul_ppmm but never used.
25944 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25945 variables, which are set by GMP macros but never used.
25946 * stdio-common/_itowa.c (_itowa): Likewise.
25947 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25948 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25949
259502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25951
25952 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25953 struct La_sh_regs is not constant.
25954 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25955 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25956 and struct La_sparc64_regs are not constant.
25957
259582012-08-16 Joseph Myers <joseph@codesourcery.com>
25959
25960 * sysdeps/unix/sysv/linux/kernel-features.h
25961 (__ASSUME_POSIX_TIMERS): Remove.
25962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25964 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25965 Make code unconditional.
25966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25967 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25968 Make code unconditional.
25969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25970 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25971 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25973 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25974 Make code unconditional.
25975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25976 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25977 (__libc_missing_posix_timers): Remove.
25978
259792012-08-15 Roland McGrath <roland@hack.frob.com>
25980
25981 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25982 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25983
25984 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25985
25986 * elf/dl-sym.c: Include <stdlib.h>.
25987
25988 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25989 constants, which avoids warnings in 32-bit builds.
25990
25991 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25992 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25993
25994 * misc/lseek.c: File moved to ...
25995 * io/lseek.c: ... here.
25996
25997 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25998
25999 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26000 shifting LEN more than 31 bits at once.
26001
260022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26003
26004 [BZ #14195]
26005 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26006 segmentation fault for a case of two empty input strings.
26007 * string/test-strncasecmp.c (check1): Renamed to...
26008 (bz12205): ...this.
26009 (bz14195): Add new testcase for two empty input strings and N > 0.
26010 (test_main): Call new testcase, adapt for renamed function.
26011
260122012-08-15 Andreas Jaeger <aj@suse.de>
26013
26014 [BZ #14090]
26015 * crypt/md5test2.c: New test, based on test supplied by Serge
26016 Belyshev <belyshev@depni.sinp.msu.ru>.
26017 * crypt/Makefile (xtests): Add md5test-giant..
26018 * crypt/Makefile ($(objpfx)md5test-giant): Add.
26019
260202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
26021
26022 [BZ #14090]
26023 * crypt/md5.c (md5_process_block): Don't assume the buffer
26024 length is less than 2**32.
26025 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26026 length is less than 2**64.
26027
260282012-08-15 Roland McGrath <roland@hack.frob.com>
26029
26030 * string/str-two-way.h: Include <sys/param.h>.
26031 (MAX): Macro removed.
26032
26033 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26034 Move #define and #undef of memmove to just before and after
26035 including <string.h>.
26036
26037 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26038 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26039 and after including <string.h>. Move declarations of
26040 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26041 to before #include "string/memmove.c".
26042
26043 * include/dirent.h: Declare __getdirentries.
26044
26045 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26046 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26047
260482012-08-14 Mike Frysinger <vapier@gentoo.org>
26049
26050 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26051 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26052 * sysdeps/i386/configure: Regenerated.
26053 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26054 STABS_CURRENT_FILE, and STABS_FUN.
26055 (END): Remove call to STABS_FUN_END.
26056 (STABS_CURRENT_FILE1): Delete.
26057 (STABS_CURRENT_FILE): Likewise.
26058 (STABS_FUN): Likewise.
26059 (STABS_FUN_END): Likewise.
26060 (STABS_FUN2): Likewise.
26061 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26062 * sysdeps/x86_64/configure: Regenerated.
26063
260642012-08-14 Roland McGrath <roland@hack.frob.com>
26065
26066 * elf/dl-open.c: Include <atomic.h>.
26067 * elf/dl-lookup.c: Likewise.
26068
260692012-08-14 Joseph Myers <joseph@codesourcery.com>
26070
26071 * sysdeps/unix/sysv/linux/kernel-features.h
26072 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26073 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26074 unconditionally.
26075 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26076 unconditionally.
26077 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26078 condition on __ASSUME_CLONE_THREAD_FLAGS.
26079
260802012-08-14 Andreas Jaeger <aj@suse.de>
26081
26082 * sysdeps/i386/fpu/libm-test-ulps: Update.
26083
260842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
26085
26086 * include/atomic.h (atomic_exchange_and_add): Split into ...
26087 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26088 New atomic macros.
26089
260902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
26091
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26093
260942012-08-13 Jeff Law <law@redhat.com>
26095
26096 * manual/stdio.texi (snprintf): Clarify handling of the trailing
26097 null byte in the output string.
26098
260992012-08-10 Joseph Myers <joseph@codesourcery.com>
26100
26101 * sysdeps/unix/sysv/linux/kernel-features.h
26102 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26103 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26104 (__ASSUME_ARG_MAX_STACK_BASED): Define.
26105 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26106 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26107 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
26108 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26109
261102012-08-09 Jeff Law <law@redhat.com>
26111
26112 [BZ #13939]
26113 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26114 When avoid_arena is set, don't retry in the that arena. Pick the
26115 next one, whatever it might be.
26116 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26117 (arena_lock): Pass in new parameter to arena_get2.
26118 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26119 arena_get2.
26120 (__libc_malloc): Unify retrying after main arena failure with
26121 __libc_memalign version.
26122 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26123
261242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
26125
26126 [BZ #14166]
26127 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26128 to __redirect_strstr.
26129 (__strstr_sse42): Use typeof __redirect_strstr.
26130 (__strstr_ia32): Likewise.
26131 (__libc_strstr): New prototype.
26132 (strstr): Renamed to ...
26133 (__libc_strstr): This.
26134 (strstr): New strong alias of __libc_strstr.
26135 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26136 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26137 __redirect_time.
26138 Include <time.h>.
26139 (__libc_time): New prototype.
26140 (time_ifunc): Replace time with __libc_time.
26141 (time): New strong alias and hidden definition of __libc_time.
26142 (__GI_time): Remove strong alias.
26143 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26144 Include <stddef.h>.
26145 (memmove): Redefined to __redirect_memmove.
26146 (__memmove_sse2): Use typeof __redirect_memmove.
26147 (__memmove_ssse3): Likewise.
26148 (__memmove_ssse3_back): Likewise.
26149 (__libc_memmove): New prototype.
26150 (memmove): Renamed to ...
26151 (__libc_memmove): This.
26152 (memmove): New strong alias of __libc_memmove.
26153
261542012-08-08 Mark Salter <msalter@redhat.com>
26155
26156 * elf/elf.h
26157 (R_MN10300_TLS_GD): Define.
26158 (R_MN10300_TLS_LD): Likewise.
26159 (R_MN10300_TLS_LDO): Likewise.
26160 (R_MN10300_TLS_GOTIE): Likewise.
26161 (R_MN10300_TLS_IE): Likewise.
26162 (R_MN10300_TLS_LE): Likewise.
26163 (R_MN10300_TLS_DTPMOD): Likewise.
26164 (R_MN10300_TLS_DTPOFF): Likewise.
26165 (R_MN10300_TLS_TPOFF): Likewise.
26166 (R_MN10300_SYM_DIFF): Likewise.
26167 (R_MN10300_ALIGN): Likewise.
26168 (R_MN10300_NUM): Update.
26169
261702012-08-08 Joseph Myers <joseph@codesourcery.com>
26171
26172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26173 Remove.
26174
261752012-08-08 Roland McGrath <roland@hack.frob.com>
26176
26177 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26178
26179 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26180 sysdeps/unix -> sysdeps/posix move.
26181 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26182
261832012-08-07 Allan McRae <allan@archlinux.org>
26184
26185 [BZ #14303]
26186 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26187 (SUNOS_CPP): Likewise.
26188 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26189 not found.
26190 (open_input): Call CPP using execvp.
26191
261922012-08-07 Joseph Myers <joseph@codesourcery.com>
26193
26194 * sysdeps/unix/sysv/linux/kernel-features.h
26195 (__ASSUME_PROT_GROWSUPDOWN): Remove.
26196 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26197 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26198 (__ASSUME_WAITID_SYSCALL): Likewise.
26199 * sysdeps/unix/sysv/linux/dl-execstack.c
26200 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26201 code unconditional.
26202 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26203 conditional code.
26204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26205 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26206 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26207 code.
26208 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26209 unconditional.
26210 [__ASSUME_WAITID_SYSCALL]: Likewise.
26211 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26212
262132012-08-07 Roland McGrath <roland@hack.frob.com>
26214
26215 * sysdeps/unix/closedir.c: Renamed to ...
26216 * sysdeps/posix/closedir.c: ... here.
26217 * sysdeps/unix/dirfd.c: Renamed to ...
26218 * sysdeps/posix/dirfd.c: ... here.
26219 * sysdeps/unix/dirstream.h: Renamed to ...
26220 * sysdeps/posix/dirstream.h: ... here.
26221 * sysdeps/unix/fdopendir.c: Renamed to ...
26222 * sysdeps/posix/fdopendir.c: ... here.
26223 * sysdeps/unix/opendir.c: Renamed to ...
26224 * sysdeps/posix/opendir.c: ... here.
26225 * sysdeps/unix/readdir.c: Renamed to ...
26226 * sysdeps/posix/readdir.c: ... here.
26227 * sysdeps/unix/readdir_r.c: Renamed to ...
26228 * sysdeps/posix/readdir_r.c: ... here.
26229 * sysdeps/unix/rewinddir.c: Renamed to ...
26230 * sysdeps/posix/rewinddir.c: ... here.
26231 * sysdeps/unix/seekdir.c: Renamed to ...
26232 * sysdeps/posix/seekdir.c: ... here.
26233 * sysdeps/unix/telldir.c: Renamed to ...
26234 * sysdeps/posix/telldir.c: ... here.
26235 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26236 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26237 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26238 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26239
26240 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26241 * bits/fcntl.h: ... here.
26242
26243 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26244 not 0.
26245 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26246 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26247 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26248 (struct flock): Move l_start, l_len to the beginning.
26249 Use __pid_t for l_pid.
26250 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26251 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26252 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26253 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26254 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26255 [__USE_LARGEFILE64] (struct flock64): New type.
26256 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26257
26258 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26259 * bits/dirent.h: ... here.
26260
26261 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26262 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26263
262642012-08-07 Joseph Myers <joseph@codesourcery.com>
26265
26266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26267 Change from 2.6.0 to 2.6.16.
26268 * sysdeps/unix/sysv/linux/configure: Regenerated.
26269 * sysdeps/unix/sysv/linux/kernel-features.h
26270 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26271 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26272 version.
26273 (__ASSUME_UTIMES): Likewise.
26274 (__ASSUME_CLONE_STOPPED): Remove.
26275 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26276 architectures, not kernel version.
26277 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
26279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26280 (__ASSUME_WAITID_SYSCALL): Likewise.
26281 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26282 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26283 * README: State 2.6.16 as minimum Linux kernel version. Do not
26284 refer to older versions.
26285
262862012-08-06 Roland McGrath <roland@hack.frob.com>
26287
26288 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26289 Define alphasort64 as an alias.
26290 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26291 Define versionsort64 as an alias.
26292 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26293 Define scandir64 as an alias.
26294 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26295 Define scandirat64 as an alias.
26296 * dirent/alphasort64.c (alphasort64):
26297 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26298 * dirent/versionsort64.c: Likewise.
26299 * dirent/scandir64.c: Likewise.
26300 * dirent/scandirat64.c: Likewise.
26301 * sysdeps/wordsize-64/alphasort.c: File removed.
26302 * sysdeps/wordsize-64/alphasort64.c: File removed.
26303 * sysdeps/wordsize-64/scandir.c: File removed.
26304 * sysdeps/wordsize-64/scandir64.c: File removed.
26305 * sysdeps/wordsize-64/scandirat.c: File removed.
26306 * sysdeps/wordsize-64/scandirat64.c: File removed.
26307 * sysdeps/wordsize-64/versionsort.c: File removed.
26308 * sysdeps/wordsize-64/versionsort64.c: File removed.
26309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26317
26318 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26320 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26322 [defined __arch64__ || defined __sparcv9]
26323 (__INO_T_MATCHES_INO64_T): New macro.
26324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26325 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26326 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26327 * sysdeps/unix/sysv/linux/bits/dirent.h
26328 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26329 (_DIRENT_MATCHES_DIRENT64): New macro.
26330
26331 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26332 Define lockf64 as an alias.
26333 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26334 Define fseeko64 as an alias.
26335 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26336 Define ftello64 as an alias.
26337 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26338 Define _IO_fgetpos64 and fgetpos64 as aliases.
26339 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26340 Define _IO_fsetpos64 and fsetpos64 as aliases.
26341 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26342 Conditionalize body on this.
26343 * libio/fseeko64.c: Likewise.
26344 * libio/ftello64.c: Likewise.
26345 * libio/iofgetpos64.c: Likewise.
26346 * libio/iofsetpos64.c: Likewise.
26347 * sysdeps/wordsize-64/lockf.c: File removed.
26348 * sysdeps/wordsize-64/lockf64.c: File removed.
26349 * sysdeps/wordsize-64/fseeko.c: File removed.
26350 * sysdeps/wordsize-64/fseeko64.c: File removed.
26351 * sysdeps/wordsize-64/ftello.c: File removed.
26352 * sysdeps/wordsize-64/ftello64.c: File removed.
26353 * sysdeps/wordsize-64/iofgetpos.c: File removed.
26354 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26355 * sysdeps/wordsize-64/iofsetpos.c: File removed.
26356 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26367
26368 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26370 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26372 [defined __arch64__ || defined __sparcv9]
26373 (__OFF_T_MATCHES_OFF64_T): New macro.
26374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26375 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26377 (__OFF_T_MATCHES_OFF64_T): New macro.
26378
263792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26380
26381 * stdlib/secure-getenv.c (__secure_getenv): Replace
26382 GLIBC_2_16 with GLIBC_2_17.
26383
263842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
26385
26386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26388
263892012-08-03 David S. Miller <davem@davemloft.net>
26390
26391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26392
263932012-08-03 Joseph Myers <joseph@codesourcery.com>
26394
26395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26396 Remove.
26397 (__ASSUME_CORRECT_SI_PID): Likewise.
26398 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26399 (__ASSUME_TMPFS_NAME): Likewise.
26400 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26401 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26402 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26403 (HAVE_AUX_SECURE): Make definition unconditional.
26404 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26405 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26406
264072012-08-03 Roland McGrath <roland@hack.frob.com>
26408
26409 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26410 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26411 * sysdeps/mach/hurd/eloop-threshold.h: New file.
26412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26413 __eloop_threshold instead of SYMLOOP_MAX.
26414
26415 * sysdeps/generic/eloop-threshold.h: New file.
26416 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26417 of MAXSYMLINKS.
26418 * elf/chroot_canon.c (chroot_canon): Likewise.
26419
264202012-08-03 Joseph Myers <joseph@codesourcery.com>
26421
26422 [BZ #13717]
26423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26424 Change to 2.6.0 everywhere.
26425 * sysdeps/unix/sysv/linux/configure: Regenerated.
26426 * sysdeps/unix/sysv/linux/kernel-features.h
26427 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26428 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26429 kernel versions.
26430 (__ASSUME_POSIX_TIMERS): Define unconditionally.
26431 (__ASSUME_FUTEX_REQUEUE): Remove.
26432 (__ASSUME_STATFS64): Define unconditionally.
26433 (__ASSUME_AT_SECURE): Likewise.
26434 (__ASSUME_CORRECT_SI_PID): Likewise.
26435 (__ASSUME_TGKILL): Define without depending on kernel version for
26436 i386.
26437 (__ASSUME_UTIMES): Likewise.
26438 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26439 kernel version.
26440 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26441 (__ASSUME_TMPFS_NAME): Likewise.
26442 * README: Update reference to Linux kernel versions.
26443
264442012-08-02 Marek Polacek <polacek@redhat.com>
26445
26446 [BZ# 14150]
26447 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
26448 libc_cv_asm_type_prefix with %.
26449 * configure: Regenerated.
26450 * include/libc-symbols.h: Remove comment about
26451 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26452 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26453 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26454 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26455 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26456 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26457 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26458 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26459 * elf/tst-unique2mod1.c: Likewise.
26460 * elf/tst-unique1mod2.c: Likewise.
26461 * elf/tst-unique1mod1.c: Likewise.
26462 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26463 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26464 Replace ASM_TYPE_DIRECTIVE with .type.
26465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26466 * sysdeps/i386/sysdep.h: Likewise.
26467 * sysdeps/x86_64/sysdep.h: Likewise.
26468 * sysdeps/sh/sysdep.h: Likewise.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26470 Do not define ASM_TYPE_DIRECTIVE.
26471 * sysdeps/powerpc/sysdep.h: Likewise.
26472 * sysdeps/powerpc/powerpc32/sysdep.h:
26473 Replace ASM_TYPE_DIRECTIVE with .type.
26474 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26475 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26476 * sysdeps/i386/fpu/e_powf.S: Likewise.
26477 * sysdeps/i386/fpu/e_expl.S: Likewise.
26478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26480 * sysdeps/i386/fpu/e_pow.S: Likewise.
26481 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26482 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26483 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26484 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26485 * sysdeps/i386/fpu/e_log2.S: Likewise.
26486 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26488 * sysdeps/i386/fpu/e_powl.S: Likewise.
26489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26490 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26491 * sysdeps/i386/fpu/e_logl.S: Likewise.
26492 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26493 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26494 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26495 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26497 * sysdeps/i386/fpu/e_log.S: Likewise.
26498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26499 * sysdeps/i386/fpu/e_logf.S: Likewise.
26500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26503 * sysdeps/i386/fpu/e_log10.S: Likewise.
26504 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26505 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26506 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26507 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26508 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26509 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26511 * sysdeps/i386/i686/strtok.S: Likewise.
26512 * sysdeps/i386/i386-mcount.S: Likewise.
26513 * sysdeps/i386/strtok.S: Likewise.
26514 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26515 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26516 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26520 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26521 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26523 * sysdeps/x86_64/_mcount.S: Likewise.
26524 * sysdeps/x86_64/strtok.S: Likewise.
26525 * sysdeps/sh/_mcount.S: Likewise.
26526
265272012-08-01 Roland McGrath <roland@hack.frob.com>
26528
26529 * libio/iofopen.c: Include <fcntl.h>.
26530 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26531 (_IO_fopen64, fopen64): Define as aliases.
26532 * libio/iofopen64.c: Include <fcntl.h>.
26533 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26534 Conditionalize body on this.
26535 * sysdeps/wordsize-64/iofopen.c: File removed.
26536 * sysdeps/wordsize-64/iofopen64.c: File removed.
26537
265382012-08-01 Marek Polacek <polacek@redhat.com>
26539
26540 * libc/Makeconfig: Use elf in place of binfmt-subdir.
26541 Use dlfcn directly instead of a variable.
26542 (binfmt-subdir): Do not define.
26543 (dlfcn): Likewise.
26544
265452012-08-01 Joseph Myers <joseph@codesourcery.com>
26546
26547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26548 Remove all definitions.
26549 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26550 <kernel-features.h>.
26551 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26552 (miss_F_GETOWN_EX): Remove all definitions.
26553 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26554 macro definition.
26555 [!__ASSUME_FCNTL64]: Remove conditional code.
26556 [__ASSUME_FCNTL64]: Make code unconditional.
26557 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26558 <kernel-features.h>.
26559 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26560 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26561 (lockf64) [__NR_fcntl64]: Make code unconditional.
26562 (lockf64) [__ASSUME_FCNTL64]: Likewise.
26563
26564 * sysdeps/unix/sysv/linux/kernel-features.h
26565 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26566 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26567 Make code unconditional.
26568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26571 [__NR_vfork]: Make code unconditional.
26572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26575 [__NR_vfork]: Make code unconditional.
26576 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26577 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26578
265792012-08-01 Roland McGrath <roland@hack.frob.com>
26580
26581 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26582 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26583
26584 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26585 Define mkstemp64 as an alias.
26586 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26587 Define mkstemps64 as an alias.
26588 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26589 Define mkostemp64 as an alias.
26590 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26591 Define mkostemps64 as an alias.
26592 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26593 Conditionalize body on this.
26594 * misc/mkostemp64.c: Likewise.
26595 * misc/mkostemps64.c: Likewise.
26596 * misc/mkstemps64.c: Likewise.
26597 * sysdeps/wordsize-64/mkstemp64.c: File removed.
26598 * sysdeps/wordsize-64/mkostemp64.c: File removed.
26599 * sysdeps/wordsize-64/mkostemp.c: File removed.
26600 * sysdeps/wordsize-64/mkstemp.c: File removed.
26601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26605
26606 [BZ #14138]
26607 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26608 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26609 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26610 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26611
26612 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26613 compat_symbol macros from <shlib-compat.h> rather than the underlying
26614 default_symbol_version and symbol_version macros, so that DEFAULT
26615 lines in shlib-versions are respected.
26616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26617
266182012-08-01 Florian Weimer <fweimer@redhat.com>
26619
26620 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26621 Declare with warn_unused_result.
26622 (setgid, setregid, setegid, setresgid): Likewise.
26623 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26624 Likewise.
26625 * WUR-REPORT: Remove set*id functions.
26626
266272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26628
26629 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26630
266312012-07-31 Roland McGrath <roland@hack.frob.com>
26632
26633 [BZ #10191]
26634 * include/sys/socket.h (__libc_accept, __libc_accept4):
26635 Add attribute_hidden.
26636 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26637
26638 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26639 use of PTR_MANGLE.
26640 * inet/getnetgrent_r.c (setup): Likewise.
26641
26642 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26643
266442012-07-31 David S. Miller <davem@davemloft.net>
26645
26646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26647
266482012-07-31 Joseph Myers <joseph@codesourcery.com>
26649
26650 [BZ #13629]
26651 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26652 value between 1.0 and 2.0 and smaller part has absolute value less
26653 than 1.0.
26654 * math/s_clog10.c (__clog10): Likewise.
26655 * math/s_clog10f.c (__clog10f): Likewise.
26656 * math/s_clog10l.c (__clog10l): Likewise.
26657 * math/s_clogf.c (__clogf): Likewise.
26658 * math/s_clogl.c (__clogl): Likewise.
26659 * math/libm-test.inc (clog_test): Add more tests.
26660 (clog10_test): Likewise.
26661 * sysdeps/i386/fpu/libm-test-ulps: Update.
26662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26663
266642012-07-31 Florian Weimer <fweimer@redhat.com>
26665
26666 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26667 Exit with zero in case no suitable GID is found, and write a
26668 message to standard error.
26669
266702012-07-30 Roland McGrath <roland@hack.frob.com>
26671
26672 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26673 rather than to 1.
26674 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26675 (MAXPATHLEN): Removed.
26676 (NOGROUP, NODEV): New macros.
26677 (setbit, clrbit, isset, isclr): New macros.
26678 (howmany, roundup, powerof2): New macros.
26679 (DEV_BSIZE): New macro.
26680
26681 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26682 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26683
26684 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26685 definition on [!__NO_LONG_DOUBLE_MATH].
26686
26687 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26688 PTR_MANGLE and PTR_DEMANGLE.
26689
26690 * socket/accept4.c (accept4): Rename to __libc_accept4.
26691 Define accept4 as a weak alias.
26692
26693 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26694 on [_DIRENT_HAVE_D_TYPE].
26695 * io/ftw.c (ftw_dir): Likewise.
26696
26697 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26698
26699 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26700
26701 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26702 Use the BSD numbers rather than the arbitrary ones we had.
26703 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26704 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26705 (SIGXCPU, SIGXFSZ): New macros.
26706 (_NSIG): Now 32.
26707
26708 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26709 initializer on [_LIBC_REENTRANT].
26710
26711 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26712 definitions inside [_POSIX_MAPPED_FILES].
26713
26714 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26715
26716 * dirent/opendir.c: Include <fcntl.h>.
26717
26718 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26719 (__libc_getspecific): Likewise.
26720 (__libc_key_create): Likewise.
26721
26722 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26723 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26724 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26725 (tmpfile64): Define as alias.
26726 * sysdeps/wordsize-64/tmpfile.c: File removed.
26727 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26728 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26729 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26730
26731 * stdio-common/vfscanf.c: Include <stdbool.h>.
26732 * nss/makedb.c: Likewise.
26733 * stdio-common/_i18n_number.h: Likewise.
26734 * argp/argp-help.c: Likewise.
26735 * posix/wordexp.c: Likewise.
26736 * sysdeps/posix/spawni.c: Likewise.
26737 * nss/nss_files/files-initgroups.c: Likewise.
26738 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26739 * nss/nss_files/files-initgroups.c: Likewise.
26740 * nss/nss_db/db-netgrp.c: Likewise.
26741 * nss/nss_db/db-initgroups.c: Likewise.
26742 * io/fchmodat.c: Include <sys/stat.h>.
26743
26744 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26745 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26746
26747 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26748 [HAVE_MMAP].
26749
26750 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26751 Add multiple inclusion protection.
26752
267532012-07-27 David S. Miller <davem@davemloft.net>
26754
26755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26756
267572012-07-27 Gary Benson <gbenson@redhat.com>
26758
26759 [BZ #14298]
26760 * elf/rtld.c: Include <stap-probe.h>.
26761 (dl_main): Added static probes "init_start" and "init_complete".
26762 * elf/dl-load.c: Include <stap-probe.h>.
26763 (lose): Take new parameter "nsid".
26764 Added static probe "map_failed".
26765 (_dl_map_object_from_fd): Pass namespace id to lose.
26766 Added static probe "map_start".
26767 (open_verify): Pass namespace id to lose.
26768 * elf/dl-open.c: Include <stap-probe.h>.
26769 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26770 and "reloc_complete".
26771 * elf/dl-close.c: Include <stap-probe.h>.
26772 (_dl_close_worker): Added static probes "unmap_start" and
26773 "unmap_complete".
26774 * elf/rtld-debugger-interface.txt: New file documenting the above.
26775
267762012-07-26 Roland McGrath <roland@hack.frob.com>
26777
26778 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26779 rather than a string variable.
26780 * sunrpc/rpc_main.c (h_output): Likewise.
26781 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26782
267832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26784
26785 * inet/check_native.c: New file.
26786
267872012-07-26 Joseph Myers <joseph@codesourcery.com>
26788
26789 [BZ #13629]
26790 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26791 if larger part has absolute value 1.0.
26792 * math/s_clog10.c (__clog10): Likewise.
26793 * math/s_clog10f.c (__clog10f): Likewise.
26794 * math/s_clog10l.c (__clog10l): Likewise.
26795 * math/s_clogf.c (__clogf): Likewise.
26796 * math/s_clogl.c (__clogl): Likewise.
26797 * math/libm-test.inc (clog_test): Add more tests.
26798 (clog10_test): Likewise.
26799 * sysdeps/i386/fpu/libm-test-ulps: Update.
26800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26801
26802 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26803 (pltexit): Likewise.
26804 (La_regs): Likewise.
26805 (La_retval): Likewise.
26806 (int_retval): Likewise.
26807 Update #error for removed macros to refer only to definitions in
26808 tst-audit.h.
26809 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26810 macro.
26811 (pltexit): Likewise.
26812 (La_regs): Likewise.
26813 (La_retval): Likewise.
26814 (int_retval): Likewise.
26815 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26816 macro.
26817 (pltexit): Likewise.
26818 (La_regs): Likewise.
26819 (La_retval): Likewise.
26820 (int_retval): Likewise.
26821 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26822 macro.
26823 (pltexit): Likewise.
26824 (La_regs): Likewise.
26825 (La_retval): Likewise.
26826 (int_retval): Likewise.
26827 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26828 macro.
26829 (pltexit): Likewise.
26830 (La_regs): Likewise.
26831 (La_retval): Likewise.
26832 (int_retval): Likewise.
26833 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26834 macro.
26835 (pltexit): Likewise.
26836 (La_regs): Likewise.
26837 (La_retval): Likewise.
26838 (int_retval): Likewise.
26839 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26840 macro.
26841 (pltexit): Likewise.
26842 (La_regs): Likewise.
26843 (La_retval): Likewise.
26844 (int_retval): Likewise.
26845 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26846 macro definitions in tst-audit.h.
26847 * sysdeps/i386/tst-audit.h: New file.
26848 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26849 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26850 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26851 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26852 * sysdeps/sh/tst-audit.h: Likewise.
26853 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26854 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26855 * sysdeps/x86_64/tst-audit.h: Likewise.
26856
268572012-07-26 Andreas Jaeger <aj@suse.de>
26858
26859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26860 ptrace.
26861
26862 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26863 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26864 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26865 PTRACE_O_MASK.
26866 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26867 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26868 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26869
26870 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26871 value.
26872
26873 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26874 _sigsys.
26875 (si_call_addr, si_syscall, si_arch): Define new macro.
26876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26877 _sigsys.
26878 (si_call_addr, si_syscall, si_arch): Define new marcro.
26879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26880 _sigsys.
26881 (si_call_addr, si_syscall, si_arch): Define new macro.
26882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26883 _sigsys.
26884 (si_call_addr, si_syscall, si_arch): Define new macro.
26885
268862012-07-25 Joseph Myers <joseph@codesourcery.com>
26887
26888 [BZ #13717]
26889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26890 Change to 2.4.21 where previously 2.4.1.
26891 * sysdeps/unix/sysv/linux/configure: Regenerated.
26892 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26893 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26894 Linux kernel version.
26895 (__ASSUME_STD_AUXV): Remove.
26896 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26897 kernel version.
26898 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26899 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26900 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26901 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26902 (__ASSUME_NETLINK_SUPPORT): Likewise.
26903 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26904 (__no_netlink_support): Remove conditional definition.
26905 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26906 Remove.
26907 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26908 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26909 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26910 (if_nameindex_ioctl): Remove.
26911 (if_nameindex_netlink): Do not handle __no_netlink_support.
26912 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26913 code.
26914 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26915 Remove conditional code.
26916 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26917 code.
26918 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26919 unconditional.
26920 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26921 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26922 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26923 Remove.
26924 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26925 [!__ASSUME_STD_AUXV]: Remove conditional code.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26927 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26928 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26930 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26931 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26932 code.
26933 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26935 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26936 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26937 conditional code.
26938 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26940 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26941 code.
26942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26943 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26944 conditional code.
26945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26946 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26947 code unconditional.
26948 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26949 conditional code.
26950 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26951 unconditional.
26952 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26953 conditional code.
26954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26955 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26956 unconditional.
26957 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26958 conditional code.
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26960 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26961 code unconditional.
26962 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26963 conditional code.
26964 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26965 unconditional.
26966 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26967 conditional code.
26968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26969 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26970 code unconditional.
26971 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26972 conditional code.
26973 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26974 unconditional.
26975 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26976 conditional code.
26977
269782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26979
26980 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26981 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26982 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26983 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26984 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26985 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26986 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26987 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26988 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26989 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26990 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26991 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26992 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26993 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26995 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26996 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26997 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26998 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27000 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27001 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27003
270042012-07-25 Florian Weimer <fweimer@redhat.com>
27005
27006 * Versions.def: Add GLIBC_2.17.
27007 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27008 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27009 Introduce __libc_secure_getenv.
27010 * stdlib/Versions (2.17): Add secure_getenv
27011 (GLIBC_PRIVATE): Add __libc_secure_getenv.
27012 * stdlib/secure-getenv.c: Rename __secure_getenv to
27013 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
27014 symbol __secure_getenv for GLIBC_2.0.
27015 * stdlib/tst-secure-getenv.c: New.
27016 * stdlib/Makefile (tests): Add testcase.
27017 * manual/startup.texi (Environment Access): Document
27018 secure_getenv.
27019 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27020 __libc_secure_getenv.
27021 * inet/ruserpass.c (ruserpass): Likewise.
27022 * malloc/mtrace.c (mtrace): Likewise.
27023 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27024 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27025 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27026 * sysdeps/posix/tempname.c: Likewise. Evaluate
27027 HAVE_SECURE_GETENV.
27028 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27029 __secure_getenv to __libc_secure_getenv.
27030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27032 Likewise.
27033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27034 Likewise.
27035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27042
270432012-07-25 Joseph Myers <joseph@codesourcery.com>
27044
27045 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27046 (struct La_i86_retval): Likewise.
27047 (struct La_x86_64_regs): Likewise.
27048 (struct La_x86_64_retval): Likewise.
27049 (struct La_x32_regs): Likewise.
27050 (struct La_x32_retval): Likewise.
27051 (struct La_ppc32_regs): Likewise.
27052 (struct La_ppc32_retval): Likewise.
27053 (struct La_ppc64_regs): Likewise.
27054 (struct La_ppc64_retval): Likewise.
27055 (struct La_sh_regs): Likewise.
27056 (struct La_sh_retval): Likewise.
27057 (struct La_s390_32_regs): Likewise.
27058 (struct La_s390_32_retval): Likewise.
27059 (struct La_s390_64_regs): Likewise.
27060 (struct La_s390_64_retval): Likewise.
27061 (struct La_sparc32_regs): Likewise.
27062 (struct La_sparc32_retval): Likewise.
27063 (struct La_sparc64_regs): Likewise.
27064 (struct La_sparc64_retval): Likewise.
27065 (struct audit_ifaces): Remove architecture-specific pltenter and
27066 pltexit members.
27067 * sysdeps/i386/ldsodefs.h: New file.
27068 * sysdeps/powerpc/ldsodefs.h: Likewise.
27069 * sysdeps/s390/ldsodefs.h: Likewise.
27070 * sysdeps/sh/ldsodefs.h: Likewise.
27071 * sysdeps/sparc/ldsodefs.h: Likewise.
27072 * sysdeps/x86_64/ldsodefs.h: Likewise.
27073
270742012-07-25 Marek Polacek <polacek@redhat.com>
27075
27076 [BZ #6808]
27077 * math/libm-test.inc (yn_test): Add another test.
27078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27079 to ERANGE when the result is +-Inf.
27080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27082 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27083 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27084
270852012-07-24 Joseph Myers <joseph@codesourcery.com>
27086
27087 * conform/data/time.h-data (NULL): Use macro-constant. Require
27088 equal to 0.
27089 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
27090 clock_t.
27091 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
27092
270932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
27094
27095 * configure.in <sysdeps resolving>: Correct printing
27096 Implies_before.
27097 * configure: Regenerate.
27098
270992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
27100
27101 * math/w_ilogb.c: Include <limits.h>.
27102 * math/w_ilogbl.c: Likewise.
27103
271042012-07-20 Joseph Myers <joseph@codesourcery.com>
27105
27106 * manual/lang.texi (__va_copy): Document primarily as ISO C99
27107 va_copy. Document allowing for unavailable va_copy only as
27108 pre-C99 compatibility.
27109 * manual/string.texi (Copying and Concatenation): Use va_copy
27110 instead of __va_copy in concat example.
27111
271122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
27113
27114 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27115 (__sendto): Use create_address_port. Initialize APORT and deallocate
27116 it if not null.
27117
27118 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27119 with O_NOLINK passed to __file_name_lookup.
27120
27121 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27122 with O_NOLINK passed to __file_name_lookup.
27123
27124 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27125 negative N or less than NGIDS.
27126
27127 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27128 type to string_t. Set ERANGE as errno and return it if NAME is not big
27129 enough. Use memcpy instead of strncpy.
27130
271312012-07-20 Joseph Myers <joseph@codesourcery.com>
27132
27133 * elf/Makefile (check-data): Remove.
27134 (localplt.data): New vpath directive.
27135 ($(objpfx)check-localplt.out): Use localplt.data from vpath
27136 instead of $(check-data).
27137 * scripts/data/localplt-generic.data: Move to ...
27138 * sysdeps/generic/localplt.data: ... here.
27139 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27140 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27141 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27143 ... here.
27144 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27146 ... here.
27147 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27149 ... here.
27150 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27152 ... here.
27153 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27155 ... here.
27156 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27158 ... here.
27159
271602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27163 PPC32 and PPC64 files.
27164 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27165 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27166
271672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27168
27169 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27170 __makecontext_ret to ...
27171 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27172 ... here and call exit if uc_link is NULL. New file.
27173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27174 __makecontext_ret.S.
27175 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27176 __makecontext_ret to ...
27177 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27178 ... here and call exit if uc_link is NULL. New file.
27179 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27180 __makecontext_ret.S.
27181
271822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27183
27184 * elf/elf.h (R_390_IRELATIVE): New definition.
27185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27186 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
27187 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27189 (elf_machine_lazy_rel): Likewise.
27190 * sysdeps/s390/dl-irel.h: New file.
27191 * sysdeps/s390/s390-64/memcpy.S: New asm code.
27192 * sysdeps/s390/s390-64/memset.S: New asm code.
27193 * sysdeps/s390/s390-64/memcmp.S: New asm code.
27194 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27196 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27197 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27198 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27199 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27200 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27201 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27202 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27203 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27204 * sysdeps/s390/s390-32/memcpy.S: New asm code.
27205 * sysdeps/s390/s390-32/memset.S: New asm code.
27206 * sysdeps/s390/s390-32/memcmp.S: New asm code.
27207
272082012-07-17 Marek Polacek <polacek@redhat.com>
27209
27210 [BZ #14349]
27211 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27212 * sysdeps/s390/s390-64/configure.in: Likewise.
27213 * sysdeps/sparc/configure.in: Likewise.
27214 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27215 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27216 * sysdeps/i386/configure.in: Likewise.
27217 * sysdeps/x86_64/configure.in: Likewise.
27218 * sysdeps/sh/configure.in: Likewise.
27219 * sysdeps/s390/s390-32/configure: Regenerated.
27220 * sysdeps/s390/s390-64/configure: Likewise.
27221 * sysdeps/x86_64/configure: Likewise.
27222 * sysdeps/sh/configure: Likewise.
27223 * sysdeps/powerpc/powerpc64/configure: Likewise.
27224 * sysdeps/powerpc/powerpc32/configure: Likewise.
27225 * sysdeps/sparc/configure: Likwise.
27226 * sysdeps/i386/configure: Likewise.
27227
27228 * elf/dl-open.c: Comment fixes.
27229
272302012-07-17 Joseph Myers <joseph@codesourcery.com>
27231
27232 * Makefile [CXX] (check-data): Remove.
27233 [CXX] (c++-types.data): New vpath directive.
27234 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27235 vpath. Do not allow for C++ type data being missing.
27236 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27237 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27238 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27239 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27240 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27241 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27242 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27244 ... here.
27245 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27247 ... here.
27248 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27250 ... here.
27251 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27253 ... here.
27254 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27256 ... here.
27257 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27259 ... here.
27260 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27262 ... here.
27263 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27265
27266 * elf/tls-macros.h (TLS_LE): Move architecture-specific
27267 definitions to architecture-specific files.
27268 (TLS_IE): Likewise.
27269 (TLS_LD): Likewise.
27270 (TLS_GD): Likewise.
27271 * sysdeps/i386/tls-macros.h: New file.
27272 * sysdeps/powerpc/tls-macros.h: Likewise.
27273 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27274 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27275 * sysdeps/sh/tls-macros.h: Likewise.
27276 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27277 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27278 * sysdeps/x86_64/tls-macros.h: Likewise.
27279
272802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27281
27282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27283 zero value for regular exit case.
27284
27285 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27286 (__start_context): Preserve zero value for regular exit case.
27287
272882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
27289 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27290
27291 * manual/setjmp.texi (setcontext): Clarify normal process
27292 termination when uc_link is the null pointer.
27293 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27294 exit call.
27295
272962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
27297
27298 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27299 preprocessor. Test for each exception mask separately.
27300
273012012-07-16 Andreas Jaeger <aj@suse.de>
27302
27303 * po/ru.po: Update from translation team.
27304
273052012-07-15 Joseph Myers <joseph@codesourcery.com>
27306
27307 * conform/data/string.h-data (NULL): Use macro-constant. Require
27308 equal to 0.
27309 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27310 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27311 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27312 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27314
273152012-07-13 Andreas Jaeger <aj@suse.de>
27316
27317 * po/fr.po: Update from translation team.
27318
273192012-07-12 Marek Polacek <polacek@redhat.com>
27320
27321 [BZ #14173]
27322 * math/libm-test.inc (yn_test): Add test for BZ #14173.
27323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27324 loop condition.
27325
273262012-07-12 Joseph Myers <joseph@codesourcery.com>
27327
27328 [BZ #13717]
27329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27330 Change to 2.4.1 where previously 2.4.0.
27331 * sysdeps/unix/sysv/linux/configure: Regenerated.
27332 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27333 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27334 version.
27335 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27336 (__ASSUME_AT_CLKTCK): Remove.
27337 (__ASSUME_AT_PAGESIZE): Likewise.
27338 (__ASSUME_AT_XID): Likewise.
27339 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27340 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27341 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27342 unconditionally.
27343 (HAVE_AUX_PAGESIZE): Likewise.
27344 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27345 [__ASSUME_AT_CLKTCK]: Make code unconditional.
27346 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27347
273482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
27349
27350 [BZ #14307]
27351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27352 the temporary buffer used to invoke __gethostbyname2_r,
27353 __gethostbyaddr_r and gethostbyname4_r to make room for struct
27354 host_data / struct gaih_addrtuple.
27355 * resolv/nss_dns/dns-host.c (global scope): Move definition of
27356 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27357 header file nss/nsswitch.h.
27358 * nss/nsswitch.h (global scope): Add definition of implementation
27359 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27360 resolv/nss_dns/dns-host.c).
27361
273622012-07-11 Andreas Jaeger <aj@suse.de>
27363
27364 * po/fr.po: Update from translation team.
27365
27366 * po/sv.po: Update from translation team
27367 * po/fr.po: Another update from translation team.
27368
273692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27370
27371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27372 for subnormals or multiply small sinh result by itself.
27373 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27375
273762012-07-11 David S. Miller <davem@davemloft.net>
27377
27378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27379
273802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
27381
27382 [BZ #14347]
27383 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27384 (INTERNAL_MARK): Shift it here.
27385
273862012-07-10 Marek Polacek <polacek@redhat.com>
27387
27388 [BZ #14151]
27389 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
27390 libc_cv_asm_global_directive with .globl.
27391 * configure: Regenerated.
27392 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27393 with .globl.
27394 * sysdeps/i386/configure: Regenerated.
27395 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27396 with .globl.
27397 * sysdeps/x86_64/configure: Regenerated.
27398 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27399 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27400 * elf/tst-unique2mod2.c: Likewise.
27401 * elf/tst-unique2mod1.c: Likewise.
27402 * elf/tst-unique1mod2.c: Likewise.
27403 * elf/tst-unique1mod1.c: Likewise.
27404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27405 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27408 * sysdeps/mach/sysdep.h: Likewise.
27409 * sysdeps/i386/sysdep.h: Likewise.
27410 * sysdeps/i386/i386-mcount.S: Likewise.
27411 * sysdeps/x86_64/_mcount.S: Likewise.
27412 * sysdeps/x86_64/sysdep.h: Likewise.
27413 * sysdeps/sh/_mcount.S: Likewise.
27414 * sysdeps/sh/sysdep.h: Likewise.
27415 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27416 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27417 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27418 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27419 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27420 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27421 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27422 * locale/localeinfo.h: Likewise.
27423 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27424 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27425
274262012-07-09 Roland McGrath <roland@hack.frob.com>
27427
27428 [BZ #14336]
27429 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27430 system".
27431 * manual/message.texi (The Uniforum approach): Likewise.
27432 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27433 (glibc iconv Implementation): Likewise.
27434
274352012-07-09 Joseph Myers <joseph@codesourcery.com>
27436
27437 [BZ #14337]
27438 * math/s_clog.c (__clog): Avoid scaling a value down where that
27439 could result in underflow.
27440 * math/s_clog10.c (__clog10): Likewise.
27441 * math/s_clog10f.c (__clog10f): Likewise.
27442 * math/s_clog10l.c (__clog10l): Likewise.
27443 * math/s_clogf.c (__clogf): Likewise.
27444 * math/s_clogl.c (__clogl): Likewise.
27445 * math/libm-test.inc (clog_test): Add more tests.
27446 (clog10_test): Likewise.
27447 * sysdeps/i386/fpu/libm-test-ulps: Update.
27448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27449
274502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
27451
27452 [BZ #14283]
27453 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27454 by 7 not 8 to examine high bit of fractional part.
27455
27456 [BZ #14042]
27457 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27458 for call to __mcount_internal.
27459 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27460 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27461 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27462
274632012-07-06 Joseph Myers <joseph@codesourcery.com>
27464
27465 [BZ #14154]
27466 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27467 approximation for values within 0x1p-13f of an odd multiple of
27468 pi/4.
27469 * math/libm-test.inc (tan_test): Do not allow spurious underflow
27470 exception. Add more tests.
27471 * sysdeps/i386/fpu/libm-test-ulps: Update.
27472
27473 [BZ #6778]
27474 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27475 inputs and return -1 for them. Do not check for +Inf in case not
27476 reachable for +Inf.
27477 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27478 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27480 and return -1 for them. Do not check for +Inf in case not
27481 reachable for +Inf.
27482 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27483 define.
27484 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27485 and return -1 for them. Do not check for +Inf in case not
27486 reachable for +Inf.
27487 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
27488 spurious underflow.
27489 * sysdeps/i386/fpu/libm-test-ulps: Update.
27490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27491
274922012-07-06 Mike Frysinger <vapier@gentoo.org>
27493
27494 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27495
274962012-07-05 Joseph Myers <joseph@codesourcery.com>
27497
27498 [BZ #14157]
27499 [BZ #14331]
27500 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27501 could result in spurious underflow. Scale down values above
27502 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27503 * math/s_csqrtf.c (__csqrtf): Likewise.
27504 * math/s_csqrtl.c (__csqrtl): Likewise.
27505 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
27506 spurious underflow.
27507 * sysdeps/i386/fpu/libm-test-ulps: Update.
27508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27509
275102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
27511
27512 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27513 xopen-msg.sed.
27514 * catgets/xopen-msg.awk: New file.
27515 * catgets/xopen-msg.sed: Removed.
27516
27517 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27518 po2text.sed.
27519 * intl/po2test.awk: New file.
27520 * intl/po2test.sed: Removed.
27521
275222012-07-04 Joseph Myers <joseph@codesourcery.com>
27523
27524 [BZ #14328]
27525 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27526 or multiply small sinh result by itself.
27527 * math/s_ctanf.c (__ctanf): Likewise.
27528 * math/s_ctanh.c (__ctanh): Likewise.
27529 * math/s_ctanhf.c (__ctanhf): Likewise.
27530 * math/s_ctanhl.c (__ctanhl): Likewise.
27531 * math/s_ctanl.c (__ctanl): Likewise.
27532 * math/libm-test.inc (ctan_test_tonearest): New function.
27533 (ctan_test_towardzero): Likewise.
27534 (ctan_test_downward): Likewise.
27535 (ctan_test_upward): Likewise.
27536 (ctanh_test_tonearest): Likewise.
27537 (ctanh_test_towardzero): Likewise.
27538 (ctanh_test_downward): Likewise.
27539 (ctanh_test_upward): Likewise.
27540 (main): Call these new functions.
27541 * sysdeps/i386/fpu/libm-test-ulps: Update.
27542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27543
275442012-07-03 Mike Frysinger <vapier@gentoo.org>
27545
27546 * .gitignore: Delete /ports entry.
27547
275482012-07-03 Andreas Jaeger <aj@suse.de>
27549
27550 * po/bg.po: Update from translation team.
27551 * po/cs.po: Likewise.
27552 * po/de.po: Likewise.
27553 * po/hr.po: Likewise.
27554 * po/nl.pl: Likewise.
27555 * po/pl.po: Likewise.
27556 * po/vi.po: Likewise.
27557
275582012-07-03 Joseph Myers <joseph@codesourcery.com>
27559
27560 * Makeconfig [!+link] (+link-before-libc): New variable.
27561 [!+link] (+link-after-libc): Likewise.
27562 [!+link] (+link-tests): Likewise.
27563 [!+link] (+link): Define in terms of $(+link-before-libc) and
27564 $(+link-after-libc).
27565 [!+link-static] (+link-static-before-libc): New variable.
27566 [!+link-static] (+link-static-after-libc): Likewise.
27567 [!+link-static] (+link-static-tests): Likewise.
27568 [!+link-static] (+link-static): Define in terms of
27569 $(+link-static-before-libc) and $(+link-static-after-libc).
27570 [build-shared] (link-libc-before-gnulib): New variable.
27571 [build-shared] (link-libc-tests): Likewise.
27572 [build-shared] (link-libc): Define in terms of
27573 $(link-libc-before-gnulib).
27574 [!build-shared] (link-libc-tests): New variable.
27575 (link-libc-static-tests): New variable.
27576 [!gnulib] (gnulib-arch): New variable.
27577 [!gnulib] (gnulib-tests): Likewise.
27578 [!gnulib] (static-gnulib-arch): Likewise.
27579 [!gnulib] (static-gnulib-tests): Likewise.
27580 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
27581 Define with "=" instead of ":=".
27582 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
27583 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
27584 * Rules (binaries-all-notests): New variable.
27585 (binaries-all-tests): Likewise.
27586 (binaries-static-notests): Likewise.
27587 (binaries-static-tests): Likewise.
27588 (binaries-all): Define using $(binaries-all-notests) and
27589 $(binaries-all-tests).
27590 (binaries-static): Define using $(binaries-static-notests) and
27591 $(binaries-static-tests).
27592 (binaries-shared-tests): New variable.
27593 (binaries-shared-notests): Likewise.
27594 (binaries-shared): Remove variable.
27595 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27596 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27597 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27598 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27599 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27600 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27601 * elf/Makefile (sln-modules): New variable.
27602 (extra-objs): Add $(sln-modules:=.o).
27603 (ldconfig-modules): Add static-stubs.
27604 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27605 * elf/static-stubs.c: New file.
27606
27607 [BZ #14283]
27608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27609 by 7 not 8 to examine high bit of fractional part. Use volatile
27610 variables when splitting into final array of floats if
27611 __FLT_EVAL_METHOD__ != 0.
27612 * math/libm-test.inc (cos_test): Add another test.
27613 (sin_test): Likewise.
27614 * sysdeps/i386/fpu/libm-test-ulps: Update.
27615
27616 [BZ #14273]
27617 * math/libm-test.inc (cosh_test): Add more tests.
27618
27619 * version.h (RELEASE): Set to "development".
27620 (VERSION): Set to "2.16.90".
27621
276222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27623
27624 * NEWS: Update copyright. Remove last-updated date.
27625 Mention math library bug fixes and timezone data changes.
27626 * README: Mention GNU/Hurd, x32, and HPPA support status.
27627
276282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27629
27630 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27631
276322012-06-27 Andreas Jaeger <aj@suse.de>
27633
27634 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27635
276362012-06-25 Andreas Jaeger <aj@suse.de>
27637
27638 * sysdeps/s390/fpu/libm-test-ulps: Update.
27639
276402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27641 Thomas Schwinge <thomas@codesourcery.com>
27642
27643 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27644 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27646 fanotify_mark.
27647
276482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27649
27650 * sysdeps/mach/start.c: Remove file.
27651 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27652 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27653 * sysdeps/sh/init-first.c: Likewise.
27654
27655 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27656 registers for frame unwinding purposes, add CFI directives.
27657 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27659 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27660 Likewise.
27661
27662 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27663 __fortify_fail returning.
27664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27665
27666 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27667 sysdeps/sh/____longjmp_chk.S.
27668 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27669 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27670 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27671 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27672
27673 * sysdeps/sh/abort-instr.h: New file.
27674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27675 process in case exit returns.
27676
27677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27678 initialize the GOT register before use.
27679
27680 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27681 calculation of ARGC > 4.
27682
27683 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27684 meaningful names to some local labels.
27685
276862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27687 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27688
27689 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27690 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27691 (__arch_compare_and_exchange_val_16_acq): Likewise.
27692 (__arch_compare_and_exchange_val_32_acq): Likewise.
27693 (atomic_exchange_and_add): Fix gUSA sequence.
27694 (atomic_add): Likewise.
27695 (atomic_add_negative): Likewise.
27696 (atomic_add_zero): Likewise.
27697 (atomic_bit_test_set): Likewise.
27698
276992012-06-22 Andreas Schwab <schwab@redhat.com>
27700
27701 [BZ #13579]
27702 * include/link.h (struct link_map): Add l_free_initfini.
27703 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27704 l_initfini.
27705 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27706 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27707 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27708 set.
27709
277102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27711
27712 * configure.in: Use AC_LANG_SOURCE.
27713 * configure: Regenerate.
27714
277152012-06-22 Roland McGrath <roland@hack.frob.com>
27716
27717 * configure.in (libc_cv_localstatedir): New substituted variable.
27718 * configure: Regenerated.
27719 * config.make.in (localstatedir): New variable, substituted from
27720 libc_cv_localstatedir.
27721 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27722 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27723 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27724 * sysdeps/gnu/configure: Regenerated.
27725
277262012-06-21 Jeff Law <law@redhat.com>
27727
27728 [BZ #14277]
27729 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27730 free. Simplify list management for _LIBC case.
27731
277322012-06-21 Joseph Myers <joseph@codesourcery.com>
27733
27734 [BZ #14273]
27735 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27736 Clear sign bit of 64-bit integer value before comparing against
27737 overflow value.
27738
27739 * sysdeps/mach/configure: Regenerated.
27740
277412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27742
27743 [BZ #14278]
27744 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27745
277462012-06-21 Jeff Law <law@redhat.com>
27747
27748 [BZ #13882]
27749 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27750 uint16_t for elements in the "seen" array to avoid char overflows.
27751 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27752 * elf/dl-open.c (dl_open_worker): Likewise.
27753
277542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27755
27756 * scripts/list-sources.sh: Scan PORTS for translations.
27757 * po/libc.pot: Regenerated.
27758
277592012-06-21 Andreas Jaeger <aj@suse.de>
27760
27761 [BZ #12194]
27762 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27763 warning.
27764 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27765 * bits/byteswap-16.h (__bswap_16): Likewise.
27766 * bits/byteswap.h (__bswap_constant_16): Likewise.
27767
277682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 [BZ #14117]
27771 * sysdeps/i386/fpu_control.h: Removed.
27772 * sysdeps/x86_64/fpu_control.h: Moved to ...
27773 * sysdeps/x86/fpu_control.h: Here.
27774
27775 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27776 (_FPU_SETCW): Likewise.
27777
277782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27779
27780 [BZ #14117]
27781 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27782 * sysdeps/x86/fpu/bits/mathinline.h: This.
27783 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27784
27785 [BZ #14050]
27786 [BZ #14117]
27787 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27788 functions if __x86_64__ is defined.
27789
277902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27791
27792 * string/endian.h: Add !__ASSEMBLER__ condition for including
27793 conversion interfaces.
27794
277952012-06-15 Joseph Myers <joseph@codesourcery.com>
27796
27797 [BZ #14241]
27798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27799 of ABS(x) in calculating zero to negative powers other than odd
27800 integers.
27801 * math/libm-test.inc (pow_test): Add more tests.
27802
278032012-06-15 Andreas Jaeger <aj@suse.de>
27804
27805 * manual/contrib.texi (Contributors): Update entry of Liubov
27806 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27807 Machado Filho.
27808
278092012-06-15 Cyril Hrubis <metan@ucw.cz>
27810
27811 * string/string.h: Add __wur to GNU version of strerror_r.
27812
278132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #14229]
27816 * string/Makefile (tests): Add tst-strtok_r.
27817 * string/tst-strtok_r.c: New file.
27818 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27819 RAX_LP/RDX_LP on SAVE_PTR.
27820
278212012-06-14 Roland McGrath <roland@hack.frob.com>
27822
27823 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27824
278252012-06-14 Joseph Myers <joseph@codesourcery.com>
27826
27827 * libm_test.inc (csqrt_test): Allow more spurious underflow
27828 exceptions.
27829 (j0_test): Likewise.
27830 (j1_test): Likewise.
27831 (y0_test): Likewise.
27832 (y1_test): Likewise.
27833
278342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27835
27836 * po/Makefile (libc.pot): Use UTF-8 charset.
27837
278382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27839
27840 [BZ #14210]
27841 Suppress sign-conversion warning from FD_SET.
27842 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27843 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27844 not unsigned long int.
27845 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27846
278472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27848
27849 [BZ #14050]
27850 [BZ #14117]
27851 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27852 __extern_always_inline instead of __extern_inline.
27853 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27854 (__signbit): Likewise.
27855 (__signbitl): Support C++ namespace.
27856 (lrintf): New inline function.
27857 (lrint): Likewise.
27858 (llrintf): Likewise.
27859 (llrint): Likewise.
27860 (fmaxf): Likewise.
27861 (fmax): Likewise.
27862 (fminf): Likewise.
27863 (fmin): Likewise.
27864 (rint): Likewise.
27865 (rintf): Likewise.
27866 (ceil): Likewise.
27867 (ceilf): Likewise.
27868 (floor): Likewise.
27869 (floorf): Likewise.
27870 (nearbyint): Likewise.
27871 (nearbyintf): Likewise.
27872
278732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27874
27875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27876 non-default versions.
27877
278782012-06-11 Roland McGrath <roland@hack.frob.com>
27879
27880 [BZ #14218]
27881 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27882
278832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27884
27885 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27886 (FE_UPWARD, FE_DOWNWARD): Don't define.
27887 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27889
27890 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27891 reading it.
27892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27894
278952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27896
27897 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27899 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27901
279022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27903
27904 [BZ #14117]
27905 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27906 * sysdeps/i386/fpu/Implies: New file.
27907 * sysdeps/x86_64/fpu/Implies: Likewise.
27908 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27909 * sysdeps/x86/fpu/bits/fenv.h: This.
27910
27911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27912 __SSE_MATH__.
27913
279142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27915
27916 [BZ #14134]
27917 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27918 character 0xffff that matches the last element of the
27919 conversion table.
27920
279212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27922
27923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27924 fmodl commit.
27925
279262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27927
27928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27929 values higher than 25.6283.
27930
279312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27932
27933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27934 subnormal exponent extraction and add some __builtin_expect.
27935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27936 Fix for subnormal mantissa calculation.
27937
279382012-06-04 Mike Frysinger <vapier@gentoo.org>
27939
27940 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27941 cpu2 is -1 and errno is not ENOSYS.
27942
279432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 [BZ #14117]
27946 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27947 * sysdeps/x86/bits/string.h: This.
27948 * sysdeps/x86_64/bits/string.h: Removed.
27949
27950 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27951 if not compiling for x86-64, but compiling for >= i486.
27952
27953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27954 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27955
27956 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27957 New macro from Linux kernel 3.4.0.
27958 (FP_XSTATE_MAGIC2): Likewise.
27959 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27960 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27961 (struct _fpx_sw_bytes): New struct.
27962 (struct _xsave_hdr): Likewise.
27963 (struct _ymmh_state): Likewise.
27964 (struct _xstate): Likewise.
27965
27966 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27967 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27969 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27971 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27972
27973 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27975 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27976 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27977 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27978 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27979
279802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27981
27982 [BZ #13743]
27983 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27984 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27985 (sysdep_headers): Include sys/platform/ppc.h.
27986 * sysdeps/powerpc/test-gettimebase.c: Test for
27987 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27988 * manual/Makefile (appendices): Include platform.texi.
27989 * manual/contrib.texi (Contributors): Update @node pointers.
27990 * manual/maint.texi (Maintenance): Likewise.
27991 (Platform): New node.
27992 * manual/platform.texi: New file. Document the new features.
27993
279942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27995 Jakub Jelinek <jakub@redhat.com>
27996
27997 [BZ #14188]
27998 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27999 where __builtin_expect is unavailable.
28000
280012012-06-03 David S. Miller <davem@davemloft.net>
28002
28003 * stdlib/longlong.h: Updated from GCC.
28004
280052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
28006
28007 [BZ #14042]
28008 * sysdeps/powerpc/powerpc32/mcount.c: New file.
28009 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28010 __mcount_internal.
28011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28012 (GLIBC_2.16): Likewise.
28013
280142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28017
280182012-06-01 Joseph Myers <joseph@codesourcery.com>
28019
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28021 (default-abi): New variable.
28022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28023 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28024 variable.
28025 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28026 Likewise.
28027 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28028 Likewise.
28029 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28030 Likewise.
28031
28032 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28033 definition. Document in comment.
28034
280352012-06-01 David S. Miller <davem@davemloft.net>
28036
28037 * stdlib/longlong.h: Updated from GCC.
28038
280392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28040
28041 [BZ #14117]
28042 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28043 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28044 sys/debugreg.h sys/io.h here.
28045 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28046 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28047 sys/io.h.
28048 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28049 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28050 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28051 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28052 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28053 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28054
28055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28056 Define only if __x86_64__ is defined.
28057
280582012-06-01 Joseph Myers <joseph@codesourcery.com>
28059
28060 [BZ #14048]
28061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28062 Use int64_t for variable i.
28063 * math/libm-test.inc (fmod_test): Add more tests.
28064
28065 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28066 z computation is not scheduled after fetestexcept.
28067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28068 Use math_force_eval instead of asm to ensure calculation scheduled
28069 before exception test.
28070 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28071 Ensure a1 + u.d computation is not scheduled after fetestexcept.
28072
280732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
28074
28075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28076 computation is not scheduled after fetestexcept.
28077
280782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
28079
28080 [BZ #14117]
28081 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28082 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28083
280842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28085
28086 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28087 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28088
280892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28090
28091 [BZ #14117]
28092 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28093 <bits/wordsize.h>.
28094 (__WCHAR_MIN): Support __WORDSIZE == 64.
28095 (__WCHAR_MAX): Likewise.
28096
28097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28099
28100 [BZ #14183]
28101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28102 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28103
28104 [BZ #14117]
28105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28107
28108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28109 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28110
28111 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28112 Defined to 1 if __x86_64__ isn't defined.
28113 (_STAT_VER_LINUX_OLD): New.
28114 (st_atime): Remove duplicate.
28115 (st_mtime): Likewise.
28116 (st_ctime): Likewise.
28117
281182012-05-31 David S. Miller <davem@davemloft.net>
28119
28120 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28121 entries.
28122
281232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
28124
28125 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28126 gen-libm-test.pl.
28127
28128 [BZ #14132]
28129 * elf/dl-reloc.c: Include <_itoa.h>.
28130 (_dl_reloc_bad_type): Remove use of INTUSE.
28131 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28132 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28133 * stdio-common/psiginfo.c (psiginfo): Likewise.
28134 * stdio-common/psignal.c (psignal): Likewise.
28135 * string/strsignal.c (strsignal): Likewise.
28136 * include/signal.h (_sys_siglist): Declare hidden proto.
28137 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
28138 INTVARDEF with libc_hidden_data_def.
28139 * stdio-common/itoa-udigits.c: Likewise.
28140 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28141 (_itoa_lower_digits_internal): Remove declaration.
28142 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28143 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28144 (_sys_sigabbrev_internal): Remove aliases.
28145 (_sys_siglist): Define hidden alias.
28146
281472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
28148
28149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28150 bits/sysctl.h.
28151
281522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
28153
28154 [BZ #14117]
28155 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28156 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28157
28158 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28160 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28161 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28163 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28164
28165 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28167 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28168
28169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28170 with __addr.
28171 (insw): Likewise.
28172 (insl): Likewise.
28173 (outsb): Likewise.
28174 (outsw): Likewise.
28175 (outsl): Likewise.
28176
28177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28180
28181 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28182 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28184 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28186 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28187
28188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28189 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28190
28191 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28193
28194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28196 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28197
28198 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28199 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28200 to ...
28201 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28202
28203 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28204 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28205 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28206
28207 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28208 for x86-64.
28209 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28210
282112012-05-31 Joseph Myers <joseph@codesourcery.com>
28212
28213 * math/math.h (M_El): Use two more decimal places.
28214 (M_LOG2El): Likewise.
28215 (M_LOG10El): Likewise.
28216 (M_LN2l): Likewise.
28217 (M_LN10l): Likewise.
28218 (M_PIl): Likewise.
28219 (M_PI_2l): Likewise.
28220 (M_PI_4l): Likewise.
28221 (M_1_PIl): Likewise.
28222 (M_2_PIl): Likewise.
28223 (M_2_SQRTPIl): Likewise.
28224 (M_SQRT2l): Likewise.
28225 (M_SQRT1_2l): Likewise.
28226
282272012-05-31 David S. Miller <davem@davemloft.net>
28228
28229 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28230 values between float registers.
28231 * sysdeps/sparc/sparc64/memset.S: Likewise.
28232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28233
282342012-05-31 Mike Frysinger <vapier@gentoo.org>
28235
28236 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28237 -D_FORTIFY_SOURCE=1.
28238 (CPPFLAGS-tst-longjmp_chk.c): Define.
28239 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28240 (CPPFLAGS-tst-longjmp_chk2.c): Define.
28241 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28242 CFLAGS-tst-wchar-h.c.
28243
282442012-05-31 Marek Polacek <polacek@redhat.com>
28245
28246 [BZ #14132]
28247 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28248 __endmntent_internal): Remove declaration.
28249 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28250 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28251 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28252
282532012-05-30 David S. Miller <davem@davemloft.net>
28254
28255 * sysdeps/sparc/sparc32/soft-fp/q_util.c
28256 (___Q_simulate_exceptions): Use real FP ops rather than writing
28257 into the %fsr.
28258 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28259 Likewise.
28260
282612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28262
28263 [BZ #14117]
28264 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28265 * sysdeps/x86/bits/xtitypes.h: This.
28266
28267 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28268 * sysdeps/x86/bits/wordsize.h: This.
28269
28270 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28271 * sysdeps/x86/bits/huge_vall.h: This.
28272
28273 * sysdeps/i386/bits/select.h: Removed.
28274 * sysdeps/x86_64/bits/select.h: Renamed to ...
28275 * sysdeps/x86/bits/select.h: This.
28276
28277 * sysdeps/i386/bits/setjmp.h: Removed.
28278 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28279 * sysdeps/x86/bits/setjmp.h: This.
28280
28281 * sysdeps/i386/bits/mathdef.h: Removed.
28282 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28283 * sysdeps/x86/bits/mathdef.h: This.
28284
282852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
28286
28287 [BZ #14132]
28288 * include/sys/socket.h (__connect_internal)
28289 (__libc_sa_len_internal): Remove declaration.
28290 (__connect, __libc_sa_len): Declare hidden_proto.
28291 (SA_LEN): Remove use of INTUSE.
28292 * socket/connect.c: Add libc_hidden_def.
28293 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28294 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28295 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28296 alias.
28297 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28298 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28299 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28300 of adding _internal alias.
28301
283022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 [BZ #14117]
28305 * sysdeps/i386/bits/link.h: Removed.
28306 * sysdeps/i386/bits/linkmap.h: Likewise.
28307 * sysdeps/x86_64/bits/link.h: Renamed to ...
28308 * sysdeps/x86/bits/link.h: This.
28309 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28310 * sysdeps/x86/bits/linkmap.h: This.
28311
28312 * sysdeps/i386/bits/endian.h: Removed.
28313 * sysdeps/x86_64/bits/endian.h: Renamed to ...
28314 * sysdeps/x86/bits/endian.h: This.
28315
28316 * sysdeps/i386/bits/byteswap.h: Removed.
28317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28318 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28319 * sysdeps/x86/bits/byteswap.h: This.
28320 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28321 * sysdeps/x86/bits/byteswap-16.h: This.
28322 * sysdeps/i386/Implies: Add x86.
28323 * sysdeps/x86_64/Implies: Likewise.
28324
283252012-05-30 David S. Miller <davem@davemloft.net>
28326
28327 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28328 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28329 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28330 (FP_TRAPPING_EXCEPTIONS): Define.
28331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28332 (FP_TRAPPING_EXCEPTIONS): Define.
28333 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28334 subnormals only when inexact has been signalled or underflow
28335 exceptions are enabled.
28336 (_FP_PACK_CANONICAL): Likewise.
28337
283382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28339
28340 [BZ #14183]
28341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28342 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28343
283442012-05-30 Richard Henderson <rth@twiddle.net>
28345
28346 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28347 with #ifndef NOT_IN_libc.
28348
28349 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
28350 marked to avoid plt entry.
28351
283522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
28353
28354 [BZ #14112]
28355 * Makeconfig (default-abi): New macro.
28356 (abi-includes): Likewise.
28357 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
28358 $(abi-$(default-abi)-lib-soname) for soname if defined.
28359 ($(common-objpfx)gnu/lib-names.stmp): Generate from
28360 abi-variants.
28361 * Makefile (installed-stubs): Likewise.
28362 * include/stubs-biarch.h: Removed.
28363 * scripts/lib-names.awk: Only handle one library at a time.
28364 * scripts/soversions.awk: Remove WORDSIZE support.
28365 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28366 entries.
28367 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28368 Removed.
28369 (syscall-list-default-condition): Likewise.
28370 (syscall-list-default-condition): Likewise.
28371 (syscall-list-includes): Likewise.
28372 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28373 syscall-list-* with abi-*. Handle undefined abi-variants.
28374 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28375 * sysdeps/unix/sysv/linux/i386/Implies: New file.
28376 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28377 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28378 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28379 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28380 Removed.
28381 (syscall-list-32-options): Likewise.
28382 (syscall-list-32-condition): Likewise.
28383 (syscall-list-64-options): Likewise.
28384 (syscall-list-64-condition): Likewise.
28385 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28386 macro.
28387 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28388 Renamed to ...
28389 (abi-*): This.
28390 (abi-64-ld-soname): New macro.
28391 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28392 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28393 Renamed to ...
28394 (abi-*): This.
28395 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28396 * sysdeps/x86_64/x32/shlib-versions: Likewise.
28397
283982012-05-30 Joseph Myers <joseph@codesourcery.com>
28399
28400 * sysdeps/unix/sysv/linux/kernel-features.h
28401 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28402 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28403 include <kernel-features.h>.
28404 [!__NR_ftruncate64]: Remove conditional code.
28405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28406 [__NR_ftruncate64]: Make code unconditional.
28407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28408 * sysdeps/unix/sysv/linux/truncate64.c: Do not
28409 include <kernel-features.h>.
28410 [!__NR_ftruncate64]: Remove conditional code.
28411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28412 [__NR_ftruncate64]: Make code unconditional.
28413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28415 include <kernel-features.h>.
28416 [!__NR_ftruncate64]: Remove conditional code.
28417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28418 [__NR_ftruncate64]: Make code unconditional.
28419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28421 include <kernel-features.h>.
28422 [!__NR_ftruncate64]: Remove conditional code.
28423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28424 [__NR_ftruncate64]: Make code unconditional.
28425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28426
28427 * configure.in (libc_cv_fpie): Weaken to a compile test using
28428 LIBC_TRY_CC_OPTION.
28429 * configure: Regenerated.
28430
284312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28432
28433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28437 Refreshed.
28438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28444 Refreshed.
28445
284462012-05-27 David S. Miller <davem@davemloft.net>
28447
28448 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28449 (___Q_zero): New.
28450 (__Q_simulate_exceptions): Return void. Change to simulate
28451 exceptions by writing into the %fsr.
28452 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28453 (__Qp_handle_exceptions): Likewise.
28454 (numbers): Delete.
28455 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28456 __Qp_handle_exceptions.
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28458 __Qp_handle_exceptions.
28459 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28460 as unused and give dummy FP_RND_NEAREST initializer.
28461 (FP_INHIBIT_RESULTS): Define.
28462 (___Q_simulate_exceptions): Update declaration.
28463 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28464 formatting.
28465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28466 as unused and give dummy FP_RND_NEAREST initializer.
28467 (__Qp_handle_exceptions): Update declaration.
28468 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28469 formatting.
28470
284712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
28472
28473 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28474 the temporary FPU control word.
28475 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28476 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28478 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28479 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28480 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28481 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28483 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28484 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28486
284872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28488
28489 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28490 fields.
28491
284922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
28493
28494 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28495 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28496 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28497 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28498 Likewise.
28499 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28500 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28501 Likewise.
28502
285032012-05-27 Ulrich Drepper <drepper@gmail.com>
28504
28505 * po/h.po: Update from translation team.
28506
285072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
28508
28509 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28510
28511 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28512 handling of denormals.
28513 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28514 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28516 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28520 Likewise.
28521
285222012-05-26 Marek Polacek <polacek@redhat.com>
28523
28524 [BZ #14152]
28525 * math/libm-test.inc (fma_test): Don't always expect underflow
28526 exception.
28527
285282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28529
28530 [BZ #12416]
28531 * elf/tst-execstack.c: Include stackinfo.h.
28532 (do_test): Adjust test case to ensure that pthread_getattr_np
28533 behaviour remains the same after marking stack executable.
28534
285352012-05-25 Joseph Myers <joseph@codesourcery.com>
28536
28537 * sysdeps/unix/sysv/linux/kernel-features.h
28538 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28539 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28540 kernel-features.h.
28541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28543 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28544 kernel-features.h.
28545 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28546 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28547
285482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
28549
28550 * configure.in: Define the default includes to being none.
28551 * configure: Regenerated.
28552
285532012-05-25 Roland McGrath <roland@hack.frob.com>
28554
28555 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28556 * sysdeps/x86_64/setjmp.S: Likewise.
28557 * sysdeps/i386/bsd-setjmp.S: Likewise.
28558 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28559 * sysdeps/i386/setjmp.S: Likewise.
28560 * sysdeps/i386/__longjmp.S: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28562 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28563
28564 * include/stap-probe.h: New file.
28565 * configure.in: Handle --enable-systemtap.
28566 * configure: Regenerated.
28567 * config.h.in (USE_STAP_PROBE): New #undef.
28568 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28569 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28570 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28571
285722012-05-25 Joseph Myers <joseph@codesourcery.com>
28573
28574 [BZ #13717]
28575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28576 to 2.4.0 where earlier.
28577 * sysdeps/unix/sysv/linux/configure: Regenerated.
28578 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28579 <kernel-features.h>.
28580 [__ASSUME_32BITUIDS]: Make code unconditional.
28581 [!__ASSUME_32BITUIDS]: Remove conditional code.
28582 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28583 <kernel-features.h>.
28584 [__ASSUME_32BITUIDS]: Make code unconditional.
28585 [!__ASSUME_32BITUIDS]: Remove conditional code.
28586 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28587 [__ASSUME_32BITUIDS]: Make code unconditional.
28588 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28589 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28590 <kernel-features.h>.
28591 [__ASSUME_32BITUIDS]: Make code unconditional.
28592 [!__ASSUME_32BITUIDS]: Remove conditional code.
28593 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28594 <kernel-features.h>.
28595 [__ASSUME_32BITUIDS]: Make code unconditional.
28596 [!__ASSUME_32BITUIDS]: Remove conditional code.
28597 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28598 <kernel-features.h>.
28599 [__ASSUME_32BITUIDS]: Make code unconditional.
28600 [!__ASSUME_32BITUIDS]: Remove conditional code.
28601 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28602 <kernel-features.h>.
28603 [__ASSUME_32BITUIDS]: Make code unconditional.
28604 [!__ASSUME_32BITUIDS]: Remove conditional code.
28605 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28606 <kernel-features.h>.
28607 [__ASSUME_32BITUIDS]: Make code unconditional.
28608 [!__ASSUME_32BITUIDS]: Remove conditional code.
28609 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28610 <kernel-features.h>.
28611 [__ASSUME_32BITUIDS]: Make code unconditional.
28612 [!__ASSUME_32BITUIDS]: Remove conditional code.
28613 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28614 <kernel-features.h>.
28615 [__ASSUME_32BITUIDS]: Make code unconditional.
28616 [!__ASSUME_32BITUIDS]: Remove conditional code.
28617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28618 <kernel-features.h>.
28619 [__ASSUME_32BITUIDS]: Make code unconditional.
28620 [!__ASSUME_32BITUIDS]: Remove conditional code.
28621 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28622 <kernel-features.h>.
28623 [__ASSUME_32BITUIDS]: Make code unconditional.
28624 [!__ASSUME_32BITUIDS]: Remove conditional code.
28625 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28626 <kernel-features.h>.
28627 [__ASSUME_32BITUIDS]: Make code unconditional.
28628 [!__ASSUME_32BITUIDS]: Remove conditional code.
28629 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28630 <kernel-features.h>.
28631 [__NR_setresgid] (__setresgid): Do not declare.
28632 [__ASSUME_32BITUIDS]: Make code unconditional.
28633 [!__ASSUME_32BITUIDS]: Remove conditional code.
28634 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28635 <kernel-features.h>.
28636 [__NR_setresuid] (__setresuid): Do not declare.
28637 [__ASSUME_32BITUIDS]: Make code unconditional.
28638 [!__ASSUME_32BITUIDS]: Remove conditional code.
28639 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28640 <kernel-features.h>.
28641 [__ASSUME_32BITUIDS]: Make code unconditional.
28642 [!__ASSUME_32BITUIDS]: Remove conditional code.
28643 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28644 <kernel-features.h>.
28645 [__ASSUME_32BITUIDS]: Make code unconditional.
28646 [!__ASSUME_32BITUIDS]: Remove conditional code.
28647 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28648 <kernel-features.h>.
28649 [__ASSUME_32BITUIDS]: Make code unconditional.
28650 [!__ASSUME_32BITUIDS]: Remove conditional code.
28651 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28652 <kernel-features.h>.
28653 [__ASSUME_32BITUIDS]: Make code unconditional.
28654 [!__ASSUME_32BITUIDS]: Remove conditional code.
28655 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28656 <kernel-features.h>.
28657 [__ASSUME_32BITUIDS]: Make code unconditional.
28658 [!__ASSUME_32BITUIDS]: Remove conditional code.
28659 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28660 <kernel-features.h>.
28661 [__ASSUME_32BITUIDS]: Make code unconditional.
28662 [!__ASSUME_32BITUIDS]: Remove conditional code.
28663 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28664 <kernel-features.h>.
28665 [__ASSUME_32BITUIDS]: Make code unconditional.
28666 [!__ASSUME_32BITUIDS]: Remove conditional code.
28667 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28668 <kernel-features.h>.
28669 [__ASSUME_32BITUIDS]: Make code unconditional.
28670 [!__ASSUME_32BITUIDS]: Remove conditional code.
28671 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28672 <kernel-features.h>.
28673 [__ASSUME_32BITUIDS]: Make code unconditional.
28674 [!__ASSUME_32BITUIDS]: Remove conditional code.
28675 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28676 <kernel-features.h>.
28677 [__ASSUME_32BITUIDS]: Make code unconditional.
28678 [!__ASSUME_32BITUIDS]: Remove conditional code.
28679 * sysdeps/unix/sysv/linux/kernel-features.h
28680 (__ASSUME_SETRESUID_SYSCALL): Remove.
28681 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28682 (__ASSUME_32BITUIDS): Likewise.
28683 (__ASSUME_LDT_WORKS): Likewise.
28684 (__ASSUME_O_DIRECTORY): Likewise.
28685 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28686 architecture but not kernel version.
28687 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28688 (__ASSUME_MMAP2_SYSCALL): Likewise.
28689 (__ASSUME_STAT64_SYSCALL): Likewise.
28690 (__ASSUME_IPC64): Likewise.
28691 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28692 <kernel-features.h>.
28693 [__ASSUME_32BITUIDS]: Make code unconditional.
28694 [!__ASSUME_32BITUIDS]: Remove conditional code.
28695 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28696 <kernel-features.h>.
28697 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28698 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28699 132096]: Remove conditional code.
28700 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28701 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28702 <kernel-features.h>.
28703 [__ASSUME_32BITUIDS]: Make code unconditional.
28704 [!__ASSUME_32BITUIDS]: Remove conditional code.
28705 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28706 <kernel-features.h>.
28707 [__ASSUME_32BITUIDS]: Make code unconditional.
28708 [!__ASSUME_32BITUIDS]: Remove conditional code.
28709 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28710 <kernel-features.h>.
28711 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28712 unconditional.
28713 (__setresgid): Do not declare.
28714 [__ASSUME_32BITUIDS]: Make code unconditional.
28715 [!__ASSUME_32BITUIDS]: Remove conditional code.
28716 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28717 <kernel-features.h>.
28718 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28719 unconditional.
28720 (__setresuid): Do not declare.
28721 [__ASSUME_32BITUIDS]: Make code unconditional.
28722 [!__ASSUME_32BITUIDS]: Remove conditional code.
28723 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28724 <kernel-features.h>.
28725 [__ASSUME_32BITUIDS]: Make code unconditional.
28726 [!__ASSUME_32BITUIDS]: Remove conditional code.
28727 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28728 <kernel-features.h>.
28729 [__ASSUME_32BITUIDS]: Make code unconditional.
28730 [!__ASSUME_32BITUIDS]: Remove conditional code.
28731
287322012-05-25 Richard Henderson <rth@twiddle.net>
28733
28734 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28735 dl_hwcap to ifunc resolver.
28736 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28737 elf_ifunc_invoke.
28738 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28739 dl_hwcap to ifunc resolver.
28740 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28741
287422012-05-24 Joseph Myers <joseph@codesourcery.com>
28743
28744 [BZ #14153]
28745 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28746 for |x| <= 2**-26, not 2**-57.
28747 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28748 exception.
28749
287502012-05-24 Jeff Law <law@redhat.com>
28751
28752 * stdio-common/Makefile (tests): Add bug25.
28753 * stdio-common/bug25.c: New test.
28754
287552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 [BZ #13576]
28758 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28759 multiple of MALLOC_ALIGNMENT in size.
28760 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28761
287622012-05-24 Joseph Myers <joseph@codesourcery.com>
28763
28764 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28765 Require >= 256.
28766 (FILENAME_MAX): Use macro-int-constant.
28767 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28768 (_IOFBF): Use macro-int-constant.
28769 (_IOLBF): Likewise.
28770 (_IONBF): Likewise.
28771 (SEEK_CUR): Likewise.
28772 (SEEK_END): Likewise.
28773 (SEEK_SET): Likewise.
28774 (TMP_MAX): Likewise.
28775 (EOF): Use macro-int-constant. Require < 0.
28776 (NULL): Use macro-constant. Require == 0.
28777 (stdin): Require type to be FILE *.
28778 (stdout): Likewise.
28779 (stderr): Likewise.
28780 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28781 macro-int-constant.
28782 (EXIT_SUCCESS): Likewise.
28783 (NULL): Use macro-constant. Require == 0.
28784 (RAND_MAX): Use macro-int-constant.
28785 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28786 [C99-based standards] (strtof): Require function.
28787 [C99-based standards] (strtold): Likewise.
28788 [C99-based standards] (strtoll): Likewise.
28789 [C99-based standards] (strtoull): Likewise.
28790 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28791 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28792 [ISO || ISO99 || ISO11] (math.h): Likewise.
28793 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28794 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28796
287972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28798
28799 [BZ #14132]
28800 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28801 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28802 * intl/dgettext.c (DCGETTEXT): Likewise.
28803 * intl/gettext.c (DCGETTEXT): Likewise.
28804 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28805 * posix/regex_internal.h (gettext): Likewise.
28806 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28807 Remove declaration.
28808 * include/argz.h (__argz_count_internal)
28809 (__argz_stringify_internal): Remove declaration.
28810 (__argz_count, __argz_stringify): Declare hidden proto.
28811 * intl/dcgettext.c: Remove use of INTDEF.
28812 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28813 * string/argz-stringify.c: Likewise.
28814 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28815 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28816 Declare hidden proto.
28817 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28818 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28819 Declare hidden proto.
28820 * include/stdio.h (__asprintf_internal): Don't declare.
28821 (__asprintf): Don't define as macro. Declare hidden proto.
28822 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28823 (__fsetlocking): Declare hidden proto.
28824 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28825 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28826 hidden proto.
28827 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28828 (_IO_setlinebuf): Remove use of INTUSE.
28829 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28830 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28831 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28832 Remove declaration.
28833 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28834 (_IO_do_flush): Remove use of INTUSE.
28835 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28836 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28837 (_IO_adjust_column, _IO_least_wmarker)
28838 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28839 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28840 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28841 (_IO_default_doallocate, _IO_wdefault_doallocate)
28842 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28843 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28844 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28845 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28846 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28847 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28848 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28849 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28850 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28851 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28852 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28853 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28854 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28855 proto.
28856 (_IO_flush_all_internal, _IO_adjust_column_internal)
28857 (_IO_default_uflow_internal, _IO_default_finish_internal)
28858 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28859 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28860 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28861 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28862 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28863 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28864 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28865 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28866 (_IO_file_close_internal, _IO_file_close_it_internal)
28867 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28868 (_IO_file_init_internal, _IO_file_attach_internal)
28869 (_IO_file_fopen_internal, _IO_file_read_internal)
28870 (_IO_file_sync_internal, _IO_file_seek_internal)
28871 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28872 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28873 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28874 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28875 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28876 (_IO_list_all_internal, _IO_link_in_internal)
28877 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28878 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28879 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28880 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28881 (_IO_do_write_internal, _IO_padn_internal)
28882 (_IO_getline_info_internal, _IO_getline_internal)
28883 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28884 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28885 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28886 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28887 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28888 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28889 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28890 with libc_hidden_ver, remove use of INTUSE.
28891 * libio/genops.c: Likewise.
28892 * libio/freopen.c: Likewise.
28893 * libio/freopen64.c: Likewise.
28894 * libio/iofclose.c: Likewise.
28895 * libio/iofdopen.c: Likewise.
28896 * libio/iofflush.c: Likewise.
28897 * libio/iofflush_u.c: Likewise.
28898 * libio/iofgets.c: Likewise.
28899 * libio/iofgets_u.c: Likewise.
28900 * libio/iofopen.c: Likewise.
28901 * libio/iofopncook.c: Likewise.
28902 * libio/iofread.c: Likewise.
28903 * libio/iofread_u.c: Likewise.
28904 * libio/ioftell.c: Likewise.
28905 * libio/iofwrite.c: Likewise.
28906 * libio/iogetline.c: Likewise.
28907 * libio/iogets.c: Likewise.
28908 * libio/iogetwline.c: Likewise.
28909 * libio/iopadn.c: Likewise.
28910 * libio/iopopen.c: Likewise.
28911 * libio/ioseekoff.c: Likewise.
28912 * libio/ioseekpos.c: Likewise.
28913 * libio/iosetbuffer.c: Likewise.
28914 * libio/iosetvbuf.c: Likewise.
28915 * libio/ioungetc.c: Likewise.
28916 * libio/ioungetwc.c: Likewise.
28917 * libio/iovdprintf.c: Likewise.
28918 * libio/iovsprintf.c: Likewise.
28919 * libio/iovsscanf.c: Likewise.
28920 * libio/memstream.c: Likewise.
28921 * libio/obprintf.c: Likewise.
28922 * libio/oldfileops.c: Likewise.
28923 * libio/oldiofclose.c: Likewise.
28924 * libio/oldiofdopen.c: Likewise.
28925 * libio/oldiofopen.c: Likewise.
28926 * libio/oldiopopen.c: Likewise.
28927 * libio/oldstdfiles.c: Likewise.
28928 * libio/putc.c: Likewise.
28929 * libio/setbuf.c: Likewise.
28930 * libio/setlinebuf.c: Likewise.
28931 * libio/stdfiles.c: Likewise.
28932 * libio/strops.c: Likewise.
28933 * libio/vasprintf.c: Likewise.
28934 * libio/vscanf.c: Likewise.
28935 * libio/vsnprintf.c: Likewise.
28936 * libio/vswprintf.c: Likewise.
28937 * libio/wfiledoalloc.c: Likewise.
28938 * libio/wfileops.c: Likewise.
28939 * libio/wgenops.c: Likewise.
28940 * libio/wmemstream.c: Likewise.
28941 * libio/wstrops.c: Likewise.
28942 * libio/__fpurge.c: Likewise.
28943 * libio/__fsetlocking.c: Likewise.
28944 * assert/assert.c: Likewise.
28945 * debug/fgets_chk.c: Likewise.
28946 * debug/fgets_u_chk.c: Likewise.
28947 * debug/fread_chk.c: Likewise.
28948 * debug/fread_u_chk.c: Likewise.
28949 * debug/gets_chk.c: Likewise.
28950 * debug/obprintf_chk.c: Likewise.
28951 * debug/vasprintf_chk.c: Likewise.
28952 * debug/vdprintf_chk.c: Likewise.
28953 * debug/vsnprintf_chk.c: Likewise.
28954 * debug/vsprintf_chk.c: Likewise.
28955 * malloc/mtrace.c: Likewise.
28956 * misc/error.c: Likewise.
28957 * misc/syslog.c: Likewise.
28958 * stdio-common/asprintf.c: Likewise.
28959 * stdio-common/fxprintf.c: Likewise.
28960 * stdio-common/getw.c: Likewise.
28961 * stdio-common/isoc99_fscanf.c: Likewise.
28962 * stdio-common/isoc99_scanf.c: Likewise.
28963 * stdio-common/isoc99_vfscanf.c: Likewise.
28964 * stdio-common/isoc99_vscanf.c: Likewise.
28965 * stdio-common/isoc99_vsscanf.c: Likewise.
28966 * stdio-common/printf-prs.c: Likewise.
28967 * stdio-common/printf_fp.c: Likewise.
28968 * stdio-common/printf_fphex.c: Likewise.
28969 * stdio-common/printf_size.c: Likewise.
28970 * stdio-common/putw.c: Likewise.
28971 * stdio-common/scanf.c: Likewise.
28972 * stdio-common/sprintf.c: Likewise.
28973 * stdio-common/tmpfile.c: Likewise.
28974 * stdio-common/vfprintf.c: Likewise.
28975 * stdio-common/vfscanf.c: Likewise.
28976 * stdlib/strfmon_l.c: Likewise.
28977 * sunrpc/openchild.c: Likewise.
28978 * sunrpc/xdr_stdio.c: Likewise.
28979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28980 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28981
289822012-05-24 Roland McGrath <roland@hack.frob.com>
28983
28984 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28985
28986 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28987 in the third column, to generate for the shared library an IFUNC
28988 that uses _dl_vdso_vsym.
28989 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28990 * Makeconfig (object-suffixes-noshared): New variable.
28991
28992 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28993 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28994 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28995 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28996
28997 [BZ #14132]
28998 * include/sys/time.h (__gettimeofday): Remove macro.
28999 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29000 * time/gettimeofday.c (__gettimeofday): Remove #undef.
29001 Remove INTDEF.
29002 (__gettimeofday): Add libc_hidden_def.
29003 (gettimeofday): Add libc_hidden_weak.
29004 * sysdeps/mach/gettimeofday.c: Likewise.
29005 * sysdeps/posix/gettimeofday.c: Likewise.
29006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29007 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29009 (__gettimeofday_internal): Remove strong_alias.
29010 (__gettimeofday): Add libc_hidden_def.
29011 (gettimeofday): Add libc_hidden_weak.
29012 * sysdeps/unix/syscalls.list (gettimeofday):
29013 Remove __gettimeofday_internal alias.
29014
290152012-05-24 Daniel Jacobowitz <drow@false.org>
29016 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 [BZ #12495]
29019 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29020 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29021 (largebin_index_32_big): New.
29022 (largebin_index): Use it for 16-byte alignment.
29023 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
29024 correction with front_misalign.
29025
290262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29027
29028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29030 Likewise.
29031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29032 Likewise.
29033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29034 Likewise.
29035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29036 Likewise.
29037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29038 Likewise.
29039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29040 Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29042 Likewise.
29043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29044 Likewise.
29045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29046 Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29048 Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29050 Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29052 Likewise.
29053
29054 * scripts/data/c++-types-x32-linux-gnu.data: New file.
29055 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29056
290572012-05-24 Joseph Myers <joseph@codesourcery.com>
29058
29059 [BZ #10846]
29060 [BZ #14036]
29061 * math/libm-test.inc (exp_test): Add test from bug 14036.
29062 (pow_test): Add test from bug 10846.
29063
29064 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29065 and other flags.
29066 (special_function): Do not include flags in test name.
29067 (parse_args): Likewise.
29068 * sysdeps/i386/fpu/libm-test-ulps: Update.
29069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29073
29074 * math/gen-libm-test.pl (%beautify): Add entries for underflow
29075 exceptions.
29076 * math/libm-test.inc ("Philosophy"): Update comment about
29077 exception testing.
29078 (UNDERFLOW_EXCEPTION): New macro.
29079 (UNDERFLOW_EXCEPTION_OK): Likewise.
29080 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29081 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29082 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29083 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29084 (INVALID_EXCEPTION_OK): Update value.
29085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29086 (OVERFLOW_EXCEPTION_OK): Likewise.
29087 (IGNORE_ZERO_INF_SIGN): Likewise.
29088 (test_exceptions): Handle underflow exceptions.
29089 (acos_test): Update for underflow exception expectations.
29090 (cexp_test): Likewise.
29091 (clog_test): Likewise.
29092 (clog10_test): Likewise.
29093 (csqrt_test): Likewise.
29094 (ctan_test): Likewise.
29095 (ctanh_test): Likewise.
29096 (exp_test): Likewise.
29097 (exp10_test): Likewise.
29098 (exp2_test): Likewise.
29099 (expm1_test): Likewise.
29100 (fma_test): Likewise.
29101 (j0_test): Likewise.
29102 (jn_test): Likewise.
29103 (nexttoward_test): Likewise.
29104 (pow_test): Likewise.
29105 (scalbn_test): Likewise.
29106 (scalbln_test): Likewise.
29107 (tan_test): Likewise.
29108 (y1_test): Likewise.
29109 * sysdeps/i386/fpu/libm-test-ulps: Update.
29110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29111
291122012-05-23 David S. Miller <davem@davemloft.net>
29113
29114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29115 (__libc_sigaction): Remove unused local variables.
29116
291172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29118
29119 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29120
291212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
29122
29123 mktime: avoid signed integer overflow
29124 * time/mktime.c (__mktime_internal): Do not mishandle the case
29125 where diff == INT_MIN.
29126
29127 mktime: simplify computation of average
29128 * time/mktime.c (ranged_convert): Use new time_t_avg function
29129 instead of rolling our own (probably-slower) code.
29130
29131 mktime: do not assume signed right shift propagates sign bit
29132 * time/mktime.c (isdst_differ): New static function.
29133 (__mktime_internal): No need to normalize tm_isdst now.
29134 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29135 tm_isdst values.
29136
29137 mktime: merge another wrapv change from gnulib
29138 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29139 from some compilers.
29140
29141 mktime: remove incorrect attempt at unusual arithmetics
29142 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29143 The code didn't really work on such machines anyway.
29144 (TYPE_MINIMUM): Assume two's complement.
29145 (twos_complement_arithmetic): Verify that long_int and time_t
29146 are two's complement (or unsigned, in the latter case).
29147
29148 mktime: check signed shifts on long_int and time_t, too
29149 * time/mktime.c (SHR): Check that shifts work as desired
29150 on the types long_int and time_t too, as SHR is used on
29151 such types.
29152
29153 mktime: do not assume 'long' is wide enough
29154 * time/mktime.c (verify): Move decl up.
29155 (long_int): New type.
29156 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29157 to remove assumption in the code that 'long' is wide enough to
29158 store year values. This assumption is not true on x32 and on
29159 some non-glibc platforms.
29160
29161 mktime: merge wrapv change from gnulib
29162 * time/mktime.c (WRAPV): New macro.
29163 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29164 (guess_time_tm, __mktime_internal): Do not assume that signed
29165 integer overflow wraps around; modern compilers generate code
29166 where this assumption is no longer valid.
29167
291682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29169
29170 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29171 Replace "jmp L(pseudo_end)" with "ret".
29172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29173 Likewise.
29174
291752012-05-23 Andreas Jaeger <aj@suse.de>
29176
29177 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29178 * sysdeps/unix/sysv/linux/poll.c: Remove file.
29179
291802012-05-23 Andreas Jaeger <aj@suse.de>
29181 Maximilian Attems <max@stro.at>
29182
29183 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29184 New macros.
29185
291862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
29187
29188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29189 code so that pseudo_end is just ret and the stack pointer is
29190 correct also for static library in error case.
29191
291922012-05-23 Joseph Myers <joseph@codesourcery.com>
29193
29194 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29195 move to syscalls.list.
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29200
29201 * manual/install.texi (Running make install): Do not mention Linux
29202 kernel version for which pt_chown is not needed.
29203 (Linux): Do not mention problems with nscd with 2.0 kernels.
29204 * INSTALL: Regenerated.
29205
292062012-05-23 Andreas Jaeger <aj@suse.de>
29207
29208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29209 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29210 macro.
29211 * sysdeps/unix/sysv/linux/s390/bits/mman.h
29212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29213 * sysdeps/unix/sysv/linux/sh/bits/mman.h
29214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29215 * sysdeps/unix/sysv/linux/i386/bits/mman.h
29216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29221 * sysdeps/unix/sysv/linux/bits/in.h
29222 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29223
292242012-05-22 Roland McGrath <roland@hack.frob.com>
29225
29226 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29227 (PREPARE_VERSION): Just use assert instead, it will be elided
29228 under [NDEBUG] anyway.
29229
292302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29231
29232 * sysdeps/unix/sysv/linux/Makefile: Include
29233 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29234 (sysdep_routines): Remove sysctl.
29235 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29236 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29239 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29240
292412012-05-22 Andreas Jaeger <aj@suse.de>
29242
29243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29244 that pseudo_end is just ret and the stack pointer is correct also
29245 for static library in error case.
29246
292472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29248
29249 [BZ #14122]
29250 * nss/nsswitch.c (defconfig_entries): New variable.
29251 (__nss_database_lookup): Don't leak defconfig entries.
29252 (nss_parse_service_list): Don't leak on error paths.
29253 (free_database_entries): New function.
29254 (free_defconfig): New function.
29255 (free_mem): Move common code to free_database_entries.
29256
292572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29260 Add arch_prctl.
29261 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29262
29263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29264 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29266 New macro.
29267 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29268 (INTERNAL_SYSCALL_TYPES): Likewise.
29269 (LOAD_ARGS_TYPES_[1-6]): Likewise.
29270 (LOAD_REGS_TYPES_[1-6]): Likewise.
29271 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29272 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29273
292742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29275
29276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29277 copysignl for GLIBC_2_0.
29278 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29279 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29281 logbl for GLIBC_2_0.
29282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29283 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29284
292852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29286
29287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29289
29290 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29291 Use "neg %eax".
29292
29293 * time/mktime.c: Update copyright years.
29294
292952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
29296
29297 mktime: merge comment-quoting-style change from gnulib
29298 * time/mktime.c: Quote 'like this' in comments.
29299 The GNU coding standards suggest that we no longer quote `like this',
29300 as "`" and "'" are typically rendered asymmetrically nowadays.
29301 The typical gnulib style is to quote 'like this' when quoting
29302 code, and "like this" when quoting English.
29303
29304 * time/mktime.c (compile-command): Add "-I.".
29305
29306 mktime: merge mktime-internal.h change from gnulib
29307 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29308
29309 mktime: merge time_r change from gnulib
29310 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29311
29312 mktime: merge DEBUG change from gnulib
29313 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29314 case system <time.h> has a #define.
29315
29316 mktime: merge <sys/types.h> change from gnulib
29317 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29318 since <time.t> is now guaranteed to define time_t.
29319
29320 mktime: merge HAVE_CONFIG_H change from gnulib
29321 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29322
293232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29326 Use "neg %eax".
29327
29328 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29329 __rlim_t cast.
29330 (struct rusage): Use anonymous union to pad each field to
29331 __syscall_slong_t.
29332
293332012-05-21 David S. Miller <davem@davemloft.net>
29334
29335 * Makefules (o-iterator): Remove .s cases.
29336 (compile-command.s): Delete.
29337 (COMPILE.s): Delete.
29338 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29339
293402012-05-21 Joseph Myers <joseph@codesourcery.com>
29341
29342 * configure.in (libc_cv_predef_stack_protector): Only consider
29343 "foobar" and "__stack_chk_fail" lines in libc_undefs.
29344 * configure: Regenerated.
29345
293462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29347
29348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29349 New macro. Use R*LP on int and pointer.
29350 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29351 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29352 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29353 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29354
29355 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29356 [__WORDSIZE_TIME64_COMPAT32] instead of
29357 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29358 (struct utmp): Likewise.
29359 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29360 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29361 Renamed to ...
29362 (__WORDSIZE_TIME64_COMPAT32): This.
29363 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29364 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29365 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29366 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29367 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29368 (__WORDSIZE_TIME64_COMPAT32): New macro.
29369
293702012-05-21 Andreas Jaeger <aj@suse.de>
29371
29372 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29373 only if [SHARED]. Add prototype for __wcschr_ia32.
29374
293752012-05-21 Roland McGrath <roland@hack.frob.com>
29376
29377 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29378 of %rbp unmolested in the jmp_buf while mangling the low bits.
29379 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29380 unmolested high bits of %rbp while demangling the low bits.
29381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29382
293832012-05-21 Andreas Jaeger <aj@suse.de>
29384
29385 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29386 * sunrpc/svc_simple.c: Use it for registerrpc.
29387 * sunrpc/xcrypt.c: Use it for passwd2des.
29388
29389 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29390
293912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29394 Don't define if [__SYSCALL_WORDSIZE != 32].
29395 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29396 New macro.
29397
293982012-05-21 Bruno Haible <bruno@clisp.org>
29399 Andreas Jaeger <aj@suse.de>
29400
29401 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29402 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29403 inptr and inend for must_buffer_ch.
29404 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29405 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29406 * stdio-common/Makefile (tests): Remove bug15.
29407 (bug15-ENV): Remove macro.
29408 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29409 anymore.
29410
294112012-05-19 Andreas Jaeger <aj@suse.de>
29412 Roland McGrath <roland@hack.frob.com>
29413
29414 * manual/contrib.texi: Completely rewritten. It contains now an
29415 alphabetical list of contributors and their contributions.
29416
294172012-05-21 Richard Henderson <rth@twiddle.net>
29418
29419 * misc/getauxval.c (__getauxval): Use unsigned long int.
29420 * misc/sys/auxv.h: Include <sys/cdefs.h>.
29421 (getauxval): Use unsigned long int.
29422
294232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29426
294272012-05-21 Roland McGrath <roland@hack.frob.com>
29428
29429 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29430 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29431 __alignof__ (long double).
29432
294332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29434
29435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29436
294372012-05-20 Richard Henderson <rth@twiddle.net>
29438
29439 * misc/getauxval.c: New file.
29440 * misc/sys/auxv.h: New file.
29441 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29442 (routines): Add getauxval.
29443 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29444 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29445 * elf/dl-sysdep.c (_dl_auxv): Remove.
29446 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29447 * elf/dl-support.c (_dl_auxv): New variable.
29448 (_dl_aux_init): Initialize it.
29449 * manual/startup.texi (Auxiliary Vector): New node.
29450 * sysdeps/generic/bits/hwcap.h: New file.
29451 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29452 * sysdeps/powerpc/sysdep.h: ... here. Include it.
29453 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29454 * sysdeps/sparc/sysdep.h: ... here. Include it.
29455 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29458 Update.
29459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29467
294682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29469
29470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29471
294722012-05-19 David S. Miller <davem@davemloft.net>
29473
29474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29475
294762012-05-19 Joseph Myers <joseph@codesourcery.com>
29477
29478 [BZ #14123]
29479 * math/s_ccosh.c: Include <float.h>
29480 (__ccosh): Avoid internal overflow calculating sinh and cosh
29481 values before multiplying by sin and cos values.
29482 * math/s_ccoshf.c: Likewise.
29483 * math/s_ccoshl.c: Likewise.
29484 * math/s_csin.c: Likewise.
29485 * math/s_csinf.c: Likewise.
29486 * math/s_csinl.c: Likewise.
29487 * math/s_csinh.c: Likewise.
29488 * math/s_csinhf.c: Likewise.
29489 * math/s_csinhl.c: Likewise.
29490 * math/libm-test.inc (ccos_test): Add more tests.
29491 (ccosh_test): Likewise.
29492 (csin_test): Likewise.
29493 (csinh_test): Likewise.
29494 * sysdeps/i386/fpu/libm-test-ulps: Update.
29495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29496
294972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
29498
29499 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29500 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29501
29502 * sysdeps/x86_64/x32/_itoa.h: Add comment.
29503
295042012-05-19 Joseph Myers <joseph@codesourcery.com>
29505
29506 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29507 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29508 * sysdeps/powerpc/soft-fp/Versions: Likewise.
29509 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29510 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29511 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29512 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29513 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29514 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29515 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29516 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29517 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29518 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29519 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29520 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29521 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29522 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29523 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29524 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29525 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29526 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29527 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29528 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29529 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29530 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29531 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29532 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29533 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29534 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29535 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29536 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29537
295382012-05-18 Andreas Jaeger <aj@suse.de>
29539
29540 * csu/.gitignore: Delete.
29541
295422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29543
29544 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29545 (timex): Use __syscall_slong_t.
29546
295472012-05-18 Andreas Jaeger <aj@suse.de>
29548 Carlos O'Donell <carlos_odonell@mentor.com>
29549
29550 * manual/install.texi (Configuring and compiling): Update
29551 description about files modified in the source directory.
29552 * INSTALL: Regenerated.
29553
295542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29555
29556 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29557 value. Use "or" to set return value to -1.
29558 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29559 negate return value.
29560
295612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29562
29563 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29564 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29565 failure if the compiler has Graphite support disabled.
29566 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29567 Likewise.
29568 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29569 (CFLAGS-memmove.c): Likewise.
29570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29571 Likewise.
29572
295732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 * sysdeps/x86_64/x32/_itoa.h: New file.
29576
29577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29578 getdents system call only if kernel and user dirents have the
29579 same d_ino and d_off.
29580
29581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29582 LLONG_MAX != LONG_MAX.
29583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29584 (_fitoa_word): Likewise.
29585
29586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29587 years.
29588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29589 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29591
29592 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29593 include <bits/wordsize.h>. Check __x86_64__ instead of
29594 __WORDSIZE.
29595 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29596 if __x86_64__ is defined. Use anonymous union on fpstate.
29597
29598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29599 anonymous union.
29600
296012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29602
29603 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29604 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29605 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29606 Refer to _rtld_local_ro instead of _rtld_global_ro.
29607 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29608 Likewise.
29609 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29610 Likewise.
29611 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29612 Likewise.
29613 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29614 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29615 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29616
29617 * sysdeps/powerpc/powerpc32/dl-machine.c
29618 (__elf_machine_runtime_setup) [PROF]: Don't reference
29619 _dl_prof_resolve.
29620
296212012-05-18 Andreas Jaeger <aj@suse.de>
29622
29623 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29624 function only available for GCCs before 3.4 since GCC 3.4
29625 introduced a builtin.
29626 (lrint): Likewise.
29627 (llrintf): Likewise.
29628 (llrint): Likewise.
29629 (fmaxf): Likewise.
29630 (fmax): Likewise.
29631 (fminf): Likewise.
29632 (fmin): Likewise.
29633 (rint): Likewise.
29634 (rintf): Likewise.
29635 (nearbyint): Likewise.
29636 (nearbyintf): Likewise.
29637 (ceil): Likewise.
29638 (ceilf): Likewise.
29639 (floor): Likewise.
29640 (floorf): Likewise.
29641
296422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29643
29644 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29645 on both fields and cast pointer to __syscall_ulong_t.
29646
29647 * bits/types.h (__fsword_t): New type.
29648 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29649 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29651 (__FSWORD_T_TYPE): Likewise.
29652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29653 (__FSWORD_T_TYPE): Likewise.
29654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29655 (__FSWORD_T_TYPE): Likewise.
29656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29657 (__FSWORD_T_TYPE): Likewise.
29658 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29659 __SWORD_TYPE with __fsword_t.
29660 (statfs64): Likewise.
29661
296622012-05-17 David S. Miller <davem@davemloft.net>
29663
29664 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29665
296662012-05-17 Andreas Jaeger <aj@suse.de>
29667
29668 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29669 warning.
29670
296712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29672
29673 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29674
296752012-05-17 Andreas Jaeger <aj@suse.de>
29676
29677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29678 when it is used.
29679
296802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29681
29682 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29683
296842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29685
29686 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29687 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29688
296892012-05-17 Andreas Jaeger <aj@suse.de>
29690 Carlos O'Donell <carlos_odonell@mentor.com>
29691
29692 [BZ #14059]
29693 * sysdeps/x86_64/multiarch/init-arch.h
29694 (bit_YMM_Usable): Rename to...
29695 (bit_AVX_Usable): ... this.
29696 (bit_FMA4_Usable): New macro.
29697 (bit_XMM_state): New macro.
29698 (bit_YMM_state): New macro.
29699 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29700 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29701 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29702 (CPUID_OSXSAVE): New macro.
29703 (CPUID_AVX): New macro.
29704 (CPUID_FMA4): New macro.
29705 (index_YMM_Usable): Rename to...
29706 (index_AVX_Usable): ... this.
29707 (HAS_AVX): Use HAS_ARCH_FEATURE.
29708 (HAS_FMA4): Likewise.
29709 (HAS_YMM_USABLE): Remove.
29710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29711 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29712 are present.
29713 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29714 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29715 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29716 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29717 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29718
297192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29720
29721 * math/libm-test.c: Support platforms without multiple rounding modes.
29722 * math/bug-nextafter.c: Support platforms without FP exceptions.
29723 * math/bug-nexttoward.c: Likewise.
29724 * math/test-fenv.c: Likewise.
29725 * math/test-misc.c: Likewise.
29726 * stdlib/bug-getcontext.c: Likewise.
29727
297282012-05-17 Andreas Jaeger <aj@suse.de>
29729
29730 * manual/examples/search.c (critter_cmp): Change signature to
29731 avoid warnings.
29732 * manual/string.texi (Collation Functions): Likewise.
29733
297342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29735
29736 * bits/types.h: Fold copyright years.
29737 * bits/typesizes.h: Likewise.
29738 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29742 * time/time.h: Likewise.
29743
297442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29745
29746 [BZ #208]
29747 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29748 in instead of returning them. Return void.
29749 (__libc_mallinfo): Accumulate over all arenas.
29750 (__malloc_stats): Adjust for change in int_mallinfo interface.
29751
297522012-05-16 Roland McGrath <roland@hack.frob.com>
29753
29754 [BZ #10375]
29755 * configure.in (NM): Add AC_CHECK_TOOL for it.
29756 (libc_extra_cflags): New substituted variable.
29757 Check for -fstack-protector being used implicitly.
29758 * configure: Regenerated.
29759 * config.make.in (config-extra-cflags): New variable,
29760 gets @libc_extra_cflags@.
29761 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29762
29763 [BZ #10375]
29764 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29765 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29766 * configure: Regenerated.
29767 * config.make.in (CPPUNDEFS): New substituted variable.
29768 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29769 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29770 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29771
297722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29775 (mq_attr): Use __syscall_slong_t.
29776
297772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29778
29779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29780 Check __x86_64__ instead of __WORDSIZE.
29781 (_STAT_VER_LINUX): Likewise.
29782 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29783 __syscall_ulong_t and __syscall_slong_t.
29784 (stat64): Likewise.
29785
297862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29789
297902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29791
29792 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29793
297942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29795
29796 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29797 __syscall_ulong_t.
29798
29799 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29800 include <bits/wordsize.h>. Check __x86_64__ instead of
29801 __WORDSIZE.
29802 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29803 defined.
29804 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29805
29806 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29807 include <bits/wordsize.h>. Check __x86_64__ instead of
29808 __WORDSIZE.
29809 (user_regs_struct): Use "__extension__ unsigned long long"
29810 instead of "unsigned long" if __x86_64__ is defined.
29811 (user): Likewise. Pad after pointer field if __ILP32__ is
29812 defined.
29813
298142012-05-16 Joseph Myers <joseph@codesourcery.com>
29815
29816 * configure.in (makeinfo): Require version 4.5 or later. Allow
29817 versions 5 to 9.
29818 * configure: Regenerated.
29819 * manual/install.texi (texinfo): Increase version requirement to
29820 4.5 or later.
29821 * INSTALL: Regenerated.
29822
29823 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29824
298252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29826
29827 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29828
29829 * sysdeps/x86_64/x32/ffs.c: New file.
29830
29831 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29832 __syscall_ulong_t.
29833 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29834 defined. Use __syscall_ulong_t.
29835 (shminfo): Use __syscall_ulong_t.
29836 (shm_info): Likewise.
29837
29838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29839 __syscall_ulong_t.
29840
29841 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29842 <bits/wordsize.h>.
29843 (msgqnum_t): Use __syscall_ulong_t.
29844 (msglen_t): Likewise.
29845 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29846 __syscall_ulong_t.
29847
29848 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29849 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29850
29851 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29852
29853 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29854 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29855
29856 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29857 __syscall_slong_t.
29858
29859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29860 include <bits/wordsize.h>. Check __x86_64__ instead of
29861 __WORDSIZE.
29862
29863 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29864 "unsigned long long int" if __x86_64__ is defined.
29865 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29866
29867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29869 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29870
29871 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29872 <stdint.h>.
29873 (GET_PC): Cast to uintptr_t first.
29874 (GET_FRAME): Likewise.
29875 (GET_STACK): Likewise.
29876
29877 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29878 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29883 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29884 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29885 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29886 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29887 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29890 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29891 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29895 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29896 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29897 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29898 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29899 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29900 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29901 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29903 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29905 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29906
299072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29908
29909 * Makerules (+depfiles): Also collect depfiles from .oS in
29910 $(extra-objs).
29911 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29912 .oS, $(libnldbl-routines)).
29913
29914 * Makerules (native-compile-mkdep-flags): Define.
29915 * sunrpc/Makefile (extra-objs): Add $(addprefix
29916 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29917 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29918 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29919 calling $(make-target-directory).
29920
299212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29922
29923 * bits/types.h (__snseconds_t): Removed.
29924 * time/time.h (struct timespec): Replace __snseconds_t with
29925 __syscall_slong_t.
29926 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29927 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29928 Likewise.
29929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29930 (__SNSECONDS_T_TYPE): Likewise.
29931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29932 (__SNSECONDS_T_TYPE): Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29934 (__SNSECONDS_T_TYPE): Likewise.
29935
299362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29937
29938 * sysdeps/mach/hurd/bits/typesizes.h
29939 (__SYSCALL_SLONG_TYPE): New macro.
29940 (__SYSCALL_ULONG_TYPE): Likewise.
29941
299422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29943
29944 * bits/types.h (__syscall_slong_t): New type.
29945 (__syscall_ulong_t): Likewise.
29946
29947 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29948 (__SYSCALL_ULONG_TYPE): Likewise.
29949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29950 (__SYSCALL_SLONG_TYPE): Likewise.
29951 (__SYSCALL_ULONG_TYPE): Likewise.
29952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29953 (__SYSCALL_SLONG_TYPE): Likewise.
29954 (__SYSCALL_ULONG_TYPE): Likewise.
29955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29956 (__SYSCALL_SLONG_TYPE): Likewise.
29957 (__SYSCALL_ULONG_TYPE): Likewise.
29958
299592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29960
29961 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29962 Add sigaltstack-offsets.sym.
29963 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29964 <sigaltstack-offsets.h>.
29965 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29966 longjmp_msg pointer.
29967 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29968 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29969 signal stack.
29970 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29971
299722012-05-15 Joseph Myers <joseph@codesourcery.com>
29973
29974 * elf/stackguard-macros.h: Remove file.
29975 * sysdeps/generic/stackguard-macros.h: New file.
29976 * sysdeps/i386/stackguard-macros.h: Likewise.
29977 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29978 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29979 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29980 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29981 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29982 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29983 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29984 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29985 <elf/stackguard-macros.h>.
29986
29987 [BZ #14109]
29988 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29989 __aligned__ in attribute.
29990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29991 (gregset_t): Likewise.
29992
299932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29994
29995 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29996 * sysdeps/x86_64/64/Implies-after: Here. New file.
29997 * sysdeps/x86_64/x32/Implies-after: New file.
29998
299992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30000
30001 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30002 and access return value for _dl_profile_fixup. Use R10_LP to
30003 load frame size.
30004
300052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30006
30007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30008
300092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30010
30011 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30012 * sysdeps/x86_64/x32/sysdep.h: New file.
30013
300142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30017 * sysdeps/x86_64/setjmp.S: Likewise.
30018
300192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30020
30021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30023 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30025 remove unused global constant.
30026
300272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
30028
30029 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30030 include of <not-cancel.h>.
30031
300322012-05-15 Roland McGrath <roland@hack.frob.com>
30033
30034 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30035
300362012-05-15 Jeff Law <law@redhat.com>
30037 Andreas Jaeger <aj@suse.de>
30038
30039 [BZ #13594]
30040 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30041 out from...
30042 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30043 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30044 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30045 code changing __hst_map_handle.map.
30046
300472012-05-15 Roland McGrath <roland@hack.frob.com>
30048
30049 * configure.in (sysnames): Look for Implies-before and Implies-after
30050 files.
30051 * configure: Regenerated.
30052
300532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30054
30055 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30056 8-byte data alignment with LP_SIZE alignment.
30057
300582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30061 into R10_LP.
30062
300632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30064
30065 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30066
300672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30068
30069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30070 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30072 Likewise.
30073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30074
300752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30076
30077 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30078 (stackinfo_sub_sp): Likewise.
30079
300802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30081
30082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30083 RAX_LP.
30084
300852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30086
30087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30088 into R*_LP.
30089
300902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30091
30092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30093 sizes into R*_LP.
30094
300952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30096
30097 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30098
300992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30100
30101 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30102 into R11_LP and load __x86_64_shared_cache_size_half into
30103 R8_LP.
30104
301052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
30106
30107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30108 R8_LP.
30109
301102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30111
30112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30113 logb for POWER7.
30114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30115 logbf for POWER7.
30116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30117 logbl for POWER7.
30118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30119 powerpc32/power7/fpu/s_logb.c via #include.
30120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30121 powerpc32/power7/fpu/s_logbf.c via #include.
30122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30123 powerpc32/power7/fpu/s_logbl.c via #include.
30124
301252012-05-15 Joseph Myers <joseph@codesourcery.com>
30126
30127 * README.libm: Remove file.
30128
301292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30130
30131 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30132 count for x32. Use R*_LP and omit operand-size suffix.
30133
301342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30135
30136 * shlib-versions: Move x86_64-.*-linux.* entries to ...
30137 * sysdeps/x86_64/64/shlib-versions: Here. New file.
30138 * sysdeps/x86_64/x32/shlib-versions: New file.
30139
301402012-05-14 Roland McGrath <roland@hack.frob.com>
30141
30142 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30143 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30144 Use _dl_fatal_printf instead.
30145
301462012-05-14 Joseph Myers <joseph@codesourcery.com>
30147
30148 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30149 set if not set by the user. Do not allow for being unset.
30150 * sysdeps/unix/sysv/linux/configure: Regenerated.
30151
301522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30153
30154 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30155 the `q' suffix from lea and replace .quad with ASM_ADDR.
30156
301572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30158
30159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30160 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
30161 instead of $17.
30162 (PTR_DEMANGLE): Likewise.
30163
301642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30165
30166 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30167 (LP_OP): Likewise.
30168 (ASM_ADDR): Likewise.
30169 (RAX_LP): Likewise.
30170 (RBP_LP): Likewise.
30171 (RBX_LP): Likewise.
30172 (RCX_LP): Likewise.
30173 (RDI_LP): Likewise.
30174 (RSI_LP): Likewise.
30175 (RSP_LP): Likewise.
30176 (R8_LP): Likewise.
30177 (R9_LP): Likewise.
30178 (R10_LP): Likewise.
30179 (R10_LP): Likewise.
30180 (R11_LP): Likewise.
30181 (R12_LP): Likewise.
30182 (R13_LP): Likewise.
30183 (R14_LP): Likewise.
30184 (R15_LP): Likewise.
30185
301862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30187
30188 * sysdeps/x86_64/x32/dl-machine.h: New file.
30189
301902012-05-14 Andreas Jaeger <aj@suse.de>
30191
30192 * manual/Makefile (subdir): Remove export of subdir.
30193 (all): Remove target.
30194 (.PHONY): Remove all from list.
30195 (mkinstalldirs): Remove.
30196 (.PHONY): Remove installdirs from list.
30197 ($(inst_infodir)/libc.info): Use make-target-directory.
30198 (installdirs): Remove.
30199 (subdir_%): Remove.
30200 (glibc-targets): Remove.
30201 (lib): Remove.
30202 (stubs): Remove.
30203 ($(objpfx)stubs ../po/manual.pot): Remove.
30204 ($(objpfx)stamp%): Remove.
30205 (make-target-directory): Remove.
30206 (subdir_install): Remove.
30207 (routines): Remove.
30208 (aux): Remove.
30209 (sources): Remove.
30210 (objects): Remove.
30211 (headers): Remove.
30212
30213 [BZ #13750]
30214 * manual/.gitignore: Remove, it's not needed anymore.
30215 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30216 all files in it.
30217 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30218 directory.
30219 (texis): Renamed to $(objpfx)texis.
30220 (texis-path): New, contains path to generated files.
30221 (chapters.%): Use texis-path for complete path, add extra argument
30222 libc-texinfo.sh.
30223 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30224 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30225 (summary,texi, stamp-summary): Use complete path of
30226 files. Generate files in build dir.
30227 (dir-add.texi): Build in build dir.
30228 (libm-err.texi,stamp-libm-err): Likewise.
30229 (version.texi, stamp-version): Likewise.
30230 (.%c.texi): Likewise.
30231 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30232 (mostlyclean): Remove target.
30233 (realclean): Remove target.
30234 (generated): Add new variable with contents from mostlyclean and
30235 realclean, remove entries duplicated in common-mostlyclean, add
30236 stamp-libm-err and stamp-version.
30237 (generated-dirs): Add libc directory.
30238 ($(inst_infodir)/libc.info): Install files from build dir.
30239
30240 * manual/install.texi (Configuring and compiling): Adjust since
30241 the info files are not part of the tar ball anymore.
30242
302432012-05-14 Andreas Jaeger <aj@suse.de>
30244
30245 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30246 variable.
30247
302482012-05-14 Joseph Myers <joseph@codesourcery.com>
30249
30250 [BZ #13717]
30251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30252 to 2.2.0 where earlier.
30253 * sysdeps/unix/sysv/linux/configure: Regenerated.
30254 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30255 Remove conditional code.
30256 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30257 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30258 Remove conditional code.
30259 [!__NR_lchown]: Likewise.
30260 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30261 [__NR_lchown]: Likewise.
30262 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30263 comment referencing __ASSUME_LCHOWN_SYSCALL.
30264 * sysdeps/unix/sysv/linux/i386/sigaction.c
30265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30267 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30268 Remove conditional code.
30269 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30270 (__protocol_available): Remove #if 0 code.
30271 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30272 conditional code.
30273 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30274 * sysdeps/unix/sysv/linux/kernel-features.h
30275 (__ASSUME_GETCWD_SYSCALL): Don't define.
30276 (__ASSUME_REALTIME_SIGNALS): Likewise.
30277 (__ASSUME_PREAD_SYSCALL): Likewise.
30278 (__ASSUME_PWRITE_SYSCALL): Likewise.
30279 (__ASSUME_POLL_SYSCALL): Likewise.
30280 (__ASSUME_LCHOWN_SYSCALL): Likewise.
30281 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30282 non-SPARC.
30283 (__ASSUME_SIOCGIFNAME): Don't define.
30284 (__ASSUME_MSG_NOSIGNAL): Likewise.
30285 (__ASSUME_SENDFILE): Define unconditionally.
30286 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30287 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30288 conditional code.
30289 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30290 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30291 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30292 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30293 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30294 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30295 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30309 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30320 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30321 Remove conditional code.
30322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30323 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30324 Remove conditional code.
30325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30326 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30327 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30328 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30329 Remove conditional code.
30330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30331 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30332 Remove conditional code.
30333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30334 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30335 Remove conditional code.
30336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30337 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30338 Remove conditional code.
30339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30340 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30341 Remove conditional code.
30342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30343 * sysdeps/unix/sysv/linux/sh/pwrite64.c
30344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30346 * sysdeps/unix/sysv/linux/sigaction.c
30347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30349 * sysdeps/unix/sysv/linux/sigpending.c
30350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30352 * sysdeps/unix/sysv/linux/sigprocmask.c
30353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30355 * sysdeps/unix/sysv/linux/sigsuspend.c
30356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30359 (__libc_missing_rt_sigs): Remove.
30360 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30361 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30362 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30363 Remove conditional code.
30364 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30365 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30366 return 1.
30367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30368 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30370 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30371
303722012-05-14 Andreas Jaeger <aj@suse.de>
30373
30374 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30375 it's not used in glibc.
30376 (__coshm1): Likewise.
30377 (__acosh1p): Likewise.
30378 (__sgn): Likewise.
30379
30380 * manual/string.texi (Copying and Concatenation): Add missing
30381 variable in concat example.
30382 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30383
303842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30385
30386 [BZ #14103]
30387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30388 __builtin_clzl with __builtin_clzll.
30389
303902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
30391
30392 [BZ #14104]
30393 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30394 libc_freeres_ptr.
30395
303962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30397
30398 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30399 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30400 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30402
304032012-05-14 Mike Frysinger <vapier@gentoo.org>
30404
30405 * NEWS: Update ia64 info.
30406
304072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
30408
30409 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30410 used as bcopy.
30411
304122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
30413
30414 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30415 * sysdeps/unix/syscalls.list (dup3): Likewise.
30416 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30417 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30418
304192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30420
30421 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30422 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30423
304242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
30425
30426 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30427 thread pointer.
30428 (TLS_IE): Use mov/add instead of movq/addq to load thread
30429 pointer.
30430 (TLS_GD_PREFIX): New.
30431 (TLS_GD): Use it.
30432
304332012-05-11 David S. Miller <davem@davemloft.net>
30434
30435 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30436 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30437 (_FPU_SETCW): Likewise.
30438
304392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30440
30441 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30442 is 32-byte aligned.
30443
304442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
30445
30446 [BZ #11837]
30447 * iconvdata/gb18030.c: Update tables.
30448 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
30449 characters specially.
30450 (BODY for TO_LOOP): Add encoding of missing ranges.
30451
304522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
30453
30454 [BZ #13673]
30455 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30456 * sysdeps/mach/hurd/dup3.c: Likewise.
30457 * sysdeps/mach/hurd/readlinkat.c: Likewise.
30458 * sysdeps/powerpc/memmove.c:: Likewise.
30459
304602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30461
30462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30463 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30464
304652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30466
30467 * elf/elf.h (R_X86_64_RELATIVE64): New.
30468 (R_X86_64_NUM): Updated.
30469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30470 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
30471 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30472 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30473 tst-quad1pie tst-quad2pie
30474 (modules-names): Add tst-quadmod1 tst-quadmod2.
30475 ($(objpfx)tst-quad1): New dependency.
30476 ($(objpfx)tst-quad2): Likewise.
30477 ($(objpfx)tst-quad1pie): Likewise.
30478 ($(objpfx)tst-quad2pie): Likewise.
30479 * sysdeps/x86_64/tst-quad1.c: New file.
30480 * sysdeps/x86_64/tst-quad1pie.c: New file.
30481 * sysdeps/x86_64/tst-quad2.c: Likewise.
30482 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30483 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30484 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30485 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30486 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30487
304882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30489
30490 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30491 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30492 * streams/stropts.h (t_scalar_t): Define type.
30493
30494 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30495 (_PATH_PRESERVE): Set to "/var/lib".
30496 (_PATH_RWHODIR): Set to "/var/spool/rwho".
30497
30498 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30499 instead of int.
30500
30501 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30502 if __dir_mkfile succeeded.
30503
30504 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30505 checking for _hurd_dtablesize. Unlock it right after having
30506 finished _hurd_dtable allocation.
30507
305082012-05-10 Thomas Schwinge <thomas@schwinge.name>
30509
30510 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30511 * sysdeps/mach/hurd/configure: Regenerated.
30512 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30513 special-casing to...
30514 * sysdeps/gnu/configure.in: ... this new file.
30515 * sysdeps/unix/sysv/linux/configure: Regenerated.
30516 * sysdeps/gnu/configure: New generated file.
30517
30518 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30519 for Linux: use nsec instead of usec, as well as:
30520 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30521 members of type struct timespec.
30522 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30523 New macros.
30524 (struct stat64): Likewise.
30525 (_STATBUF_ST_NSEC): New macro.
30526 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30527
30528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30529 __strtoul_internal rather than strtoul.
30530
305312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30532
30533 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30534 and reject them.
30535
305362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30537
30538 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30539 which preserves existing values.
30540 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30541
305422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30543
30544 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30545 TIMEOUT values. Return EINVAL for NFDS values either negative or
30546 greater than FD_SETSIZE.
30547
305482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30549
30550 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30551 allocated, call __vm_protect to finish enabling the existing space, and
30552 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30553 allocate the remainder.
30554
305552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30556
30557 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30558 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
30559
305602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30561
30562 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30563 sysdeps/mach/hurd/readlink.c.
30564
30565 * posix/tst-sysconf.c (posix_options): Only use
30566 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30567 _POSIX_SYNCHRONIZED_IO when they are defined
30568 * sysdeps/mach/hurd/bits/posix_opt.h:
30569 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30570 (_XOPEN_REALTIME): Undefine macro.
30571 (_XOPEN_REALTIME_THREADS): Undefine macro.
30572 (_XOPEN_SHM): Undefine macro.
30573 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30574 macro to -1.
30575 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30576 macro to -1.
30577 (_POSIX_ASYNC_IO): Undefine macro.
30578 (_POSIX_PRIORITIZED_IO): Undefine macro.
30579 (_POSIX_SPIN_LOCKS): Define macro to -1.
30580
30581 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30582 SA_NODEFER, SA_RESETHAND.
30583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30584 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30585 F_DUPFD_CLOEXEC.
30586
305872012-05-10 Thomas Schwinge <thomas@schwinge.name>
30588
30589 * elf/Makefile (pldd-modules): Define unconditionally.
30590
305912012-05-10 Thomas Schwinge <thomas@schwinge.name>
30592
30593 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30594
305952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30596
30597 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30598 Return ENOENT when name is empty.
30599 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30600
306012012-05-10 Thomas Schwinge <thomas@schwinge.name>
30602
30603 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30604
30605 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30606
306072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30608
30609 Fix mlock in all cases except non-readable pages.
30610 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30611 instead of VM_PROT_ALL as parameter to __vm_wire function.
30612
30613 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30614 (__mkdir): When path is `/', just fail with EEXIST.
30615 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30616
306172012-05-10 Thomas Schwinge <thomas@schwinge.name>
30618
30619 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30620 <sys/uio.h> (for writev).
30621 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30622 and <sys/param.h> (for MIN).
30623
306242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30625
30626 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30627 REQUESTED_TIME. Properly set the remaining time and return EINTR
30628 if interrupted.
30629
306302012-05-10 Thomas Schwinge <thomas@schwinge.name>
30631
30632 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30633 Depend on against $(link-rpcuserlibs).
30634
306352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30636
30637 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30638 (__libc_stack_end): Do not use attribute_relro.
30639 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30640 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30641 to libthread-provided value.
30642 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30643 attribute_relro.
30644
306452012-05-10 Thomas Schwinge <thomas@schwinge.name>
30646
30647 [BZ #3748]
30648 * bits/libc-lock.h (__libc_once_get): New macro.
30649 * sysdeps/mach/bits/libc-lock.h: Likewise.
30650 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30652 instead of using implementation details.
30653
30654 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30655 * libio/freopen.c: Likewise.
30656 * libio/freopen64.c: Likewise.
30657 * misc/syslog.c: Likewise.
30658 * nscd/connections.c: Likewise.
30659 * nscd/netgroupcache.c: Likewise.
30660 * sysdeps/posix/getcwd.c: Likewise.
30661
306622012-05-10 Roland McGrath <roland@hack.frob.com>
30663
30664 * math/w_ilogbf.c: Add #include <limits.h>.
30665
306662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30667
30668 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30669 path instead of returning without unlocking.
30670
30671 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30672 immediate-write ioctls.
30673 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30674
306752012-05-10 Thomas Schwinge <thomas@schwinge.name>
30676
30677 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30678 __builtin_frame_address instead of making assumptions about the
30679 location of the return address relative to DATA. Force early load of
30680 the return address.
30681 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30682 __builtin_frame_address.
30683
30684 dup3 for GNU Hurd.
30685 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30686 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30687 implement dup3 and do some further code clean-ups.
30688 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30689 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30690
306912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30692
30693 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30694
30695 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30696 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30697 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30698 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30699 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30700 d->port.lock.
30701
30702 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30703 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30704 when handler == SIG_ERR, not when handler != SIG_ERR.
30705
307062012-05-10 Thomas Schwinge <thomas@schwinge.name>
30707
30708 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30709 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30710 definitions.
30711
30712 accept4 for GNU Hurd.
30713 * include/sys/socket.h (__libc_accept4): New prototype.
30714 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30715 to implement __libc_accept4.
30716 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30717 __libc_accept4.
30718 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30719
30720 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30721 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30722 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30723 signal-defines.sym.
30724
307252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30726
30727 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30728
307292012-05-10 Thomas Schwinge <thomas@schwinge.name>
30730
30731 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30732 assertion on O_CLOEXEC flag.
30733 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30734 * hurd/intern-fd.c: Likewise.
30735 * hurd/port2fd.c: Likewise.
30736
307372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30738
30739 [BZ #3906]
30740 * bits/in.h (IPV6_PKTINFO): Define new macro.
30741 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30742
307432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30744
30745 [BZ #13954]
30746 [BZ #13955]
30747 [BZ #13956]
30748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30750 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30754 * math/libm-test.inc (logb_test) : Additional logb tests.
30755
307562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30757 Andreas Jaeger <aj@suse.de>
30758
30759 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30760 * configure: Regenerated.
30761 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30762 * config.make.in (link-obsolete-rpc): New substituted variable.
30763 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30764 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30765 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30766 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30767 so that libc.a contains the symbols.
30768 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30769 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30770 * sunrpc/auth_none.c: Likewise.
30771 * sunrpc/auth_unix.c: Likewise.
30772 * sunrpc/authdes_prot.c: Likewise.
30773 * sunrpc/authuxprot.c: Likewise.
30774 * sunrpc/clnt_gen.c: Likewise.
30775 * sunrpc/clnt_perr.c: Likewise.
30776 * sunrpc/clnt_raw.c: Likewise.
30777 * sunrpc/clnt_simp.c: Likewise.
30778 * sunrpc/clnt_tcp.c: Likewise.
30779 * sunrpc/clnt_udp.c: Likewise.
30780 * sunrpc/clnt_unix.c: Likewise.
30781 * sunrpc/des_crypt.c: Likewise.
30782 * sunrpc/des_soft.c: Likewise.
30783 * sunrpc/get_myaddr.c: Likewise.
30784 * sunrpc/key_call.c: Likewise.
30785 * sunrpc/key_prot.c: Likewise.
30786 * sunrpc/netname.c: Likewise.
30787 * sunrpc/pm_getmaps.c: Likewise.
30788 * sunrpc/pm_getport.c: Likewise.
30789 * sunrpc/pmap_clnt.c: Likewise.
30790 * sunrpc/pmap_prot.c: Likewise.
30791 * sunrpc/pmap_prot2.c: Likewise.
30792 * sunrpc/pmap_rmt.c: Likewise.
30793 * sunrpc/publickey.c: Likewise.
30794 * sunrpc/rpc_cmsg.c: Likewise.
30795 * sunrpc/rpc_common.c: Likewise.
30796 * sunrpc/rpc_dtable.c: Likewise.
30797 * sunrpc/rpc_prot.c: Likewise.
30798 * sunrpc/rpc_thread.c: Likewise.
30799 * sunrpc/rtime.c: Likewise.
30800 * sunrpc/svc.c: Likewise.
30801 * sunrpc/svc_auth.c: Likewise.
30802 * sunrpc/svc_raw.c: Likewise.
30803 * sunrpc/svc_run.c: Likewise.
30804 * sunrpc/svc_tcp.c: Likewise.
30805 * sunrpc/svc_udp.c: Likewise.
30806 * sunrpc/svc_unix.c: Likewise.
30807 * sunrpc/svcauth_des.c: Likewise.
30808 * sunrpc/xcrypt.c: Likewise.
30809 * sunrpc/xdr.c: Likewise.
30810 * sunrpc/xdr_array.c: Likewise.
30811 * sunrpc/xdr_float.c: Likewise.
30812 * sunrpc/xdr_intXX_t.c: Likewise.
30813 * sunrpc/xdr_mem.c: Likewise.
30814 * sunrpc/xdr_rec.c: Likewise.
30815 * sunrpc/xdr_ref.c: Likewise.
30816 * sunrpc/xdr_sizeof.c: Likewise.
30817 * sunrpc/xdr_stdio.c: Likewise.
30818
308192012-05-10 Roland McGrath <roland@hack.frob.com>
30820
30821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30822 change. Update copyright years.
30823
308242012-05-10 Joseph Myers <joseph@codesourcery.com>
30825
30826 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30827
308282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30829 Joseph Myers <joseph@codesourcery.com>
30830 Paul Pluzhnikov <ppluzhnikov@google.com>
30831
30832 [BZ #14012]
30833 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30834 requiring rpcgen.
30835 [cross-compiling] (extra-libs): Likewise.
30836 [cross-compiling] (extra-libs-others): Likewise.
30837 [cross-compiling] (librpcsvc-routines): Likewise.
30838 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30839 [cross-compiling] (omit-deps): Likewise.
30840 (sunrpc-CPPFLAGS): New variable.
30841 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30842 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30843 (cross-rpcgen-objs): New variable.
30844 (extra-objs): Append $(cross-rpcgen-objs).
30845 ($(cross-rpcgen-objs)): New rule.
30846 ($(objpfx)cross-rpcgen): Likewise.
30847 (rpcgen-cmd): Define to use $(built-program-file). Expand
30848 comment.
30849 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30850 ($(objpfx)x%.stmp): Likewise.
30851 * sunrpc/proto.h [IS_IN_build] (_): Define.
30852 [IS_IN_build] (_libc_intl_domainname): Likewise.
30853
308542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30855
30856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30857 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30858 and R_X86_64_TPOFF64.
30859
308602012-05-10 Joseph Myers <joseph@codesourcery.com>
30861
30862 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30863 sysdeps/unix/sysv/syscalls.list.
30864 (stime): Likewise.
30865 (utime): Likewise.
30866 * sysdeps/unix/sysv/syscalls.list: Remove file.
30867
308682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30869
30870 [BZ #3440]
30871 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30872 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30873 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30874 (__LC_IDENTIFICATION): Make these macros useful in #if
30875 expressions, as required by C99.
30876
308772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30878
30879 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30880 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30881 after this.
30882
308832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 * stdlib/longlong.h: Updated from GCC.
30886
308872012-05-09 Andreas Jaeger <aj@suse.de>
30888
30889 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30890 default is first entry.
30891 (run_mode): Set type.
30892 (main): Remove informal message about syslog.
30893 (options): Fix typo.
30894
30895 [BZ #14053]
30896 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30897 to asm.
30898 (lrint): Likewise.
30899 (llrintf): Likewise.
30900 (llrint): Likewise.
30901 (rint): Likewise.
30902 (rintf): Likewise.
30903 (nearbyint): Likewise.
30904 (nearbyintf): Likewise.
30905
309062012-05-09 Andreas Jaeger <aj@suse.de>
30907 Pedro Alves <palves@redhat.com>
30908
30909 * nscd/nscd.c (run_mode): Use enum.
30910 (main): Cleanup coding style issue.
30911
309122012-05-09 Alexandre Oliva <aoliva@redhat.com>
30913 Andreas Jaeger <aj@suse.de>
30914
30915 * nscd/nscd.c (go_background): Replaced with...
30916 (run_mode): ... this.
30917 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30918 (options): Add -F --foreground.
30919 (main): Implement it.
30920 (parse_opt): Parse it.
30921
309222012-05-09 Andreas Jaeger <aj@suse.de>
30923
30924 [BZ #14083]
30925 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30926 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30927 -Wconversion warning.
30928 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30929 Likewise.
30930
309312012-05-09 Joseph Myers <joseph@codesourcery.com>
30932
30933 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30934 == 0.
30935 (LC_ALL): Use macro-int-constant.
30936 (LC_COLLATE): Likewise.
30937 (LC_CTYPE): Likewise.
30938 (LC_MESSAGES): Likewise.
30939 (LC_MONETARY): Likewise.
30940 (LC_NUMERIC): Likewise.
30941 (LC_TIME): Likewise.
30942 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30943 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30945 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30946 Specify type.
30947 [C99-based standards] (float_t): Expect type.
30948 [C99-based standards] (double_t): Expect type.
30949 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30950 type.
30951 [C99-based standards] (HUGE_VALL): Likewise.
30952 [C99-based standards] (INFINITY): Likewise.
30953 [C99-based standards] (NAN): Likewise.
30954 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30955 [C99-based standards] (FP_NAN): Likewise.
30956 [C99-based standards] (FP_NORMAL): Likewise.
30957 [C99-based standards] (FP_SUBNORMAL): Likewise.
30958 [C99-based standards] (FP_ZERO): Likewise.
30959 [C99-based standards] (FP_FAST_FMA): Use
30960 optional-macro-int-constant. Specify type. Require == 1.
30961 [C99-based standards] (FP_FAST_FMAF): Likewise.
30962 [C99-based standards] (FP_FAST_FMAL): Likewise.
30963 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30964 [C99-based standards] (FP_ILOGBNAN): Likewise.
30965 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30966 Specify type.
30967 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30968 [C99-based standards] (math_errhandling): Specify type.
30969 [ISO99 || ISO11] (signgam): Do not allow.
30970 [non-C99-based standards] (copysignf): Do not allow.
30971 [non-C99-based standards] (exp2f): Likewise.
30972 [non-C99-based standards] (log2f): Likewise.
30973 [non-C99-based standards] (modff): Allow.
30974 [non-C99-based standards] (erff): Do not allow.
30975 [non-C99-based standards] (erfcf): Likewise.
30976 [non-C99-based standards] (gammaf): Likewise.
30977 [non-C99-based standards] (hypotf): Likewise.
30978 [non-C99-based standards] (j0f): Likewise.
30979 [non-C99-based standards] (j1f): Likewise.
30980 [non-C99-based standards] (jnf): Likewise.
30981 [non-C99-based standards] (lgammaf): Likewise.
30982 [non-C99-based standards] (tgammaf): Likewise.
30983 [non-C99-based standards] (y0f): Likewise.
30984 [non-C99-based standards] (y1f): Likewise.
30985 [non-C99-based standards] (ynf): Likewise.
30986 [non-C99-based standards] (isnanf): Likewise.
30987 [non-C99-based standards] (acoshf): Likewise.
30988 [non-C99-based standards] (asinhf): Likewise.
30989 [non-C99-based standards] (atanhf): Likewise.
30990 [non-C99-based standards] (cbrtf): Likewise.
30991 [non-C99-based standards] (expm1f): Likewise.
30992 [non-C99-based standards] (ilogbf): Likewise.
30993 [non-C99-based standards] (log1pf): Likewise.
30994 [non-C99-based standards] (logbf): Likewise.
30995 [non-C99-based standards] (nextafterf): Likewise.
30996 [non-C99-based standards] (remainderf): Likewise.
30997 [non-C99-based standards] (rintf): Likewise.
30998 [non-C99-based standards] (scalbf): Likewise.
30999 [non-C99-based standards] (copysignl): Likewise.
31000 [non-C99-based standards] (exp2l): Likewise.
31001 [non-C99-based standards] (log2l): Likewise.
31002 [non-C99-based standards] (modfl): Allow.
31003 [non-C99-based standards] (erfl): Do not allow.
31004 [non-C99-based standards] (erfcl): Likewise.
31005 [non-C99-based standards] (gammal): Likewise.
31006 [non-C99-based standards] (hypotl): Likewise.
31007 [non-C99-based standards] (j0l): Likewise.
31008 [non-C99-based standards] (j1l): Likewise.
31009 [non-C99-based standards] (jnl): Likewise.
31010 [non-C99-based standards] (lgammal): Likewise.
31011 [non-C99-based standards] (tgammal): Likewise.
31012 [non-C99-based standards] (y0l): Likewise.
31013 [non-C99-based standards] (y1l): Likewise.
31014 [non-C99-based standards] (ynl): Likewise.
31015 [non-C99-based standards] (isnanl): Likewise.
31016 [non-C99-based standards] (acoshl): Likewise.
31017 [non-C99-based standards] (asinhl): Likewise.
31018 [non-C99-based standards] (atanhl): Likewise.
31019 [non-C99-based standards] (cbrtl): Likewise.
31020 [non-C99-based standards] (expm1l): Likewise.
31021 [non-C99-based standards] (ilogbl): Likewise.
31022 [non-C99-based standards] (log1pl): Likewise.
31023 [non-C99-based standards] (logbl): Likewise.
31024 [non-C99-based standards] (nextafterl): Likewise.
31025 [non-C99-based standards] (remainderl): Likewise.
31026 [non-C99-based standards] (rintl): Likewise.
31027 [non-C99-based standards] (scalbl): Likewise.
31028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31029 [non-C99-based standards] (FP_*): Do not allow.
31030 [C99-based standards] (FP_*): Change to
31031 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31032 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31033 allow.
31034 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31035 (SIG_ERR): Likewise.
31036 [X/Open-based standards] (SIG_HOLD): Likewise.
31037 (SIG_IGN): Likewise.
31038 (SIGABRT): Use macro-int-constant. Specify type. Require
31039 positive value.
31040 (SIGFPE): Likewise.
31041 (SIGILL): Likewise.
31042 (SIGINT): Likewise.
31043 (SIGSEGV): Likewise.
31044 (SIGTER): Likewise.
31045 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31046 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31047 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31048 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31049 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31050 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31051 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31052 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31053 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31054 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31055 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31056 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31057 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31058 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31059 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31060 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31061 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31062 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31063 [X/Open-based standards] (SIGTRAP): Likewise.
31064 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31065 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31066 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31067 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31068 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31069 allow.
31070
310712012-05-08 Ian Wienand <ianw@vmware.com>
31072
31073 [BZ #14080]
31074 * time/tzset.c (__tzset_parse_tz): Update default rules for
31075 daylight time changes in the Energy Policy Act of 2005.
31076
310772012-05-09 Andreas Jaeger <aj@suse.de>
31078
31079 [BZ #13983]
31080 * elf/ldconfig.c (parse_conf): Change string to make clear that
31081 ldconfig only issued a warning if ld.so.conf does not exist.
31082
310832012-05-08 David S. Miller <davem@davemloft.net>
31084
31085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31086 movxtod instead of popping the value on the stack.
31087
31088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31089
310902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
31091
31092 * config.h.in: Add HAVE_ARM_PCS_VFP.
31093
310942012-05-08 Roland Mc Grath <roland@hack.frob.com>
31095
31096 [BZ #13979]
31097 * include/features.h: Warn if user requests __FORTIFY_SOURCE
31098 checking but the checks are disabled for any reason.
31099
311002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
31101
31102 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31103 and ELF64_R_TYPE with ELFW(R_TYPE).
31104
311052012-05-08 Joseph Myers <joseph@codesourcery.com>
31106
31107 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31108 (ulimit): Likewise.
31109
31110 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31111 (settimeofday): Likewise.
31112
311132012-05-08 Mike Frysinger <vapier@gentoo.org>
31114
31115 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
31116 a struct th_u2 inside the union, and move tu_block/tu_code into
31117 a new th_u3 union of tu_block/tu_code inside of that. Move
31118 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
31119 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
31120 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31121 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31122 (th_stuff): Change to th_u1.tu_stuff.
31123 (th_data): Define.
31124 (th_msg): Change to th_u1.th_u2.tu_data.
31125
311262012-05-07 David S. Miller <davem@davemloft.net>
31127
31128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31129
31130 [BZ #14074]
31131 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31132 (SETUP_PIC_REG): Use it.
31133 (SETUP_PIC_REG_LEAF): Use it.
31134
311352012-05-07 Joseph Myers <joseph@codesourcery.com>
31136
31137 [BZ #13885]
31138 [BZ #13923]
31139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31140 USE_AS_EXPM1L.
31141 (EXPL_FINITE): Likewise.
31142 (FLDLOG): Likewise.
31143 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31144 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31145 e_expl.S.
31146 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31147 USE_AS_EXPM1L.
31148 (EXPL_FINITE): Likewise.
31149 (FLDLOG): Likewise.
31150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31151 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31152 e_expl.S.
31153 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
31154 test of -max_value argument for long double.
31155 * sysdeps/i386/fpu/libm-test-ulps: Update.
31156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31157
311582012-05-06 David S. Miller <davem@davemloft.net>
31159
31160 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31161 quad soft-float symbols whose references which are compiler
31162 generated.
31163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31164
311652012-05-06 Joseph Myers <joseph@codesourcery.com>
31166
31167 [BZ #13884]
31168 [BZ #13914]
31169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31170 USE_AS_EXP10L.
31171 (EXPL_FINITE): Likewise.
31172 (FLDLOG): Likewise.
31173 (c0): Likewise.
31174 (c1): Likewise.
31175 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31176 Adjust comments for base varying.
31177 (__expl_finite): Change alias to EXPL_FINITE.
31178 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31179 e_expl.S.
31180 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31181 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31183 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31185 USE_AS_EXP10L.
31186 (EXPL_FINITE): Likewise.
31187 (FLDLOG): Likewise.
31188 (c0): Likewise.
31189 (c1): Likewise.
31190 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
31191 Adjust comments for base varying.
31192 (__expl_finite): Change alias to EXPL_FINITE.
31193 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
31194 tests for bugs.
31195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31196
31197 [BZ #14064]
31198 * math/libm-test.inc (check_float_internal): Correct ulp
31199 calculation for subnormal expected results.
31200
312012012-05-06 Andreas Jaeger <aj@suse.de>
31202
31203 * Makeconfig (+math-flags): New, set to -frounding-math.
31204 (+cflags): Add +math-flags so that all of glibc gets compiled with
31205 it.
31206
31207 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31208
312092012-05-05 Joseph Myers <joseph@codesourcery.com>
31210
31211 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31212 Disable one test.
31213
31214 [BZ #13787]
31215 [BZ #13922]
31216 [BZ #14036]
31217 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31218 (__ieee754_expl): Allow for and saturate large arguments.
31219 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31220 (u_threshold): Likewise.
31221 (__exp): Call __ieee754_exp before checking for overflow and
31222 underflow.
31223 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31224 (u_threshold): Likewise.
31225 (__expf): Call __ieee754_expf before checking for overflow and
31226 underflow.
31227 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31228 (u_threshold): Likewise.
31229 (__expl): Call __ieee754_expl before checking for overflow and
31230 underflow.
31231 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31232 (__ieee754_expl): Allow for and saturate large arguments.
31233 * math/libm-test.inc (exp_test): Add another test. Do not allow
31234 missing overflow exception on overflow.
31235 (expm1_test): Do not allow missing overflow exception on overflow.
31236
31237 * sysdeps/i386/fpu/e_expl.c: Move to ...
31238 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
31239 rather than using inline asm.
31240 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31241 * sysdeps/x86_64/fpu/e_expl.S: Copy from
31242 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31243
31244 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31245 (nice): Likewise.
31246 (poll): Likewise.
31247 (signal): Likewise.
31248 (time): Likewise.
31249 (times): Likewise.
31250
312512012-05-04 Joseph Myers <joseph@codesourcery.com>
31252
31253 * sysdeps/unix/syscalls.list (adjtime): Add entry from
31254 sysdeps/unix/common/syscalls.list.
31255 (fchmod): Likewise.
31256 (fchown): Likewise.
31257 (ftruncate): Likewise.
31258 (getrusage): Likewise.
31259 (gettimeofday): Likewise.
31260 (setpgid): Likewise.
31261 (setregid): Likewise.
31262 (setreuid): Likewise.
31263 (sigaction): Likewise.
31264 (truncate): Likewise.
31265 (vhangup): Likewise.
31266 * sysdeps/unix/common/syscalls.list: Remove file.
31267 * sysdeps/unix/bsd/Implies: Don't include unix/common.
31268 * sysdeps/unix/sysv/linux/Implies: Likewise.
31269
312702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
31271
31272 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31274 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31275 Moved to ...
31276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31277 Here.
31278 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31279 to ...
31280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31281 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31282 to ...
31283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31285 to ...
31286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31287 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31288 to ...
31289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31290 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31291 to ...
31292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31294 to ...
31295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31296 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31297 to ...
31298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31299 Here.
31300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31301 to ...
31302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31303 Here.
31304 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31305 to ...
31306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31307 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31308 Moved to ...
31309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31310 Here.
31311 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31312 to ...
31313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31314
313152012-05-04 Joseph Myers <joseph@codesourcery.com>
31316
31317 * sysdeps/unix/common/bits/dirent.h: Remove file.
31318 * sysdeps/unix/common/bits/fcntl.h: Likewise.
31319
31320 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31321 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31322 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31323 * sysdeps/unix/bsd/isatty.c: Likewise.
31324 * sysdeps/unix/bsd/tcdrain.c: Likewise.
31325 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31326 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31327
313282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31329
31330 [BZ #13563]
31331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31332 long double comparison inaccuracies.
31333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31335
313362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
31337
31338 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31340
313412012-05-04 Joseph Myers <joseph@codesourcery.com>
31342
31343 [BZ #14049]
31344 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31345 nonzero digits before rounding a hex value.
31346 * stdlib/tst-strtod.c (tests): Add another test.
31347
313482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31349
31350 * sysdeps/s390/fpu/libm-test-ulps: Update.
31351
313522012-05-03 Andreas Jaeger <aj@suse.de>
31353
31354 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31355 does not get optimized out.
31356 (malloc_opt_barrier): New.
31357
313582012-05-03 Andreas Jaeger <aj@suse.de>
31359 Roland McGrath <roland@hack.frob.com>
31360
31361 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31362 intermediate file deletion.
31363 (generated): Add .symlist files.
31364
313652012-05-03 Joseph Myers <joseph@codesourcery.com>
31366
31367 [BZ #13775]
31368 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31369 Redirect under this condition.
31370 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31371 [__USE_GNU] (__dprintf_chk): Not under this condition.
31372 [__USE_GNU] (__vdprintf_chk): Likewise.
31373 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31374 under this condition.
31375 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31376 [__USE_XOPEN2K8] (dprintf): Define under this condition.
31377 [__USE_XOPEN2K8] (vdprintf): Likewise.
31378 [__USE_GNU] (__dprintf_chk): Not under this condition.
31379 [__USE_GNU] (__vdprintf_chk): Likewise.
31380 [__USE_GNU] (dprintf): Likewise.
31381 [__USE_GNU] (vdprintf): Likewise.
31382
313832012-05-03 Roland McGrath <roland@hack.frob.com>
31384
31385 * elf/Makefile (common-generated): Set this instead of generated for
31386 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
31387 $(all-built-dso)-derived lists.
31388
313892012-05-03 Andreas Jaeger <aj@suse.de>
31390
31391 * sysdeps/i386/fpu/libm-test-ulps: Update.
31392
31393 * FAQ: Removed.
31394 * FAQ.in: Likewise.
31395 * scripts/gen-FAQ.pl: Likewise.
31396 * manual/install.texi (Installation): Point to online location of
31397 FAQ.
31398 * Makefile (files-for-dist): Remove FAQ.
31399 (FAQ): Remove.
31400
314012012-05-02 Allan McRae <allan@archlinux.org>
31402
31403 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31404 (LDFLAGS-reldepmod5.so): Likewise.
31405 (LDFLAGS-reldep6mod1.so): Likewise.
31406 (LDFLAGS-reldep6mod4.so): Likewise.
31407 (LDFLAGS-reldep8mod3.so): Likewise.
31408 (LDFLAGS-unload4mod1.so): Likewise.
31409 (LDFLAGS-unload4mod2.so): Likewise.
31410 (LDFLAGS-tst-initorder): Likewise.
31411 (LDFLAGS-tst-initordera2.so): Likewise.
31412 (LDFLAGS-tst-initordera3.so): Likewise.
31413 (LDFLAGS-tst-initordera4.so): Likewise.
31414 (LDFLAGS-tst-initorderb2.so): Likewise.
31415 (LDFLAGS-noload): Likewise.
31416 (LDFLAGS-next): Likewise.
31417 (LDFLAGS-order2mod1.so): Likewise.
31418 (LDFLAGS-order2mod2.so): Likewise.
31419 (LDFLAGS-tst-initorder2): Likewise.
31420 (LDFLAGS-tst-initorder2a.so): Likewise.
31421 (LDFLAGS-tst-initorder2b.so): Likewise.
31422 (LDFLAGS-tst-initorder2c.so): Likewise.
31423 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31424
314252012-05-02 David S. Miller <davem@davemloft.net>
31426
31427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31428
314292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
31430
31431 [BZ #14055]
31432 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31433
314342012-05-02 Andreas Jaeger <aj@suse.de>
31435
31436 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31437 since we manipulate rounding mode.
31438 (CPPFLAGS-test-idouble.c): Likewise.
31439 (CPPFLAGS-test-ifloat.c): Likewise.
31440 (CFLAGS-test-ldouble.c): Likewise.
31441 (CFLAGS-test-double.c): Likewise.
31442 (CFLAGS-test-float.c): Likewise.
31443 (CFLAGS-test-misc.c): Likewise.
31444 (CFLAGS-test-test-fenv.c): Likewise.
31445
314462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31447
31448 [BZ #2550]
31449 [BZ #2570]
31450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31451 comparisons to determine direction to adjust input.
31452
314532012-05-01 Roland McGrath <roland@hack.frob.com>
31454
31455 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31456 output to the target.
31457
31458 * scripts/localplt.awk: New file.
31459 * elf/Makefile ($(objpfx)check-localplt): Target removed.
31460 (check-localplt-CFLAGS): Variable removed.
31461 ($(all-built-dso:=.jmprel)): New static pattern rule.
31462 (generated): Add those targets.
31463 (localplt-built-dso): New variable.
31464 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31465
31466 * elf/check-localplt.c: File removed.
31467
31468 * scripts/check-execstack.awk: New file.
31469 * elf/Makefile ($(objpfx)check-execstack): Target removed.
31470 (check-execstack-CFLAGS): Variable removed.
31471 ($(objpfx)check-execstack.h): Target removed.
31472 ($(objpfx)execstack-default): New target.
31473 (generated): Add that instead of check-execstack.h.
31474 ($(all-built-dso:=.phdr)): New static pattern rule.
31475 (generated): Add those targets.
31476 * elf/check-execstack.c: File removed.
31477
31478 * scripts/check-textrel.awk: New file.
31479 * elf/Makefile ($(objpfx)check-textrel): Target removed.
31480 (check-textrel-CFLAGS): Variable removed.
31481 (all-built-dso): Use := to define.o
31482 ($(all-built-dso:=.dyn)): New static pattern rule.
31483 (generated): Add those targets.
31484 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31485 * config.make.in (READELF): New substituted variable.
31486 * elf/check-textrel.c: File removed.
31487
314882012-05-01 Joseph Myers <joseph@codesourcery.com>
31489
31490 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31491 allow.
31492 * conform/data/ctype.h-data [C99-based standards] (isblank):
31493 Expect function.
31494 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31495 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31497 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31498 Specify type. Require positive value.
31499 (EILSEQ): Likewise.
31500 (ERANGE): Likewise.
31501 [ISO || POSIX] (EILSEQ): Do not expect.
31502 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31503 Specify type. Require positive value.
31504 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31505 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31506 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31507 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31508 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31509 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31510 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31511 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31512 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31513 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31514 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31515 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31516 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31517 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31518 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31519 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31520 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31521 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31522 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31523 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31524 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31525 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31526 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31527 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31528 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31529 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31530 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31531 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31532 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31533 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31534 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31535 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31536 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31537 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31538 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31539 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31540 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31541 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31542 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31543 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31544 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31545 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31546 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31547 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31548 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31549 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31550 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31551 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31552 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31553 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31554 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31555 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31556 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31557 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31558 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31559 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31560 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31561 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31562 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31563 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31564 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31565 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31566 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31567 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31568 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31569 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31570 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31571 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31572 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31573 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31574 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31575 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31576 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31577 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31578 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31579 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31580 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31581 Require >= 2.
31582 (FLT_ROUNDS): Expect as macro, not constant.
31583 (FLT_MANT_DIG): Use macro-int-constant.
31584 (DBL_MANT_DIG): Likewise.
31585 (LDBL_MANT_DIG): Likewise.
31586 (FLT_DIG): Likewise.
31587 (DBL_DIG): Likewise.
31588 (LDBL_DIG): Likewise.
31589 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
31590 (DBL_MIN_EXP): Likewise.
31591 (LDBL_MIN_EXP): Likewise.
31592 (FLT_MAX_EXP): Use macro-int-constant.
31593 (DBL_MAX_EXP): Likewise.
31594 (LDBL_MAX_EXP): Likewise.
31595 (FLT_MAX_10_EXP): Likewise.
31596 (DBL_MAX_10_EXP): Likewise.
31597 (LDBL_MAX_10_EXP): Likewise.
31598 (FLT_MAX): Use macro-constant.
31599 (DBL_MAX): Likewise.
31600 (LDBL_MAX): Likewise.
31601 (FLT_EPSILON): Use macro-constant. Give upper bound.
31602 (DBL_EPSILON): Likewise.
31603 (LDBL_EPSILON): Likewise.
31604 (FLT_MIN): Likewise.
31605 (DBL_MIN): Likewise.
31606 (LDBL_MIN): Likewise.
31607 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31608 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31609 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31610 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31611 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31612 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31613 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31614 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31615 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31616 [ISO11] (FLT_TRUE_MIN): Likewise.
31617 [ISO11] (LDBL_TRUE_MIN): Likewise.
31618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31619 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31620 (SCHAR_MIN): Use macro-int-constant. Specify type.
31621 (SCHAR_MAX): Likewise.
31622 (UCHAR_MAX): Likewise.
31623 (CHAR_MIN): Likewise.
31624 (CHAR_MAX): Likewise.
31625 (MB_LEN_MAX): Use macro-int-constant.
31626 (SHRT_MIN): Use macro-int-constant. Specify type.
31627 (SHRT_MAX): Likewise.
31628 (USHRT_MAX): Likewise.
31629 (INT_MAX): Likewise.
31630 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31631 bound negative.
31632 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31633 bound with "U".
31634 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31635 bound with "L".
31636 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31637 bound negative. Suffix upper bound with "L".
31638 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31639 bound with "UL".
31640 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31641 Specify type.
31642 [C99-based standards] (LLONG_MAX): Likewise.
31643 [C99-based standards] (ULLONG_MAX): Likewise.
31644 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31645 == 0.
31646 [ISO11] (max_align_t): Require type.
31647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31648
31649 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31650 from $CFLAGS, without defining away __attribute__ calls.
31651 (checknamespace): Use $CFLAGS_namespace.
31652
31653 * conform/conformtest.pl (@keywords): Only include C99 keywords
31654 for standards based on C99 or C11.
31655
31656 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31657 Disable tests.
31658 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31659 UNIX98]: Likewise.
31660
31661 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31662 usability of symbols in #if.
31663
31664 * conform/conformtest.pl: If macro or constant types start
31665 "promoted:", expect the symbol to be of the following type
31666 promoted by the integer promotions.
31667
31668 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31669 in one place. Also handle "macro-constant".
31670
31671 * conform/conformtest.pl: Only accept expected macro values with
31672 "==". Parse all "macro" lines in one place.
31673 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31674
31675 * conform/conformtest.pl: Handle braced types on "constant" lines
31676 instead of handling "typed-constant".
31677 * conform/data/signal.h-data: Use "constant" instead of
31678 "typed-constant".
31679
31680 * conform/conformtest.pl: Handle "optional-" at start of lines in
31681 one place rather than duplicating several cases. Handle each
31682 format of "macro" line with initial "optional-".
31683
31684 * conform/conformtest.pl: Only accept expected constant or
31685 optional-constant values with "==". Parse all "constant" lines in
31686 one place. Parse all "optional-constant" lines in one place.
31687 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31688 * conform/data/fmtmsg.h-data: Likewise.
31689 * conform/data/netinet/in.h-data: Likewise.
31690 * conform/data/tar.h-data: Likewise.
31691 * conform/data/limits.h-data: Use "==" form on "constant" and
31692 "optional-constant" lines.
31693
31694 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31695 Use -std=c99 for XOPEN2K.
31696 (@knownproblems): Remove.
31697 (newtoken): Don't check %isknown.
31698
31699 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31700 Do not expect macro.
31701 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31702 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31703 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31704 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31705 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31706 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31707 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31708 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31709 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31710 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31711 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31712 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31713 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31714 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31715 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31716 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31717 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31718 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31719 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31720 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31721 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31723 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31724 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31725 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31726 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31727 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31728 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31729 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31730 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31731 [XPG3] (acosh): Likewise.
31732 [XPG3] (asinh): Likewise.
31733 [XPG3] (atanh): Likewise.
31734 [XPG3] (cbrt): Likewise.
31735 [XPG3] (expm1): Likewise.
31736 [XPG3] (ilogb): Likewise.
31737 [XPG3] (log1p): Likewise.
31738 [XPG3] (logb): Likewise.
31739 [XPG3] (nextafter): Likewise.
31740 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31741 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31742 [XPG3] (remainder): Likewise.
31743 [XPG3] (rint): Likewise.
31744 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31745 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31746 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31747 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31748 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31749 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31750 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31751 [UNIX98 || XOPEN2K] (scalb): Expect.
31752 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31753 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31754 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31755 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31756 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31757 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31758 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31759 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31760 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31761 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31762 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31763 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31764 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31765 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31766 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31767 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31768 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31769 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31770 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31771 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31772 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31773 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31774 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31775 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31776 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31777 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31778 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31779 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31780 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31781 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31782 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31783 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31784 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31785 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31786 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31787 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31788 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31789 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31790 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31791 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31792 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31793 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31794 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31795 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31796 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31797 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31798 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31799 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31800 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31801 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31802 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31803 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31804 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31805 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31806 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31807 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31808 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31809 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31810 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31811 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31812 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31813 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31814 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31815 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31816 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31817 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31818 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31819 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31820 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31821 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31822 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31823 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31824 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31825 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31826 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31827 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31828 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31829 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31830 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31831 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31832 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31833 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31834 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31835 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31836 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31837 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31838 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31839 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31840 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31841 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31842 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31843 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31844 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31845 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31846 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31847 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31848 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31849 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31850 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31851 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31852 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31853 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31854 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31855 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31856 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31857 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31858 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31859 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31860 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31861 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31862 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31863 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31864 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31865 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31866 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31867 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31868 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31869 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31870 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31871 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31872 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31873 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31874 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31875 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31876 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31877 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31878 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31879 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31880 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31881 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31882 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31883 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31884 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31885 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31886 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31887 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31888 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31889
31890 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31891 _XOPEN_SOURCE_EXTENDED for XPG4.
31892
31893 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31894
31895 * Makeconfig (localtime): Remove variable.
31896 (inst_localtime-file): Likewise.
31897
318982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31899
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31901 Update.
31902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31903 Update.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31905 Update.
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31907 Update.
31908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31909 Update.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31911 Update.
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31913 Update.
31914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31915 Update.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31917 Update.
31918
319192012-05-01 Joseph Myers <joseph@codesourcery.com>
31920
31921 [BZ #2550]
31922 [BZ #2570]
31923 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31924 comparisons to determine direction to adjust input.
31925 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31926 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31928 Likewise.
31929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31930 Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31932 Likewise.
31933 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31934 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31935 Likewise.
31936 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31937 Likewise.
31938 * math/libm-test.inc (nexttoward_test): Add more tests.
31939
319402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31941
31942 [BZ #14040]
31943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31944 in version GLIBC_2.1, not GLIBC_2.0.
31945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31946 Likewise.
31947
319482012-04-30 Joseph Myers <joseph@codesourcery.com>
31949
31950 [BZ #13942]
31951 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31952 (1 - x) * (1 + x).
31953 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31954 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31955 * math/libm-test.inc (acos_test): Add more tests.
31956 (asin_test): Likewise.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31959
31960 [BZ #14034]
31961 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31962 of square root.
31963 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31964 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31965 * math/libm-test.inc (acos_test_tonearest): New function.
31966 (acos_test_towardzero): Likewise.
31967 (acos_test_downward): Likewise.
31968 (acos_test_upward): Likewise.
31969 (asin_test_tonearest): Likewise.
31970 (asin_test_towardzero): Likewise.
31971 (asin_test_downward): Likewise.
31972 (asin_test_upward): Likewise.
31973 (main): Call the new functions.
31974 * sysdeps/i386/fpu/libm-test-ulps: Update.
31975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31976
31977 [BZ #13884]
31978 [BZ #13924]
31979 * math/e_exp10.c: Include <float.h>.
31980 (__ieee754_exp10): Handle underflow here rather than multiplying
31981 large negative argument by M_LN10.
31982 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31983 of __ieee754_expf.
31984 * math/e_exp10l.c: Include <float.h>.
31985 (__ieee754_exp10l): Handle underflow here rather than multiplying
31986 large negative argument by M_LN10l.
31987 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31988 spurious overflow exception on underflow.
31989
319902012-04-29 Marek Polacek <polacek@redhat.com>
31991
31992 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31993 (__fortify_function): New macro.
31994 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31995 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31996 __extern_always_inline.
31997 * libio/bits/stdio2.h: Likewise.
31998 * libio/bits/stdio.h: Likewise.
31999 * string/string.h: Likewise.
32000 * string/bits/string3.h: Likewise.
32001 * include/stdio.h: Likewise.
32002 * stdlib/bits/stdlib.h: Likewise.
32003 * stdlib/stdlib.h: Likewise.
32004 * rt/bits/mqueue2.h: Likewise.
32005 * rt/mqueue.h: Likewise.
32006 * posix/bits/unistd.h: Likewise.
32007 * posix/unistd.h: Likewise.
32008 * io/bits/poll2.h: Likewise.
32009 * io/bits/fcntl2.h: Likewise.
32010 * io/fcntl.h: Likewise.
32011 * io/sys/poll.h: Likewise.
32012 * misc/bits/syslog.h: Likewise.
32013 * misc/bits/syslog-ldbl.h: Likewise.
32014 * misc/sys/syslog.h: Likewise.
32015 * socket/bits/socket2.h: Likewise.
32016 * socket/sys/socket.h: Likewise.
32017 * debug/tst-chk1.c: Likewise.
32018 * wcsmbs/bits/wchar2.h: Likewise.
32019 * wcsmbs/bits/wchar-ldbl.h: Likewise.
32020 * wcsmbs/wchar.h: Likewise.
32021
320222012-04-29 Andreas Jaeger <aj@suse.de>
32023
32024 * Makerules (tests): Remove enable-check-abi protection.
32025 (check-abi-warn): Remove.
32026 (check-abi-%): Remove check-abi-warn usage.
32027
32028 * configure.in: Remove check-abi configure option.
32029 * configure: Regenerated.
32030 * config.make.in (enable-check-abi): Remove.
32031
320322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
32033
32034 [BZ #14033]
32035 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32036 double functions to double *_finite functions.
32037
32038 [BZ #13941]
32039 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32040 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32041 LDBL_MIN_EXP.
32042 * stdio-common/Makefile (tests): Add tst-sprintf3.
32043 * stdio-common/tst-sprintf3.c: New file.
32044
32045 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32046 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32047
320482012-04-28 Joseph Myers <joseph@codesourcery.com>
32049
32050 * conform/conformtest.pl: Remove duplicate typed-constant
32051 handling.
32052
320532012-04-28 David S. Miller <davem@davemloft.net>
32054
32055 * Makerules (%.abilist): Add vpath on sysdep_dirs.
32056 (check-abi-%): Remove AWK script prerequisite and explicit
32057 abilist directory.
32058 (check-abi): Rewrite to just diff the symlist with the abilist.
32059 (config-tls, config-abi-config): Delete, no longer used.
32060 (update-abi-%): Remove AWK script and explicit abilist directory.
32061 (update-abi): Rewrite to simply compare and conditionally copy the
32062 symlist and the sysdep abilist file. Remove update-abi-config
32063 checks.
32064 * abilist/ld.abilist: Remove.
32065 * abilist/libBrokenLocale.abilist: Remove.
32066 * abilist/libanl.abilist: Remove.
32067 * abilist/libcrypt.abilist: Remove.
32068 * abilist/libdl.abilist: Remove.
32069 * abilist/librt.abilist: Remove.
32070 * abilist/libthread_db.abilist: Remove.
32071 * abilist/libutil.abilist: Remove.
32072 * scripts/extract-abilist.awk: Remove.
32073 * scripts/merge-abilist.awk: Remove.
32074 * sysdeps/generic/libcidn.abilist: New file.
32075 * sysdeps/generic/libnss_compat.abilist: New file.
32076 * sysdeps/generic/libnss_db.abilist: New file.
32077 * sysdeps/generic/libnss_dns.abilist: New file.
32078 * sysdeps/generic/libnss_files.abilist: New file.
32079 * sysdeps/generic/libnss_hesiod.abilist: New file.
32080 * sysdeps/generic/libnss_nis.abilist: New file.
32081 * sysdeps/generic/libnss_nisplus.abilist: New file.
32082 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32083 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32084 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32085 file.
32086 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32087 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32088 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32089 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32090 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32091 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32092 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32093 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32094 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32095 file.
32096 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32097 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32098 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32099 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32100 file.
32101 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32102 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32103 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32104 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32105 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32106 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32107 file.
32108 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32109 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32111 file.
32112 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32114 New file.
32115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32116 New file.
32117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32118 New file.
32119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32120 New file.
32121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32122 New file.
32123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32124 New file.
32125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32126 New file.
32127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32128 New file.
32129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32130 New file.
32131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32132 New file.
32133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32134 New file.
32135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32136 New file.
32137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32138 New file.
32139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32140 file.
32141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32142 New file.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32144 New file.
32145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32146 file.
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32148 New file.
32149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32150 New file.
32151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32152 file.
32153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32154 New file.
32155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32156 New file.
32157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32158 New file.
32159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32160 New file.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32162 New file.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32164 New file.
32165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32167 file.
32168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32169 New file.
32170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32171 file.
32172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32173 file.
32174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32175 file.
32176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32177 file.
32178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32179 file.
32180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32181 New file.
32182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32183 file.
32184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32185 file.
32186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32187 New file.
32188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32189 file.
32190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32192 file.
32193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32194 New file.
32195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32196 file.
32197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32198 file.
32199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32200 file.
32201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32202 file.
32203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32204 file.
32205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32206 New file.
32207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32208 file.
32209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32210 file.
32211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32212 New file.
32213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32214 file.
32215 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32216 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32217 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32218 file.
32219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32220 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32221 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32223 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32224 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32225 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32226 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32227 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32228 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32231 file.
32232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32233 New file.
32234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32235 file.
32236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32237 file.
32238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32239 file.
32240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32241 file.
32242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32243 file.
32244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32245 New file.
32246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32247 New file.
32248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32249 file.
32250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32251 New file.
32252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32253 file.
32254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32256 file.
32257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32258 New file.
32259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32260 file.
32261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32262 file.
32263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32264 file.
32265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32266 file.
32267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32268 file.
32269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32270 New file.
32271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32272 New file.
32273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32274 file.
32275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32276 New file.
32277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32278 file.
32279
322802012-04-28 Joseph Myers <joseph@codesourcery.com>
32281
32282 * conform/conformtest.pl: Fix typo in handling typed-constant from
32283 allow-header.
32284
322852012-04-27 Joseph Myers <joseph@codesourcery.com>
32286
32287 * README: Cut down references to pre-2.6 Linux kernels and
32288 Linuxthreads. Update lists of configurations in libc and ports
32289 and sort alphabetically. Say "or newer" with Linux kernel version
32290 requirements.
32291
32292 * config.h.in [IS_IN_build]: Allow compiling without optimization.
32293
322942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32295
32296 [BZ #887]
32297 * math/libm-test.inc (logb_test_downward): New test to expose
32298 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32299 rounding mode.
32300
323012012-04-27 Joseph Myers <joseph@codesourcery.com>
32302
32303 [BZ #14027]
32304 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32305 to be done.
32306 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32307 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32308
323092012-04-26 Joseph Myers <joseph@codesourcery.com>
32310
32311 * sysdeps/unix/i386/brk.S: Remove file.
32312 * sysdeps/unix/i386/dl-brk.S: Likewise.
32313 * sysdeps/unix/i386/pipe.S: Likewise.
32314 * sysdeps/unix/i386/sigreturn.S: Likewise.
32315 * sysdeps/unix/i386/syscall.S: Likewise.
32316 * sysdeps/unix/i386/vfork.S: Likewise.
32317 * sysdeps/unix/i386/wait.S: Likewise.
32318
32319 * sysdeps/unix/common/tcsendbrk.c: Move to ...
32320 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32321
32322 * configure.in (arm*-none*): Do not allow without
32323 --enable-hacker-mode.
32324 (netbsd*): Remove case setting base_os.
32325 (386bsd*): Likewise.
32326 (freebsd*): Likewise.
32327 (bsdi*): Likewise.
32328 (osf*): Likewise.
32329 (sunos*): Likewise.
32330 (ultrix*): Likewise.
32331 (newsos*): Likewise.
32332 (dynix*): Likewise.
32333 (*bsd*): Likewise.
32334 (sysv*): Likewise.
32335 (isc*): Likewise.
32336 (esix*): Likewise.
32337 (sco*): Likewise.
32338 (minix*): Likewise.
32339 (irix4*): Likewise.
32340 (irix6*): Likewise.
32341 (solaris[2-9]*): Likewise.
32342 (none): Likewise.
32343 * configure: Regenerated.
32344
323452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346
32347 [BZ #11521]
32348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32349 overflow or cancellation in calculating denominator.
32350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32352 down expression to avoid unexpected rounding in newer GCCs.
32353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32354
323552012-04-26 David S. Miller <davem@davemloft.net>
32356
32357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32358 long-double compat symbols.
32359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32372
323732012-04-25 David S. Miller <davem@davemloft.net>
32374
32375 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32376 HWCAP_* values only after the memory barriers have been defined.
32377 (atomic_full_barrier): Define.
32378 (atomic_read_barrier): Define.
32379 (atomic_write_barrier): Define.
32380
323812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32382
32383 * shlib-versions: Add libgcc_s version information.
32384 * sysdeps/generic/libgcc_s.h: Remove.
32385 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32386 libgcc_s.h.
32387 * sysdeps/gnu/unwind-resume.c: Likewise.
32388 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32389
323902012-04-25 David S. Miller <davem@davemloft.net>
32391
32392 * sysdeps/unix/sparc/brk.S: Delete.
32393 * sysdeps/unix/sparc/dl-brk.S: Delete.
32394 * sysdeps/unix/sparc/pipe.S: Delete.
32395 * sysdeps/unix/sparc/sysdep.S: Delete.
32396 * sysdeps/unix/sparc/sysdep.h: Delete.
32397 * sysdeps/unix/sparc/vfork.S: Delete.
32398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32399 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32401 (ret_ERRVAL, r0, r1, MOVE): Define.
32402 (JUMPTARGET): Remove.
32403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32404 sysdeps/unix/sparc/sysdep.h
32405 (ENTRY, END): Remove.
32406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32407
324082012-04-25 Joseph Myers <joseph@codesourcery.com>
32409
32410 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32411 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32412 -DIS_IN_build.
32413
32414 * timezone/README: Update upstream location and email address for
32415 tzcode and tzdata.
32416 * timezone/zdump.c: Update from tzcode 2012b.
32417 * timezone/zic.c: Likewise.
32418
32419 * configure.in (libc_cv_as_needed): Remove test.
32420 * configure: Regenerated.
32421 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32422 conditional definition.
32423 [$(have-as-needed) != yes] (no-as-needed): Likewise.
32424 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32425 * config.make.in (have-as-needed): Remove variable.
32426
324272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32428 Paul Pluzhnikov <ppluzhnikov@google.com>
32429
32430 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32431 strings correctly.
32432
324332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
32434
32435 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32436 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32437 * sysdeps/sh/strlen.S: Likewise.
32438
324392012-04-24 Joseph Myers <joseph@codesourcery.com>
32440
32441 * sysdeps/unix/fork.S: Remove file.
32442 * sysdeps/unix/i386/fork.S: Likewise.
32443 * sysdeps/unix/sparc/fork.S: Likewise.
32444
32445 * sysdeps/unix/system.c: Remove file.
32446 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32447
32448 * sysdeps/unix/getegid.S: Remove file.
32449 * sysdeps/unix/geteuid.S: Likewise.
32450
324512012-04-24 Roland McGrath <roland@hack.frob.com>
32452
32453 * scripts/check-localplt.awk: New file.
32454 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32455 of diff.
32456 * scripts/data/localplt-generic.data: Add a comment.
32457
32458 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32459 NODE when __dir_mkfile failed.
32460 * sysdeps/mach/hurd/symlinkat.c: Likewise.
32461 Reported by Ludovic Courtès <ludo@gnu.org>.
32462
324632012-04-24 Andreas Jaeger <aj@suse.de>
32464
32465 * Makerules (common-clean): Also remove gen-as-const-headers
32466 files.
32467
324682012-04-24 Joseph Myers <joseph@codesourcery.com>
32469
32470 * Makerules (native-compile): Do not change working directory for
32471 build. Use $(OUTPUT_OPTION) in command.
32472 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32473
324742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32475
32476 [BZ #13886]
32477 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32478 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32479 * math/libm-test.inc (floor_test): Add more tests.
32480 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32481
324822012-04-24 Joseph Myers <joseph@codesourcery.com>
32483
32484 * sysdeps/unix/getdents.c: Remove file.
32485 * sysdeps/unix/sysv/getdents.c: Likewise.
32486 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32487
32488 * sysdeps/unix/syscalls.list (madvise): Add syscall from
32489 sysdeps/unix/mman/syscalls.list.
32490 (mmap): Likewise.
32491 (mprotect): Likewise.
32492 (msync): Likewise.
32493 (munmap): Likewise.
32494 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32495 * sysdeps/unix/mman/syscalls.list: Remove.
32496 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32497
32498 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32499 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32500 * configure: Regenerated.
32501 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32502 $(libgcc_s_suffix).
32503 * config.make.in (libgcc_s_suffix): Remove variable.
32504
325052012-04-23 Joseph Myers <joseph@codesourcery.com>
32506
32507 * sysdeps/unix/sysv/gethostname.c: Move to ...
32508 * sysdeps/posix/gethostname.c: ... here.
32509
32510 * sysdeps/unix/execve.S: Remove file.
32511
32512 * sysdeps/unix/_exit.S: Remove file.
32513
325142012-04-23 Andreas Jaeger <aj@suse.de>
32515
32516 [BZ #13739]
32517 * manual/Makefile: Remove make dist support, there's no
32518 need for a stand-alone documentation tar ball.
32519 (TEXI2DVI): Define always, it's not in Makeconfig.
32520 (dist): Removed.
32521 (tar-it): Removed.
32522 (edition): Removed.
32523 (glibc-doc-$(edition).tar): Removed
32524 (%.Z): Removed.
32525 (%.gz): Removed.
32526 (%.uu): Removed.
32527 (ETAGS): Remove, it's in Makeconfig.
32528 (move-if-change): Remove, it's in Makeconfig.
32529
325302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
32531
32532 [BZ #13970]
32533 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32534 (strtod, strtof, strtold, strtol, strtoul, strtoq)
32535 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32536 (strtod_l, strtof_l, strtold_l): Remove __wur.
32537 It is not necessarily an error to ignore strtol's return value.
32538 One can reliably look at the stored endptr to decide whether
32539 the number had valid syntax.
32540
325412012-04-21 Andreas Jaeger <aj@suse.de>
32542
32543 [BZ #13739]
32544 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32545
325462012-04-21 Joseph Myers <joseph@codesourcery.com>
32547
32548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32549 * sysdeps/unix/sysv/Versions: Remove file.
32550
325512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
32552
32553 [BZ #13927]
32554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32555
325562012-04-21 Nick Alcock <nick.alcock@oracle.com>
32557
32558 [BZ #7064]
32559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32560 version from __vm86.
32561
325622012-04-20 Joseph Myers <joseph@codesourcery.com>
32563
32564 * sysdeps/unix/common/lxstat.c: Remove file.
32565 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32566
32567 * sysdeps/unix/sysv/Makefile: Remove file.
32568
32569 * sysdeps/unix/sysv/direct.h: Remove file.
32570
32571 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32572 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32573 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32574 * sysdeps/unix/sysv/bits/signum.h: Likewise.
32575 * sysdeps/unix/sysv/bits/stat.h: Likewise.
32576 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32577 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32578
32579 * sysdeps/unix/sysv/setrlimit.c: Remove file.
32580
32581 * sysdeps/unix/xmknod.c: Remove file.
32582 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32583
32584 * sysdeps/unix/sysv/settimeofday.c: Remove file.
32585
32586 * sysdeps/unix/sysv/i386/time.S: Remove file.
32587
32588 * sysdeps/unix/fxstat.c: Remove file.
32589 * sysdeps/unix/xstat.c: Likewise.
32590 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32591
32592 * sysdeps/unix/sysv/sigaction.c: Remove file.
32593
32594 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32595 (sysdep_headers): Remove variable.
32596 [termio.h not in sysdep_headers] (generated): Likewise.
32597 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32598 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32599 * sysdeps/unix/sysv/tcdrain.c: Likewise.
32600 * sysdeps/unix/sysv/tcflow.c: Likewise.
32601 * sysdeps/unix/sysv/tcflush.c: Likewise.
32602 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32603 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32604 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32605 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32606 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32607
32608 * sysdeps/unix/siglist.c: Remove file.
32609
32610 * sysdeps/unix/getppid.S: Remove file.
32611
32612 * sysdeps/unix/mkdir.c: Remove file.
32613 * sysdeps/unix/rmdir.c: Likewise.
32614
326152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32616
32617 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32618 ERR_MAX value.
32619 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32620 errlist-compat value.
32621
326222012-04-18 David S. Miller <davem@davemloft.net>
32623
32624 * sysdeps/generic/memcopy.h (reg_char): Delete.
32625 * debug/strcat_chk.c: Use char, not reg_char.
32626 * debug/strcpy_chk.c: Likewise.
32627 * debug/strncat_chk.c: Likewise.
32628 * debug/strncpy_chk.c: Likewise.
32629 * string/memchr.c: Likewise.
32630 * string/memrchr.c: Likewise.
32631 * string/rawmemchr.c: Likewise.
32632 * string/strcat.c: Likewise.
32633 * string/strchr.c: Likewise.
32634 * string/strchrnul.c: Likewise.
32635 * string/strcmp.c: Likewise.
32636 * string/strcpy.c: Likewise.
32637 * string/strncat.c: Likewise.
32638 * string/strncmp.c: Likewise.
32639 * string/strncpy.c: Likewise.
32640
326412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32642
32643 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32644 __builtin_memcopy is called when src and dest ranges are known to not
32645 overlap.
32646
326472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32648
32649 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32650 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32651 fwd_align_merge macro call.
32652 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32653 bwd_align_merge macro call.
32654 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32655
326562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32657
32658 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32659 bwd_align_merge macros.
32660 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32661 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32662 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32663
326642012-04-18 David S. Miller <davem@davemloft.net>
32665
32666 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32667
326682012-04-18 Andreas Jaeger <aj@suse.de>
32669
32670 [BZ# 6794]
32671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32672 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32674
32675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32676 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32678
32679 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32680 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32681 Adjust for changed ldbl-128 files.
32682
32683 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32684 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32685 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32686
326872012-04-17 David S. Miller <davem@davemloft.net>
32688
32689 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32690
326912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32692
32693 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32694 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32695 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32696 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32697 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32698 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32699
327002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32701
32702 [BZ #6794]
32703 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32704 * math/libm-test.inc: Add ilogb errno and exception tests.
32705 * math/w_ilogb.c: New file: ilogb wrapper.
32706 * math/w_ilogbf.c: New file: ilogbf wrapper.
32707 * math/w_ilogbl.c: New file: ilogbl wrapper.
32708 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32709 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32710 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32711 exception being thrown with 0.0 as argument.
32712 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32713 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32714 exception being thrown with 0.0 as argument.
32715 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32716 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32717 exception being thrown with 0.0 as argument.
32718 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32719 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32720 exception being thrown with 0.0 as argument.
32721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32722 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32723 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32724 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32725 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32726 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32727 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32728 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32729 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32730
327312012-04-17 Petr Baudis <pasky@ucw.cz>
32732
32733 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32734 with altivec.
32735
327362012-04-16 Marek Polacek <polacek@redhat.com>
32737
32738 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32739
327402012-04-16 Marek Polacek <polacek@redhat.com>
32741
32742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32743 operands of fdivp instruction.
32744
327452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32748 * elf/tst-auditmod3b.c: Likewise.
32749 * elf/tst-auditmod4b.c: Likewise.
32750 * elf/tst-auditmod5b.c: Likewise.
32751 * elf/tst-auditmod6b.c: Likewise.
32752 * elf/tst-auditmod6c.c: Likewise.
32753 * elf/tst-auditmod7b.c: Likewise.
32754 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32755 * sysdeps/x86_64/preconfigure.in: Likewise.
32756 * sysdeps/x86_64/preconfigure: Regenerated.
32757
327582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32759
32760 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32761 __ILP32__.
32762
327632012-04-13 Antoine Balestrat <merkil33@gmail.com>
32764
32765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32766 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32767
327682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32769
32770 [BZ #13973]
32771 * locale/iso-639.def: Fix gl language name. Spotted by
32772 Yaron Shahrabani.
32773
327742012-04-12 Roland McGrath <roland@hack.frob.com>
32775
32776 [BZ #2074]
32777 * libio/libio.h (__io_write_fn): Update comment.
32778
327792012-04-12 Petr Baudis <pasky@ucw.cz>
32780
32781 [BZ #2074]
32782 * stdio.texi (Hook Functions): The user provided writer function
32783 is not allowed to return -1.
32784
327852012-04-11 David S. Miller <davem@davemloft.net>
32786
32787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32788
327892012-04-11 Mike Frysinger <vapier@gentoo.org>
32790
32791 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32792 Add a leading slash to rtkaio.
32793
327942012-04-11 Jim Meyering <meyering@redhat.com>
32795
32796 [BZ #11959]
32797 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32798 It is not necessarily an error to ignore fwrite's return
32799 value. One can reliably use ferror to test for errors after
32800 the fact.
32801
328022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32803
32804 * bits/types.h (__snseconds_t): New type.
32805 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32806
32807 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32809 (__SNSECONDS_T_TYPE): Likewise.
32810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32811 (__SNSECONDS_T_TYPE): Likewise.
32812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32813 (__SNSECONDS_T_TYPE): Likewise.
32814
328152012-04-10 Andreas Jaeger <aj@suse.de>
32816
32817 [BZ #2636]
32818 * manual/time.texi (Processor Time): Return type of times is
32819 elapsed real time since an arbitrary point in the past.
32820 (CPU Time): Move CLK_TCK from here...
32821 (Processor Time): ...to here. Correct description.
32822 * manual/conf.texi (Constants for Sysconf): Correct description of
32823 _SC_CLK_TCK.
32824
328252012-04-10 David S. Miller <davem@davemloft.net>
32826
32827 [BZ #13967]
32828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32829 where the is a gap between DT_REL(A) and DT_JMPREL.
32830
328312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32834 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32835 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32836
328372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32838
32839 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32840 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32841 (dl_main): Handle --inhibit-cache.
32842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32843 _dl_inhibit_cache.
32844 * elf/dl-load.c (_dl_map_object): Use it.
32845 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32846
328472012-04-09 Joseph Myers <joseph@codesourcery.com>
32848
32849 [BZ #13872]
32850 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32851 (__ieee754_powl): Saturate large exponents rather than testing for
32852 overflow of y*log2(x).
32853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32854 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32855 exceptions.
32856
32857 [BZ #11521]
32858 * math/s_ctan.c: Include <float.h>.
32859 (__ctan): Avoid internal overflow or cancellation in calculating
32860 denominator.
32861 * math/s_ctanf.c: Likewise.
32862 * math/s_ctanl.c: Likewise.
32863 * math/s_ctanh.c: Likewise.
32864 * math/s_ctanhf.c: Likewise.
32865 * math/s_ctanhl.c: Likewise.
32866 * math/libm-test.inc (ctan_test): Add more tests.
32867 (ctanh_test): Likewise.
32868 * sysdeps/i386/fpu/libm-test-ulps: Update.
32869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870
328712012-04-09 Andreas Jaeger <aj@suse.de>
32872
32873 [BZ #6894]
32874 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32875 is an optional BSD extension.
32876
32877 [BZ #10254]
32878 * manual/stdio.texi (Opening Streams): Document additional fopen
32879 parameters.
32880
328812012-04-09 Roland McGrath <roland@hack.frob.com>
32882
32883 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32884 %eax without telling the compiler.
32885
328862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32887
32888 [BZ # 13963]
32889 * manual/install.texi: Use sourceware.org.
32890
328912012-04-09 Joseph Myers <joseph@codesourcery.com>
32892
32893 [BZ #13873]
32894 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32895 (__ieee754_pow): Generate overflow and underflow using huge*huge
32896 and tiny*tiny rather than just returning constant infinity or zero
32897 for large exponents.
32898 * math/libm-test.inc (pow_test): Require overflow exceptions for
32899 applicable cases of large exponents.
32900
32901 [BZ #706]
32902 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32903 (__ieee754_pow): Use iterative multiplication algorithm only for
32904 integer exponents with absolute value below 1024. Check for odd
32905 integer exponents when using algorithm for real exponents.
32906 * math/libm-test.inc (pow_test): Add more tests.
32907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32908
329092012-04-08 Joseph Myers <joseph@codesourcery.com>
32910
32911 [BZ #13705]
32912 * math/libm-test.inc (exp_test): Do not allow overflow exception
32913 on underflow test.
32914
329152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32916
32917 [BZ #13705]
32918 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32919 instead of __kernel_standard_f.
32920
329212012-04-08 Mike Frysinger <vapier@gentoo.org>
32922
32923 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32924 * sysdeps/x86_64/memset_chk.S: Likewise.
32925
329262012-04-08 Andreas Jaeger <aj@suse.de>
32927
32928 [BZ #10153]
32929 * manual/startup.texi (Environment Access): Describe return value
32930 for putenv and setenv.
32931
32932 [BZ #6895]
32933 * manual/filesys.texi (Directory Entries): Add description for
32934 DT_LNK.
32935
32936 [BZ #6890]
32937 * manual/filesys.texi (Directory Entries): Clarify that it's file
32938 system not operating system in the description of DT_UNKNOWN.
32939
32940 [BZ #6578]
32941 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32942
329432012-04-08 Stephen Compall <s11@member.fsf.org>
32944
32945 [BZ #6649]
32946 * manual/llio.texi (Opening and Closing Files): Add cross
32947 reference to explain mode argument.
32948
329492012-04-07 Mike Frysinger <vapier@gentoo.org>
32950
32951 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32952 * sysdeps/x86_64/memset_chk.S: Likewise.
32953
329542012-04-07 David S. Miller <davem@davemloft.net>
32955
32956 * elf/elf.h (R_SPARC_WDISP10): Define.
32957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32958 R_SPARC_SIZE32.
32959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32960 R_SPARC_SIZE64 and R_SPARC_H34.
32961
329622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32963
32964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32965 conditions and remove no longer applicable assertion.
32966
329672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32968
32969 * bits/byteswap.h: Include <features.h>.
32970 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32971 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32972
329732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32974
32975 * bits/byteswap.h (__bswap_16): Removed.
32976 Include <bits/byteswap-16.h> to get __bswap_16.
32977 * sysdeps/i386/bits/byteswap.h: Likewise.
32978 * sysdeps/s390/bits/byteswap.h: Likewise.
32979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32980 * bits/byteswap-16.h: New file.
32981 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32982 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32983 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32984 * string/Makefile (headers): Add bits/byteswap-16.h.
32985
329862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32987
32988 [BZ #13895]
32989 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32990 extra indirection.
32991 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32992 * nss/tst-nss-static.c: New.
32993
329942012-04-06 Robert Millan <rmh@gnu.org>
32995
32996 [BZ #6486]
32997 * manual/llio.texi (File Position Primitive): lseek
32998 refers to WHENCE when it really means OFFSET.
32999
330002012-04-06 Andreas Jaeger <aj@suse.de>
33001
33002 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33003 strncmp declarations.
33004
33005 * abilist/libc.abilist: Add __poll and __ppoll.
33006
330072012-04-05 David S. Miller <davem@davemloft.net>
33008
33009 * scripts/check-local-headers.sh: Accept a host triplet in the
33010 path matched by the exclude regexp.
33011
33012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33013 definition.
33014 * sysdeps/powerpc/powerpc32/dl-machine.h
33015 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33016 * sysdeps/s390/s390-32/dl-machine.h
33017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33018 * sysdeps/sparc/sparc32/dl-machine.h
33019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33020 * sysdeps/sparc/sparc64/dl-machine.h
33021 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33022
33023 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33024 lazy binding.
33025 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33026 undefined symbol errors.
33027
33028 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33029 DT_NEEDED entries.
33030
330312012-04-05 Michael Matz <matz@suse.de>
33032
33033 [BZ #13592]
33034 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33035
330362012-04-05 Andreas Jaeger <aj@suse.de>
33037
33038 [BZ #13908]
33039 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33040 comment.
33041
330422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33043
33044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33045 which ROUND is no valid rounding mode.
33046
330472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33048
33049 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33050 read again.
33051 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33052
330532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33054
33055 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33056 an exception using FPU order intentionally.
33057
330582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33059
33060 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33061 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33062 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33063 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33064
330652012-04-05 Simon Josefsson <simon@josefsson.org>
33066
33067 [BZ #12340]
33068 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33069 EINVAL when BUFLEN is too smal.
33070
330712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
33072
33073 [BZ #13553]
33074 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33075 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33076
330772012-04-03 Andreas Jaeger <aj@suse.de>
33078
33079 [BZ #13938]
33080 * manual/setjmp.texi (System V contexts): Fix sentence.
33081
33082 [BZ #13926]
33083 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33084 New macro for this case.
33085 [!__GNUC__] (__bswap_64): New inline function for this case.
33086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33087 * bits/byteswap.h: Likewise.
33088 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33089 ull, guard with __GLIBC_HAVE_LONG_LONG.
33090
33091 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33092 __GLIBC_HAVE_LONG_LONG.
33093
33094 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33095 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33096
330972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33098
33099 [BZ #13691]
33100 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33101 inptr and inend, rather than using last_ch.
33102
331032012-04-02 David S. Miller <davem@davemloft.net>
33104
33105 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33106 * stdio-common/printf-parse.h (read_int): Change return type to
33107 'int', return -1 on INT_MAX overflow.
33108 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33109 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
33110 overflows INT_MAX. Check for overflow of in-format-string precision
33111 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
33112 SIZE_MAX not INT_MAX for integer overflow test.
33113 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33114 skip the construct in the format string but do not record anything.
33115 * stdio-common/bug22.c: Adjust to test both width/prevision
33116 INT_MAX overflow as well as total length INT_MAX overflow. Check
33117 explicitly for proper errno values.
33118
331192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
33120
33121 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33122 CHAR_MAX.
33123 * string/test-strcmp.c [! WIDE]: Likewise.
33124 * time/tst-mktime2.c: Likewise for INT_MAX.
33125 * string/test-string.h: #include <sys/param.h> for MIN.
33126
33127 * csu/init-first.c (__libc_init_first): Call __ctype_init.
33128 * sysdeps/i386/init-first.c (init): Likewise.
33129 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33130 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33131 * sysdeps/sh/init-first.c (init): Likewise.
33132
331332012-04-01 Ulrich Drepper <drepper@gmail.com>
33134
33135 * po/ru.po: Update from translation team.
33136 * po/vi.po: Likewise.
33137
331382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33139
33140 * resolv/nss_dns/dns-host.c: Merge copyright years.
33141
331422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33143
33144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33145 Optimize memcpy with prefetch if
33146 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
33147 src, dst pointers have unequal 16 byte alignments.
33148
331492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33150
33151 [BZ #13928]
33152 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33153 from a CNAME entry and return the minimum ttl for the query.
33154 (gaih_getanswer_slice): Likewise.
33155
331562012-03-30 Jeff Law <law@redhat.com>
33157
33158 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33159 due to long keys.
33160 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33161 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33162
33163 * resolv/nss_dns/dns-host.c: Update copyright year.
33164
331652012-03-30 Ulrich Drepper <drepper@gmail.com>
33166
33167 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33168 requests to save a system call. Fix check that all bytes are sent.
33169
33170 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33171 comments for sendmmsg.
33172
331732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33174
33175 [BZ #13691]
33176 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33177 with only 1 character between 0x0041 and 0x01b0.
33178 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33179 * wcsmbs/tst-mbsnrtowcs.c: New file.
33180
331812012-03-29 David S. Miller <davem@davemloft.net>
33182
33183 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33184 small copies by hand.
33185
331862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33187
33188 [BZ #13761]
33189 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33190 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33191 group memberships.
33192
331932012-03-28 David S. Miller <davem@davemloft.net>
33194
33195 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33196 that branches into memcpy.
33197 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33200 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33202 bits.
33203 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33204 implementation too.
33205 * sysdeps/sparc/mempcpy.S: New file.
33206
33207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33208 the IFUNC routine in the libc case.
33209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33210
33211 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33212 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33213 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33214 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33215 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33216 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33217 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33218 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33219
33220 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33221 loop to 256 bytes instead of 64 bytes and fix test signedness.
33222
33223 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33224 * sysdeps/sparc/sparc32/Makefile: rather than here...
33225 * sysdeps/sparc/sparc64/Makefile: and here.
33226
332272012-03-28 Ulrich Drepper <drepper@gmail.com>
33228
33229 * malloc/mallocbug.c: Avoid warnings about unused variables.
33230
332312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33232
33233 [BZ #13760]
33234 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33235 in the right place. Discard and retry query if response is
33236 larger than input buffer size.
33237
332382012-03-28 Joseph Myers <joseph@codesourcery.com>
33239
33240 [BZ #369]
33241 [BZ #2678]
33242 [BZ #3866]
33243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33244 x for large integer exponent.
33245 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33246 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
33247 sign of result as needed afterwards.
33248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33250 result for underflowing pow the same as for overflow.
33251 (__kernel_standard_l): Handle powl overflow and underflow here
33252 rather than calling __kernel_standard.
33253 * math/libm-test.inc (pow_test): Add more tests.
33254
33255 [BZ #3868]
33256 [BZ #13879]
33257 [BZ #13910]
33258 [BZ #13911]
33259 [BZ #13912]
33260 [BZ #13913]
33261 [BZ #13915]
33262 [BZ #13916]
33263 [BZ #13917]
33264 [BZ #13918]
33265 [BZ #13919]
33266 [BZ #13920]
33267 [BZ #13921]
33268 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33269 * sysdeps/ieee754/k_standard.c: Include <float.h>.
33270 (__kernel_standard_l): New function.
33271 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33272 __kernel_standard.
33273 * math/w_acosl.c (__acosl): Likewise.
33274 * math/w_asinl.c (__asinl): Likewise.
33275 * math/w_atan2l.c (__atan2l): Likewise.
33276 * math/w_atanhl.c (__atanhl): Likewise.
33277 * math/w_coshl.c (__coshl): Likewise.
33278 * math/w_exp10l.c (__exp10l): Likewise.
33279 * math/w_exp2l.c (__exp2l): Likewise.
33280 * math/w_fmodl.c (__fmodl): Likewise.
33281 * math/w_hypotl.c (__hypotl): Likewise.
33282 * math/w_j0l.c (__j0l, __y0l): Likewise.
33283 * math/w_j1l.c (__j1l, __y1l): Likewise.
33284 * math/w_jnl.c (__jnl, __ynl): Likewise.
33285 * math/w_lgammal.c (__lgammal): Likewise.
33286 * math/w_log10l.c (__log10l): Likewise.
33287 * math/w_log2l.c (__log2l): Likewise.
33288 * math/w_logl.c (__logl): Likewise.
33289 * math/w_powl.c (__powl): Likewise.
33290 * math/w_remainderl.c (__remainderl): Likewise.
33291 * math/w_scalbl.c (sysv_scalbl): Likewise.
33292 * math/w_sinhl.c (__sinhl): Likewise.
33293 * math/w_sqrtl.c (__sqrtl): Likewise.
33294 * math/w_tgammal.c (__tgammal): Likewise.
33295 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33296 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33297 * math/libm-test.inc (acos_test): Add more tests.
33298 (acosh_test): Likewise.
33299 (asin_test): Likewise.
33300 (atanh_test): Likewise.
33301 (exp_test): Likewise.
33302 (exp10_test): Likewise.
33303 (exp2_test): Likewise.
33304 (expm1_test): Likewise.
33305 (lgamma_test): Likewise.
33306 (log_test): Likewise.
33307 (log10_test): Likewise.
33308 (log1p_test): Likewise.
33309 (log2_test): Likewise.
33310 (pow_test): Do not allow some spurious overflow exceptions.
33311 (sqrt_test): Add more tests.
33312 (tgamma_test): Likewise.
33313 (y0_test): Likewise.
33314 (y1_test): Likewise.
33315 (yn_test): Likewise.
33316
333172012-03-27 Anton Blanchard <anton@samba.org>
33318
33319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33320 MAP_HUGETLB.
33321 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33322 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33324
333252012-03-27 David S. Miller <davem@davemloft.net>
33326
33327 * conform/Makefile: Run run-conformtest.sh using $(BASH).
33328
33329 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33330 have-as-vis3 check.
33331
333322012-03-27 Andreas Jaeger <aj@suse.de>
33333
33334 * sysdeps/x86_64/elf/configure.in: Moved to ...
33335 * sysdeps/x86_64/configure.in: ... here.
33336 * sysdeps/x86_64/elf/start.S: Moved to ...
33337 * sysdeps/x86_64/start.S: ... here.
33338 * sysdeps/x86_64/elf/configure: Delete.
33339
33340 * sysdeps/x86_64/configure.in: Merge contents from
33341 sysdeps/i386/configure.in (without i686 check).
33342
33343 * sysdeps/i386/elf/Versions: Merge into ...
33344 * sysdeps/i386/Versions: ... this.
33345 * sysdeps/i386/elf/Versions: Delete file.
33346 * sysdeps/i386/elf/start.S: Moved to ...
33347 * sysdeps/i386/start.S: ...here.
33348 * sysdeps/i386/elf/configure.in: Merge into...
33349 * sysdeps/i386/configure.in: ...here.
33350 * sysdeps/i386/elf/configure.in: Delete file.
33351 * sysdeps/i386/elf/configure: Delete file.
33352
33353 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33354 * debug/backtracesyms.c: ... here.
33355 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33356 * debug/backtracesymsfd.c: ... here.
33357 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33358 * sysdeps/generic/ifunc-sel.h: ... here.
33359
33360 * sysdeps/unix/i386/start.c: Delete file.
33361 * sysdeps/unix/sparc/start.c: Delete file.
33362 * sysdeps/unix/start.c: Delete file.
33363
33364 * sysdeps/sh/elf/configure.in: Moved to ...
33365 * sysdeps/sh/configure.in: ... here.
33366 * sysdeps/sh/elf/start.S: Moved to ...
33367 * sysdeps/sh/start.S: ... here.
33368 * sysdeps/sh/elf/configure: Delete file.
33369
33370 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33371 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33372 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33373 * sysdeps/powerpc/powerpc64/entry.h: ... here.
33374 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33375 * sysdeps/powerpc/powerpc64/start.S: here.
33376 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33377 * sysdeps/powerpc/powerpc64/Makefile: ... this.
33378 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33379 * sysdeps/powerpc/powerpc64/configure.in: ... this.
33380 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33381
33382 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33383 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33384 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33385 * sysdeps/powerpc/powerpc32/start.S: ... here.
33386 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33387 * sysdeps/powerpc/powerpc32/configure.in: ... this.
33388 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33389
33390 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33391 * sysdeps/powerpc/ifunc-sel.h: ... here.
33392 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33393 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33394
33395 * sysdeps/sparc/elf/configure.in: Moved to ...
33396 * sysdeps/sparc/configure.in: ... here.
33397 * sysdeps/sparc/elf/configure: Delete file.
33398 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33399 * sysdeps/sparc/sparc32/start.S: ... here.
33400 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33401 * sysdeps/sparc/sparc64/start.S: ... here.
33402 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33403 * sysdeps/sparc/sparc32/Makefile: ... this.
33404 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33405 * sysdeps/sparc/sparc64/Makefile: ... this.
33406
33407 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33408 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33409 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33410 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33411 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33412 * sysdeps/s390/s390-32/setjmp.S: ... here.
33413 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33414 * sysdeps/s390/s390-32/configure.in: ... here.
33415 * sysdeps/s390/s390-32/elf/configure: Delete file.
33416 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33417 * sysdeps/s390/s390-32/start.S: ... here.
33418
33419 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33420 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33421 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33422 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33423 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33424 * sysdeps/s390/s390-64/setjmp.S: ... here.
33425 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33426 * sysdeps/s390/s390-64/configure.in: ... here
33427 * sysdeps/s390/s390-64/elf/configure: Delete file.
33428 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33429 * sysdeps/s390/s390-64/start.S: ... here.
33430 * sysdeps/s390/s390-64/elf/configure: Delete.
33431
33432 * configure.in: Remove support for elf directories in sysdeps.
33433
33434 * configure: Regenerated.
33435 * sysdeps/i386/configure: Regenerated.
33436 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33437 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33438 * sysdeps/s390/s390-32/configure: Regenerated.
33439 * sysdeps/s390/s390-64/configure: Regenerated.
33440 * sysdeps/sh/configure: Regenerated.
33441 * sysdeps/sparc/configure: Regenerated.
33442 * sysdeps/x86_64/configure: Regenerated.
33443
334442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
33445
33446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33447
33448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33449 denormal result into account.
33450
334512012-03-25 Roland McGrath <roland@hack.frob.com>
33452
33453 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33454 Reported by Allan McRae <allan@archlinux.org>.
33455
334562012-03-23 Jeff Law <law@redhat.com>
33457
33458 * nss/getnssent.c (__nss_getent): Fix typo.
33459
334602012-03-23 David S. Miller <davem@davemloft.net>
33461
33462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33463
334642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
33465
33466 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33467 to pad to uint64_t for each field.
33468 (dl_tls_index): Replace unsigned long with uint64_t.
33469
334702012-03-23 Daniel Jacobowitz <dmj@google.com>
33471 Paul Pluzhnikov <ppluzhnikov@google.com>
33472
33473 [BZ #6528]
33474 * grp/Makefile (otherlibs): Don't set it.
33475 * inet/Makefile (otherlibs): Likewise.
33476 * login/Makefile (otherlibs): Likewise.
33477 * nscd/Makefile (otherlibs): Likewise.
33478 * posix/Makefile (otherlibs): Likewise.
33479 * pwd/Makefile (otherlibs): Likewise.
33480 * rt/Makefile (otherlibs): Likewise.
33481 * sunrpc/Makefile (otherlibs): Likewise.
33482 * nss/Makefile (otherlibs): Likewise.
33483 Add libnss_files to routines and static-only-routines.
33484 ($(objpfx)getent): Remove rule.
33485 * resolv/Makefile: Add libnss_dns and libresolv to routines and
33486 static-only-routines.
33487
334882012-03-22 Joseph Myers <joseph@codesourcery.com>
33489
33490 [BZ #13892]
33491 * math/s_cexp.c: Include <float.h>.
33492 (__cexp): Handle exp result overflowing not necessarily
33493 overflowing both real and imaginary parts of result.
33494 * math/s_cexpf.c: Likewise.
33495 * math/s_cexpl.c: Likewise.
33496 * math/libm-test.inc (cexp_test): Add more tests.
33497 * sysdeps/i386/fpu/libm-test-ulps: Update.
33498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33499
335002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33501
33502 * include/link.h (ELFW): New macro.
33503 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33504 Replace ELF64_R_TYPE with ELFW(R_TYPE).
33505
335062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33507
33508 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33509 with uint64_t.
33510
335112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33512
33513 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33514 declaration.
33515 (struct La_x32_retval): Likewise.
33516
335172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33518
33519 * sysdeps/x86_64/preconfigure.in: New file.
33520 * sysdeps/x86_64/preconfigure: New generated file.
33521
335222012-03-22 Joseph Myers <joseph@codesourcery.com>
33523
33524 [BZ #13824]
33525 * math/e_exp2l.c: Include <float.h>.
33526 (__ieee754_exp2l): Handle overflow and underflow cases
33527 separately. Only pass fractional part of argument to
33528 __ieee754_expl.
33529 * math/libm-test.inc (exp2_test): Add more tests.
33530
33531 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33532 negating x to take absolute value.
33533 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33534 Likewise.
33535 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33536 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33537 Likewise.
33538 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33539 computing low part if x was negated.
33540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33541
335422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33543
33544 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33545 la_x32_gnu_pltexit.
33546 (pltexit): Cast int_retval to ptrdiff_t.
33547 * elf/tst-auditmod3b.c: Likewise.
33548 * elf/tst-auditmod4b.c: Likewise.
33549 * elf/tst-auditmod5b.c: Likewise.
33550 * elf/tst-auditmod6b.c: Likewise.
33551 * elf/tst-auditmod6c.c: Likewise.
33552 * elf/tst-auditmod7b.c: Likewise.
33553
33554 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33555 and x32_gnu_pltexit.
33556
33557 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33558 __ELF_NATIVE_CLASS.
33559 (La_x32_regs): New macro.
33560 (La_x32_retval): Likewise.
33561 (la_x32_gnu_pltenter): New function prototype.
33562 (la_x32_gnu_pltexit): Likewise.
33563
335642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
33565
33566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33567 exponent.
33568
33569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33570
33571 * configure.in (libc_cv_cc_nofma): Check for option to disable
33572 generation of FMA instructions.
33573 * configure: Regenerate.
33574 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33575 * sysdeps/ieee754/dbl-64/Makefile: New file.
33576 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33577 Remove brandred-fma4.
33578 (CFLAGS-brandred-fma4.c): Remove.
33579 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33581 define.
33582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33583 define.
33584
335852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33586
33587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33588 LLONG_MAX != LONG_MAX.
33589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33590 (_fitoa_word): Likewise.
33591 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33592 LLONG_MAX != LONG_MAX.
33593 * stdio-common/_itowa.h: Include <_itoa.h>.
33594 (_itowa_word): Use _ITOA_WORD_TYPE on value.
33595 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
33596 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
33597 only if not defined.
33598 (_ITOA_WORD_TYPE): Likewise.
33599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33600 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33601
336022012-03-21 David S. Miller <davem@davemloft.net>
33603
33604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33605
336062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33607
33608 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33609 of x86_64 when setting libc_cv_slibdir, libdir and
33610 libc_cv_localedir.
33611 * sysdeps/unix/sysv/linux/configure: Regenerated.
33612
336132012-03-21 Joseph Myers <joseph@codesourcery.com>
33614
33615 * manual/lang.texi (Old Varargs): Remove section.
33616 (How Variadic): Update menu.
33617 (va_start): Do not mention varargs.h.
33618
336192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33620 Joseph Myers <joseph@codesourcery.com>
33621
33622 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33623 link test.
33624 * configure: Regenerated.
33625
336262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33627
33628 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33629 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33630 conformtest.pl
33631
336322012-03-21 Joseph Myers <joseph@codesourcery.com>
33633
33634 * NOTES: Remove.
33635 * Makefile (files-for-dist): Remove NOTES.
33636 (NOTES): Remove rule.
33637 * README: Don't refer to NOTES.
33638 * manual/creature.texi: Don't include macros.texi.
33639 * manual/intro.texi (creature.texi): Remove comment referring to
33640 NOTES.
33641
33642 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33643 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33644 * configure: Regenerated.
33645 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33646 LIBC_TRY_CC_OPTION.
33647 (libc_cv_as_i686): Likewise.
33648 (libc_cv_cc_avx): Likewise.
33649 (libc_cv_cc_sse2avx): Likewise.
33650 (libc_cv_cc_fma4): Likewise.
33651 (libc_cv_cc_novzeroupper): Likewise.
33652 * sysdeps/i386/configure: Regenerated.
33653
33654 [BZ #13883]
33655 * sysdeps/i386/fpu/s_cexp.S: Remove.
33656 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33657 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33658 * math/libm-test.inc (cexp_test): Add more tests.
33659 * sysdeps/i386/fpu/libm-test-ulps: Update.
33660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33661
336622012-03-21 Allan McRae <allan@archlinux.org>
33663
33664 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33665
336662012-03-21 Joseph Myers <joseph@codesourcery.com>
33667
33668 [BZ #13871]
33669 * math/w_exp2.c: Do not include <float.h>.
33670 (o_threshold, u_threshold): Remove.
33671 (__exp2): Calculate result before checking finiteness and calling
33672 __kernel_standard.
33673 * math/w_exp2f.c: Likewise.
33674 * math/w_exp2l.c: Likewise.
33675 * math/libm-test.inc (exp2_test): Require overflow exception for
33676 1e6 input.
33677
33678 [BZ #3866]
33679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33680 range of signed 64-bit integers before using fistpll. Remove
33681 checks for whether integers fit in mantissa bits.
33682 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33683 the range of signed 32-bit integers before using fistpl. Remove
33684 checks for whether integers fit in mantissa bits.
33685 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33686 (__ieee754_powl): Test for y outside the range of signed 64-bit
33687 integers before using fistpll. Reduce 64-bit values to 63-bit
33688 ones as needed.
33689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33690 divide-by-zero is raised for zero to large negative powers.
33691 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33692 (__ieee754_powl): Test for y outside the range of signed 64-bit
33693 integers before using fistpll. Reduce 64-bit values to 63-bit
33694 ones as needed.
33695 * math/libm-test.inc (pow_test): Add more tests.
33696
336972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33698
33699 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33700 <stdio-common/_itoa.h>.
33701 * debug/segfault.c: Likewise.
33702 * elf/dl-cache.c: Likewise.
33703 * elf/dl-minimal.c: Likewise.
33704 * elf/dl-misc.c: Likewise.
33705 * elf/dl-sysdep.c: Likewise.
33706 * elf/dl-version.c: Likewise.
33707 * elf/rtld.c: Likewise.
33708 * hurd/hurdsock.c: Likewise.
33709 * hurd/lookup-retry.c: Likewise.
33710 * malloc/malloc.c: Likewise.
33711 * malloc/mtrace.c: Likewise.
33712 * nscd/nscd_getgr_r.c: Likewise.
33713 * nscd/nscd_getpw_r.c: Likewise.
33714 * nscd/nscd_getserv_r.c: Likewise.
33715 * posix/getopt_init.c: Likewise.
33716 * posix/wordexp.c: Likewise.
33717 * stdio-common/_itoa.c: Likewise.
33718 * stdio-common/printf_fphex.c: Likewise.
33719 * stdio-common/vfprintf.c: Likewise.
33720 * string/_strerror.c: Likewise.
33721 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33722 * sysdeps/i386/i686/hp-timing.h: Likewise.
33723 * sysdeps/mach/_strerror.c: Likewise.
33724 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33725 * sysdeps/mach/hurd/sethostid.c: Likewise.
33726 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33727 * sysdeps/mach/xpg-strerror.c: Likewise.
33728 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33729 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33730 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33731 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33732 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33733 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33734 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33735 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33736 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33737 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33738 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33739 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33740 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33741 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33742 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33743 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33744 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33745 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33746 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33747 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33748 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33749
33750 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33751
33752 * stdio-common/_itoa.h: Moved to ...
33753 * sysdeps/generic/_itoa.h: Here.
33754
33755 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33756
33757 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33758 instead of "_itoa.h" and "_itowa.h".
33759 * stdio-common/vfprintf.: Likewise.
33760
337612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33762
33763 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33764 <bits/wordsize.h>.
33765 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33766 (__signbit): Likwise.
33767 (llrintf): Likwise.
33768 (llrint): Likwise.
33769
337702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33771
33772 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33773 __WORDSIZE != 64.
33774
337752012-03-20 Joseph Myers <joseph@codesourcery.com>
33776
33777 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33778 OVERFLOW_EXCEPTION_OK.
33779 * math/libm-test.inc ("Philosophy"): Update comment about
33780 exception testing.
33781 (OVERFLOW_EXCEPTION): Define.
33782 (OVERFLOW_EXCEPTION_OK): Likewise.
33783 (INVALID_EXCEPTION_OK): Renumber.
33784 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33785 (IGNORE_ZERO_INF_SIGN): Likewise.
33786 (test_exceptions): Handle FE_OVERFLOW.
33787 (exp10_test): Expect overflow exceptions.
33788 (exp2_test): Likewise.
33789 (expm1_test): Likewise.
33790 (nextafter_test): Likewise.
33791 (pow_test): Likewise.
33792 (scalbn_test): Likewise.
33793 (scalbln_test): Likewise.
33794
337952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33796
33797 * sysdeps/x86_64/bits/atomic.h
33798 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33799 64bit integer.
33800 (atomic_exchange_acq): Likewise.
33801 (__arch_exchange_and_add_body): Likewise.
33802 (__arch_add_body): Likewise.
33803 (atomic_add_negative): Likewise.
33804 (atomic_add_zero): Likewise.
33805
338062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33807
33808 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
33809 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33810
338112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33812
33813 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33814 Check __x86_64__ instead of __WORDSIZE.
33815
338162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33817
33818 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33819
338202012-03-19 David S. Miller <davem@davemloft.net>
33821
33822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33823
33824 * sysdeps/sparc/fpu/fenv_private.h: New file.
33825 * sysdeps/sparc/fpu/math_private.h: Use it.
33826 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33827 Remove.
33828 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
33829 (libc_feholdexcept_setroundl): Remove.
33830 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33831 Remove.
33832 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33833 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33834
338352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33836
33837 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33838 int64_t instead of long int.
33839 (INSERT_WORDS64): Likwise.
33840
338412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33844 _Unwind_GetCFA return to _Unwind_Ptr first.
33845
338462012-03-19 Joseph Myers <joseph@codesourcery.com>
33847
33848 [BZ #13629]
33849 * math/s_clog.c: Include <float.h>.
33850 (__clog): Scale large or subnormal inputs.
33851 * math/s_clogf.c: Likewise.
33852 * math/s_clogl.c: Likewise.
33853 * math/s_clog10.c: Include <float.h>.
33854 (M_LOG10_2): Define.
33855 (__clog10): Scale large or subnormal inputs.
33856 * math/s_clog10f.c: Likewise.
33857 * math/s_clog10l.c: Likewise.
33858 * math/libm-test.inc (clog_test): Add more tests.
33859 (clog10_test): Likewise.
33860 * sysdeps/i386/fpu/libm-test-ulps: Update.
33861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33862
33863 [BZ #11451]
33864 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33865 x and y.
33866 * math/libm-test.inc (atan2_test): Add another test.
33867
33868 * Makerules (common-objdir-compile): Remove.
33869 * sysdeps/unix/Makefile (config-generated): Do not add
33870 $(unix-generated) to variable.
33871 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33872 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33873 Remove rule.
33874 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33875 Likewise.
33876 [generic bits/local_lim.h] (before-compile): Do not append to
33877 variable.
33878 [generic bits/local_lim.h] (common-generated): Likewise.
33879 [generic sys/param.h] (before-compile): Do not append to variable.
33880 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33881 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33882 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33883 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33884 include.
33885 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33886 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33887 [generic sys/param.h] ($(addprefix
33888 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33889 [generic sys/param.h] (common-generated): Do not append to
33890 variable.
33891 [generic sys/param.h] (sysdep_headers): Likewise.
33892 [generic bits/errno.h] (before-compile): Do not append to
33893 variable.
33894 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33895 rule.
33896 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33897 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33898 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33899 [generic bits/errno.h] (common-generated): Do not append to
33900 variable.
33901 [generic bits/ioctls.h] (before-compile): Do not append to
33902 variable.
33903 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33904 rule.
33905 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33906 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33908 rule.
33909 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33910 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33911 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33912 [generic bits/ioctls.h] (common-generated): Do not append to
33913 variable.
33914 [generic sys/syscall.h] (syscall.h): Remove variable.
33915 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33916 rule.
33917 [generic sys/syscall.h] (before-compile): Do not append to
33918 variable.
33919 [generic sys/syscall.h] (common-generated): Likewise.
33920 * sysdeps/unix/errnos-tmpl.c: Remove file.
33921 * sysdeps/unix/errnos.awk: Likewise.
33922 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33923 * sysdeps/unix/ioctls.awk: Likewise.
33924 * sysdeps/unix/mk-local_lim.c: Likewise.
33925 * sysdeps/unix/snarf-ioctls: Likewise.
33926
339272012-03-19 Richard Henderson <rth@twiddle.net>
33928
33929 * sysdeps/i386/fpu/fenv_private.h: New file.
33930 * sysdeps/i386/fpu/math_private.h: Use it.
33931 (math_opt_barrier, math_force_eval): Remove.
33932 (libc_feholdexcept_setround_53bit): Remove.
33933 (libc_feupdateenv_53bit): Remove.
33934 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33935 (math_opt_barrier, math_force_eval): Remove.
33936 (libc_feholdexcept): Remove.
33937 (libc_feholdexcept_setround): Remove.
33938 (libc_fetestexcept, libc_fesetenv): Remove.
33939 (libc_feupdateenv_test): Remove.
33940 (libc_feupdateenv, libc_feholdsetround): Remove.
33941 (libc_feresetround): Remove.
33942
33943 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33944 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33945
33946 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33947 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33948 (libc_feupdateenv_testl): New.
33949 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33950 (libc_feupdateenv_testf): New.
33951 (libc_feupdateenv): Use libc_feupdateenv_test.
33952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33953 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33954
33955 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33956 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33957 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33958 (libc_feresetround_noex): New.
33959 (libc_feresetround_noexf): New.
33960 (libc_feresetround_noexl): New.
33961 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33962 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33963 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33964 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33965 SET_RESTORE_ROUND.
33966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33968 (__cos): Likewise.
33969 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33970 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33971 SET_RESTORE_ROUND_NOEX.
33972 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33973 SET_RESTORE_ROUND_NOEXF.
33974 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33975 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33976 (libc_feholdsetroundf): New.
33977 (libc_feresetround, libc_feresetroundf): New.
33978
33979 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33980 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33981 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33982
33983 * sysdeps/generic/math_private.h: Include <fenv.h>.
33984 (default_libc_feholdexcept): New.
33985 (default_libc_feholdexcept_setround): New.
33986 (default_libc_fesetenv, default_libc_feupdateenv): New.
33987 (libc_feholdexcept): Only define if undefined.
33988 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33990 (libc_feholdexcept_setroundl): Likewise.
33991 (libc_feholdexcept_setround_53bit): Likewise.
33992 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33995 (libc_feupdateenv_53bit): Likewise.
33996 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33997 (libc_feholdexcept): Convert from macro to inline function.
33998 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33999 (libc_fesetenv, libc_feupdateenv): Likewise.
34000
34001 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34002 not previously defined.
34003 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34004 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34005 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34006 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34007 * sysdeps/ieee754/flt-32/math_private.h: New file.
34008 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34009 math_private.h below SET_FLOAT_WORD.
34010 (__isnan, __isinf_ns, __finite): Remove.
34011 (__isnanf, __isinf_nsf, __finitef): Remove.
34012
340132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
34014
34015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34016
340172012-03-17 David S. Miller <davem@davemloft.net>
34018
34019 [BZ #6471]
34020 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34021 for 2.16.
34022
340232012-03-16 David S. Miller <davem@davemloft.net>
34024
34025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34026 warnings.
34027
34028 [BZ #6471]
34029 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34030 properly.
34031 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34032 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34033 sysdep_routines when subdir is sysvipc.
34034 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34035 __getshmlba helper.
34036
34037 * sysdeps/sparc/fpu/libm-test/ulps: Update.
34038
340392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34040
34041 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34042 [__LP64__].
34043
340442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34045
34046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34047 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34048 (__lround): Renamed to ...
34049 (__llround): This. Replace long int with long long int.
34050 Define lround functions as aliases of llround functions.
34051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34052
340532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34054
34055 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34056 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
34057 adresses to uintptr_t. Replace "long int" and "unsigned long
34058 int" with "greg_t" on va_arg.
34059
340602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34061
34062 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34063 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34064
34065 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34066 Move e_machine check before EI_CLASS check. Handle x32
34067 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34068 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34069 SKIP_EM_IA_64 and include
34070 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34071
34072 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34073 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34074 (add_system_dir): New macro.
34075
34076 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34077 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34078
340792012-03-16 Joseph Myers <joseph@codesourcery.com>
34080
34081 [BZ #2551]
34082 [BZ #2552]
34083 [BZ #2553]
34084 [BZ #2554]
34085 [BZ #2562]
34086 [BZ #2563]
34087 [BZ #2565]
34088 [BZ #2566]
34089 [BZ #2576]
34090 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34091 (y0): Likewise.
34092 * math/w_j0f.c (j0f): Likewise.
34093 (y0f): Likewise.
34094 * math/w_j0l.c (__j0l): Likewise.
34095 (__y0l): Likewise.
34096 * math/w_j1.c (j1): Likewise.
34097 (y1): Likewise.
34098 * math/w_j1f.c (j1f): Likewise.
34099 (y1f): Likewise.
34100 * math/w_j1l.c (__j1l): Likewise.
34101 (__y1l): Likewise.
34102 * math/w_jn.c (jn): Likewise.
34103 (yn): Likewise.
34104 * math/w_jnf.c (jnf): Likewise.
34105 (ynf): Likewise.
34106 * math/w_jnl.c (__jnl): Likewise.
34107 (__ynl): Likewise.
34108 * math/libm-test.inc (j0_test): Add more tests.
34109 (j1_test): Likewise.
34110 (jn_test): Likewise. Add trailing semicolon to existing test.
34111 (y0_test): Likewise.
34112 (y1_test): Likewise.
34113 * sysdeps/i386/fpu/libm-test-ulps: Update.
34114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34115
34116 [BZ #13851]
34117 [BZ #13854]
34118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34119 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34120 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34122 (__tanl): Set errno for infinite argument.
34123 * sysdeps/i386/fpu/mptan.c: Remove.
34124 * sysdeps/i386/fpu/s_tan.S: Likewise.
34125 * sysdeps/i386/fpu/s_tanl.S: Likewise.
34126 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34127 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34128 * math/libm-test.inc (tan_test): Add more tests and enable more
34129 tests for double and long double.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34132
341332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
34134
34135 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34136 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34137
341382012-03-16 Roland McGrath <roland@hack.frob.com>
34139
34140 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34141 * configure.in: Use it for both main tree and add-ons.
34142 * configure: Regenerated.
34143
341442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
34145
34146 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34147
341482012-03-16 Joseph Myers <joseph@codesourcery.com>
34149
34150 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34151 in comment.
34152
34153 [BZ #13851]
34154 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34155 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34159 infinite argument.
34160 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34162 != 0 for prec == 2.
34163 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34164 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34165 * sysdeps/i386/fpu/s_cosl.S: Likewise.
34166 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34167 * sysdeps/i386/fpu/s_sinl.S: Likewise.
34168 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34169 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34170 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34171 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34172 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34173 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34174 * math/libm-test.inc (cos_test): Add more tests and enable more
34175 tests for long double.
34176 (sin_test): Likewise.
34177 (sincos_test): Likewise.
34178 * sysdeps/i386/fpu/libm-test-ulps: Update.
34179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34180
341812012-03-16 David S. Miller <davem@davemloft.net>
34182
34183 * sysdeps/sparc/fpu/math_private.h: New file.
34184
341852012-03-15 David S. Miller <davem@davemloft.net>
34186
34187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34188 file.
34189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34191 file.
34192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34198 sysdep routines.
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34200
34201 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34202 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34203
34204 * sysdeps/sparc/sparc-ifunc.h: New file.
34205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34206 sparc-ifunc.h
34207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34209 Likewise.
34210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34211 Likewise.
34212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34216 Likewise.
34217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34222 Likewise.
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34224 Likewise.
34225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34249
342502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34251
34252 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34253 scaling.
34254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34255
342562012-03-15 Andreas Jaeger <aj@suse.de>
34257
34258 [BZ #13852]
34259 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34260 ieee754/flt-32 implementation for sin, cos and sincos.
34261 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34262 * sysdeps/i386/fpu/s_cosf.S: Likewise.
34263 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34264 * sysdeps/i386/fpu/s_sinf.S: Likewise.
34265 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34266 ieee754/flt-32 implementation for tan.
34267
34268 * math/libm-test.inc (cos_test): Enable some large input tests for
34269 float as well
34270 (sin_test): Likewise.
34271 (sincos_test): Likewise.
34272 (tan_test): Add tests for large input.
34273
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275
342762012-03-15 Andreas Jaeger <aj@suse.de>
34277
34278 [BZ #13658]
34279 * math/libm-test.inc (cos_test): Add more test cases.
34280 (sin_test): Likewise.
34281 (sincos_test): Likewise.
34282
342832012-03-15 Andreas Jaeger <aj@suse.de>
34284
34285 [BZ #13837]
34286 * math/libm-test.inc (cos_test): Add a test case for large input
34287 value.
34288 (sin_test): Likewise.
34289 (sincos_test): Likewise.
34290
342912012-03-15 Andreas Jaeger <aj@suse.de>
34292 Joseph Myers <joseph@codesourcery.com>
34293
34294 [BZ #13658]
34295 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34296 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34297 * sysdeps/i386/fpu/branred.c: Likewise.
34298 * sysdeps/i386/fpu/dosincos.c: Likewise.
34299 * sysdeps/i386/fpu/mpa.c: Likewise.
34300 * sysdeps/i386/fpu/s_cos.S: Likewise.
34301 * sysdeps/i386/fpu/s_sin.S: Likewise.
34302 * sysdeps/i386/fpu/s_sincos.S: Likewise.
34303 * sysdeps/i386/fpu/sincos32.c: Likewise.
34304
34305 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34306 Define.
34307 (libc_feupdateenv_53bit): Define.
34308 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34309 Define.
34310 (libc_feupdateenv_53bit): Define.
34311
34312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34313 53 bit (without extend i386 double precision).
34314
34315 * math/libm-test.inc (sincos_test): Add tests for large input.
34316 (sin): Likewise.
34317 (cos): Likewise.
34318
34319 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34320
343212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
34322
34323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34324
343252012-03-15 David S. Miller <davem@davemloft.net>
34326
34327 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34328 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34329 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34330 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34343 file.
34344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34346 file.
34347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34349 file.
34350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34352 file.
34353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34355 fmin/fmax sysdep routines.
34356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34357
343582012-03-14 David S. Miller <davem@davemloft.net>
34359
34360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34389 routines.
34390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34391 file.
34392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34394 file.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34397 file.
34398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34400 file.
34401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34403 file.
34404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34406 file.
34407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34408 file.
34409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34410 file.
34411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34412 file.
34413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34414 New file.
34415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34416 file.
34417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34418 file.
34419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34421 file.
34422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34424 file.
34425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34427 file.
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34430 VIS3 routines.
34431
34432 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34433 New file.
34434
34435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34436
34437 * sysdeps/sparc/configure.in: New file.
34438 * sysdeps/sparc/configure: Generate.
34439 * configure.in (libc_cv_sparc_as_vis3): Substitute.
34440 * configure: Regenerate.
34441 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34442 * config.make.in (have-as-vis3): New.
34443 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34444 available use -Av9d instead of -Av9a.
34445 * sysdeps/sparc/sparc64/Makefile: Likewise.
34446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34448 New file.
34449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34450 file.
34451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34452 New file.
34453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34454 file.
34455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34460
34461 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34462 fzeros/fnegs to load 0x80000000 into a float register instead of
34463 using the stack.
34464 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34465
344662012-03-14 Joseph Myers <joseph@codesourcery.com>
34467
34468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34469 bits/syscall.h.
34470 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34471 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34472 ($(inst_includedir)/bits/syscall.h): Remove rule.
34473 ($(objpfx)bits/syscall.d): Include instead of
34474 $(objpfx)syscall-list.d.
34475 (generated): Change syscall-list.h and syscall-list.d to
34476 bits/syscall.h and bits/syscall.d.
34477
344782012-03-14 Roland McGrath <roland@hack.frob.com>
34479
34480 [BZ #13846]
34481 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34482
344832012-03-14 Joseph Myers <joseph@codesourcery.com>
34484
34485 [BZ #13841]
34486 * math/s_csqrt.c: Include <float.h>.
34487 (__csqrt): Scale large or subnormal inputs.
34488 * math/s_csqrtf.c: Likewise.
34489 * math/s_csqrtl.c: Likewise.
34490 * math/libm-test.inc (csqrt_test): Add more tests.
34491 * sysdeps/i386/fpu/libm-test-ulps: Update.
34492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34493
34494 [BZ #13840]
34495 * math/libm-test.inc (hypot_test): Add more tests.
34496
344972012-03-13 David S. Miller <davem@davemloft.net>
34498
34499 [BZ #13840]
34500 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34501 double-precision for the calculation instead of scaling.
34502
345032012-03-13 Joseph Myers <joseph@codesourcery.com>
34504
34505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34506 manipulate bits before adding and subtracting TWO52[sx].
34507 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34509 Likewise.
34510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34511
345122012-03-13 David S. Miller <davem@davemloft.net>
34513
34514 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34515 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34517 rtld-global-offsets.h
34518 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34519
34520 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34521 large parameters.
34522
34523 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34524
34525 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34526 'err' in the ifdef scope in which it is actually used.
34527
34528 * nss/nss_db/db-init.c: Include string.h
34529
345302012-03-12 David S. Miller <davem@davemloft.net>
34531
34532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34533 masking out of the most significant byte of random value used.
34534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34535 Fix coding style in previous change.
34536
34537 * sysdeps/unix/sysv/linux/kernel-features.h
34538 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34539 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34540 expression.
34541 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34542 later.
34543
345442012-03-11 David S. Miller <davem@davemloft.net>
34545
34546 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34547 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34548 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34549 for 'resultvar' otherwise things get truncated on 64-bit.
34550
34551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34552 Fix masking out of the most significant byte of random value used.
34553
34554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34555
345562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
34557
34558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34559
345602012-03-09 David S. Miller <davem@davemloft.net>
34561
34562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34563 variables with appropriate CPP guards.
34564 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34565 from the frame pointer, not the stack pointer. Correct layout
34566 comments. Fix test on resulting framesize and the management of
34567 the outregs buffer for pltexit. Preserve floating point return
34568 values across _dl_call_pltexit call.
34569 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34570 framesize and the management of the outregs buffer for pltexit.
34571 Preserve floating point return values across _dl_call_pltexit
34572 call.
34573 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34574 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34575 (la_sparc64_gnu_pltexit): New functions.
34576 (print_exit): Fix format string for return register value.
34577
345782012-03-10 Joseph Myers <joseph@codesourcery.com>
34579
34580 * sunrpc/Makefile (others): Add rpcgen.
34581 ($(objpfx)rpcgen): Remove special build rule and dependency on
34582 libc.
34583 * sunrpc/rpcgen.c: New file.
34584
345852012-03-09 Paul Eggert <eggert@cs.ucla.edu>
34586
34587 [BZ #13673]
34588 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34589 * stdio-common/bug-vfprintf-nargs.c: Likewise.
34590 * sysdeps/i386/crti.S: Likewise.
34591 * sysdeps/i386/crtn.S: Likewise.
34592 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34593 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34594 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34595 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34596 * sysdeps/sh/crti.S: Likewise.
34597 * sysdeps/sh/crtn.S: Likewise.
34598 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34599
34600 [BZ #13673]
34601 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34602 with URL.
34603 * locale/programs/locfile-kw.gperf: Likewise.
34604 * locale/programs/charmap-kw.h: Regenerated.
34605 * locale/programs/locfile-kw.h: Likewise.
34606
34607 [BZ #13673]
34608 * intl/plural.y: Replace FSF snail mail address with URL.
34609 * intl/plural.c: Regenerated.
34610
346112012-03-09 Richard Henderson <rth@twiddle.net>
34612
34613 * include/math_private.h: Remove file.
34614 * math/math_private.h: Move file ...
34615 * sysdeps/generic/math_private.h: ... here.
34616
34617 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34618 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34619 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34620
34621 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34622 and <math_private.h>.
34623 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34624 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34625 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34626 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34627 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34628 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34634 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34647 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34648 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34657 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34658 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34659 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34660 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34661 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34670 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34680 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34681 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34682 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34683 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34684 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34685 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34686 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34687 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34688 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34689 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34690 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34691 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34692 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34693 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34694 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34696 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34697 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34702 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34703 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34704 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34705 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34706 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34707 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34710 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34711 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34712 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34713 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34714 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34715 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34716 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34717 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34718 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34719 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34720 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34721 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34722 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34723 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34724 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34725 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34726 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34727 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34728 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34729 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34730 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34735 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34736 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34737 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34739 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34740 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34741 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34742 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34744 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34745 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34746 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34747 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34748 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34750 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34751 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34752 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34753 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34754 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34756 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34757 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34758 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34759 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34760 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34761 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34762 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34763 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34764 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34765 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34766 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34767 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34771 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34772 * sysdeps/ieee754/k_standard.c: Likewise.
34773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34780 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34781 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34785 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34786 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34787 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34788 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34789 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34790 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34791 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34792 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34795 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34798 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34799 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34800 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34801 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34802 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34804 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34805 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34806 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34811 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34814 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34815 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34817 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34818 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34821 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34822 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34823 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34824 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34825 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34826 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34829 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34830 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34831 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34832 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34833 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34834 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34835 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34836 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34837 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34838 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34839 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34840 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34841 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34842 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34845 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34846 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34847 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34850 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34852 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34853 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34854 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34856 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34857 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34858 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34859 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34860 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34863 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34869 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34870 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34871 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34872 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34873 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34874 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34877 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34880 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34881 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34882 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34883 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34884 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34885 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34889 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34898 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34899 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34900 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34901 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34902 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34903 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34904 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34905 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34906 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34907 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34909 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34910 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34911 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34912 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34913 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34914 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34915 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34916 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34917 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34920 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34921 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34922 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34923 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34925 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34927 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34928 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34929 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34930 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34931 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34932 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34933 * sysdeps/ieee754/s_lib_version.c: Likewise.
34934 * sysdeps/ieee754/s_matherr.c: Likewise.
34935 * sysdeps/ieee754/s_signgam.c: Likewise.
34936 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34937 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34938 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34939 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34940 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34942 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34943 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34944 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34945 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34946 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34947 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34948 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34949 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34950 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34951 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34952 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34953 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34954 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34957
349582012-03-09 Joseph Myers <joseph@codesourcery.com>
34959
34960 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34961 * sunrpc/rpc_main.c: Likewise.
34962 * sunrpc/rpc_svcout.c: Likewise.
34963
349642012-03-09 David S. Miller <davem@davemloft.net>
34965
34966 * include/math_private.h: New file.
34967
349682012-03-09 Joseph Myers <joseph@codesourcery.com>
34969
34970 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34971 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34972 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34973 from <bits/socket_type.h>.
34974 (enum __socket_type): Don't define here.
34975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34977 bits/socket_type.h.
34978
34979 [BZ #13566]
34980 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34981 checking __USE_GNU.
34982
34983 * Makerules ($(inst_includedir)/%.h): New rule.
34984 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34985 (install-others): Remove variable setting.
34986 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34987
349882012-03-08 Richard Henderson <rth@twiddle.net>
34989
34990 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34991 from macro to inline function; merge with the
34992 !__LIBC_INTERNAL_MATH_INLINES version.
34993 (__ieee754_sqrtf): Likewise.
34994
34995 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34996 to inline function.
34997 (__rintf, __floor, __floorf): Likewise.
34998
34999 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35000 macro to inline function.
35001 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35002
35003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35004 not <math/math_private.h>.
35005
350062012-03-08 David S. Miller <davem@davemloft.net>
35007
35008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35009 copyright year.
35010 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35011
350122012-03-08 Thomas Schwinge <thomas@codesourcery.com>
35013
35014 * resolv/gai_misc.c (handle_requests): Fix struct timespec
35015 normalization.
35016 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35017 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35018
350192012-03-08 Ulrich Drepper <drepper@gmail.com>
35020
35021 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
35022 be defined individually, they must be defined as a block. Define
35023 S for printing a string instead of hidint the different by using a
35024 macro for adding the 'l'.
35025 * stdio-common/tst-fphex-wide.c: Adjust.
35026
350272012-03-07 Marek Polacek <polacek@redhat.com>
35028
35029 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35030
350312012-03-08 Marek Polacek <polacek@redhat.com>
35032
35033 [BZ #13806]
35034 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35035 * stdio-common/tst-fphex.c: Define a few macros to make the
35036 test reusable. Use them.
35037 * stdio-common/tst-fphex-wide.c: New file.
35038
350392012-03-08 Joseph Myers <joseph@codesourcery.com>
35040
35041 [BZ #6911]
35042 * manual/macros.texi (gnusystems): New macro.
35043 (nongnusystems): Likewise.
35044 (gnulinuxhurdsystems): Likewise.
35045 (gnuhurdsystems): Likewise..
35046 (gnulinuxsystems): Likewise.
35047 * manual/charset.texi: Use new macros or @theglibc{} to refer to
35048 variants of the GNU system, not "GNU system".
35049 * manual/conf.texi: Likewise.
35050 * manual/errno.texi: Likewise. Update example of errno macro
35051 expansion.
35052 * manual/filesys.texi: Likewise.
35053 (getumask): Document as specific to GNU/Hurd.
35054 * manual/install.texi: Likewise. Reword some references to
35055 GNU/Linux.
35056 * manual/intro.texi: Likewise.
35057 * manual/io.texi: Likewise.
35058 (File Name Portability): Detail which constraints are inapplicable
35059 to all GNU systems and which are only inapplicable to GNU/Hurd.
35060 * manual/job.texi: Likewise.
35061 * manual/llio.texi: Likewise.
35062 (O_NOCTTY): Document as present on GNU/Linux.
35063 * manual/maint.texi: Likewise.
35064 * manual/memory.texi: Likewise.
35065 * manual/pattern.texi: Likewise.
35066 * manual/pipe.texi: Likewise.
35067 * manual/process.texi: Likewise.
35068 * manual/resource.texi: Likewise.
35069 (RUSAGE_CHILDREN): Remove statement about specifying a particular
35070 child on GNU/Hurd.
35071 * manual/setjmp.texi: Likewise.
35072 * manual/signal.texi: Likewise.
35073 * manual/startup.texi: Likewise.
35074 * manual/stdio.texi: Likewise.
35075 * manual/terminal.texi: Likewise.
35076 (ONLCR): Document as POSIX.
35077 (OXTABS): Document availability on GNU/Linux as XTABS.
35078 (ONOEOT): Document availability separately from other bits.
35079 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35080 * manual/time.texi: Likewise.
35081 * manual/users.texi: Likewise.
35082 * INSTALL: Regenerated.
35083 * sysdeps/gnu/errlist.c: Regenerated.
35084
35085 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35086 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35087 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
35088 puts.
35089 * configure: Regenerated.
35090
350912012-03-07 Joseph Myers <joseph@codesourcery.com>
35092
35093 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35094 default includes instead of AC_HEADER_CHECK.
35095 * sysdeps/i386/configure: Regenerated.
35096
35097 [BZ #10716]
35098 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35099 * math/s_cacoshf.c (__cacoshf): Likewise.
35100 * math/s_cacoshl.c (__cacoshl): Likewise.
35101 * math/s_casinh.c (__casinh): Set signs of result from argument.
35102 * math/s_casinhf.c (__casinhf): Likewise.
35103 * math/s_casinhl.c (__casinhl): Likewise.
35104 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35105 (casinh_test): Add more tests.
35106 * sysdeps/i386/fpu/libm-test-ulps: Update.
35107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35108
351092012-03-07 Ulrich Drepper <drepper@gmail.com>
35110
35111 * po/zh_TW.po: Update from translation team.
35112
35113 * login/Makefile (distribute): Remove variable.
35114 * catgets/Makefile: Likewise.
35115 * mach/Makefile: Likewise.
35116 * malloc/Makefile: Likewise.
35117 * misc/Makefile: Likewise.
35118 * iconv/Makefile: Likewise.
35119 * nscd/Makefile: Likewise.
35120 * hurd/Makefile: Likewise.
35121 * manual/Makefile: Likewise.
35122 * locale/Makefile: Likewise.
35123 * intl/Makefile: Likewise.
35124 * conform/Makefile: Likewise.
35125 * nss/Makefile: Likewise.
35126 * time/Makefile: Likewise.
35127 * soft-fp/Makefile: Likewise.
35128 * dirent/Makefile: Likewise.
35129 * gmon/Makefile: Likewise.
35130 * po/Makefile: Likewise.
35131 * rt/Makefile: Likewise.
35132 * socket/Makefile: Likewise.
35133 * math/Makefile: Likewise.
35134 * signal/Makefile: Likewise.
35135 * debug/Makefile: Likewise.
35136 * elf/Makefile: Likewise.
35137 * timezone/Makefile: Likewise.
35138 * stdlib/Makefile: Likewise.
35139 * iconvdata/Makefile: Likewise.
35140 * sunrpc/Makefile: Likewise.
35141 * io/Makefile: Likewise.
35142 * argp/Makefile: Likewise.
35143 * inet/Makefile: Likewise.
35144 * hesiod/Makefile: Likewise.
35145 * grp/Makefile: Likewise.
35146 * csu/Makefile: Likewise.
35147 * wctype/Makefile: Likewise.
35148 * crypt/Makefile: Likewise.
35149 * libio/Makefile: Likewise.
35150 * string/Makefile: Likewise.
35151 * nis/Makefile: Likewise.
35152 * resolv/Makefile: Likewise.
35153 * stdio-common/Makefile: Likewise.
35154 * wcsmbs/Makefile: Likewise.
35155 * dlfcn/Makefile: Likewise.
35156 * posix/Makefile: Likewise.
35157
35158 [BZ #6959]
35159 * timezone/Makefile: Don't install timezone files, just the programs
35160 and scripts.
35161
351622012-03-06 Ulrich Drepper <drepper@gmail.com>
35163
35164 * nss/databases.def: Add missing gshadow entry.
35165
35166 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
35167
351682012-03-06 Marek Polacek <polacek@redhat.com>
35169
35170 [BZ #13726]
35171 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35172 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35173 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35174 * stdio-common/tst-long-dbl-fphex.c: New file.
35175
351762012-03-06 David S. Miller <davem@davemloft.net>
35177
35178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35179 (set_obp_int): New function.
35180 (get_obp_int): New function.
35181 (__get_clockfreq_via_dev_openprom): Likewise.
35182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35183 Avoid unused variable warnings on 'val' and use builtin_expect.
35184 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35185 __builtin_expect.
35186 (INLINE_CLONE_SYSCALL): Likewise.
35187
351882012-03-05 David S. Miller <davem@davemloft.net>
35189
35190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35191
351922012-03-05 Andreas Schwab <schwab@linux-m68k.org>
35193
35194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35195
35196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35197 only for |x| >= 40.
35198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35199
352002012-03-05 H.J. Lu <hongjiu.lu@intel.com>
35201
35202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35203 Replace gettimeofday with __vdso_gettimeofday.
35204
35205 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35206 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35207 __vdso_clock_gettime and __vdso_getcpu.
35208
35209 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35210 time with __vdso_time.
35211
352122012-03-05 Joseph Myers <joseph@codesourcery.com>
35213
35214 * manual/lang.texi (size_t): Note types to which size_t may be
35215 equivalent with the GNU C Library, but do not describe when
35216 differences between them are significant.
35217
352182012-03-05 Andreas Jaeger <aj@suse.de>
35219
35220 * sysdeps/i386/fpu/libm-test-ulps: Update.
35221
352222012-03-05 Joseph Myers <joseph@codesourcery.com>
35223
35224 [BZ #3976]
35225 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35226 (__ieee754_pow): Save and restore rounding mode and use
35227 round-to-nearest for main computations.
35228 * math/libm-test.inc (pow_test_tonearest): New function.
35229 (pow_test_towardzero): Likewise.
35230 (pow_test_downward): Likewise.
35231 (pow_test_upward): Likewise.
35232 (main): Call the new functions.
35233 * sysdeps/i386/fpu/libm-test-ulps: Update.
35234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35235
35236 [BZ #3976]
35237 * math/libm-test.inc (cosh_test_tonearest): New function.
35238 (cosh_test_towardzero): Likewise.
35239 (cosh_test_downward): Likewise.
35240 (cosh_test_upward): Likewise.
35241 (sinh_test_tonearest): Likewise.
35242 (sinh_test_towardzero): Likewise.
35243 (sinh_test_downward): Likewise.
35244 (sinh_test_upward): Likewise.
35245 (main): Call the new functions.
35246 * sysdeps/i386/fpu/libm-test-ulps: Update.
35247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248
352492012-03-05 Tom de Vries <tom@codesourcery.com>
35250
35251 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35252 default stack guard is set in last bytes.
35253 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35254
352552012-03-05 Kees Cook <keescook@chromium.org>
35256
35257 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35258
35259 [BZ #13656]
35260 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35261 possibly allocate from heap instead of stack.
35262 * stdio-common/bug-vfprintf-nargs.c: New file.
35263 * stdio-common/Makefile (tests): Add nargs overflow test.
35264
352652012-03-03 Andreas Schwab <schwab@linux-m68k.org>
35266
35267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35268
352692012-03-03 Marek Polacek <polacek@redhat.com>
35270
35271 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35272 * math/math_private.h: Likewise.
35273 * stdlib/tst-strtod.c: Likewise.
35274 * sysdeps/i386/i486/bits/atomic.h: Likewise.
35275 * sysdeps/x86_64/bits/atomic.h: Likewise.
35276
352772012-03-02 David S. Miller <davem@davemloft.net>
35278
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35283 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35284 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35285 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35286 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35287
352882012-03-02 Roland McGrath <roland@hack.frob.com>
35289
35290 [BZ #13792]
35291 * manual/examples/README: New file, says the example source files
35292 can be used under GPL>=2.
35293 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35294 line containing just "*/".
35295 * manual/examples/add.c: Add copyright header (GPL>=2).
35296 * manual/examples/argp-ex1.c: Likewise.
35297 * manual/examples/argp-ex2.c: Likewise.
35298 * manual/examples/argp-ex3.c: Likewise.
35299 * manual/examples/argp-ex4.c: Likewise.
35300 * manual/examples/atexit.c: Likewise.
35301 * manual/examples/db.c: Likewise.
35302 * manual/examples/dir.c: Likewise.
35303 * manual/examples/dir2.c: Likewise.
35304 * manual/examples/execinfo.c: Likewise.
35305 * manual/examples/filecli.c: Likewise.
35306 * manual/examples/filesrv.c: Likewise.
35307 * manual/examples/fmtmsgexpl.c: Likewise.
35308 * manual/examples/genpass.c: Likewise.
35309 * manual/examples/inetcli.c: Likewise.
35310 * manual/examples/inetsrv.c: Likewise.
35311 * manual/examples/isockad.c: Likewise.
35312 * manual/examples/longopt.c: Likewise.
35313 * manual/examples/memopen.c: Likewise.
35314 * manual/examples/memstrm.c: Likewise.
35315 * manual/examples/mkfsock.c: Likewise.
35316 * manual/examples/mkisock.c: Likewise.
35317 * manual/examples/mygetpass.c: Likewise.
35318 * manual/examples/pipe.c: Likewise.
35319 * manual/examples/popen.c: Likewise.
35320 * manual/examples/rprintf.c: Likewise.
35321 * manual/examples/search.c: Likewise.
35322 * manual/examples/select.c: Likewise.
35323 * manual/examples/setjmp.c: Likewise.
35324 * manual/examples/sigh1.c: Likewise.
35325 * manual/examples/sigusr.c: Likewise.
35326 * manual/examples/stpcpy.c: Likewise.
35327 * manual/examples/strdupa.c: Likewise.
35328 * manual/examples/strftim.c: Likewise.
35329 * manual/examples/strncat.c: Likewise.
35330 * manual/examples/subopt.c: Likewise.
35331 * manual/examples/swapcontext.c: Likewise.
35332 * manual/examples/termios.c: Likewise.
35333 * manual/examples/testopt.c: Likewise.
35334 * manual/examples/testpass.c: Likewise.
35335 * manual/examples/timeval_subtract.c: Likewise.
35336
35337 [BZ #13792]
35338 * manual/time.texi (Elapsed Time): Move timeval_subtract example
35339 function to ...
35340 * manual/timeval_subtract.c.texi: ... here, new file.
35341
353422012-03-02 David S. Miller <davem@davemloft.net>
35343
35344 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35345
353462012-03-02 Joseph Myers <joseph@codesourcery.com>
35347
35348 [BZ #3976]
35349 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35350 (__sin): Save and restore rounding mode and use round-to-nearest
35351 for all computations.
35352 (__cos): Save and restore rounding mode and use round-to-nearest
35353 for all computations.
35354 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35355 <fenv.h>.
35356 (tan): Save and restore rounding mode and use round-to-nearest for
35357 all computations.
35358 * math/libm-test.inc (cos_test_tonearest): New function.
35359 (cos_test_towardzero): Likewise.
35360 (cos_test_downward): Likewise.
35361 (cos_test_upward): Likewise.
35362 (sin_test_tonearest): Likewise.
35363 (sin_test_towardzero): Likewise.
35364 (sin_test_downward): Likewise.
35365 (sin_test_upward): Likewise.
35366 (tan_test_tonearest): Likewise.
35367 (tan_test_towardzero): Likewise.
35368 (tan_test_downward): Likewise.
35369 (tan_test_upward): Likewise.
35370 (main): Call the new functions.
35371 * sysdeps/i386/fpu/libm-test-ulps: Update.
35372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35373
35374 [BZ #10135]
35375 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35376 small n, then large n, before computing and testing k+n.
35377 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35379 Likewise.
35380 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35381 Likewise.
35382 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35383 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35389 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35390 * math/libm-test.inc (scalbn_test): Add more tests.
35391 (scalbln_test): Likewise.
35392
35393 * manual/filesys.texi (mode_t): Describe constraints on size and
35394 signedness, not exact equivalence to a particular type.
35395 (ino_t): Likewise.
35396 (ino64_t): Likewise.
35397 (dev_t): Likewise.
35398 (nlink_t): Likewise.
35399 (blkcnt_t): Likewise.
35400 (blkcnt64_t): Likewise.
35401 * manual/llio.texi (off_t): Likewise.
35402
35403 [BZ #3976]
35404 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35405 (__ieee754_exp): Save and restore rounding mode and use
35406 round-to-nearest for all computations.
35407 * math/libm-test.inc (exp_test_tonearest): New function.
35408 (exp_test_towardzero): Likewise.
35409 (exp_test_downward): Likewise.
35410 (exp_test_upward): Likewise.
35411 (main): Call the new functions.
35412 * sysdeps/i386/fpu/libm-test-ulps: Update.
35413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35414
354152012-03-01 Chris Demetriou <cgd@google.com>
35416
35417 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35418 have predictable order.
35419
354202012-03-01 David S. Miller <davem@davemloft.net>
35421
35422 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35423
35424 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35425 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35426 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35427 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35428
35429 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35430 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35431 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35433 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35434 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35435 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35436 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35437 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35438
35439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35440
35441 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35442 * sysdeps/sparc/fpu/libm-test-ulps: to here.
35443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35444
35445 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35446 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35447 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35448 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35449 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35452 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35453 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35454 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35455 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35457 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35461 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35462 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35463 * sysdeps/sparc/elf/configure: Regenerated.
35464
354652012-03-01 Joseph Myers <joseph@codesourcery.com>
35466
35467 * configure.in (AS, LD): Require binutils 2.20 or later.
35468 * configure: Regenerated.
35469 * manual/install.texi (Tools for Compilation): Give binutils 2.20
35470 as required minimum version.
35471 * INSTALL: Regenerated.
35472
35473 [BZ #2541]
35474 [BZ #4108]
35475 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35476 before squaring exponent.
35477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35478 bottom long double and 27 bits of top long double before squaring
35479 exponent.
35480 * math/libm-test.inc (erfc_test): Add more tests.
35481 * sysdeps/i386/fpu/libm-test-ulps: Update.
35482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35484
354852012-03-01 Kai Tietz <ktietz@redhat.com>
35486
35487 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35488 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35489 containing bit-fields.
35490 * soft-fp/extended.h (_FP_UNION_E): Likewise.
35491 * soft-fp/single.h (_FP_UNION_S): Likewise.
35492 * soft-fp/double.h (_FP_UNION_D): Likewise.
35493
354942012-02-29 Joseph Myers <joseph@codesourcery.com>
35495
35496 [BZ #13786]
35497 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35498 not include ../strcmp.S.
35499 [USE_AS_STRNCASECMP_L]: Likewise.
35500 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35501 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35502 * sysdeps/i386/i686/multiarch/strncase_l-c.c
35503 (__strncasecmp_l_ia32): Define as alias to
35504 __strncasecmp_l_nonascii.
35505
35506 [BZ #5794]
35507 * math/libm-test.inc (expm1_test): Add test for bug 5794.
35508 * sysdeps/i386/fpu/libm-test-ulps: Update.
35509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35510
35511 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35513
355142012-02-29 Jeff Law <law@redhat.com>
35515
35516 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35517 out of bounds read.
35518
355192012-02-29 Marek Polacek <polacek@redhat.com>
35520
35521 [BZ #13706]
35522 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35523 * elf/Makefile: Add rules to run tst-unused-dep.out.
35524
355252012-02-28 David S. Miller <davem@davemloft.net>
35526
35527 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35528 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35531 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35532 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35533
355342012-02-29 Joseph Myers <joseph@codesourcery.com>
35535
35536 * math/libm-test.inc (llround_test): Move one test from
35537 lround_test. Use TEST_f_L in moved test.
35538 (lround_test): Move misplaced test to llround_test. Add testcase
35539 from bug 2561.
35540
355412012-02-28 Ulrich Drepper <drepper@gmail.com>
35542
35543 * sysdeps/x86_64/fpu/e_expf.S: New file.
35544 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35545
355462012-02-28 Stanislav Brabec <sbrabec@suse.cz>
35547
35548 [BZ #13637]
35549 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35550 of remain_len that may cause incomplete multi-byte character and
35551 false match.
35552 * posix/bug-regex33.c: New file.
35553 * posix/Makefile (tests): Add bug-regex33.
35554
355552012-02-28 Joseph Myers <joseph@codesourcery.com>
35556
35557 * manual/macros.texi: New file.
35558 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35559 * manual/libc.texinfo: Include macros.texi.
35560 * manual/creatute.texi: Likewise.
35561 * manual/install.texi: Likewise.
35562 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35563 @glibcadj{} in references to the GNU C Library.
35564 * manual/charset.texi: Likewise.
35565 * manual/conf.texi: Likewise.
35566 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
35567 when not using those macros.
35568 * manual/creature.texi: Likewise.
35569 * manual/crypt.texi: Likewise.
35570 * manual/errno.texi: Likewise.
35571 * manual/filesys.texi: Likewise.
35572 * manual/header.texi: Likewise.
35573 * manual/install.texi: Likewise.
35574 * manual/intro.texi: Likewise.
35575 * manual/io.texi: Likewise.
35576 * manual/job.texi: Likewise.
35577 * manual/lang.texi: Likewise.
35578 * manual/libc.texiinfo: Likewise.
35579 * manual/llio.texi: Likewise.
35580 * manual/locale.texi: Likewise.
35581 * manual/maint.texi: Likewise.
35582 * manual/math.texi: Likewise.
35583 * manual/memory.texi: Likewise.
35584 * manual/message.texi: Likewise.
35585 * manual/nss.texi: Likewise.
35586 * manual/pattern.texi: Likewise.
35587 * manual/process.texi: Likewise.
35588 * manual/resource.texi: Likewise.
35589 * manual/search.texi: Likewise.
35590 * manual/setjmp.texi: Likewise.
35591 * manual/signal.texi: Likewise.
35592 * manual/socket.texi: Likewise.
35593 * manual/startup.texi: Likewise.
35594 * manual/stdio.texi: Likewise.
35595 * manual/string.texi: Likewise.
35596 * manual/sysinfo.texi: Likewise.
35597 * manual/syslog.texi: Likewise.
35598 * manual/terminal.texi: Likewise.
35599 * manual/time.texi: Likewise.
35600 * manual/users.texi: Likewise.
35601 * INSTALL: Regenerated.
35602 * NOTES: Regenerated.
35603 * sysdeps/gnu/errlist.c: Regenerated.
35604
356052012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35606
35607 * include/dirent.h: Include <dirstream.h> before
35608 <dirent/dirent.h>.
35609
356102012-02-28 David S. Miller <davem@davemloft.net>
35611
35612 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35613 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35614 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35615 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35616
356172012-02-27 David S. Miller <davem@davemloft.net>
35618
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35621 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35622 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35623
35624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35625 frame pointer instead of stack pointer relative arg slot.
35626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35627 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35628 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35629
356302012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35631
35632 [BZ #3992]
35633 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35634
356352012-02-27 David S. Miller <davem@davemloft.net>
35636
35637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35641 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35642 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35643 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35644 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35645
356462012-02-27 Joseph Myers <joseph@codesourcery.com>
35647
35648 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35649 later. Allow versions 5-9.
35650 * configure: Regenerated.
35651 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35652 required minimum version and 4.6 as recommended version. Do not
35653 mention bugs in GCC 2.7 and 2.8.
35654 * INSTALL: Regenerated.
35655
356562012-02-27 David S. Miller <davem@davemloft.net>
35657
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35664 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35666
35667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35668 manipulate bits before adding and subtracting TWO112[sx].
35669 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35670
356712012-02-27 Roland McGrath <roland@hack.frob.com>
35672
35673 [BZ #13775]
35674 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35675 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35676 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35677 being in POSIX, because they are in 1003.1-2008.
35678
35679 * rt/tst-aio.c: Include <fcntl.h>.
35680 * rt/tst-aio7.c: Likewise.
35681 * rt/tst-aio64.c: Likewise.
35682
35683 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35684
356852012-02-27 Joseph Myers <joseph@codesourcery.com>
35686
35687 * manual/install.texi (--with-headers): Describe headers as
35688 interface headers, not private headers.
35689 (Specific advice for GNU/Linux systems): Describe use of headers
35690 from "make headers_install", not private headers from older
35691 kernels.
35692 * INSTALL: Regenerated.
35693 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35694 Change to 2.6.19.
35695 * sysdeps/unix/sysv/linux/configure: Regenerated.
35696
35697 * manual/llio.texi (fclean): Remove documentation.
35698
35699 * manual/Makefile (libc-texi-generated): New variable. Include
35700 version.texi.
35701 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35702 $(libc-texi-generated), not duplicated list of files.
35703 (version.texi, stamp-version): New rules.
35704 (realclean): Remove $(libc-texi-generated), not individual files
35705 from that list. Do not remove dir-add.texinfo.
35706 * manual/libc.texinfo: Comment out uses of edition numbers and
35707 references to printed manual. Remove last-updated dates.
35708 (EDITION): Comment out.
35709 (ISBN): Likewise.
35710 (VERSION, UPDATED): Remove.
35711 (version.texi): Include.
35712
357132012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35714
35715 * sysdeps/posix/spawni.c: Include <signal.h>.
35716 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35717 * sysdeps/pthread/aio_fsync.c: Likewise.
35718
357192012-02-26 Ulrich Drepper <drepper@gmail.com>
35720
35721 * conform/Makefile (tests): Run only when not cross-compiling and
35722 when fast-check is not defined.
35723
35724 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35725 * conform/data/limits.h-data: Fixes for POSIX2008.
35726 * conform/run-conformtest.sh: Run all tests.
35727 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35728 headers.
35729 * include/bits/dlfcn.h: Likewise.
35730 * include/langinfo.h: Likewise.
35731 * include/monetary.h: Likewise.
35732 * include/sys/poll.h: Likewise.
35733
35734 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35735 for __USE_GNU.
35736 * posix/spawn.h: Define __need_sigset_t.
35737 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35738 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35739 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35740 to get sigevent_t only.
35741 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35742 only for __USE_GNU.
35743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35744 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35745 process_vm_writev only for __USE_GNU.
35746 * termios/termios.h: Declare tcgetsid also for POSIX2008.
35747
35748 * conform/Makefile: For now ignore errors from run-conformtest.
35749 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35750 POSIX to avoid namespace pollution. Don't prepend headers.
35751 * conform/data/aio.h-data: Fixes for POSIX testing.
35752 * conform/data/fcntl.h-data: Likewise.
35753 * conform/data/glob.h-data: Likewise.
35754 * conform/data/grp.h-data: Likewise.
35755 * conform/data/pthread.h-data: Likewise.
35756 * conform/data/pwd.h-data: Likewise.
35757 * conform/data/signal.h-data: Likewise.
35758 * conform/data/spawn.h-data: Likewise.
35759 * conform/data/stdio.h-data: Likewise.
35760 * conform/data/stdlib.h-data: Likewise.
35761 * conform/data/stropts.h-data: Likewise.
35762 * conform/data/sys/mman.h-data: Likewise.
35763 * conform/data/sys/stat.h-data: Likewise.
35764 * conform/data/sys/types.h-data: Likewise.
35765 * conform/data/sys/wait.h-data: Likewise.
35766 * conform/data/time.h-data: Likewise.
35767 * conform/data/unistd.h-data: Likewise.
35768 * conform/data/utime.h-data: Likewise.
35769
35770 * io/sys/stat.h: fchmod was always in POSIX.
35771 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35772 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35773 * rt/aio.h: Define __need_timespec before including <time.h>.
35774 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35775 struct. Add forward declaration of pthread_attr_t and use it in
35776 sigevent.
35777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35779 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35780 always remove CLK_TCK definition.
35781
357822012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35783
35784 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35785
357862012-02-25 Ulrich Drepper <drepper@gmail.com>
35787
35788 * conform/run-conformtest.sh: New file.
35789 * conform/Makefile: Run run-conformtest for tests.
35790 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35791 support.
35792
35793 * conform/data/uchar.h-data: New file.
35794 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35795 * conform/data/arpa/inet.h-data: Likewise.
35796 * conform/data/assert.h-data: Likewise.
35797 * conform/data/complex.h-data: Likewise.
35798 * conform/data/cpio.h-data: Likewise.
35799 * conform/data/ctype.h-data: Likewise.
35800 * conform/data/dirent.h-data: Likewise.
35801 * conform/data/dlfcn.h-data: Likewise.
35802 * conform/data/errno.h-data: Likewise.
35803 * conform/data/fcntl.h-data: Likewise.
35804 * conform/data/float.h-data: Likewise.
35805 * conform/data/fmtmsg.h-data: Likewise.
35806 * conform/data/fnmatch.h-data: Likewise.
35807 * conform/data/ftw.h-data: Likewise.
35808 * conform/data/glob.h-data: Likewise.
35809 * conform/data/grp.h-data: Likewise.
35810 * conform/data/iconv.h-data: Likewise.
35811 * conform/data/inttypes.h-data: Likewise.
35812 * conform/data/langinfo.h-data: Likewise.
35813 * conform/data/libgen.h-data: Likewise.
35814 * conform/data/limits.h-data: Likewise.
35815 * conform/data/locale.h-data: Likewise.
35816 * conform/data/math.h-data: Likewise.
35817 * conform/data/monetary.h-data: Likewise.
35818 * conform/data/mqueue.h-data: Likewise.
35819 * conform/data/ndbm.h-data: Likewise.
35820 * conform/data/net/if.h-data: Likewise.
35821 * conform/data/netdb.h-data: Likewise.
35822 * conform/data/netinet/in.h-data: Likewise.
35823 * conform/data/nl_types.h-data: Likewise.
35824 * conform/data/poll.h-data: Likewise.
35825 * conform/data/pthread.h-data: Likewise.
35826 * conform/data/pwd.h-data: Likewise.
35827 * conform/data/regex.h-data: Likewise.
35828 * conform/data/sched.h-data: Likewise.
35829 * conform/data/search.h-data: Likewise.
35830 * conform/data/semaphore.h-data: Likewise.
35831 * conform/data/setjmp.h-data: Likewise.
35832 * conform/data/signal.h-data: Likewise.
35833 * conform/data/spawn.h-data: Likewise.
35834 * conform/data/stdarg.h-data: Likewise.
35835 * conform/data/stdio.h-data: Likewise.
35836 * conform/data/stdlib.h-data: Likewise.
35837 * conform/data/string.h-data: Likewise.
35838 * conform/data/strings.h-data: Likewise.
35839 * conform/data/stropts.h-data: Likewise.
35840 * conform/data/sys/ipc.h-data: Likewise.
35841 * conform/data/sys/mman.h-data: Likewise.
35842 * conform/data/sys/msg.h-data: Likewise.
35843 * conform/data/sys/resource.h-data: Likewise.
35844 * conform/data/sys/select.h-data: Likewise.
35845 * conform/data/sys/sem.h-data: Likewise.
35846 * conform/data/sys/shm.h-data: Likewise.
35847 * conform/data/sys/socket.h-data: Likewise.
35848 * conform/data/sys/stat.h-data: Likewise.
35849 * conform/data/sys/statvfs.h-data: Likewise.
35850 * conform/data/sys/time.h-data: Likewise.
35851 * conform/data/sys/timeb.h-data: Likewise.
35852 * conform/data/sys/times.h-data: Likewise.
35853 * conform/data/sys/types.h-data: Likewise.
35854 * conform/data/sys/uio.h-data: Likewise.
35855 * conform/data/sys/un.h-data: Likewise.
35856 * conform/data/sys/utsname.h-data: Likewise.
35857 * conform/data/sys/wait.h-data: Likewise.
35858 * conform/data/syslog.h-data: Likewise.
35859 * conform/data/tar.h-data: Likewise.
35860 * conform/data/termios.h-data: Likewise.
35861 * conform/data/utime.h-data: Likewise.
35862 * conform/data/utmpx.h-data: Likewise.
35863 * conform/data/varargs.h-data: Likewise.
35864 * conform/data/wchar.h-data: Likewise.
35865 * conform/data/wctype.h-data: Likewise.
35866 * conform/data/wordexp.h-data: Likewise.
35867
35868 * include/stropts.h: New file.
35869 * include/uchar.h: New file.
35870 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35871 * include/assert.h: Likewise.
35872 * include/ctype.h: Likewise.
35873 * include/dirent.h: Likewise.
35874 * include/dlfcn.h: Likewise.
35875 * include/fcntl.h: Likewise.
35876 * include/fnmatch.h: Likewise.
35877 * include/glob.h: Likewise.
35878 * include/grp.h: Likewise.
35879 * include/libio.h: Likewise.
35880 * include/locale.h: Likewise.
35881 * include/math.h: Likewise.
35882 * include/net/if.h: Likewise.
35883 * include/netdb.h: Likewise.
35884 * include/netinet/in.h: Likewise.
35885 * include/pthread.h: Likewise.
35886 * include/pwd.h: Likewise.
35887 * include/regex.h: Likewise.
35888 * include/sched.h: Likewise.
35889 * include/search.h: Likewise.
35890 * include/setjmp.h: Likewise.
35891 * include/signal.h: Likewise.
35892 * include/stdio.h: Likewise.
35893 * include/stdlib.h: Likewise.
35894 * include/string.h: Likewise.
35895 * include/sys/cdefs.h: Likewise.
35896 * include/sys/mman.h: Likewise.
35897 * include/sys/msg.h: Likewise.
35898 * include/sys/resource.h: Likewise.
35899 * include/sys/select.h: Likewise.
35900 * include/sys/socket.h: Likewise.
35901 * include/sys/stat.h: Likewise.
35902 * include/sys/statvfs.h: Likewise.
35903 * include/sys/time.h: Likewise.
35904 * include/sys/times.h: Likewise.
35905 * include/sys/uio.h: Likewise.
35906 * include/sys/utsname.h: Likewise.
35907 * include/sys/wait.h: Likewise.
35908 * include/termios.h: Likewise.
35909 * include/time.h: Likewise.
35910 * include/ulimit.h: Likewise.
35911 * include/unistd.h: Likewise.
35912 * include/utime.h: Likewise.
35913 * include/wchar.h: Likewise.
35914 * include/wctype.h: Likewise.
35915 * include/wordexp.h: Likewise.
35916
35917 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35918
35919 * time/time.h: TIME_UTC must be a macro.
35920 Make timespec_get available for ISO C11 only as well.
35921
359222012-02-24 Ulrich Drepper <drepper@gmail.com>
35923
35924 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35925 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35926
359272012-02-24 Joseph Myers <joseph@codesourcery.com>
35928
35929 * configure.in: Use -o not -a in test for unsupported multi-arch.
35930
359312012-02-24 Joseph Myers <joseph@codesourcery.com>
35932
35933 * manual/texinfo.tex: Update to version 2012-01-19.16.
35934
359352012-02-24 Joseph Myers <joseph@codesourcery.com>
35936
35937 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35938
359392012-02-24 Roland McGrath <roland@hack.frob.com>
35940
35941 [BZ #13738]
35942 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35943 * manual/fdl-1.3.texi: New file.
35944 * manual/fdl-1.1.texi: File removed.
35945
35946 [BZ #13738]
35947 * manual/libc.texinfo (FDL_VERSION): New @set.
35948 Use it for mention of FDL in cover text.
35949 (Documentation License): Use it in @include file name.
35950
359512012-02-22 Joseph Myers <joseph@codesourcery.com>
35952 Roland McGrath <roland@hack.frob.com>
35953
35954 [BZ #5461]
35955 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35956 (not LONG_LONG_MAX and LONG_LONG_MIN.
35957 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35958 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35959 name.
35960 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35961
359622012-02-22 Joseph Myers <joseph@codesourcery.com>
35963
35964 [BZ #2547]
35965 [BZ #11365]
35966 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35967 manipulate bits before adding and subtracting TWO23[sx].
35968 * math/libm-test.inc (nearbyint_test): Add more tests.
35969
359702012-02-22 Joseph Myers <joseph@codesourcery.com>
35971
35972 [BZ #2548]
35973 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35974 bits before adding and subtracting TWO23[sx].
35975 * math/libm-test.inc (rint_test): Add more tests.
35976 (rint_test_tonearest): Likewise.
35977 (rint_test_towardzero): Likewise.
35978 (rint_test_downward): Likewise.
35979 (rint_test_upward: Likewise.
35980
359812012-02-22 Joseph Myers <joseph@codesourcery.com>
35982
35983 [BZ #10110]
35984 * include/stdc-predef.h: New file. Extracted from features.h.
35985 * include/features.h: Include stdc-predef.h.
35986 * Makefile (headers): Add stdc-predef.h.
35987 * CONFORMANCE (Compiler limitations): Update.
35988
359892012-02-22 Joseph Myers <joseph@codesourcery.com>
35990
35991 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35992
359932012-02-21 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35996 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35997
359982012-02-20 David S. Miller <davem@davemloft.net>
35999
36000 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36001 using a normal save/restore sequence, rather than allocating a
36002 dummy stack frame just to store a frame pointer and restore.
36003 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36004
360052012-02-21 Joseph Myers <joseph@codesourcery.com>
36006
36007 * manual/install.texi: Fix stray word in line-wrapped comment.
36008
360092012-02-20 David S. Miller <davem@davemloft.net>
36010
36011 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36012 both binutils and gcc support GOTDATA.
36013
36014 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36015 "rd %pc" in the PIC register setup sequences.
36016
36017 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36018 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36019 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36020 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36021 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36026 (SYSCALL_ERROR_HANDLER): Likewise.
36027 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36028 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36030 (SYSCALL_ERROR_HANDLER): Likewise.
36031
36032 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36033 (HAVE_GCC_GOTDATA): New.
36034 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36035 relocation support in both binutils and gcc.
36036 * sysdeps/sparc/elf/configure: Regenerate.
36037
36038 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36039 * sysdeps/sparc/sparc32/elf/configure: Delete.
36040 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36041 * sysdeps/sparc/sparc64/elf/configure: Delete.
36042 * sysdeps/sparc/elf/configure.in: New file.
36043 * sysdeps/sparc/elf/configure: Generate.
36044
36045 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36046 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36047 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36048 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36049 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36050
360512012-02-21 Joseph Myers <joseph@codesourcery.com>
36052
36053 * manual/install.texi: Do not mention specific glibc version
36054 numbers.
36055 * manual/libc.texinfo (VERSION, UPDATED): Update.
36056 (@copying): Use @copyright{} and range of years.
36057
360582012-02-21 Joseph Myers <joseph@codesourcery.com>
36059
36060 [BZ #13695]
36061 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36062 [crti.S not in sysdirs] (generated): Do not append.
36063 [crti.S not in sysdirs] (omit-deps): Likewise.
36064 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36065 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36066 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36067 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36068 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36069 Likewise.
36070 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36071 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36072 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36073 * csu/defs.awk: Remove file.
36074 * sysdeps/generic/initfini.c: Likewise.
36075 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36076 variable.
36077 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36078 Likewise.
36079
360802012-02-20 Joseph Myers <joseph@codesourcery.com>
36081
36082 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36083 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36084 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36087 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36088 <bits/epoll.h>.
36089 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36090 (__EPOLL_PACKED): Define to empty if not defined by
36091 <bits/epoll.h>.
36092 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36094 bits/epoll.h.
36095
360962012-02-20 Joseph Myers <joseph@codesourcery.com>
36097
36098 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36099 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36100 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36101 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36102 <bits/timerfd.h>.
36103 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36105 bits/timerfd.h.
36106
361072012-02-20 Joseph Myers <joseph@codesourcery.com>
36108
36109 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36110 in C locale.
36111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36112 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36113 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36115
361162012-02-20 Aurelien Jarno <aurelien@aurel32.net>
36117
36118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36119 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36120
361212012-02-19 Andreas Schwab <schwab@linux-m68k.org>
36122
36123 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36124 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36125 defined.
36126 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36127 Likewise.
36128 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36129 entry for 2.16.
36130
361312012-02-19 Aurelien Jarno <aurelien@aurel32.net>
36132
36133 * math/w_acos.c: Use non-signaling floating-point comparisons.
36134 * math/w_acosf.c: Likewise.
36135 * math/w_acosh.c: Likewise.
36136 * math/w_acoshf.c: Likewise.
36137 * math/w_acoshl.c: Likewise.
36138 * math/w_acosl.c: Likewise.
36139 * math/w_asin.c: Likewise.
36140 * math/w_asinf.c: Likewise.
36141 * math/w_asinl.c: Likewise.
36142 * math/w_atanh.c: Likewise.
36143 * math/w_atanhf.c: Likewise.
36144 * math/w_atanhl.c: Likewise.
36145 * math/w_exp2.c: Likewise.
36146 * math/w_exp2f.c: Likewise.
36147 * math/w_exp2l.c: Likewise.
36148 * math/w_j0.c: Likewise.
36149 * math/w_j0f.c: Likewise.
36150 * math/w_j0l.c: Likewise.
36151 * math/w_j1.c: Likewise.
36152 * math/w_j1f.c: Likewise.
36153 * math/w_j1l.c: Likewise.
36154 * math/w_jn.c: Likewise.
36155 * math/w_jnf.c: Likewise.
36156 * math/w_log.c: Likewise.
36157 * math/w_log10.c: Likewise.
36158 * math/w_log10f.c: Likewise.
36159 * math/w_log10l.c: Likewise.
36160 * math/w_log2.c: Likewise.
36161 * math/w_log2f.c: Likewise.
36162 * math/w_log2l.c: Likewise.
36163 * math/w_logf.c: Likewise.
36164 * math/w_logl.c: Likewise.
36165 * math/w_sqrt.c: Likewise.
36166 * math/w_sqrtf.c: Likewise.
36167 * math/w_sqrtl.c: Likewise.
36168 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36169 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36170 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36171 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36172 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36173
361742012-02-19 Joseph Myers <joseph@codesourcery.com>
36175
36176 [BZ #9739]
36177 * manual/string.texi (strnlen): Use correct parameter name in
36178 equivalent expression.
36179
361802012-02-19 Joseph Myers <joseph@codesourcery.com>
36181
36182 [BZ #11174]
36183 * manual/users.texi (seteuid): Consistently use neweuid for
36184 argument name.
36185
361862012-02-19 Joseph Myers <joseph@codesourcery.com>
36187
36188 [BZ #13704]
36189 * manual/nss.texi (Services in the NSS configuration): Correct
36190 list of services in example configuration file.
36191
361922012-02-19 Nick Bowler <nbowler@draconx.ca>
36193
36194 [BZ #11322]
36195 * manual/arith.texi: Remove statements about negative zero
36196 behaving identically to zero.
36197
361982012-02-18 Joseph Myers <joseph@codesourcery.com>
36199
36200 [BZ #5993]
36201 * manual/install.texi: Do not document upgrading from libc5.
36202
362032012-02-18 Joseph Myers <joseph@codesourcery.com>
36204
36205 [BZ #4596]
36206 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36207
362082012-02-18 David S. Miller <davem@davemloft.net>
36209
36210 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36211 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36212 %o7 across the call.
36213 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36214 instead.
36215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36216 SETUP_PIC_REG_LEAF.
36217 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36218 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36219 * sysdeps/sparc/crtn.S: Likewise.
36220
362212012-02-17 Ulrich Drepper <drepper@gmail.com>
36222
36223 * aout/Makefile: Remove.
36224
362252012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
36226
36227 [BZ #13058]
36228 * manual/examples/argp-ex1.c (main): Format definition in GNU
36229 style.
36230 * manual/examples/argp-ex2.c (main): Likewise.
36231 * manual/examples/argp-ex3.c (main): Likewise.
36232 * manual/examples/argp-ex4.c (main): Likewise.
36233 * manual/examples/longopt.c (main): Use new-style prototype
36234 definition.
36235 * manual/examples/strncat.c (main): Specify return type and use
36236 (void) for arguments.
36237 * manual/examples/subopt.c (main): Use char **argv argument.
36238
362392012-02-17 Joseph Myers <joseph@codesourcery.com>
36240
36241 [BZ #5077]
36242 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36243 rounding modes.
36244
362452012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
36246
36247 [BZ #6907]
36248 * manual/string.texi (strchr): Change when strchrnul is
36249 recommended.
36250
362512012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
36252
36253 [BZ #174]
36254 * manual/locale.texi (setlocale): Document LOCPATH.
36255
362562012-02-17 Joseph Myers <joseph@codesourcery.com>
36257
36258 [BZ #10210]
36259 * manual/process.texi (execle): Move @dots{} before last argument.
36260
362612012-02-17 Paul Bolle <pebolle@tiscali.nl>
36262
36263 [BZ #12047]
36264 * manual/charset.texi (Generic Charset Conversion): Fix typo
36265 (LC_TYPE -> LC_CTYPE).
36266
362672012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
36268
36269 [BZ #5805]
36270 * manual/arith.texi (scalbn): Use @var{} on parameter names.
36271 (scalbnf): Likewise.
36272 (scalbnl): Likewise.
36273 (scalbln): Likewise.
36274 (scalblnf): Likewise.
36275 (scalblnl): Likewise.
36276 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36277 (vwarnx): Likewise.
36278 (verr): Likewise.
36279 (verrx): Likewise.
36280 * manual/filesys.texi (telldir): Use braces around return type.
36281 * manual/llio.texi (mmap): Add space after comma.
36282 (mmap64): Likewise.
36283 * manual/math.texi (jn): Use @var{} on parameter names.
36284 (jnf): Likewise.
36285 (jnl): Likewise.
36286 (yn): Likewise.
36287 (ynf): Likewise.
36288 (ynl): Likewise.
36289 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36290 line.
36291 * manual/resource.texi (ulimit): Use @dots{} instead of literal
36292 "...".
36293 (sched_get_priority_min): Remove semicolon on @deftypefun line.
36294 (sched_get_priority_max): Likewise.
36295 * manual/signal.texi (sigvec): Add space after comma.
36296 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36297 names.
36298 (if_indextoname): Likewise.
36299 (if_freenameindex): Likewise.
36300 (sendto): Use ',' instead of '.' in prototype.
36301 * manual/startup.texi (syscall): Use @dots{} instead of literal
36302 "...".
36303 * manual/stdio.texi (__fpending): Separate initial words of
36304 paragraph from @deftypefun line.
36305 * manual/syslog.texi (syslog): Use @dots{} instead of literal
36306 "...".
36307 (vsyslog): Use @var{} on parameter names.
36308 * manual/terminal.texi (stty): Use @var{} on parameter names.
36309 * manual/users.texi (getutmp): Use @var{} on parameter names.
36310 (getutmpx): Likewise.
36311
363122012-02-17 Joseph Myers <joseph@codesourcery.com>
36313
36314 [BZ #6884]
36315 * manual/stdio.texi (fopen): Fix typos in description of
36316 ",ccs=STRING".
36317
363182012-02-17 Aurelien Jarno <aurelien@aurel32.net>
36319
36320 [BZ #4026]
36321 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36322 get clock_id definition.
36323
363242012-02-17 Thomas Schwinge <thomas@schwinge.name>
36325
36326 [BZ #4822]
36327 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36328 (madvise): Cast every argument to void on its own.
36329
363302012-02-17 Joseph Myers <joseph@codesourcery.com>
36331
36332 [BZ #9902]
36333 * manual/startup.texi (Exit Status): Fix typo.
36334
363352012-02-17 Joseph Myers <joseph@codesourcery.com>
36336
36337 [BZ #10140]
36338 * manual/examples/argp-ex1.c: Include <stdlib.h>.
36339 * manual/examples/argp-ex2.c: Likewise.
36340 * manual/examples/argp-ex3.c: Likewise.
36341
363422012-02-16 Richard Henderson <rth@redhat.com>
36343
36344 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36345 * sysdeps/s390/s390-32/initfini.c: Remove.
36346 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36347 * sysdeps/s390/s390-64/initfini.c: Remove.
36348
363492012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36350
36351 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36352 compiler output for sysdeps/generic/initfini.c.
36353 * sysdeps/sh/elf/initfini.c: Remove file.
36354
363552012-02-16 David S. Miller <davem@davemloft.net>
36356
36357 [BZ #11494]
36358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36359
36360 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36361 * sysdeps/sparc/crti.S: New file.
36362 * sysdeps/sparc/crtn.S: New file.
36363 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36364 * sysdeps/sparc/sparc64/Makefile: Likewise.
36365
363662012-02-15 Mike Frysinger <vapier@gentoo.org>
36367
36368 [BZ #3335]
36369 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36370
363712012-02-15 Roland McGrath <roland@hack.frob.com>
36372
36373 [BZ #4822]
36374 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36375
36376 * mach/devstream.c (cookie_io_functions_t): Macro removed.
36377 (write, read, close): Likewise.
36378 Patch by Aurelien Jarno <aurelien@aurel32.net>.
36379
363802012-02-15 Joseph Myers <joseph@codesourcery.com>
36381
36382 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36383 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36384 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36385 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36386 <bits/signalfd.h>.
36387 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36389 bits/signalfd.h.
36390
363912012-02-14 Marek Polacek <polacek@redhat.com>
36392
36393 * sysdeps/x86_64/crti.S: New file.
36394 * sysdeps/x86_64/crtn.S: New file.
36395 * sysdeps/x86_64/elf/initfini.c: Remove file.
36396
363972012-02-13 Joseph Myers <joseph@codesourcery.com>
36398
36399 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36400 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36401 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36402 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36403 <bits/inotify.h>.
36404 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36406 bits/inotify.h.
36407
364082012-02-13 Joseph Myers <joseph@codesourcery.com>
36409
36410 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36411 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36412 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36413 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36414 <bits/eventfd.h>.
36415 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36417 bits/eventfd.h.
36418
364192012-02-10 Thomas Schwinge <thomas@codesourcery.com>
36420
36421 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36422 __feraiseexcept instead of feraiseexcept.
36423
36424 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36425 nanosleep invocations.
36426 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36427 strings, and add error checking for a nanosleep invocations.
36428
364292012-02-09 Paul Eggert <eggert@cs.ucla.edu>
36430
36431 Replace FSF snail mail address with URLs, as per GNU coding standards.
36432 Most of the snail mail addresses were wrong anyway, and omitting
36433 them makes the source code easier to maintain. Almost all of the
36434 changes are to license notices and to locale LC_IDENTIFICATION
36435 addresses, except for this one:
36436 * manual/libc.texinfo: In "Published by", give the FSF's URL,
36437 not its snail mail address.
36438
364392012-02-09 Richard Henderson <rth@twiddle.net>
36440
36441 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36442 of kernel-features.h.
36443
36444 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36445
364462012-02-08 Marek Polacek <polacek@redhat.com>
36447
36448 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36449 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36450 * sysdeps/gnu/_G_config.h: Likewise.
36451 * sysdeps/generic/_G_config.h: Likewise.
36452
364532012-02-08 Andreas Schwab <schwab@linux-m68k.org>
36454
36455 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36456 tests.
36457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36458
36459 * sysdeps/powerpc/powerpc32/crti.S: New file.
36460 * sysdeps/powerpc/powerpc32/crtn.S: New file.
36461 * sysdeps/powerpc/powerpc64/crti.S: New file.
36462 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36463
36464 * Makeconfig (have-initfini): Don't set.
36465 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36466 * configure.in (nopic_initfini): Don't substitute.
36467 * config.h.in (HAVE_INITFINI): Don't #undef.
36468 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36469 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36470
364712012-02-08 Joseph Myers <joseph@codesourcery.com>
36472
36473 Support crti.S and crtn.S provided directly by architectures.
36474 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36475 [crti.S in sysdirs] (omit-deps): Likewise.
36476 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36477 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36478 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36479 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36480 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36481 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36482 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36483 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36484 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36485 compiler output for sysdeps/generic/initfini.c.
36486 * sysdeps/i386/elf/Makefile: Remove file.
36487 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36488
364892012-02-07 Marek Polacek <polacek@redhat.com>
36490
36491 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36492 * sysdeps/gnu/_G_config.h: Likewise.
36493 * sysdeps/mach/hurd/_G_config.h: Likewise.
36494
364952012-02-07 Marek Polacek <polacek@redhat.com>
36496
36497 * math/Makefile (tests): Add tst-CMPLX2.
36498 * math/tst-CMPLX2.c: New file.
36499
365002012-02-07 Andreas Schwab <schwab@linux-m68k.org>
36501
36502 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36503
36504 * math/libm-test.inc (jn_test): Add missing L suffix.
36505
365062012-02-06 Marek Polacek <polacek@redhat.com>
36507
36508 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36509 * sysdeps/i386/fpu/e_powf.S: Likewise.
36510 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36512 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36513 * sysdeps/i386/fpu/e_pow.S: Likewise.
36514 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36516 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36517 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36518 * sysdeps/i386/fpu/e_log2.S: Likewise.
36519 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36520 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36521 * sysdeps/i386/fpu/e_powl.S: Likewise.
36522 * sysdeps/i386/fpu/s_log1p.S: Likewise.
36523 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36524 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36525 * sysdeps/i386/fpu/e_logl.S: Likewise.
36526 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36527 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36528 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36529 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36530 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36531 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36532 * sysdeps/i386/fpu/e_log.S: Likewise.
36533 * sysdeps/i386/fpu/s_cexp.S: Likewise.
36534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36535 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36536 * sysdeps/i386/fpu/e_logf.S: Likewise.
36537 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36538 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36539 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36540 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36541 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36542 * sysdeps/i386/fpu/e_log10.S: Likewise.
36543 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36544 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36545 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36546 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36547 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36548 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36549 * sysdeps/i386/asm-syntax.h: Likewise.
36550 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36551 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36552 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36553 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36554 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36556 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36557 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36558 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36559 * sysdeps/powerpc/sysdep.h: Likewise.
36560 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36561 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36562
365632012-02-06 Joseph Myers <joseph@codesourcery.com>
36564
36565 [BZ #411]
36566 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36567
365682012-02-06 Joseph Myers <joseph@codesourcery.com>
36569
36570 * sysdeps/i386/sysdep.h: Include <features.h>.
36571 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36572 version.
36573
365742012-02-05 Joseph Myers <joseph@codesourcery.com>
36575
36576 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36577 Define.
36578 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36579 LOAD_PIC_REG_STR.
36580
365812012-02-03 Joseph Myers <joseph@codesourcery.com>
36582
36583 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36584 (SETUP_PIC_REG): Use GET_PC_THUNK.
36585 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36586 macro.
36587
365882012-02-03 Joseph Myers <joseph@codesourcery.com>
36589
36590 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36591 for non-PIC compilation.
36592 (SETUP_PIC_REG): Add .p2align directive.
36593 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36594 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36595 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36596 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36597 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36598 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36599 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36601 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36602 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36603 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36604 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36605 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36606 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36607 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36608 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36609 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36610 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36611 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36612 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36613 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36615 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36616 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36619 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36621 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36622 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36623 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36625 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36626 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36627 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36628 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36629 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36630 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36631 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36632 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36633 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36634
366352012-02-03 Joseph Myers <joseph@codesourcery.com>
36636
36637 * math/tst-CMPLX.c: Include <stdio.h>.
36638
366392012-01-31 Joseph Myers <joseph@codesourcery.com>
36640
36641 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36642 float.
36643 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36644 * sysdeps/sparc/bits/mathdef.h: Likewise.
36645
366462012-01-31 Marek Polacek <polacek@redhat.com>
36647
36648 * libio/libio.h: Don't define _PARAMS.
36649 * locale/programs/config.h: Don't define PARAMS.
36650 * stdlib/strtol_l.c: Likewise.
36651 (__strtol_l): Remove PARAMS from the prototype.
36652
366532012-01-31 Ulrich Drepper <drepper@gmail.com>
36654
36655 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36656 names. Just use the correct names. Remove unnecessary wrapper
36657 functions.
36658 * malloc/arena.c: Likewise.
36659 * malloc/hooks.c: Likewise.
36660
36661 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36662 ARENA_TEST says not to. Simplify test for creation of a new arena.
36663 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36664
366652012-01-30 Ulrich Drepper <drepper@gmail.com>
36666
36667 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36668 into tail calls.
36669 (update_get_addr): New function.
36670 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36671 GET_ADDR_MODULE parameter.
36672
366732012-01-30 Joseph Myers <joseph@codesourcery.com>
36674
36675 * crypt/cert.c: Remove __STDC__ conditionals.
36676 * crypt/crypt-entry.c: Likewise.
36677 * crypt/crypt_util.c: Likewise.
36678 * libio/filedoalloc.c: Likewise.
36679 * libio/fileops.c: Likewise.
36680 * libio/genops.c: Likewise.
36681 * libio/iofclose.c: Likewise.
36682 * libio/iofdopen.c: Likewise.
36683 * libio/iofopen.c: Likewise.
36684 * libio/iofopen64.c: Likewise.
36685 * libio/iogetdelim.c: Likewise.
36686 * libio/iopopen.c: Likewise.
36687 * libio/obprintf.c: Likewise.
36688 * libio/oldfileops.c: Likewise.
36689 * libio/oldiofclose.c: Likewise.
36690 * libio/oldiofdopen.c: Likewise.
36691 * libio/oldiofopen.c: Likewise.
36692 * libio/oldiopopen.c: Likewise.
36693 * libio/wfiledoalloc.c: Likewise.
36694 * libio/wgenops.c: Likewise.
36695 * locale/programs/xmalloc.c: Likewise.
36696 * misc/syslog.c: Likewise.
36697 * stdio-common/xbug.c: Likewise.
36698 * string/memchr.c: Likewise.
36699 * string/memcmp.c: Likewise.
36700 * string/memrchr.c: Likewise.
36701 * string/rawmemchr.c: Likewise.
36702 * sysdeps/posix/getcwd.c: Likewise.
36703 * time/strftime_l.c: Likewise.
36704
367052012-01-30 Joseph Myers <joseph@codesourcery.com>
36706
36707 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36708 * config.make.in (config-cflags-sse2avx): Define.
36709 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36710 Fix typo.
36711
367122012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36713
36714 * scripts/config.guess: Update from upstream config git repository.
36715 * scripts/config.sub: Likewise.
36716
367172012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36718
36719 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36720 (EM_NUM): Update.
36721 (R_TILEPRO_*, R_TILEGX_*): New macros.
36722
36723 * scripts/firstversions.awk: Fix bug in version range handling.
36724
36725 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36726
36727 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36728
36729 * include/sys/epoll.h: New file.
36730 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36731 libc_hidden_def.
36732
367332012-01-28 Ulrich Drepper <drepper@gmail.com>
36734
36735 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36736 Avoid unnecessary __WORDSIZE == 64 test.
36737 (fmaxf): Use VEX format if possible.
36738 (fmax): Likewise.
36739 (fminf): Likewise.
36740 (fmin): Likewise.
36741
36742 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36743 * math/math_private.h: Remove libc_fegetround* and
36744 libc_fesetround*.
36745 * sysdeps/i386/configure.in: Check for -msse2avx.
36746 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36747 also if SSE2AVX is defined.
36748 Remove libc_fegetround* and libc_fesetround*.
36749 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36750 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36752 of HAS_YMM_USABLE.
36753 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36754 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36757 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36758
36759 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36760
367612012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36762
36763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36764 size is not set.
36765 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36766
367672012-01-27 Ulrich Drepper <drepper@gmail.com>
36768
36769 [BZ #13618]
36770 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36771 relocation.
36772 * Makeconfig (libm): Define.
36773 * elf/Makefile: Add rules to build and run tst-relsort1.
36774 * elf/tst-relsort1.c: New file.
36775 * elf/tst-relsort1mod1.c: New file.
36776 * elf/tst-relsort1mod2.c: New file.
36777
367782012-01-27 Joseph Myers <joseph@codesourcery.com>
36779
36780 * math/s_ldexp.c: Remove __STDC__ conditionals.
36781 * math/s_ldexpf.c: Likewise.
36782 * math/s_ldexpl.c: Likewise.
36783 * math/s_nextafter.c: Likewise.
36784 * math/s_nexttowardf.c: Likewise.
36785 * math/s_significand.c: Likewise.
36786 * math/s_significandf.c: Likewise.
36787 * math/s_significandl.c: Likewise.
36788 * math/w_jnl.c: Likewise.
36789 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36790 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36791 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36792 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36793 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36794 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36795 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36796 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36797 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36798 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36799 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36801 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36802 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36803 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36804 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36808 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36809 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36815 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36816 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36817 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36818 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36819 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36820 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36821 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36822 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36823 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36824 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36826 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36827 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36828 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36829 * sysdeps/ieee754/k_standard.c: Likewise.
36830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36834 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36849 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36853 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36855 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36861 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36862 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36865 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36866 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36868 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36869 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36870 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36872 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36873 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36874 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36875 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36877 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36878 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36879 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36880 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36881 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36882 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36883 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36884 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36885 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36886 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36887 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36888 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36889 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36891 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36892 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36894 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36895 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36896 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36897 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36899 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36900 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36901 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36902 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36903 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36904 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36905 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36906 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36907 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36908 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36909 * sysdeps/ieee754/s_matherr.c: Likewise.
36910 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36911 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36914
369152012-01-26 Joseph Myers <joseph@codesourcery.com>
36916
36917 * crypt/md5.h: Remove __STDC__ conditionals.
36918 * libio/libioP.h: Likewise.
36919 * locale/programs/config.h: Likewise.
36920 * sysdeps/generic/sysdep.h: Likewise.
36921 * sysdeps/i386/asm-syntax.h: Likewise.
36922 * sysdeps/s390/asm-syntax.h: Likewise.
36923 * sysdeps/unix/sysdep.h: Likewise.
36924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36926
369272012-01-26 Joseph Myers <joseph@codesourcery.com>
36928
36929 * libio/libio.h: Remove __STDC__ conditionals.
36930 * malloc/obstack.h: Likewise.
36931 * math/complex.h: Likewise.
36932 * math/math.h: Likewise.
36933 * sysdeps/generic/_G_config.h: Likewise.
36934 * sysdeps/gnu/_G_config.h: Likewise.
36935 * sysdeps/mach/hurd/_G_config.h: Likewise.
36936 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36937 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36938 * sysdeps/sparc/bits/mathdef.h: Likewise.
36939
369402012-01-26 Ulrich Drepper <drepper@gmail.com>
36941
36942 [BZ #13583]
36943 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36944 Clean up HAS_* macros.
36945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36946 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36947 possible.
36948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36949 HAS_AVX.
36950 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36951 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36955
369562012-01-25 Joseph Myers <joseph@codesourcery.com>
36957
36958 * elf/tst-unique3.cc (gets): Remove declaration.
36959 * elf/tst-unique3lib.cc (gets): Likewise.
36960 * elf/tst-unique3lib2.cc (gets): Likewise.
36961 * elf/tst-unique4.cc (gets): Likewise.
36962
369632012-01-24 Ulrich Drepper <drepper@gmail.com>
36964
36965 * include/stdio.h: Add C++ protection. Add gets declarations and
36966 definitions.
36967 * debug/tst-chk1.c: Don't declare gets here.
36968 * stdio-common/tst-gets.c: Likewise.
36969
369702012-01-24 Joseph Myers <joseph@codesourcery.com>
36971
36972 * posix/glob: Remove directory.
36973
369742012-01-24 Joseph Myers <joseph@codesourcery.com>
36975
36976 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36977
369782012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36979
36980 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36981 of the non-standard EPFNOSUPPORT.
36982
369832011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36984
36985 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36986 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36987 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36988
369892012-01-21 Ulrich Drepper <drepper@gmail.com>
36990
36991 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36992
369932012-01-20 Ulrich Drepper <drepper@gmail.com>
36994
36995 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36996 transient errors.
36997 * nscd/grpcache.c (cache_addgr): Likewise.
36998 * nscd/hstcache.c (cache_addhst): Likewise.
36999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37000 * nscd/pwdcache.c (cache_addpw): Likewise.
37001 * nscd/servicescache.c (cache_addserv): Likewise.
37002
370032012-01-16 Ulrich Drepper <drepper@gmail.com>
37004
37005 * malloc/malloc.c: Various cleanups.
37006 * malloc/hooks.c: Likewise.
37007
37008 * stdlib/Makefile (tests): Add bug-fmtmsg1.
37009 * stdlib/bug-fmtmsg1.c: New file.
37010
37011 * stdlib/fmtmsg.c (init): Add missing unlock.
37012 Patch by Peng Haitao <penght@cn.fujitsu.com>.
37013
370142012-01-12 Marek Polacek <polacek@redhat.com>
37015
37016 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37017 and _GNU_SOURCE.
37018
370192012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37020
37021 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37022 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37023 macro to ensure uniqueness of label name.
37024 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37025 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37026
370272012-01-11 Ulrich Drepper <drepper@gmail.com>
37028
37029 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37030
37031 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37032 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37033 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37035
370362012-01-10 Ulrich Drepper <drepper@gmail.com>
37037
37038 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37039
37040 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37041 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37042 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37043
37044 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37045
37046 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37050
37051 * math/bits/math-finite.h: Add ldexp support.
37052
370532012-01-10 Marek Polacek <polacek@redhat.com>
37054
37055 * locale/programs/localedef.h (show_archive_content): Add noreturn
37056 attribute.
37057
370582012-01-09 Ulrich Drepper <drepper@gmail.com>
37059
37060 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37061
370622012-01-08 Ulrich Drepper <drepper@gmail.com>
37063
37064 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37065
37066 * io/Makefile (headers): Add bits/poll2.h.
37067
370682011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
37069
37070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37071 typo #include statement.
37072
370732012-01-08 Ulrich Drepper <drepper@gmail.com>
37074
37075 * include/sys/cdefs.h: Define __attribute_alloc_size.
37076 * catgets/gencat.c: Add alloc_size attribute and apply consistently
37077 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37078 * elf/pldd.c: Likewise.
37079 * iconv/iconv_charmap.c: Likewise.
37080 * iconv/iconvconfig.c: Likewise.
37081 * iconv/strtab.c: Likewise.
37082 * locale/programs/locale.c: Likewise.
37083 * locale/programs/localedef.h: Likewise.
37084 * locale/programs/simple-hash.c: Likewise.
37085 * nscd/nscd.h: Likewise.
37086 * nss/makedb.c: Likewise.
37087 * sysdeps/generic/ldconfig.h: Likewise.
37088 * locale/programs/localedef.c: Remove xmalloc prototype.
37089 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37090
370912012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37092
37093 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37094 appropriate.
37095
370962012-01-08 Ulrich Drepper <drepper@gmail.com>
37097
37098 * math/Makefile (tests): Add tst-CMPLX.
37099 * math/tst-CMPLX.c: New file.
37100
37101 * math/complex.h (CMPLXL): Fix typo.
37102
37103 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37104 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37105 GLIBC_2.16.
37106 * debug/tst-chk1.c: Add poll and ppoll tests.
37107 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37108 * include/sys/poll.h: Add hidden proto for ppoll.
37109 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37110 * sysdeps/mach/hurd/ppoll.c: Likewise.
37111 * io/ppoll.c: Likewise.
37112 * debug/poll_chk.c: New file.
37113 * debug/ppoll_chk.c: New file.
37114 * include/bits/poll2.h: New file.
37115 * io/bits/poll2.h: New file.
37116
37117 [BZ #1350]
37118 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37119
37120 * configure.in: static is always set to yes. Remove.
37121 * config.make.in: Don't set build-static.
37122 * Makeconfig: Remove use of build-static.
37123 * dlfcn/Makefile: Likewise.
37124 * elf/Makefile: Likewise.
37125 * math/Makefile: Likewise.
37126 * misc/Makefile: Likewise.
37127 * nptl/Makefile: Likewise.
37128 * sysdeps/mach/hurd/Makefile: Likewise.
37129
37130 * configure.in: PWD_P is not used anymore.
37131 * config.make.in: Remove PWD_P entry.
37132
37133 * configure.in: Remove last remnants of RANLIB.
37134 No need to check for signed size_t anymore.
37135 Don't set libc_commonpagesize and libc_relro_required here for Alpha
37136 and IA-64.
37137 Remove __builtin_expect test because we require at least gcc 3.4.
37138 * aclocal.m4: Likewise.
37139
37140 * wcsmbs/mbrtoc16.c: Implement using towc function.
37141 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37142 * wcsmbs/wcsmbsload.c: Likewise.
37143 * iconv/gconv_simple.c: Likewise.
37144 * iconv/gconv_int.h: Likewise.
37145 * iconv/gconv_builtin.h: Likewise.
37146 * iconv/iconv_prog.c: Remove CHAR16 handling.
37147
37148 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37149
37150 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37151
37152 * configure.in: Remove --with-elf and --enable-bounded options.
37153 Dont set base_machine for ia64. More non-ELF conditions removed.
37154 Remove testing and setting of leading underscore information.
37155 * config.make.in (build-bounded): Set to no.
37156 * config.h.in: Remove NO_UNDERSCORES entry.
37157 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
37158 them.
37159 * csu/start.c: Remove !NO_UNDERSCORE code.
37160 * locale/localeinfo.h: Likewise.
37161 * sysdeps/generic/machine-gmon.h: Likewise.
37162 * sysdeps/generic/sysdep.h: Likewise.
37163 * sysdeps/i386/sysdep.h: Likewise.
37164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37165 * sysdeps/mach/sysdep.h: Likewise.
37166 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37167 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37168 * sysdeps/sh/sysdep.h: Likewise.
37169 * sysdeps/sparc/sparc32/alloca.S: Likewise.
37170 * sysdeps/unix/i386/sysdep.S: Likewise.
37171 * sysdeps/unix/sparc/start.c: Likewise.
37172 * sysdeps/unix/sparc/sysdep.S: Likewise.
37173 * sysdeps/unix/sparc/sysdep.h: Likewise.
37174 * sysdeps/unix/start.c: Likewise.
37175 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37176 * sysdeps/x86_64/sysdep.h: Likewise.
37177
371782012-01-07 Ulrich Drepper <drepper@gmail.com>
37179
37180 [BZ #13553]
37181 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37182 for non-gcc.
37183 * argp/argp-fmtstream.h: Use const instead __const.
37184 * argp/argp.h: Likewise.
37185 * assert/assert.h: Likewise.
37186 * bits/fenv.h: Likewise.
37187 * bits/sched.h: Likewise.
37188 * bits/sigset.h: Likewise.
37189 * bits/sigthread.h: Likewise.
37190 * catgets/nl_types.h: Likewise.
37191 * conform/data/pthread.h-data: Likewise.
37192 * crypt/crypt-private.h: Likewise.
37193 * crypt/crypt.h: Likewise.
37194 * crypt/crypt_util.c: Likewise.
37195 * ctype/ctype.h: Likewise.
37196 * debug/execinfo.h: Likewise.
37197 * debug/mbsnrtowcs_chk.c: Likewise.
37198 * debug/mbsrtowcs_chk.c: Likewise.
37199 * debug/wcsnrtombs_chk.c: Likewise.
37200 * debug/wcsrtombs_chk.c: Likewise.
37201 * debug/wcstombs_chk.c: Likewise.
37202 * dirent/dirent.h: Likewise.
37203 * dlfcn/dlfcn.h: Likewise.
37204 * elf/neededtest4.c: Likewise.
37205 * grp/grp.h: Likewise.
37206 * gshadow/gshadow.h: Likewise.
37207 * iconv/gconv.h: Likewise.
37208 * iconv/gconv_int.h: Likewise.
37209 * iconv/gconv_simple.c: Likewise.
37210 * iconv/iconv.h: Likewise.
37211 * iconv/loop.c: Likewise.
37212 * iconv/skeleton.c: Likewise.
37213 * include/aio.h: Likewise.
37214 * include/aliases.h: Likewise.
37215 * include/argz.h: Likewise.
37216 * include/arpa/inet.h: Likewise.
37217 * include/assert.h: Likewise.
37218 * include/dirent.h: Likewise.
37219 * include/dlfcn.h: Likewise.
37220 * include/execinfo.h: Likewise.
37221 * include/fcntl.h: Likewise.
37222 * include/fenv.h: Likewise.
37223 * include/glob.h: Likewise.
37224 * include/grp.h: Likewise.
37225 * include/libintl.h: Likewise.
37226 * include/mntent.h: Likewise.
37227 * include/netdb.h: Likewise.
37228 * include/pwd.h: Likewise.
37229 * include/rpc/netdb.h: Likewise.
37230 * include/sched.h: Likewise.
37231 * include/search.h: Likewise.
37232 * include/shadow.h: Likewise.
37233 * include/signal.h: Likewise.
37234 * include/stdio.h: Likewise.
37235 * include/stdlib.h: Likewise.
37236 * include/string.h: Likewise.
37237 * include/sys/socket.h: Likewise.
37238 * include/sys/stat.h: Likewise.
37239 * include/sys/statfs.h: Likewise.
37240 * include/sys/statvfs.h: Likewise.
37241 * include/sys/syslog.h: Likewise.
37242 * include/sys/time.h: Likewise.
37243 * include/sys/uio.h: Likewise.
37244 * include/time.h: Likewise.
37245 * include/unistd.h: Likewise.
37246 * include/utmp.h: Likewise.
37247 * include/wchar.h: Likewise.
37248 * include/wctype.h: Likewise.
37249 * inet/aliases.h: Likewise.
37250 * inet/arpa/inet.h: Likewise.
37251 * inet/netinet/ether.h: Likewise.
37252 * inet/netinet/in.h: Likewise.
37253 * intl/libintl.h: Likewise.
37254 * io/bits/fcntl2.h: Likewise.
37255 * io/fcntl.h: Likewise.
37256 * io/ftw.h: Likewise.
37257 * io/sys/poll.h: Likewise.
37258 * io/sys/stat.h: Likewise.
37259 * io/sys/statfs.h: Likewise.
37260 * io/sys/statvfs.h: Likewise.
37261 * io/utime.h: Likewise.
37262 * libio/bits/stdio.h: Likewise.
37263 * libio/bits/stdio2.h: Likewise.
37264 * libio/libio.h: Likewise.
37265 * libio/libioP.h: Likewise.
37266 * libio/stdio.h: Likewise.
37267 * locale/lc-ctype.c: Likewise.
37268 * locale/locale.h: Likewise.
37269 * login/utmp.h: Likewise.
37270 * malloc/arena.c: Likewise.
37271 * malloc/malloc.c: Likewise.
37272 * malloc/malloc.h: Likewise.
37273 * malloc/mcheck.c: Likewise.
37274 * malloc/mtrace.c: Likewise.
37275 * math/bits/mathcalls.h: Likewise.
37276 * math/fenv.h: Likewise.
37277 * math/math_private.h: Likewise.
37278 * misc/bits/error.h: Likewise.
37279 * misc/bits/syslog.h: Likewise.
37280 * misc/err.h: Likewise.
37281 * misc/error.h: Likewise.
37282 * misc/fstab.h: Likewise.
37283 * misc/mntent.h: Likewise.
37284 * misc/regexp.h: Likewise.
37285 * misc/search.h: Likewise.
37286 * misc/sgtty.h: Likewise.
37287 * misc/sys/mman.h: Likewise.
37288 * misc/sys/syslog.h: Likewise.
37289 * misc/sys/uio.h: Likewise.
37290 * misc/sys/xattr.h: Likewise.
37291 * misc/ttyent.h: Likewise.
37292 * nis/rpcsvc/ypclnt.h: Likewise.
37293 * nss/nss.h: Likewise.
37294 * posix/bits/unistd.h: Likewise.
37295 * posix/fnmatch.h: Likewise.
37296 * posix/glob.h: Likewise.
37297 * posix/sched.h: Likewise.
37298 * posix/spawn.h: Likewise.
37299 * posix/sys/wait.h: Likewise.
37300 * posix/unistd.h: Likewise.
37301 * posix/wordexp.h: Likewise.
37302 * pwd/pwd.h: Likewise.
37303 * resolv/netdb.h: Likewise.
37304 * resource/sys/resource.h: Likewise.
37305 * rt/aio.h: Likewise.
37306 * rt/bits/mqueue2.h: Likewise.
37307 * rt/mqueue.h: Likewise.
37308 * shadow/shadow.h: Likewise.
37309 * signal/signal.h: Likewise.
37310 * socket/send.c: Likewise.
37311 * socket/sendto.c: Likewise.
37312 * socket/sys/socket.h: Likewise.
37313 * stdio-common/printf.h: Likewise.
37314 * stdlib/bits/stdlib.h: Likewise.
37315 * stdlib/fmtmsg.h: Likewise.
37316 * stdlib/monetary.h: Likewise.
37317 * stdlib/stdlib.h: Likewise.
37318 * stdlib/ucontext.h: Likewise.
37319 * streams/stropts.h: Likewise.
37320 * string/argz.h: Likewise.
37321 * string/bits/string2.h: Likewise.
37322 * string/string.h: Likewise.
37323 * string/strings.h: Likewise.
37324 * sunrpc/rpc/auth.h: Likewise.
37325 * sunrpc/rpc/auth_des.h: Likewise.
37326 * sunrpc/rpc/clnt.h: Likewise.
37327 * sunrpc/rpc/netdb.h: Likewise.
37328 * sunrpc/rpc/pmap_clnt.h: Likewise.
37329 * sunrpc/rpc/xdr.h: Likewise.
37330 * sysdeps/generic/inttypes.h: Likewise.
37331 * sysdeps/generic/net/if.h: Likewise.
37332 * sysdeps/generic/sys/swap.h: Likewise.
37333 * sysdeps/gnu/net/if.h: Likewise.
37334 * sysdeps/gnu/utmpx.h: Likewise.
37335 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37336 * sysdeps/i386/i486/bits/string.h: Likewise.
37337 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37338 * sysdeps/s390/bits/string.h: Likewise.
37339 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37340 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37341 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37342 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37343 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37344 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37345 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37346 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37347 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37348 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37349 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37350 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37351 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37352 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37353 * sysdeps/unix/sysv/linux/readv.c: Likewise.
37354 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37355 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37356 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37358 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37360 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37361 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37362 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37363 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37364 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37365 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37367 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37368 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37369 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37370 * sysvipc/sys/ipc.h: Likewise.
37371 * sysvipc/sys/msg.h: Likewise.
37372 * sysvipc/sys/sem.h: Likewise.
37373 * sysvipc/sys/shm.h: Likewise.
37374 * termios/termios.h: Likewise.
37375 * time/sys/time.h: Likewise.
37376 * time/time.h: Likewise.
37377 * wcsmbs/bits/wchar2.h: Likewise.
37378 * wcsmbs/uchar.h: Likewise.
37379 * wcsmbs/wchar.h: Likewise.
37380 * wctype/wctype.h: Likewise.
37381
37382 [BZ #13551]
37383 * Makeconfig: Remove all but ELF support including AIX support.
37384 * Makerules: Likewise.
37385 * config.h.in: Likewise.
37386 * config.make.in: Likewise.
37387 * configure: Likewise.
37388 * configure.in: Likewise.
37389 * csu/Makefile: Likewise.
37390 * csu/version.c: Likewise.
37391 * debug/Makefile: Likewise.
37392 * dlfcn/Makefile: Likewise.
37393 * elf/Makefile: Likewise.
37394 * extra-lib.mk: Likewise.
37395 * iconv/Makefile: Likewise.
37396 * include/libc-symbols.h: Likewise.
37397 * include/shlib-compat.h: Likewise.
37398 * resolv/Makefile: Likewise.
37399 * resolv/res_libc.c: Likewise.
37400 * rt/Makefile: Likewise.
37401 * sysdeps/i386/asm-syntax.h: Likewise.
37402 * sysdeps/i386/sysdep.h: Likewise.
37403 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37404 * sysdeps/mach/sysdep.h: Likewise.
37405 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37406 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37407 * sysdeps/s390/asm-syntax.h: Likewise.
37408 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37410 * sysdeps/sh/sysdep.h: Likewise.
37411 * sysdeps/unix/sparc/sysdep.h: Likewise.
37412 * sysdeps/wordsize-32/divdi3.c: Likewise.
37413 * sysdeps/x86_64/sysdep.h: Likewise.
37414
37415 * argp/Versions: Remove _argp_unlock_xxx.
37416
37417 [BZ #13559]
37418 * abilist/ld.abilist: Update. Adjust for removal of tls option.
37419 * abilist/libBrokenLocale.abilist: Likewise.
37420 * abilist/libanl.abilist: Likewise.
37421 * abilist/libc.abilist: Likewise.
37422 * abilist/libcrypt.abilist: Likewise.
37423 * abilist/libdl.abilist: Likewise.
37424 * abilist/libm.abilist: Likewise.
37425 * abilist/libnsl.abilist: Likewise.
37426 * abilist/libpthread.abilist: Likewise.
37427 * abilist/libresolv.abilist: Likewise.
37428 * abilist/librt.abilist: Likewise.
37429 * abilist/libthread_db.abilist: Likewise.
37430 * abilist/libutil.abilist: Likewise.
37431 * abilist/libnss_db.abilist: New file.
37432
37433 * scripts/abilist.awk: Add support for indirect functions.
37434
37435 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37436
37437 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37438
37439 * shlib-versions: Remove entries for ports architectures.
37440
37441 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
37442 files in ports.
37443 * elf/stackguard-macros.h: Remove support for IA-64.
37444 * elf/tst-auditmod1.c: Likewise.
37445 * sysdeps/generic/ldsodefs.h: Likewise.
37446
37447 * sysdeps/unix/sysv/linux/configure.in: Ports should define
37448 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37449 configure files.
37450
37451 [BZ #13552]
37452 * configure.in: Remove --enable-omitfp support.
37453 * FAQ.in: Adjust.
37454 * config.make.in: Likewise.
37455 * Makeconfig: Likewise.
37456 * manual/install.texi: Likewise.
37457
37458 In case anyone cares, the IA-64 architecture could move to ports.
37459 * sysdeps/ia64/*: Removed.
37460 * sysdeps/unix/sysv/linux/ia64/*: Removed.
37461 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37462
37463 [BZ #13555]
37464 * configure.in: Remove entries for unsupported architectures.
37465
37466 [BZ #13533]
37467 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37468 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
37469 routines.
37470 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37471 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37472 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
37473 fall back to using wcrtomb.
37474 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37475 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
37476 renaming.
37477 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37478 * wcsmbs/tst-c16c32-1.c: New file.
37479
37480 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37481 local variable.
37482
37483 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37484
37485 * elf/tst-unique3.cc: Add explicit declaration of gets.
37486 * elf/tst-unique3lib.cc: Likewise.
37487 * elf/tst-unique3lib2.cc: Likewise.
37488 * elf/tst-unique4.cc: Likewise.
37489
37490 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37491
374922012-01-06 Joseph Myers <joseph@codesourcery.com>
37493
37494 [BZ #13566]
37495 * assert/assert.h (static_assert): Don't define for C++.
37496 * libio/stdio.h (gets): Do declare for C++ <= C++11.
37497 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37498
374992012-01-03 Ulrich Drepper <drepper@gmail.com>
37500
37501 * iconv/loop.c (single loop): Fix assertion in storing of
37502 remaining bytes.
37503
37504 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37505
375062012-01-01 Ulrich Drepper <drepper@gmail.com>
37507
37508 * posix/getconf.c: Update copyright year.
37509 * nss/getent.c: Likewise.
37510 * nss/makedb.c: Likewise.
37511 * iconv/iconvconfig.c: Likewise.
37512 * iconv/iconv_prog.c: Likewise.
37513 * elf/ldconfig.c: Likewise.
37514 * elf/pldd.c: Likewise.
37515 * elf/sotruss.ksh: Likewise.
37516 * catgets/gencat.c: Likewise.
37517 * csu/version.c: Likewise.
37518 * elf/ldd.bash.in: Likewise.
37519 * elf/sprof.c (print_version): Likewise.
37520 * locale/programs/locale.c: Likewise.
37521 * locale/programs/localedef.c: Likewise.
37522 * login/programs/pt_chown.c: Likewise.
37523 * nscd/nscd.c (print_version): Likewise.
37524 * debug/xtrace.sh: Likewise.
37525 * malloc/memusage.sh: Likewise.
37526 * malloc/mtrace.pl: Likewise.
37527 * debug/catchsegv.sh: Likewise.
37528
375292011-12-30 Jakub Jelinek <jakub@redhat.com>
37530
37531 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37532 pure attribute.
37533
375342011-12-24 Ulrich Drepper <drepper@gmail.com>
37535
37536 [BZ #13533]
37537 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37538 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37539 transformations.
37540 * iconv/gconv_int.h: Likewise.
37541 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37542 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37543 from libc for GLIBC_2.16.
37544 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37545 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37546 * wcsmbs/uchar.h: Really define mbstate_t.
37547 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37548 * wcsmbs/c16rtomb.c: New file.
37549 * wcsmbs/mbrtoc16.c: New file.
37550 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37551 for C/POSIX locale.
37552 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37553 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37554
37555 * wcsmbs/wchar.h: Add missing __restrict.
37556
375572011-12-23 Ulrich Drepper <drepper@gmail.com>
37558
37559 [BZ #13532]
37560 * time/Makefile (routines): Add timespec_get.
37561 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37562 * time/time.h: Define TIME_UTC and declare timespec_get. Define
37563 timespec for ISO C11.
37564 * time/timespec_get.c: New file.
37565 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37566 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37567
37568 [BZ #13531]
37569 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37570 * stdlib/stdlib.h: Declare aligned_alloc.
37571 * Versions.def: Add GLIBC_2.16 for libc.
37572 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37573
37574 [BZ 13527]
37575 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37576 ISO C11.
37577
37578 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37579 code.
37580
37581 [BZ #13528]
37582 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37583
37584 [BZ #13529]
37585 * assert/assert.h (static_assert): Define.
37586
37587 * version.h: Update for 2.16 development version.
37588
37589 [BZ #13526]
37590 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37591 _ISOC11_SOURCE.
37592
37593 * version.h (RELEASE): Bump for 2.15 release.
37594 * include/features.h (__GLIBC_MINOR__): Bump to 15.
37595
37596 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37597 Patch by Marek Polacek <mpolacek@redhat.com>.
37598
37599 * bits/byteswap.h: Protect long long constants with __extension__.
37600 * sysdeps/i386/bits/byteswap.h: Likewise.
37601 * sysdeps/ia64/bits/byteswap.h: Likewise.
37602 * sysdeps/s390/bits/byteswap.h: Likewise.
37603 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37604
376052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37606
37607 [BZ #13540]
37608 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37609 destination buffer.
37610 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37611
376122011-12-23 Marek Polacek <polacek@redhat.com>
37613
37614 * elf/dl-addr.c (determine_info): Add inline keyword.
37615 * elf/tst-auditmod4b.c (check_avx): Likewise.
37616 * elf/tst-auditmod6b.c (check_avx): Likewise.
37617 * elf/tst-auditmod6c.c (check_avx): Likewise.
37618 * elf/tst-auditmod7b.c (check_avx): Likewise.
37619
376202011-12-23 Ulrich Drepper <drepper@gmail.com>
37621
37622 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37623 !__SSE_MATH__.
37624
376252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37626
37627 [BZ #13540]
37628 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37629 processing for last bytes.
37630
376312011-08-06 Bruno Haible <bruno@clisp.org>
37632
37633 [BZ #13061]
37634 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37635 U+0385, not to U+1FEE.
37636
37637 [BZ #13062]
37638 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37639 entry for U+00A5 U+0301.
37640
376412011-12-22 Ulrich Drepper <drepper@gmail.com>
37642
37643 [BZ #13166]
37644 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37645 buffer for the output is too small.
37646
37647 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37648 optimization.
37649
37650 [BZ #13185]
37651 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37652 SSE flags if possible.
37653
376542011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37655
37656 [BZ #13540]
37657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37658 processing for last bytes.
37659
376602011-12-22 Joseph Myers <joseph@codesourcery.com>
37661
37662 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37663 (syscall-list-default-options, syscall-list-default-condition)
37664 (syscall-list-includes): Define.
37665 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37666 list of ABIs and options and #if conditions for each ABI. Do not
37667 handle common syscalls between ABIs specially.
37668 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37669 Remove.
37670 (syscall-list-variants, syscall-list-32bit-options)
37671 (syscall-list-32bit-condition, syscall-list-64bit-options)
37672 (syscall-list-64bit-condition): Define.
37673 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37674 (syscall-list-variants, syscall-list-32bit-options)
37675 (syscall-list-32bit-condition, syscall-list-64bit-options)
37676 (syscall-list-64bit-condition): Define.
37677 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37678 Remove.
37679 (syscall-list-variants, syscall-list-32bit-options)
37680 (syscall-list-32bit-condition, syscall-list-64bit-options)
37681 (syscall-list-64bit-condition): Define.
37682 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37683 Remove.
37684 (syscall-list-variants, syscall-list-32bit-options)
37685 (syscall-list-32bit-condition, syscall-list-64bit-options)
37686 (syscall-list-64bit-condition): Define.
37687
376882011-12-22 Ulrich Drepper <drepper@gmail.com>
37689
37690 * locale/iso-639.def: Add brx entry.
37691
37692 [BZ #13328]
37693 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37694 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37695
37696 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37697 __feraiseexcept_renamed.
37698
376992011-12-21 Ulrich Drepper <drepper@gmail.com>
37700
37701 [BZ #13538]
37702 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37703 EPOLLET with unsigned values.
37704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37705 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37706
37707 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37708 to large cancellation.
37709 * math/s_cacoshf.c: Likewise.
37710 * math/s_cacoshl.c: Likewise.
37711
377122011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37713
37714 [BZ #13305]
37715 [BZ #12786]
37716 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37717 * math/s_cacoshf.c: Likewise.
37718 * math/s_cacoshl.c: Likewise.
37719
377202011-12-21 Ulrich Drepper <drepper@gmail.com>
37721
37722 [BZ #13439]
37723 * iconv/gconv.h: Define __GCONV_SWAP.
37724 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37725 * iconvdata/utf-16.c: Likewise.
37726 * iconvdata/utf-32.c: Likewise.
37727
377282011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37729
37730 [BZ #13524]
37731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37732 numerator after shifting it by one limb.
37733
377342011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37735
37736 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37737 under [__USE_EXTERN_INLINES].
37738
377392011-12-17 Ulrich Drepper <drepper@gmail.com>
37740
37741 [BZ #13446]
37742 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37743
377442011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37745
37746 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37747 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37748 optimized code.
37749 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37750 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37751 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37752 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37753 for strncasecmp/strncasecmp_l compilation.
37754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37755 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37756
377572011-12-08 Marek Polacek <mpolacek@redhat.com>
37758
37759 [BZ #13484]
37760 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37761 of __asm__.
37762
377632011-12-17 Ulrich Drepper <drepper@gmail.com>
37764
37765 [BZ #13506]
37766 * time/tzfile.c (__tzfile_read): Check values from file header.
37767
377682011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37769
37770 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37771 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37772 * powerpc/powerpc32/dl-start.S: Likewise.
37773 * powerpc/powerpc32/elf/start.S: Likewise.
37774 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37775 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37776 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37777 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37778 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37779 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37780 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37781 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37782 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37783 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37784 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37785 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37786 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37787 * powerpc/powerpc32/memset.S: Likewise.
37788 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37789 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37790 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37791 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37792 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37793 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37794 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37795 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37796 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37797 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37798 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37799 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37800 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37801
378022011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37803
37804 * math/libm-test.inc: Added more nearbyint tests.
37805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37806 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37808 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37809
378102011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37811
37812 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37813 FD_CLOEXEC.
37814
378152011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37816
37817 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37818 Add wcscpy-ssse3 wcscpy-c.
37819 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37820 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37821 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37822 * sysdeps/x86_64/wcschr.S: New file.
37823 * sysdeps/x86_64/wcsrchr.S: New file.
37824 * string/test-strcmp.c: Remove checking of wcscmp function for
37825 wrong alignments.
37826 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37827 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37828 wcsrchr-sse2 wcsrchr-c.
37829 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37830 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37831 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37832 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37833 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37834 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37835 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37836 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37837 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37838 * wcsmbc/wcschr.c (WCSCHR): New macro.
37839
378402011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37841
37842 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37843 * wcsmbs/test-wcsrchr.c: New file.
37844 * string/test-strrchr.c: Add wcsrchr support.
37845 (WIDE): New macro.
37846 * wcsmbs/test-wcscpy.c: New file.
37847 * string/test-strcpy.c: Add wcscpy support.
37848 (WIDE): New macro.
37849
378502011-12-10 Ulrich Drepper <drepper@gmail.com>
37851
37852 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37853 the inner loop.
37854
378552011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37856
37857 [BZ #13472]
37858 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37859
378602011-12-04 Ulrich Drepper <drepper@gmail.com>
37861
37862 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37863 Minor optimizations.
37864
37865 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37866 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37867 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37868
378692011-12-03 Ulrich Drepper <drepper@gmail.com>
37870
37871 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37872 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37873 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37874 for gcc to avoid warnings.
37875 * inet/Makefile (tests): Add tst-checks.
37876 * inet/tst-checks.c: New file.
37877
37878 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37879 warning.
37880
37881 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37882 __wmemcmp_sse2.
37883
37884 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37885 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37886
37887 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37888
378892011-12-02 Ulrich Drepper <drepper@gmail.com>
37890
37891 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37892 problem.
37893
37894 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37895
378962011-11-29 Joseph Myers <joseph@codesourcery.com>
37897
37898 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37899 conditional on GCC version.
37900 (__arch_compare_and_exchange_val_8_acq)
37901 (__arch_compare_and_exchange_val_16_acq)
37902 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37903 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37904 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37905
379062011-12-02 Joseph Myers <joseph@codesourcery.com>
37907
37908 * sysdeps/sh/backtrace.c: New file.
37909
379102011-12-02 Andreas Schwab <schwab@redhat.com>
37911
37912 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37913 parenthesis.
37914
379152011-12-01 Andreas Schwab <schwab@redhat.com>
37916
37917 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37918 falling back to utime.
37919
379202011-11-30 Andreas Schwab <schwab@redhat.com>
37921
37922 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37923 expectations for float.
37924
379252011-11-29 Andreas Schwab <schwab@redhat.com>
37926
37927 * locale/weight.h (findidx): Add parameter len.
37928 * locale/weightwc.h (findidx): Likewise.
37929 * posix/fnmatch_loop.c (FCT): Adjust caller.
37930 * posix/regcomp.c (build_equiv_class): Likewise.
37931 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37932 * posix/regexec.c (check_node_accept_bytes): Likewise.
37933 * string/strcoll_l.c (STRCOLL): Likewise.
37934 * string/strxfrm_l.c (STRXFRM): Likewise.
37935
379362011-11-17 Ulrich Drepper <drepper@gmail.com>
37937
37938 * Makefile.in: Remove CVSOPT handling.
37939 * configure.in: Remove use of AC_REVISION.
37940 * iconvdata/Makefile (distribute): No need to filter out CVS.
37941 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37942 handling.
37943
379442011-11-16 Andreas Schwab <schwab@redhat.com>
37945
37946 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37947 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37948 [USE_AS_STRNCASECMP_L]: Likewise.
37949 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37950 NO_TLS_DIRECT_SEG_REFS.
37951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37952 Fix argument offsets for non-PIC.
37953 [USE_AS_STRNCASECMP_L]: Likewise.
37954 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37955 NO_TLS_DIRECT_SEG_REFS.
37956
379572011-11-15 Ulrich Drepper <drepper@gmail.com>
37958
37959 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37960 O_CLOEXEC.
37961 * locale/loadlocale.c (_nl_load_locale): Likewise.
37962
379632011-11-15 Andreas Schwab <schwab@redhat.com>
37964
37965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37966 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37967 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37968 (SYSCALL_GETTIME): Set errno on error.
37969
37970 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37971 count references to noai6ai_cached.
37972
379732011-11-15 Ulrich Drepper <drepper@gmail.com>
37974
37975 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37976
37977 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37978 FD_CLOEXEC for /proc/self/maps.
37979
37980 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37981 FD_CLOEXEC for /proc/meminfo.
37982
37983 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37984 gai.conf.
37985
37986 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37987 FD_CLOEXEC for given file.
37988
37989 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37990
37991 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37992 FD_CLOEXEC for /etc/hosts.
37993 (_gethtent): Likewise.
37994
37995 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37996
37997 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37998 cancellation and set FD_CLOEXEC for /etc/netgroup.
37999
38000 * nss/nss_files/files-key.c (search): Don't allow cancellation when
38001 reading /etc/publickey.
38002
38003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38004 allow cancellation when reading /etc/group.
38005
38006 * nss/nss_files/files-alias.c (internal_setent): Don't allow
38007 cancellation.
38008 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
38009
38010 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38011 when using data file.
38012
38013 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38014
38015 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38016 (write_nis_obj): Use "c" and "e" in fopen.
38017
38018 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38019
38020 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38021
38022 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38023
38024 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38025
38026 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38027 locale.alias.
38028
38029 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38030
38031 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38032
38033 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38034
38035 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38036 file parsing and set FD_CLOEXEC.
38037
380382011-11-14 Ulrich Drepper <drepper@gmail.com>
38039
38040 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38041
380422011-11-14 Andreas Schwab <schwab@redhat.com>
38043
38044 * malloc/arena.c (arena_get2): Don't call reused_arena when
38045 _int_new_arena failed.
38046
380472011-11-14 Ulrich Drepper <drepper@gmail.com>
38048
38049 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38050 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38051 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38052 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38053 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38054 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38055 to compile strcasecmp and strncasecmp.
38056 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38057 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38058
38059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38060
380612011-11-13 Ulrich Drepper <drepper@gmail.com>
38062
38063 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38064 locale-defines.sym to gen-as-const-headers.
38065 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38066 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38068 to compile strcasecmp and strncasecmp.
38069 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38070 strcasecmp_l and strncasecmp_l.
38071 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38072 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38073 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38074 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38075 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38076 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38077 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38078 * sysdeps/i386/i686/multiarch/strncase.S: New file.
38079 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38080 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38081 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38082
380832011-11-12 Ulrich Drepper <drepper@gmail.com>
38084
38085 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38086 result of SYSDEP_GETTIME_CPU to retval.
38087 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38088 parameter list to macro. Remove trailing semicolon. Adjust users.
38089
38090 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38091 variable.
38092
38093 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38094 mantissa words.
38095 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38096
38097 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38098 from unused variable.
38099
38100 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38101 DWARF definitions.
38102 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38103 for assembling.
38104
38105 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38106 over namespaces.
38107
38108 * sunrpc/rpc_prot.c (rejected): Fix case value.
38109
38110 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38111 unsigned long long int to avoid warnings in shift.
38112
38113 * posix/regex_internal.c (re_string_reconstruct): Actually use result
38114 of use of trans.
38115 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38116 variable tmp.
38117
38118 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38119 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38120 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38121
38122 * nis/nis_table.c (nis_list): Use variable of correct type for
38123 result of __follow_path call.
38124
381252011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38126
38127 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38128 of math functions ceil, trunc, floor, round, and sqrt, when
38129 avaliable on the platform.
38130 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38131 name clash.
38132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38133 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38134 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38135
381362011-10-30 Marek Polacek <mpolacek@redhat.com>
38137
38138 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38139 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38140
381412011-11-11 Roland McGrath <roland@hack.frob.com>
38142
38143 * include/unistd.h: Fix __readlink return type.
38144 Reported by Chris Metcalf <cmetcalf@tilera.com>.
38145
381462011-11-11 Ulrich Drepper <drepper@gmail.com>
38147
38148 * stdlib/ucontext.h: Undo last change for makecontext.
38149
381502011-11-11 Andreas Schwab <schwab@redhat.com>
38151
38152 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38153
38154 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38155 * setjmp/setjmp.h: Mark functions as non-leaf.
38156 * setjmp/bits/setjmp2.h: Likewise.
38157 * stdlib/ucontext.h: Likewise.
38158
381592011-11-10 Andreas Schwab <schwab@redhat.com>
38160
38161 * malloc/arena.c (_int_new_arena): Don't increment narenas.
38162 (reused_arena): Don't check arena limit.
38163 (arena_get2): Atomically check arena limit.
38164
381652011-11-08 Ulrich Drepper <drepper@gmail.com>
38166
38167 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38168 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38169
38170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38171 instructions.
38172
381732011-11-07 Andreas Schwab <schwab@redhat.com>
38174
38175 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38176 handler when locking.
38177
38178 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38179 Fix size of allocated buffer.
38180
381812011-11-04 Andreas Schwab <schwab@redhat.com>
38182
38183 [BZ #10103]
38184 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38185 declarations for long double functions.
38186 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38187
38188 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38189
381902011-11-03 Andreas Schwab <schwab@redhat.com>
38191
38192 * nscd/nscd.c (main): Don't start AVC thread until credentials are
38193 installed.
38194
38195 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38196 is disabled.
38197
381982011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38199
38200 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38201
382022011-11-01 Andreas Schwab <schwab@linux-m68k.org>
38203
38204 * include/alloca.h (stackinfo_alloca_round): Define.
38205 (extend_alloca): Use it.
38206 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38207 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38208 here.
38209
38210 * scripts/check-local-headers.sh: Ignore libaudit.h.
38211
38212 * nscd/Makefile (extra-objs): Make recursively expanded.
38213
382142011-11-01 Ulrich Drepper <drepper@gmail.com>
38215
38216 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38218
38219 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38220 * posix/tst-rfc3484-2.c: Likewise.
38221 * posix/tst-rfc3484-3.c: Likewise.
38222
38223 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38224 process_vm_writev.
38225 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38226 process_vm_writev.
38227 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38228 process_vm_writev from libc using GLIBC_2.15 version.
38229
38230 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38231
382322011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
38233
38234 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38235 stack usage.
38236
382372011-10-31 Ulrich Drepper <drepper@gmail.com>
38238
38239 [BZ #13367]
38240 * nss/getent.c (initgroups_keys): Show error message in case no group
38241 names are given.
38242
38243 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38244 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38245 __bump_nl_timestamp.
38246 * nscd/connections (nscd_init): When host database is served open
38247 netlink socket and request notification about configuration changes.
38248 (main_loop_poll): Track netlink file descriptor and bump timestamp
38249 in case data becomes available.
38250 (main_loop_epoll): Likewise.
38251 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38252 (database_pers_head): Add extra_data fileds.
38253 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38254 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38255 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38256 Adjust caller.
38257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38258 in6ai data, call __free_in6ai.
38259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38260 Add -DHAVE_NETLINK.
38261 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
38262 interface information. Reuse previous data if netlink timestamp
38263 is not changed.
38264 (__bump_nl_timestamp): New function.
38265 (__free_in6ai): New function.
38266
382672011-10-30 Ulrich Drepper <drepper@gmail.com>
38268
38269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38270 close_not_cancel_no_status here.
38271 (__check_pf): Reorganize code a bit to not call close twice if OOM.
38272
382732011-10-29 Ulrich Drepper <drepper@gmail.com>
38274
38275 [BZ #13276]
38276 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38277 return value.
38278
38279 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38280 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38281 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38282
382832011-07-03 Andreas Jaeger <aj@suse.de>
38284
38285 [BZ #10709]
38286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38287 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38288 * math/libm-test.inc (sin_test): Add test case.
38289
382902011-10-29 Ulrich Drepper <drepper@gmail.com>
38291
38292 [BZ #13337]
38293 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38294 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38295
38296 * elf/chroot_canon.c (chroot_canon): Cleanups.
38297
38298 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38299
38300 [BZ #13335]
38301 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38302 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38303
38304 * string/test-strchr.c: Make usable for strchrnul testing.
38305 * string/test-strchrnul.c: New file.
38306 * string/Makefile (strop-tests): Add strchrnul.
38307
38308 * po/it.po: Update from translation team.
38309 * po/es.po: Likewise.
38310
383112011-10-28 Ulrich Drepper <drepper@gmail.com>
38312
38313 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38314 the three constants needed as parameters. Drop the others.
38315 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38316 __m128i_strloadu_tolower.
38317 Create and initialize variable zero and use it in all the places
38318 where _mm_setzero_si128 was used.
38319
38320 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38321 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38322 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38323 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38324 anymore.
38325 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38326 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38327 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38328 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38329 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38330 __mpranred, __mptan.
38331 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38332 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38333 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38334 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38335 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38336 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38337 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38338 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38339 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38340
383412011-10-28 Andreas Schwab <schwab@redhat.com>
38342
38343 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38344 redefine if SHARED.
38345 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38346
38347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38348 wide char related routines to wcsmbs subdir.
38349
383502011-10-27 Andreas Schwab <schwab@redhat.com>
38351
38352 [BZ #13344]
38353 * misc/sys/cdefs.h (__THROWNL): Define.
38354 * posix/unistd.h: Use __THREADNL instead of __THREAD
38355 for memory synchronization functions.
38356
383572011-10-26 Roland McGrath <roland@hack.frob.com>
38358
38359 [BZ #13349]
38360 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38361 doesn't exist.
38362 * manual/stdio.texi (Obstack Streams): Node removed.
38363
383642011-10-26 Andreas Schwab <schwab@redhat.com>
38365
38366 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38367 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38368 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38369
38370 * math/math_private.h (math_force_eval): Allow non-addressable
38371 arguments.
38372 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38373
383742011-10-25 Ulrich Drepper <drepper@gmail.com>
38375
38376 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38377 file is not needed.
38378
38379 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38380 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38382 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38386 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38387 Add AVX variants.
38388 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38389 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38390 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38391 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38392 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38393 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38394 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38396 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38397 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38398 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38399 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38401 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38402 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38403 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38404 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38405 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38406 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38407
38408 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38409 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
38410
38411 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38412 place. Use VEX encoding when compiling for AVX.
38413
384142011-10-25 Andreas Schwab <schwab@redhat.com>
38415
38416 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38417 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38418
38419 * string/test-strchr.c (do_test): Don't generate NUL bytes.
38420
384212011-10-25 Ulrich Drepper <drepper@gmail.com>
38422
38423 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38424 useless if() expression.
38425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38427 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38430 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38431 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38432 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38433 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38435 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38437 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38438 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38439 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38440 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38441 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38443 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38444
38445 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38446
384472011-10-25 Andreas Schwab <schwab@redhat.com>
38448
38449 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38450 condition.
38451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38452
384532011-10-25 Ulrich Drepper <drepper@gmail.com>
38454
38455 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38456 .text section. Avoid duplicate constants.
38457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38467 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38468 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38469 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38470 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38471 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38472 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38474 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38475 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38476 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38477 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38478 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38479 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38481 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38482 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38483 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38484 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38486 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38487 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38488 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38489 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38490 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38491 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38492 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38493 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38494 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38495 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38496 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38497 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38499 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38500 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38501 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38502
385032011-10-24 Ulrich Drepper <drepper@gmail.com>
38504
38505 * sysdeps/x86_64/dla.h: Move to ...
38506 * sysdeps/x86_64/fpu/dla.h: ...here.
38507 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38508 situations. Use __builtin_fma only for gcc 4.6 and up.
38509
38510 * config.make.in: Add have-mfma4 entry.
38511 * configure.in: Substitute libc_cv_cc_fma4.
38512 * math/Makefile (dbl-only-routines): Add sincostab.
38513 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38514 Use __sincostab not sincos.
38515 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38516 name is a macro.
38517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38520 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
38521 using __copysign.
38522 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
38523 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
38524 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38525 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38526 and __inv.
38527 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38528 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38529 __copysign.
38530 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
38531 define aliases when function name is a macro.
38532 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38533 sysdeps/ieee754/dbl-64/sincos.tbl.
38534 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38535 fma4-enabled routines.
38536 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38537 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38538 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38539 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38541 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38542 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38544 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38545 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38546 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38547 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38548 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38549 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38551 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38552 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38553 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38554 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38556 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38557 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38558 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38561 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38563 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38564 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38565 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38566
38567 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38568 rename.
38569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38574 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38575 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38576 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38577
385782011-10-24 Andreas Schwab <schwab@redhat.com>
38579
38580 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38581
385822011-10-23 Ulrich Drepper <drepper@gmail.com>
38583
38584 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38585
38586 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38587 prediction.
38588 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38589
38590 * string/strnlen.c: Don't define STRNLEN, reverse logic.
38591 Remove unused variable magic_bits.
38592 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38593
38594 * string/strnlen.c: Define and use STRNLEN macro.
38595 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38596 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38598 * wcsmbs/wcslen.c: Define and use WCSLEN.
38599 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38600 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38601 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38602 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38603 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38604 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38605 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38606
386072011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38608
38609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38610 strnlen-sse2-no-bsf.
38611 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38613 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38614 Add strnlen support.
38615 (USE_AS_STRNLEN): New macro.
38616 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38617 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38618 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38619 * sysdeps/x86_64/wcslen.S: New file.
38620
386212011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38622
38623 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38624 XMM-moves are used for copying on small sizes.
38625
386262011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38627
38628 * wcsmbs/Makefile (strop-tests): Add wcschr.
38629 * wcsmbs/test-wcschr.c: New file.
38630 * string/test-strchr.c: Update.
38631 Add wcschr support.
38632 (WIDE): New macro.
38633
386342011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38635
38636 * wcsmbs/Makefile (strop-tests): Add wcslen.
38637 * wcsmbs/test-wcslen.c: New file.
38638 * string/test-strlen.c: Update.
38639 Add wcslen support.
38640 (WIDE): New macro.
38641
386422011-10-23 Ulrich Drepper <drepper@gmail.com>
38643
38644 * po/it.po: Update from translation team.
38645
386462011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38647
38648 * sysdeps/x86_64/wcscmp.S: Update.
38649 Fix wrong comparison semantics.
38650 wcscmp shall use signed comparison not unsigned.
38651 Don't use substraction to avoid overflow bug.
38652 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38653 * wcsmbc/wcscmp.c: Likewise.
38654 * string/test-strcmp.c: Likewise.
38655 Add new tests to check cases with negative values.
38656
386572011-10-23 Ulrich Drepper <drepper@gmail.com>
38658
38659 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38660 * sysdeps/x86_64/dla.h: ...here. New file.
38661 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/e_atan2.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/e_sqrt.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38670
386712011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38672
38673 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38674 __ynl_finite aliases.
38675
386762011-10-22 Ulrich Drepper <drepper@gmail.com>
38677
38678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38679
38680 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38681 define DLA_FMA.
38682 [DLA_FMA] (EMULV): Use DLA_FMA.
38683 [DLA_FMA] (MUL12): Use EMULV.
38684 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38685 that are not needed.
38686 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38693
386942011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38695
38696 * math/s_nan.c: Undef __nan.
38697 * math/s_nanf.c: Undef __nanf.
38698 * math/s_nanl.c: Undef __nanl.
38699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38700 "math_private.h".
38701
387022011-10-22 Ulrich Drepper <drepper@gmail.com>
38703
38704 * math/s_catan.c: Add branch predictions.
38705 * math/s_catanf.c: Likewise.
38706 * math/s_catanh.c: Likewise.
38707 * math/s_catanhf.c: Likewise.
38708 * math/s_catanhl.c: Likewise.
38709 * math/s_catanl.c: Likewise.
38710 * math/s_cexp.c: Likewise.
38711 * math/s_cexpf.c: Likewise.
38712 * math/s_cexpl.c: Likewise.
38713 * math/s_clog.c: Likewise.
38714 * math/s_clog10.c: Likewise.
38715 * math/s_clog10f.c: Likewise.
38716 * math/s_clog10l.c: Likewise.
38717 * math/s_clogf.c: Likewise.
38718 * math/s_clogl.c: Likewise.
38719 * math/s_csqrt.c: Likewise.
38720 * math/s_csqrtf.c: Likewise.
38721 * math/s_csqrtl.c: Likewise.
38722 * math/s_ctanf.c: Likewise.
38723 * math/s_ctanh.c: Likewise.
38724 * math/s_ctanhf.c: Likewise.
38725 * math/s_ctanhl.c: Likewise.
38726 * math/s_ctanl.c: Likewise.
38727
38728 * math/math_private.h: Define __nan, __nanf, __nanl.
38729 * math/s_cacosh.c: Include <math_private.h>.
38730 * math/s_cacoshl.c: Likewise.
38731 * math/s_casinh.c: Likewise.
38732 * math/s_casinhf.c: Likewise.
38733 * math/s_casinhl.c: Likewise.
38734 * math/s_ccos.c: Rely entire on ccosh.
38735 * math/s_ccosf.c: Rely entire on ccoshf.
38736 * math/s_ccosl.c: Rely entirely on ccoshl.
38737 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38738 Remove tests for FE_INVALID.
38739 * math/s_ccoshf.c: Likewise.
38740 * math/s_ccoshl.c: Likewise.
38741 * math/s_csin.c: Likewise.
38742 * math/s_csinf.c: Likewise.
38743 * math/s_csinh.c Likewise.
38744 * math/s_csinhf.c: Likewise.
38745 * math/s_csinhl.c: Likewise.
38746 * math/s_csinl.c: Likewise.
38747 * math/s_ctan.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38749 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38751
387522011-10-21 Ulrich Drepper <drepper@gmail.com>
38753
38754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38755 compilation problems.
38756
38757 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38758 __builtin_expect.
38759
387602011-10-20 Ulrich Drepper <drepper@gmail.com>
38761
38762 * sysdeps/i386/configure.in: Test for -mfma4 option.
38763 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38764 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38765 COMMON_CPUID_INDEX_80000001.
38766 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38767 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38768 use it if FMA3 is not supported.
38769 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38770
38771 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38772 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38773
387742011-10-20 Andreas Schwab <schwab@redhat.com>
38775
38776 [BZ #12892]
38777 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38778 it would create a cycle with a link time dependency.
38779
387802011-10-19 Ulrich Drepper <drepper@gmail.com>
38781
38782 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38783 instruction.
38784 * string/Makefile (strop-tests): Add rawmemchr.
38785 * string/test-rawmemchr.c: New file.
38786
38787 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38789 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38790 when compiling str{,n}casecmp and when AVX is available. Hook up
38791 new optimized code in initializers.
38792
387932011-10-19 Andreas Schwab <schwab@redhat.com>
38794
38795 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38796 __feraiseexcept instead of feraiseexcept.
38797
387982011-10-18 Ulrich Drepper <drepper@gmail.com>
38799
38800 * math/math_private.h: Define defaults for libc_fetestexcept and
38801 libc_feupdateenv.
38802 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38803 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38804 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38806 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38807 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38808 libc_fetestexcept and libc_feupdateenv.
38809
38810 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38811 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38812 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38813 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38814 libc_feholdexcept_setround.
38815
38816 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38817 Add s_nearbyint-c and s_nearbyintf-c.
38818 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38819 nearbyintf inlines.
38820 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38823 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38824
38825 * math/math_private.h: Define defaults for libc_fegetround,
38826 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38827 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38828 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38829 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38830 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38831 standard functions.
38832 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38833 Remove comments and hacks for old compiler versions.
38834 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38835 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38836 libc_feholdexceptl.
38837
388382011-10-18 Andreas Schwab <schwab@redhat.com>
38839
38840 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38841 (__feraiseexcept_renamed): Add __NTH.
38842 (feraiseexcept): Add __NTH. Rename local variables to fix
38843 namespace violations.
38844
388452011-10-17 Ulrich Drepper <drepper@gmail.com>
38846
38847 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38848
38849 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38850
38851 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38852 recently added interfaces.
38853 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38854
38855 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38856 about macro parameter expansion.
38857
38858 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38859 __NO_MATH_INLINES is defined. Cleanups.
38860
38861 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38862 and __floorf is target has SSE4.1.
38863 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38864 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38865 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38866 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38867
38868 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38869 name.
38870 (floorf): Likewise.
38871
38872 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38873
388742011-10-17 Andreas Schwab <schwab@redhat.com>
38875
38876 * misc/sys/cdefs.h: Fix last change.
38877
38878 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38879 database lookup.
38880
388812011-10-16 Ulrich Drepper <drepper@gmail.com>
38882
38883 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38884
38885 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38893 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38894 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38895 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38896 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38897 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38898 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38899 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38900 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38901 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38902 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38903 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38904 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38905 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38906 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38907
38908 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38909 ceil, ceilf, floor, floorf.
38910
38911 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38912 Perform IRELATIVE relocations last.
38913
38914 * elf/do-rel.h: Add another parameter nrelative, replacing the
38915 local variable with the same name. Change name of the function
38916 to end in Rel or Rela (uppercase).
38917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38918 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38919 elf_dynamic_do_##reloc function.
38920
389212011-10-15 Ulrich Drepper <drepper@gmail.com>
38922
38923 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38924 is sufficient, at least on modern CPUs.
38925
38926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38927
38928 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38930
38931 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38932 __expl_finite.
38933 * math/bits/math-finite.h: Add entries for exp.
38934 * math/e_expl.c: Add __*_finite alias.
38935 * sysdeps/i386/fpu/e_exp.S: Likewise.
38936 * sysdeps/i386/fpu/e_expf.S: Likewise.
38937 * sysdeps/i386/fpu/e_expl.c: Likewise.
38938 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38939 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38942 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38943 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38945
38946 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38947 is sufficient, at least on modern CPUs.
38948
38949 * ctype/ctype-info.c (__ctype_init): Define.
38950 * include/ctype.h (__ctype_init): Declare.
38951 (__ctype_b_loc): The variable is always initialized.
38952 (__ctype_toupper_loc): Likewise.
38953 (__ctype_tolower_loc): Likewise.
38954 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38955 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38956
389572011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38958
38959 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38960
38961 * configure.in: Also look in $cxxmachine/include for C++ system
38962 headers.
38963
389642011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38965
38966 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38967 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38968 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38969 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38970 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38971 (USE_AS_WMEMCMP): New macro.
38972 Fixing indents.
38973 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38974 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38975 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38976 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38978 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38979 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38980 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38981 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38982 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38984 (USE_AS_WMEMCMP): New macro.
38985 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38986 * sysdeps/string/test-memcmp.c: Update.
38987 Fix simple_wmemcmp.
38988 Add new tests.
38989 * wcsmbs/wmemcmp.c: Update.
38990 (WMEMCMP): New macro.
38991 Fix overflow bug.
38992
389932011-10-12 Andreas Jaeger <aj@suse.de>
38994
38995 [BZ #13268]
38996 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38997
389982011-10-15 Ulrich Drepper <drepper@gmail.com>
38999
39000 * libio/iofwide.c (do_length): Avoid warning.
39001
39002 * ctype/ctype.h (__isctype_f): Add missing __THROW.
39003
390042011-10-14 Ulrich Drepper <drepper@gmail.com>
39005
39006 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39007
39008 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39009 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39010 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39011 * sysdeps/i386/i686/fpu/e_log.S: New file.
39012 * sysdeps/i386/i686/fpu/e_logf.S: New file.
39013 * sysdeps/i386/i686/fpu/e_logl.S: New file.
39014
39015 * ctype/ctype.h: Add support for inlined isXXX functions when
39016 compiling C++ code.
39017
390182011-10-14 Andreas Schwab <schwab@redhat.com>
39019
39020 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39021
39022 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39023
390242011-10-13 Roland McGrath <roland@hack.frob.com>
39025
39026 [BZ #13291]
39027 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39028
390292011-10-13 Andreas Schwab <schwab@redhat.com>
39030
39031 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39032 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39033 feraiseexcept.
39034
39035 * sysdeps/x86_64/memrchr.S: Check for zero size.
39036
39037 * string/stratcliff.c: Add memrchr tests.
39038
390392011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39040
39041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39042 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39043 rawmemchr-sse2 rawmemchr-sse2-bsf.
39044 * sysdeps/i386/i686/multiarch/memchr.S: New file.
39045 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39046 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39047 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39048 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39049 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39050 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39051 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39052 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39053 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39054 * string/memrchr.c (MEMRCHR): New macro.
39055
390562011-10-12 Ulrich Drepper <drepper@gmail.com>
39057
39058 Add integration with gcc's -ffinite-math-only and optimize wrapper
39059 functions in libm.
39060 * Versions.def: Define GLIBC_2.15 version for libm.
39061 * math/Makefile (headers): Add bits/math-finite.h.
39062 * math/bits/math-finite.h: New file.
39063 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39064 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39065 * math/e_acoshl.c: Add __*_finite alias.
39066 * math/e_acosl.c: Likewise.
39067 * math/e_asinl.c: Likewise.
39068 * math/e_atan2l.c: Likewise.
39069 * math/e_atanhl.c: Likewise.
39070 * math/e_coshl.c: Likewise.
39071 * math/e_exp10.c: Likewise.
39072 * math/e_exp10f.c: Likewise.
39073 * math/e_exp10l.c: Likewise.
39074 * math/e_exp2l.c: Likewise.
39075 * math/e_fmodl.c: Likewise.
39076 * math/e_gammal_r.c: Likewise.
39077 * math/e_hypotl.c: Likewise.
39078 * math/e_j0l.c: Likewise.
39079 * math/e_j1l.c: Likewise.
39080 * math/e_jnl.c: Likewise.
39081 * math/e_lgammal_r.c: Likewise.
39082 * math/e_log10l.c: Likewise.
39083 * math/e_log2l.c: Likewise.
39084 * math/e_logl.c: Likewise.
39085 * math/e_powl.c: Likewise.
39086 * math/e_sinhl.c: Likewise.
39087 * math/e_sqrtl.c: Likewise.
39088 * math/e_scalb.c: Completely rewritten and optimized.
39089 * math/e_scalbf.c: Likewise.
39090 * math/e_scalbl.c: Likewise.
39091 * math/w_acos.c: Likewise.
39092 * math/w_acosf.c: Likewise.
39093 * math/w_acosl.c: Likewise.
39094 * math/w_acosh.c: Likewise.
39095 * math/w_acoshf.c: Likewise.
39096 * math/w_acoshl.c: Likewise.
39097 * math/w_asin.c: Likewise.
39098 * math/w_asinf.c: Likewise.
39099 * math/w_asinl.c: Likewise.
39100 * math/w_atan2.c: Likewise.
39101 * math/w_atan2f.c: Likewise.
39102 * math/w_atan2l.c: Likewise.
39103 * math/w_atanh.c: Likewise.
39104 * math/w_atanhf.c: Likewise.
39105 * math/w_atanhl.c: Likewise.
39106 * math/w_exp10.c: Likewise.
39107 * math/w_exp10f.c: Likewise.
39108 * math/w_exp10l.c: Likewise.
39109 * math/w_fmod.c: Likewise.
39110 * math/w_fmodf.c: Likewise.
39111 * math/w_fmodl.c: Likewise.
39112 * math/w_j0.c: Likewise.
39113 * math/w_j0f.c: Likewise.
39114 * math/w_j0l.c: Likewise.
39115 * math/w_j1.c: Likewise.
39116 * math/w_j1f.c: Likewise.
39117 * math/w_j1l.c: Likewise.
39118 * math/w_jn.c: Likewise.
39119 * math/w_jnf.c: Likewise.
39120 * math/w_log.c: Likewise.
39121 * math/w_logf.c: Likewise.
39122 * math/w_logl.c: Likewise.
39123 * math/w_log10.c: Likewise.
39124 * math/w_log10f.c: Likewise.
39125 * math/w_log10l.c: Likewise.
39126 * math/w_log2.c: Likewise.
39127 * math/w_log2f.c: Likewise.
39128 * math/w_log2l.c: Likewise.
39129 * math/w_pow.c: Likewise.
39130 * math/w_powf.c: Likewise.
39131 * math/w_powl.c: Likewise.
39132 * math/w_remainder.c: Likewise.
39133 * math/w_remainderf.c: Likewise.
39134 * math/w_remainderl.c: Likewise.
39135 * math/w_scalb.c: Likewise.
39136 * math/w_scalbf.c: Likewise.
39137 * math/w_scalbl.c: Likewise.
39138 * math/w_sqrt.c: Likewise.
39139 * math/w_sqrtf.c: Likewise.
39140 * math/w_sqrtl.c: Likewise.
39141 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39142 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
39143 used.
39144 * math/math_private.h: Declare __kernel_standard_f.
39145 * math/w_cosh.c: Remove cruft and optimize a bit.
39146 * math/w_coshf.c: Likewise.
39147 * math/w_coshl.c: Likewise.
39148 * math/w_exp2.c: Likewise.
39149 * math/w_exp2f.c: Likewise.
39150 * math/w_exp2l.c: Likewise.
39151 * math/w_hypot.c: Likewise.
39152 * math/w_hypotf.c: Likewise.
39153 * math/w_hypotl.c: Likewise.
39154 * math/w_lgamma.c: Likewise.
39155 * math/w_lgamma_r.c: Likewise.
39156 * math/w_lgammaf.c: Likewise.
39157 * math/w_lgammaf_r.c: Likewise.
39158 * math/w_lgammal.c: Likewise.
39159 * math/w_lgammal_r.c: Likewise.
39160 * math/w_sinh.c: Likewise.
39161 * math/w_sinhf.c: Likewise.
39162 * math/w_sinhl.c: Likewise.
39163 * math/w_tgamma.c: Likewise.
39164 * math/w_tgammaf.c: Likewise.
39165 * math/w_tgammal.c: Likewise.
39166 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39167 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39168 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39169 Minor optimizations. Pretty printing. Remove cruft.
39170 * sysdeps/i386/fpu/e_acosf.S: Likewise.
39171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39173 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39174 * sysdeps/i386/fpu/e_acosl.c: Likewise.
39175 * sysdeps/i386/fpu/e_asin.S: Likewise.
39176 * sysdeps/i386/fpu/e_asinf.S: Likewise.
39177 * sysdeps/i386/fpu/e_atan2.S: Likewise.
39178 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39179 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39180 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39181 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39182 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39183 * sysdeps/i386/fpu/e_exp10.S: Likewise.
39184 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39185 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39186 * sysdeps/i386/fpu/e_exp2.S: Likewise.
39187 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39188 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39189 * sysdeps/i386/fpu/e_fmod.S: Likewise.
39190 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39191 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39192 * sysdeps/i386/fpu/e_hypot.S: Likewise.
39193 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39194 * sysdeps/i386/fpu/e_log.S: Likewise.
39195 * sysdeps/i386/fpu/e_log10.S: Likewise.
39196 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39197 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39198 * sysdeps/i386/fpu/e_log2.S: Likewise.
39199 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39200 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39201 * sysdeps/i386/fpu/e_logf.S: Likewise.
39202 * sysdeps/i386/fpu/e_logl.S: Likewise.
39203 * sysdeps/i386/fpu/e_pow.S: Likewise.
39204 * sysdeps/i386/fpu/e_powf.S: Likewise.
39205 * sysdeps/i386/fpu/e_powl.S: Likewise.
39206 * sysdeps/i386/fpu/e_remainder.S: Likewise.
39207 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39208 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39209 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39210 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39211 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39212 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39213 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39214 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39215 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39221 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39222 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39223 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39224 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39236 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39237 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39238 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39239 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39240 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39241 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39242 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39243 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39244 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39245 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39246 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39248 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39249 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39250 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39251 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39252 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39253 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39254 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39255 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39256 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39257 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39272 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39280 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39281 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39295 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39306 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39307 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39308 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39309 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39310 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39311 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39312 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39313 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39314 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39315 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39316 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39317 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39318 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39319 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39320 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39323 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39324 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39325 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
39326 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39327 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39328 (__isnanf): Likewise.
39329 (__isinf_ns): Likewise.
39330 (__isinf_nsf): Likewise.
39331 (__finite): Likewise.
39332 (__finitef): Likewise.
39333 (__ieee754_sqrt): Define as macro.
39334 (__ieee754_sqrtf): Define as macro.
39335 (__ieee754_sqrtl): Define as macro.
39336 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39337 inlined copy.
39338 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39339 __FINITE_MATH_ONLY__ consistent.
39340 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39341
393422011-10-10 Andreas Schwab <schwab@linux-m68k.org>
39343
39344 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39345 of rawmemchr.
39346
39347 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39348
393492011-10-09 Ulrich Drepper <drepper@gmail.com>
39350
39351 * po/ja.po: Update from translation team.
39352
393532011-10-08 Roland McGrath <roland@hack.frob.com>
39354
39355 * locale/programs/locarchive.c (prepare_address_space): New function.
39356 (create_archive, enlarge_archive, open_archive): Use it.
39357
39358 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39359 inside [SHARED], where it is used.
39360
39361 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39362
39363 * nss/getent.c (netgroup_keys): Remove unused variable.
39364 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39365
393662011-10-08 Ulrich Drepper <drepper@gmail.com>
39367
39368 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39369 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39371 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39372 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39373 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39374 * math/Makefile (libm-calls): Add s_isinf_ns.
39375 * math/divtc3.c: Use __isinf_nsl instead of isinf.
39376 * math/multc3.c: Likewise.
39377 * math/s_casin.c: Likewise.
39378 * math/s_casinf.c: Likewise.
39379 * math/s_casinl.c: Likewise.
39380 * math/s_ccos.c: Likewise.
39381 * math/s_ccosf.c: Likewise.
39382 * math/s_ccosl.c: Likewise.
39383 * math/s_ctan.c: Likewise.
39384 * math/s_ctanf.c: Likewise.
39385 * math/s_ctanh.c: Likewise.
39386 * math/s_ctanhf.c: Likewise.
39387 * math/s_ctanhl.c: Likewise.
39388 * math/s_ctanl.c: Likewise.
39389 * math/w_fmod.c: Likewise.
39390 * math/w_fmodf.c: Likewise.
39391 * math/w_fmodl.c: Likewise.
39392 * math/w_remainder.c: Likewise.
39393 * math/w_remainderf.c: Likewise.
39394 * math/w_remainderl.c: Likewise.
39395 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39396 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39397 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39399 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39400 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39401 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39402 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39403
39404 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39405 of the number.
39406 * stdio-common/printf_fphex.c: Likewise.
39407 * stdio-common/printf_size.c: Likewise.
39408
39409 * math/e_exp10.c: Include math_private.h using <...> not "...".
39410 * math/e_exp10f.c: Likewise.
39411 * math/e_exp10l.c: Likewise.
39412 * math/e_exp2l.c: Likewise.
39413 * math/e_j0l.c: Likewise.
39414 * math/e_j1l.c: Likewise.
39415 * math/e_jnl.c: Likewise.
39416 * math/e_lgammal_r.c: Likewise.
39417 * math/e_rem_pio2l.c: Likewise.
39418 * math/e_scalb.c: Likewise.
39419 * math/e_scalbf.c: Likewise.
39420 * math/e_scalbl.c: Likewise.
39421 * math/k_cosl.c: Likewise.
39422 * math/k_sinl.c: Likewise.
39423 * math/k_tanl.c: Likewise.
39424 * math/s_cacoshf.c: Likewise.
39425 * math/s_catan.c: Likewise.
39426 * math/s_catanf.c: Likewise.
39427 * math/s_catanh.c: Likewise.
39428 * math/s_catanhf.c: Likewise.
39429 * math/s_catanhl.c: Likewise.
39430 * math/s_catanl.c: Likewise.
39431 * math/s_ccosh.c: Likewise.
39432 * math/s_ccoshf.c: Likewise.
39433 * math/s_ccoshl.c: Likewise.
39434 * math/s_cexp.c: Likewise.
39435 * math/s_cexpf.c: Likewise.
39436 * math/s_cexpl.c: Likewise.
39437 * math/s_clog.c: Likewise.
39438 * math/s_clog10.c: Likewise.
39439 * math/s_clog10f.c: Likewise.
39440 * math/s_clog10l.c: Likewise.
39441 * math/s_clogf.c: Likewise.
39442 * math/s_clogl.c: Likewise.
39443 * math/s_csin.c: Likewise.
39444 * math/s_csinf.c: Likewise.
39445 * math/s_csinh.c: Likewise.
39446 * math/s_csinhf.c: Likewise.
39447 * math/s_csinhl.c: Likewise.
39448 * math/s_csinl.c: Likewise.
39449 * math/s_csqrt.c: Likewise.
39450 * math/s_csqrtf.c: Likewise.
39451 * math/s_csqrtl.c: Likewise.
39452 * math/s_ctan.c: Likewise.
39453 * math/s_ctanf.c: Likewise.
39454 * math/s_ctanh.c: Likewise.
39455 * math/s_ctanhf.c: Likewise.
39456 * math/s_ctanhl.c: Likewise.
39457 * math/s_ctanl.c: Likewise.
39458 * math/s_ldexp.c: Likewise.
39459 * math/s_ldexpf.c: Likewise.
39460 * math/s_ldexpl.c: Likewise.
39461 * math/s_significand.c: Likewise.
39462 * math/s_significandf.c: Likewise.
39463 * math/s_significandl.c: Likewise.
39464 * math/w_acos.c: Likewise.
39465 * math/w_acosf.c: Likewise.
39466 * math/w_acosh.c: Likewise.
39467 * math/w_acoshf.c: Likewise.
39468 * math/w_acoshl.c: Likewise.
39469 * math/w_acosl.c: Likewise.
39470 * math/w_asin.c: Likewise.
39471 * math/w_asinf.c: Likewise.
39472 * math/w_asinl.c: Likewise.
39473 * math/w_atan2.c: Likewise.
39474 * math/w_atan2f.c: Likewise.
39475 * math/w_atan2l.c: Likewise.
39476 * math/w_atanh.c: Likewise.
39477 * math/w_atanhf.c: Likewise.
39478 * math/w_atanhl.c: Likewise.
39479 * math/w_cosh.c: Likewise.
39480 * math/w_coshf.c: Likewise.
39481 * math/w_coshl.c: Likewise.
39482 * math/w_dremf.c: Likewise.
39483 * math/w_exp10.c: Likewise.
39484 * math/w_exp10f.c: Likewise.
39485 * math/w_exp10l.c: Likewise.
39486 * math/w_exp2.c: Likewise.
39487 * math/w_exp2f.c: Likewise.
39488 * math/w_fmod.c: Likewise.
39489 * math/w_fmodf.c: Likewise.
39490 * math/w_fmodl.c: Likewise.
39491 * math/w_hypot.c: Likewise.
39492 * math/w_hypotf.c: Likewise.
39493 * math/w_hypotl.c: Likewise.
39494 * math/w_j0.c: Likewise.
39495 * math/w_j0f.c: Likewise.
39496 * math/w_j0l.c: Likewise.
39497 * math/w_j1.c: Likewise.
39498 * math/w_j1f.c: Likewise.
39499 * math/w_j1l.c: Likewise.
39500 * math/w_jn.c: Likewise.
39501 * math/w_jnf.c: Likewise.
39502 * math/w_jnl.c: Likewise.
39503 * math/w_lgamma.c: Likewise.
39504 * math/w_lgamma_r.c: Likewise.
39505 * math/w_lgammaf.c: Likewise.
39506 * math/w_lgammaf_r.c: Likewise.
39507 * math/w_lgammal.c: Likewise.
39508 * math/w_lgammal_r.c: Likewise.
39509 * math/w_log.c: Likewise.
39510 * math/w_log10.c: Likewise.
39511 * math/w_log10f.c: Likewise.
39512 * math/w_log10l.c: Likewise.
39513 * math/w_log2.c: Likewise.
39514 * math/w_log2f.c: Likewise.
39515 * math/w_log2l.c: Likewise.
39516 * math/w_logf.c: Likewise.
39517 * math/w_logl.c: Likewise.
39518 * math/w_pow.c: Likewise.
39519 * math/w_powf.c: Likewise.
39520 * math/w_powl.c: Likewise.
39521 * math/w_remainder.c: Likewise.
39522 * math/w_remainderf.c: Likewise.
39523 * math/w_remainderl.c: Likewise.
39524 * math/w_scalb.c: Likewise.
39525 * math/w_scalbf.c: Likewise.
39526 * math/w_scalbl.c: Likewise.
39527 * math/w_sinh.c: Likewise.
39528 * math/w_sinhf.c: Likewise.
39529 * math/w_sinhl.c: Likewise.
39530 * math/w_sqrt.c: Likewise.
39531 * math/w_sqrtf.c: Likewise.
39532 * math/w_sqrtl.c: Likewise.
39533 * math/w_tgamma.c: Likewise.
39534 * math/w_tgammaf.c: Likewise.
39535 * math/w_tgammal.c: Likewise.
39536
39537 * po/ja.po: Update from translation team.
39538
395392011-09-29 Andreas Jaeger <aj@suse.de>
39540
39541 [BZ #13179]
39542 * sunrpc/netname.c (netname2host): Fix logic.
39543
39544 [BZ #6779]
39545 [BZ #6783]
39546 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39547 correctly.
39548 * math/w_remainder.c (__remainder): Likewise.
39549 * math/w_remainderf.c (__remainderf): Likewise.
39550 * math/libm-test.inc (remainder_test): Add test cases.
39551
395522011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39553
39554 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
39555 sdiv_qrnnd.
39556
395572011-10-07 Ulrich Drepper <drepper@gmail.com>
39558
39559 * string/test-memcmp.c: Avoid unncessary #defines.
39560 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39561
395622011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39563
39564 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39565 Use new sse2 version for core i3 - i7 as it's faster
39566 than sse42 version.
39567 (bit_Prefer_PMINUB_for_stringop): New.
39568 * sysdeps/x86_64/rawmemchr.S: Update.
39569 Replace with faster SSE2 version.
39570 * sysdeps/x86_64/memrchr.S: New file.
39571 * sysdeps/x86_64/memchr.S: Update.
39572 Replace with faster SSE2 version.
39573
395742011-09-12 Marek Polacek <mpolacek@redhat.com>
39575
39576 * elf/dl-load.c (lose): Add cast to avoid warning.
39577
395782011-10-07 Ulrich Drepper <drepper@gmail.com>
39579
39580 * po/ca.po: Update from translation team.
39581
39582 * inet/getnetgrent_r.c: Hook up nscd.
39583 * nscd/Makefile (routines): Add nscd_netgroup.
39584 (nscd-modules): Add netgroupcache.
39585 (CFLAGS-netgroupcache.c): Define.
39586 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39587 (cache_search): Add const to second parameter.
39588 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39589 INNETGR.
39590 (dbs): Add netgrdb entry.
39591 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39592 (verify_persistent_db): Handle netgrdb.
39593 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39594 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39595 GETFDNETGR.
39596 (netgroup_response_header): Define.
39597 (innetgroup_response_header): Define.
39598 (datahead): Add netgroup_response_header and innetgroup_response_header
39599 elements.
39600 * nscd/nscd.conf: Add entries for netgroup cache.
39601 * nscd/nscd.h (dbtype): Add netgrdb.
39602 (_PATH_NSCD_NETGROUP_DB): Define.
39603 (netgroup_iov_disabled): Declare.
39604 (xmalloc, xcalloc, xrealloc): Move declarations here.
39605 (cache_search): Adjust prototype.
39606 Add netgroup-related prototypes.
39607 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39608 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39609 (__nscd_innetgr): Declare.
39610 * nscd/selinux.c (perms): Use access_vector_t as element type and
39611 add netgroup-related initializers.
39612 * nscd/netgroupcache.c: New file.
39613 * nscd/nscd_netgroup.c: New file.
39614 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39615 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39616 For four parameters use innetgr.
39617 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39618 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39619 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39620 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39621
39622 * nscd/connections.c (register_traced_file): Don't register file
39623 for disabled databases.
39624
396252011-10-06 Ulrich Drepper <drepper@gmail.com>
39626
39627 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39628
39629 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39630 from tree and freeing node.
39631
396322011-09-25 Jiri Olsa <jolsa@redhat.com>
39633
39634 * nss/nsswitch.c (__nss_database_lookup): Handle
39635 nss_parse_service_list out of memory case.
39636
396372011-09-15 Jiri Olsa <jolsa@redhat.com>
39638
39639 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39640 out of memory case.
39641
396422011-10-04 Andreas Schwab <schwab@redhat.com>
39643
39644 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39645 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39646 pass it down.
39647 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39648 elf_machine_rela, elf_machine_lazy_rel.
39649 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39650 (ELF_DYNAMIC_DO_REL): Likewise.
39651 (ELF_DYNAMIC_DO_RELA): Likewise.
39652 (ELF_DYNAMIC_RELOCATE): Likewise.
39653 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39654 to ELF_DYNAMIC_DO_REL.
39655 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39656 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39657 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39658 elf_machine_rela.
39659 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39660 skip_ifunc, don't call ifunc function if non-zero.
39661 (elf_machine_rela): Likewise.
39662 (elf_machine_lazy_rel): Likewise.
39663 (elf_machine_lazy_rela): Likewise.
39664 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39665 (elf_machine_lazy_rel): Likewise.
39666 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39667 Likewise.
39668 (elf_machine_lazy_rel): Likewise.
39669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39670 Likewise.
39671 (elf_machine_lazy_rel): Likewise.
39672 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39673 (elf_machine_lazy_rel): Likewise.
39674 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39675 (elf_machine_lazy_rel): Likewise.
39676 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39677 (elf_machine_lazy_rel): Likewise.
39678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39679 (elf_machine_lazy_rel): Likewise.
39680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39681 (elf_machine_lazy_rel): Likewise.
39682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39683 (elf_machine_lazy_rel): Likewise.
39684
396852011-09-28 Ulrich Drepper <drepper@gmail.com>
39686
39687 * nss/nss_files/files-init.c (_nss_files_init): Use static
39688 initialization for all the *_traced_file variables.
39689
396902011-09-28 Andreas Schwab <schwab@redhat.com>
39691
39692 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39693
396942011-09-27 Roland McGrath <roland@hack.frob.com>
39695
39696 [BZ #13226]
39697 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39698
396992011-09-27 Andreas Schwab <schwab@redhat.com>
39700
39701 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39702 Reread the line before reparsing it.
39703
397042011-09-26 Andreas Schwab <schwab@redhat.com>
39705
39706 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39707
397082011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39709 Maxim Kuvyrkov <maxim@codesourcery.com>
39710 Joseph Myers <joseph@codesourcery.com>
39711
39712 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39713 if needed for __stack_chk_guard.
39714
397152011-09-19 Roland McGrath <roland@hack.frob.com>
39716
39717 * sysdeps/posix/spawni.c (script_execute): Always define it.
39718 It will be optimized away if unused.
39719 (maybe_script_execute): New function.
39720 (__spawni): Call it.
39721
39722 * Makerules: Don't include tls.make.
39723 (config-tls): Always set to thread.
39724 * tls.make.c: File removed.
39725
397262011-09-19 Mike Frysinger <vapier@gentoo.org>
39727
39728 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39729 * config.make.in (CPPFLAGS-config): New substituted variable.
39730
397312011-09-15 Ulrich Drepper <drepper@gmail.com>
39732
39733 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39734
39735 [BZ #13192]
39736 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39737 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39738
397392011-09-15 Roland McGrath <roland@hack.frob.com>
39740
39741 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39742 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39744 (CALL_FAIL): Likewise.
39745 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39746 (CALL_FAIL): Macro removed.
39747 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39748
397492011-09-15 Ulrich Drepper <drepper@gmail.com>
39750
39751 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39752 for __FINITE_MATH_ONLY__ == 1.
39753
397542011-09-15 Andreas Schwab <schwab@redhat.com>
39755
39756 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39757 __ieee754_sqrt instead of sqrt.
39758 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39759 __ieee754_sqrtf instead of sqrtf.
39760 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39761 __floorf instead of floorf.
39762 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39763 __floorf, __truncf instead of floorf, truncf.
39764
397652011-09-14 Ulrich Drepper <drepper@gmail.com>
39766
39767 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39768
39769 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39770 __extern_always_inline.
39771 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39772 32-bit.
39773
397742011-09-14 Andreas Schwab <schwab@redhat.com>
39775
39776 * elf/rtld.c (dl_main): Also relocate in dependency order when
39777 doing symbol dependency testing.
39778
397792011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39780
39781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39782 Always define `refsym'.
39783
397842011-09-13 Andreas Schwab <schwab@redhat.com>
39785
39786 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39787 (__FD_ELT): Renamed from __FDELT.
39788 * misc/bits/select2.h (__FD_ELT): Likewise.
39789 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39790 __FD_MASK instead of __FDELT, __FDMASK.
39791 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39792 Likewise.
39793 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39794 Likewise.
39795
39796 * elf/Makefile (gen-ldd): Fix pattern.
39797
39798 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39799 (init_tls): Likewise.
39800
398012011-09-12 Ulrich Drepper <drepper@gmail.com>
39802
39803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39804
398052011-09-12 Andreas Schwab <schwab@redhat.com>
39806
39807 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39808 `struct cmsghdr *' instead of `void *'.
39809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39810 Likewise.
39811
398122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39813
39814 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39815 if non-absolute.
39816 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39817 ldd_rewrite_script.
39818
398192011-09-11 Ulrich Drepper <drepper@gmail.com>
39820
39821 * configure.in: Remove --with-tls option.
39822 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39823 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39824 out in case it is missing.
39825 * sysdeps/ia64/elf/configure.in: Likewise.
39826 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39827 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39828 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39829 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39830 * sysdeps/sh/elf/configure.in: Likewise.
39831 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39832 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39833 * sysdeps/x86_64/elf/configure.in: Likewise.
39834 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39835 * sysdeps/mach/hurd/tls.h: Likewise.
39836
39837 [BZ #13067]
39838 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39839
39840 [BZ #13090]
39841 * configure.in: Fix use of AC_INIT.
39842
39843 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39844
398452011-09-10 Ulrich Drepper <drepper@gmail.com>
39846
39847 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39848 __set_errno.
39849 * malloc/hooks.c: Likewise.
39850
39851 [BZ #11929]
39852 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39853 variables statically.
39854 (narenas): Initialize.
39855 (list_lock): Initialize.
39856 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39857 initializtion of main_arena and list_lock. Small cleanups.
39858 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39859 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39860 Add initializers to main_arena and mp_.
39861 (malloc_state): Remove pagesize member. Change all users to use
39862 GLRO(dl_pagesize).
39863
39864 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39865 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39866 is always initialized.
39867
39868 * malloc/malloc.c: Removed unused configurations and dead code.
39869 * malloc/arena.c: Likewise.
39870 * malloc/hooks.c: Likewise.
39871 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39872
39873 * include/tls.h: Removed. USE___THREAD must always be defined.
39874 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39875 * elf/dl-libc.c: Likewise.
39876 * elf/dl-tsd.c: Likewise.
39877 * include/errno.h: Likewise.
39878 * include/netdb.h: Likewise.
39879 * include/resolv.h: Likewise.
39880 * inet/herrno-loc.c: Likewise.
39881 * inet/herrno.c: Likewise.
39882 * malloc/arena.c: Likewise.
39883 * malloc/hooks.c: Likewise.
39884 * malloc/malloc.c: Likewise.
39885 * resolv/res-state.c: Likewise.
39886 * resolv/res_libc.c: Likewise.
39887 * sysdeps/i386/dl-machine.h: Likewise.
39888 * sysdeps/ia64/dl-machine.h: Likewise.
39889 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39890 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39891 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39892 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39893 * sysdeps/sh/dl-machine.h: Likewise.
39894 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39895 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39896 * sysdeps/unix/i386/sysdep.S: Likewise.
39897 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39898 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39903 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39907 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39908 * sysdeps/x86_64/dl-machine.h: Likewise.
39909 * tls.make.c: Likewise.
39910
39911 * configure.in: Remove --with-__thread option. Make tests for
39912 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39913 tls_model attribute fail if no support is available. Remove
39914 USE_IN_LIBIO.
39915 * Makeconfig: Adjust for dropped configure option. All features are
39916 now mandatory.
39917 * Makerules: Likewise.
39918 * Versions.def: Likewise.
39919 * argp/argp-fmtstream.c: Likewise.
39920 * argp/argp-fmtstream.h: Likewise.
39921 * argp/argp-help.c: Likewise.
39922 * assert/assert.c: Likewise.
39923 * config.h.in: Likewise.
39924 * config.make.in: Likewise.
39925 * configure: Likewise.
39926 * configure.in: Likewise.
39927 * csu/Versions: Likewise.
39928 * csu/init.c: Likewise.
39929 * elf/tst-audit2.c: Likewise.
39930 * elf/tst-tls10.c: Likewise.
39931 * elf/tst-tls10.h: Likewise.
39932 * elf/tst-tls11.c: Likewise.
39933 * elf/tst-tls12.c: Likewise.
39934 * elf/tst-tls14.c: Likewise.
39935 * elf/tst-tlsmod11.c: Likewise.
39936 * elf/tst-tlsmod12.c: Likewise.
39937 * elf/tst-tlsmod13.c: Likewise.
39938 * elf/tst-tlsmod13a.c: Likewise.
39939 * elf/tst-tlsmod14a.c: Likewise.
39940 * elf/tst-tlsmod15b.c: Likewise.
39941 * elf/tst-tlsmod16a.c: Likewise.
39942 * elf/tst-tlsmod16b.c: Likewise.
39943 * elf/tst-tlsmod7.c: Likewise.
39944 * elf/tst-tlsmod8.c: Likewise.
39945 * elf/tst-tlsmod9.c: Likewise.
39946 * gmon/gmon.c: Likewise.
39947 * grp/fgetgrent_r.c: Likewise.
39948 * grp/putgrent.c: Likewise.
39949 * hurd/fopenport.c: Likewise.
39950 * include/libc-symbols.h: Likewise.
39951 * include/tls.h: Likewise.
39952 * intl/gettextP.h: Likewise.
39953 * intl/loadinfo.h: Likewise.
39954 * locale/global-locale.c: Likewise.
39955 * locale/localeinfo.h: Likewise.
39956 * mach/devstream.c: Likewise.
39957 * malloc/arena.c: Likewise.
39958 * malloc/set-freeres.c: Likewise.
39959 * misc/err.c: Likewise.
39960 * misc/getttyent.c: Likewise.
39961 * misc/mntent_r.c: Likewise.
39962 * posix/getopt.c: Likewise.
39963 * posix/wordexp.c: Likewise.
39964 * pwd/fgetpwent_r.c: Likewise.
39965 * resolv/Versions: Likewise.
39966 * resolv/res_hconf.c: Likewise.
39967 * shadow/fgetspent_r.c: Likewise.
39968 * shadow/putspent.c: Likewise.
39969 * stdio-common/printf_fphex.c: Likewise.
39970 * stdio-common/tmpfile.c: Likewise.
39971 * stdlib/abort.c: Likewise.
39972 * stdlib/fmtmsg.c: Likewise.
39973 * sunrpc/auth_unix.c: Likewise.
39974 * sunrpc/clnt_perr.c: Likewise.
39975 * sunrpc/clnt_tcp.c: Likewise.
39976 * sunrpc/clnt_udp.c: Likewise.
39977 * sunrpc/clnt_unix.c: Likewise.
39978 * sunrpc/openchild.c: Likewise.
39979 * sunrpc/svc_simple.c: Likewise.
39980 * sunrpc/svc_tcp.c: Likewise.
39981 * sunrpc/svc_udp.c: Likewise.
39982 * sunrpc/svc_unix.c: Likewise.
39983 * sunrpc/xdr.c: Likewise.
39984 * sunrpc/xdr_array.c: Likewise.
39985 * sunrpc/xdr_rec.c: Likewise.
39986 * sunrpc/xdr_ref.c: Likewise.
39987 * sunrpc/xdr_stdio.c: Likewise.
39988
399892011-09-09 Ulrich Drepper <drepper@gmail.com>
39990
39991 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39992
399932011-07-03 Andreas Jaeger <aj@suse.de>
39994
39995 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39996 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39997 regenerate with gen-libm-tests.pl.
39998
399992010-05-12 Petr Baudis <pasky@suse.cz>
40000
40001 [BZ #11589]
40002 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40003 around j0() zero points by switching to j1().
40004 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40005 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40008
400092011-09-09 Ulrich Drepper <drepper@gmail.com>
40010
40011 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40012 instead of 0.
40013 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40014 instead of 0.
40015 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40016 Patch in part by Pavel Roskin <proski@gnu.org>.
40017
40018 [BZ #13138]
40019 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40020 realloc.
40021 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
40022 Free memory block if necessary.
40023
40024 [BZ #12847]
40025 * libio/genops.c (INTDEF): For string streams the _lock pointer can
40026 be NULL. Don't lock in this case.
40027
400282011-09-09 Roland McGrath <roland@hack.frob.com>
40029
40030 * elf/elf.h (ELFOSABI_GNU): New macro.
40031 (ELFOSABI_LINUX): Define to that.
40032
400332011-07-29 Denis Zaitceff <zaitceff@gmail.com>
40034
40035 * string/strncat.c (strncat): Undef the symbol in case it has been
40036 defined in bits/string.h.
40037
400382011-09-09 Ulrich Drepper <drepper@gmail.com>
40039
40040 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40041
40042 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40043 link map.
40044
400452011-08-17 Andreas Jaeger <aj@suse.de>
40046
40047 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40048
400492011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
40050 Ian Lance Taylor <iant@google.com>
40051
40052 * math/libm-test.inc (lround_test): New testcase.
40053 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40054
400552011-09-08 Ulrich Drepper <drepper@gmail.com>
40056
40057 * Makefile: Remove support for automatic cvs check-ins.
40058 * Makerules: Likewise.
40059 * config.make.in: Likewise.
40060 * configure.in: Likewise.
40061 * intl/Makefile: Likewise.
40062 * locale/Makefile: Likewise.
40063 * po/Makefile: Likewise.
40064 * posix/Makefile: Likewise.
40065 * sysdeps/gnu/Makefile: Likewise.
40066 * sysdeps/mach/hurd/Makefile: Likewise.
40067 * sysdeps/sparc/sparc32/Makefile: Likewise.
40068
40069 [BZ #13118]
40070 * posix/Makefile (bug-regex32-ENV): Define.
40071 Patch by John Stanley <jpsinthemix@verizon.net>.
40072
40073 * misc/Makefile (headers): Add bits/select2.h.
40074 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40075 * misc/bits/select2.h: New file.
40076 * include/bits/select2.h: New file.
40077 * debug/Makefile (routines): Add fdelt_chk.
40078 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40079 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40080 FD_ISSET.
40081 * debug/fdelt_chk.c: New file.
40082
40083 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
40084 * wcsmbs/test-wmemcmp.c: Likewise.
40085 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40086 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40087
400882011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40089
40090 * string/Makefile (strop-tests): Add memcmp.
40091 * string/test-wmemcmp.c: New file.
40092 * string/test-memcmp.c: Add wmemcmp support.
40093
400942011-09-08 Roland McGrath <roland@hack.frob.com>
40095
40096 [BZ #13153]
40097 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40098 2011-07-19 change.
40099
40100 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40101 garbage value in a __mach_port_mod_refs call in the cases of the
40102 task-self and thread-self ports.
40103
401042011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40105
40106 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40107
401082011-09-08 Andreas Schwab <schwab@redhat.com>
40109
40110 * elf/dl-load.c (lose): Check for non-null L.
40111
401122011-09-07 Ulrich Drepper <drepper@gmail.com>
40113
40114 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40115
40116 * elf/dl-libc.c (dlerror_run): Pass back error code from
40117 dl_catch_error.
40118
40119 [BZ #13123]
40120 * elf/dl-load.c (lose): Free l_origin if it is valid.
40121
40122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40123 names.
40124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40125 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40128 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40129 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40130
401312011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40132
40133 * sysdeps/powerpc/fpu/e_hypot.c: New file.
40134 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40135 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40136 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40137 * sysdeps/powerpc/fpu/k_cosf.c: New file.
40138 * sysdeps/powerpc/fpu/k_sinf.c: New file.
40139 * sysdeps/powerpc/fpu/s_cosf.c: New file.
40140 * sysdeps/powerpc/fpu/s_sinf.c: New file.
40141 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40142 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40143
401442011-08-15 Alan Modra <amodra@gmail.com>
40145
40146 [BZ #13092]
40147 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40148 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40149 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
40150 ppc_mcount to static-only-routines.
40151 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40152 __mcount_internal.
40153 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40154 __mcount_internal with usual JUMPTARGET. Remove useless nop.
40155
401562011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
40157
40158 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40159 for finite and infinity parameters.
40160
401612011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40162
40163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40164 and add nop instructions for throughput optimization.
40165 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40166
401672011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
40168
40169 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40170 aligned copy for power7 with vector-scalar instructions.
40171 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40172
401732011-07-24 H.J. Lu <hongjiu.lu@intel.com>
40174
40175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40176 AVX check.
40177
401782011-09-07 Andreas Schwab <schwab@redhat.com>
40179
40180 [BZ #13144]
40181 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40182 last change.
40183
401842011-09-07 Ulrich Drepper <drepper@gmail.com>
40185
40186 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40187 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40188 syscall wrapper around clock_gettime in __vdso_clock_gettime.
40189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40190 clock_gettime.
40191
401922011-09-06 Ulrich Drepper <drepper@gmail.com>
40193
40194 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40195 Forgot to demangle the pointer.
40196
40197 * sysdeps/i386/sysdep.h: Define atom_text_section.
40198 * sysdeps/x86_64/sysdep.h: Likewise.
40199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40200 section with atom_text_section.
40201 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40202 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40203 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40205 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40206
40207 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40208 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40209 already be defined. Change to take two parameters and don't assign
40210 result to variable. Adjust all users.
40211 Define INTERNAL_GETTIME if not already defined.
40212 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40213 call.
40214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40215 HAVE_CLOCK_GETTIME_VSYSCALL.
40216 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40217
40218 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40219 gettimeofday vsyscall, just use time.
40220
402212011-09-06 Andreas Schwab <schwab@redhat.com>
40222
40223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40224 <errno.h>.
40225
402262011-09-06 Ulrich Drepper <drepper@gmail.com>
40227
40228 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40229 syscall on x86-64.
40230 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40231 syscall.
40232 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40234 syscall if possible.
40235
402362011-09-05 Ulrich Drepper <drepper@gmail.com>
40237
40238 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40239 e_ident. Don't pass to find_mapsXX.
40240 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40241
402422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40243
40244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40245 strchr-sse2-no-bsf strrchr-sse2-no-bsf
40246 * sysdeps/x86_64/multiarch/strchr.S: Update.
40247 Check bit_slow_BSF bit.
40248 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40249 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40250 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40251
402522011-09-05 Ulrich Drepper <drepper@gmail.com>
40253
40254 [BZ #13134]
40255 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40256 before glibc 2.15.
40257 (tryshell): Define.
40258 (__spawni): Change last parameter to be flag. Test
40259 SPAWN_XFLAGS_USE_PATH flag to use path or not.
40260 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40261 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40262 * posix/spawni.c: Likewise.
40263 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40264 * posix/spawnp.c: Likewise. Change normal version to use
40265 SPAWN_XFLAGS_USE_PATH.
40266 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40267 SPAWN_XFLAGS_TRY_SHELL.
40268
40269 [BZ #13150]
40270 * posix/glob.h: Remove gcc 1.x support.
40271
40272 [BZ #13068]
40273 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40274
402752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40276
40277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40278 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40279 strrchr-sse2-bsf
40280 * sysdeps/i386/i686/multiarch/strchr.S: New file.
40281 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40282 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40284 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40285 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40286
402872011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40288
40289 * sysdeps/x86_64/wcscmp.S: New file.
40290
40291 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40292 wcscmp-c wcscmp-sse2
40293 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40294 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40295 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40296 * wcsmbs/wcscmp.c: Allow renaming.
40297
402982011-09-05 David S. Miller <davem@davemloft.net>
40299
40300 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40301 stack slot, rather than the struct return pointer slot.
40302 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40303 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40306
403072011-09-05 Ulrich Drepper <drepper@gmail.com>
40308
40309 * po/ja.po: Update from translation team.
40310
40311 [BZ #13144]
40312 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40313 kernel in 64-bit binaries.
40314
403152011-09-01 David S. Miller <davem@davemloft.net>
40316
40317 * elf/elf.h (HWCAP_SPARC_*): Move to..
40318 * sysdeps/sparc/sysdep.h: this new file and add new values.
40319 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40320 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40321 _DL_HWCAP_COUNT to 24.
40322 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40323 entries.
40324 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40325 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40326 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40328 instead of magic constants.
40329 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40330
403312011-08-31 David S. Miller <davem@davemloft.net>
40332
40333 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40334 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40335 Reimplement to do errno handling inline.
40336 (SYSCALL_ERROR_HANDLER): New macro.
40337 (__SYSCALL_STRING): Do not do errno handling in asm.
40338 (__CLONE_SYSCALL_STRING): Delete.
40339 (__INTERNAL_SYSCALL_STRING): Delete.
40340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40341 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40342 (PSEUDO): Reimplement to do errno handling inline.
40343 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40344 (SYSCALL_ERROR_HANDLER): New macro.
40345 (__SYSCALL_STRING): Do not do errno handling in asm.
40346 (__CLONE_SYSCALL_STRING): Delete.
40347 (__INTERNAL_SYSCALL_STRING): Delete.
40348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40349 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40350 i386.
40351 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40352 (inline_syscall*): Add 'err' argument.
40353 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40354 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40355 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40356 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40357
40358 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40359 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40360
403612011-08-30 Andreas Schwab <schwab@redhat.com>
40362
40363 * elf/rtld.c (dl_main): Relocate objects in dependency order.
40364
403652011-08-29 Jiri Olsa <jolsa@redhat.com>
40366
40367 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40368 directive.
40369
403702011-08-24 David S. Miller <davem@davemloft.net>
40371
40372 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40373
403742011-08-24 Andreas Schwab <schwab@redhat.com>
40375
40376 * elf/Makefile: Add rules to build and run unload8 test.
40377 * elf/unload8.c: New file.
40378 * elf/unload8mod1.c: New file.
40379 * elf/unload8mod1x.c: New file.
40380 * elf/unload8mod2.c: New file.
40381 * elf/unload8mod3.c: New file.
40382
40383 * elf/dl-close.c (_dl_close_worker): Reset private search list if
40384 it wasn't used.
40385
403862011-08-23 David S. Miller <davem@davemloft.net>
40387
40388 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40389 subtract stack bias.
40390 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40391 %sp not %fp in calculations.
40392 (_JMPBUF_UNWINDS_ADJ): Likewise.
40393
40394 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40395 (aio_suspend): Call it to force an exception region around the
40396 AIO_MISC_WAIT() invocation.
40397
403982011-08-23 Andreas Schwab <schwab@redhat.com>
40399
40400 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40401 backslash.
40402
404032011-07-04 Aurelien Jarno <aurelien@aurel32.net>
40404
40405 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40406 protection macro.
40407 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40408 and <dl-machine.h>.
40409 (Elf64_FuncDesc): Remove.
40410
404112011-08-22 David S. Miller <davem@davemloft.net>
40412
40413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40414 sigaltstack check, add missing cfi directives.
40415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40416 missing cfi directives, and sigaltstack handling.
40417
404182011-08-16 Andreas Schwab <schwab@redhat.com>
40419
40420 [BZ #11724]
40421 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40422 object is seen twice.
40423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40424
40425 * elf/Makefile (distribute): Add tst-initorder2.c.
40426 (tests): Add tst-initorder2.
40427 (modules-names): Add tst-initorder2a tst-initorder2b
40428 tst-initorder2c tst-initorder2d. Add rules to build them.
40429 ($(objpfx)tst-initorder2.out): New rule.
40430 * elf/tst-initorder2.c: New file.
40431 * elf/tst-initorder2.exp: New file.
40432
404332011-08-22 Andreas Schwab <schwab@redhat.com>
40434
40435 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40436
40437 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40438 dependencies back to end of function.
40439
40440 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40441 $(elfobjdir)/ld.so.
40442
404432011-08-21 Ulrich Drepper <drepper@gmail.com>
40444
40445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40446 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40448 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40449 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40450 of __vdso_gettimeofday.
40451 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40452 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
40453 attribute_hidden.
40454 (_libc_vdso_platform_setup): Remove initialization of
40455 __vdso_gettimeofday and __vdso_time.
40456
404572011-08-20 Ulrich Drepper <drepper@gmail.com>
40458
40459 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40460 and fgetc_unlocked.
40461 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40462 getc_unlocked.
40463
40464 * elf/dl-open.c (add_to_global): Report additions to the global scope
40465 for LD_DEBUG=scopes.
40466 (dl_open_worker): Also print scope of newly loaded dependencies.
40467 (_dl_show_scope): Indicate if there is no scope.
40468
40469 [BZ #13114]
40470 * stdio-common/Makefile (tests): Add bug24.
40471 * stdio-common/bug24.c: New file.
40472
404732011-08-19 Andreas Jaeger <aj@suse.de>
40474
40475 [BZ #13114]
40476 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40477 non-existant file when using close-on-exec mode.
40478
404792011-08-20 Ulrich Drepper <drepper@gmail.com>
40480
40481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40482 the very first instruction.
40483
40484 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40485 the CFI state in the end.
40486 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40487 inclusion of dl-trampoline.h.
40488 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40489
404902011-08-19 Andreas Schwab <schwab@redhat.com>
40491
40492 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40493 expectations for long double.
40494
40495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40496 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40497
404982011-08-14 David S. Miller <davem@davemloft.net>
40499
40500 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40501 artificual limit depends upon the system page size.
40502
405032011-08-17 Ulrich Drepper <drepper@gmail.com>
40504
40505 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40506 * resolv/Makefile: Define CFLAGS-libresolv.
40507
405082011-08-17 Andreas Schwab <schwab@redhat.com>
40509
40510 * nss/makedb.c (compute_tables): Make variables used in nested
40511 function static.
40512
405132011-08-17 Ulrich Drepper <drepper@gmail.com>
40514
40515 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40516 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40517 if buffer was too small.
40518
40519 * elf/pldd.c (main): Attach to all threads in the process.
40520 Rewrite /proc handling to use *at functions.
40521
405222011-08-16 Ulrich Drepper <drepper@gmail.com>
40523
40524 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40525 specifies first scope to show.
40526 (dl_open_worker): Update callers. Move printing scope of new
40527 object to before the relocation.
40528 * elf/rtld.c (dl_main): Update _dl_show_scope call.
40529 * sysdeps/generic/ldsodefs.h: Update declaration.
40530
40531 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40532 string for the scope number.
40533
405342011-08-14 Ulrich Drepper <drepper@gmail.com>
40535
40536 * nscd/servicescache.c (cache_addserv): Make sure written is always
40537 initialized.
40538
405392011-08-14 Roland McGrath <roland@hack.frob.com>
40540
40541 * sysdeps/i386/i486/bits/atomic.h
40542 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40543 statement expression, so as to suppress "set but not used" warning.
40544 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40545
40546 * string/strncat.c (STRNCAT): Use prototype definition.
40547
40548 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40549 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40550 -Iprograms here.
40551 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40552 (localedef-modules): Add localedef.
40553 (locale-modules): Add locale.
40554
40555 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40556 * elf/rtld.c (dl_main): Invert order of assignment in last change,
40557 to avoid a warning.
40558
405592011-08-14 David S. Miller <davem@davemloft.net>
40560
40561 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40562 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40563
405642011-08-13 Ulrich Drepper <drepper@gmail.com>
40565
40566 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40567 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40568 * elf/rtld.c (dl_main): Set l_name of vDSO.
40569 Call _dl_show_scope when DL_DEBUG_SCOPES.
40570 (process_dl_debug): Recognize scopes flag and also set it for all.
40571 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40572 Declare _dl_show_scope.
40573
40574 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40575 (do_dlopen): Pass caller_dlopen to dl_open.
40576 (__libc_dlopen_mode): Initialize caller_dlopen.
40577
40578 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40579 of libc. Make tolower call locale-independent. Optimize a bit by
40580 using isdigit instead of isalnum.
40581 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40582
405832011-08-12 Ulrich Drepper <drepper@gmail.com>
40584
40585 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40586 was a dependency or dynamically loaded.
40587
405882011-08-11 Ulrich Drepper <drepper@gmail.com>
40589
40590 * intl/l10nflist.c: Allow architecture-specific pop function.
40591 * sysdeps/x86_64/l10nflist.c: New file.
40592
40593 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40594 classification.
40595
405962011-08-10 Andreas Schwab <schwab@redhat.com>
40597
40598 * include/dirent.h: Add libc_hidden_proto for scandirat and
40599 scandirat64. Don't declare __scandirat64.
40600 * dirent/scandirat.c: Add libc_hidden_def.
40601 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40602 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40603
406042011-08-10 David S. Miller <davem@davemloft.net>
40605
40606 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40607 enum.
40608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40609 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40610 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40611
406122011-08-09 Ulrich Drepper <drepper@gmail.com>
40613
40614 * Versions.def [libc]: Add GLIBC_2.15.
40615 * dirent/Makefile (routines): Add scandirat and scandirat64.
40616 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40617 GLIBC_2.15.
40618 * dirent/dirent.h: Declare scandirat and scandirat64.
40619 * dirent/scandirat.c: New file.
40620 * dirent/scandirat64.c: New file.
40621 * sysdeps/wordsize-64/scandirat.c: New file.
40622 * sysdeps/wordsize-64/scandirat64.c: New file.
40623 * dirent/opendir.c: Define opendirat.
40624 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40625 using scandirat.
40626 * dirent/scandir64.c: Adjust for scandir.c change.
40627 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40628 __scandirat64, and __scandir_cancel_handler.
40629 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40630 additional parameter and use openat instead of open (outside of ld.so).
40631 Add new __opendir as wrapper around __opendirat.
40632 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40633 here without requiring old scandirat implementation.
40634
406352011-08-08 Ulrich Drepper <drepper@gmail.com>
40636
40637 * dirent/scandir.c (cancel_handler): Renamed to
40638 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40639 defined. Adjust users.
40640 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40641 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40642
406432011-08-04 Ulrich Drepper <drepper@gmail.com>
40644
40645 * string/test-string.h (IMPL): Use __STRING to expand name and then
40646 stringify it.
40647
40648 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40649 of cleanups.
40650
406512011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40652
40653 * string/Makefile: Update.
40654 (strop-tests): Append strncat.
40655 * string/test-wcscmp.c: New file.
40656 New comprehensive test for wcscmp.
40657 * string/test-strcmp.c: Update.
40658 (WIDE): New define.
40659
406602011-07-22 Andreas Schwab <schwab@redhat.com>
40661
40662 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40663 line.
40664
406652011-07-26 Andreas Schwab <schwab@redhat.com>
40666
40667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40668 encoding to ACE if AI_IDN.
40669
406702011-08-01 Jakub Jelinek <jakub@redhat.com>
40671
40672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40673 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40674
406752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40676
40677 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40678 Fix overflow bug in strncat.
40679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40680
40681 * string/test-strncat.c: Update.
40682 Add new tests for checking overflow bugs.
40683
406842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40685
40686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40687 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40688 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40689 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40691 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40692 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40693 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40694 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40695
40696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40697 (USE_AS_STRCAT): Define.
40698 Add strcat and strncat support.
40699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40700
407012011-07-25 Andreas Schwab <schwab@redhat.com>
40702
40703 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40704 __n bigger than INT_MAX+1.
40705 (__strncmp_g): Likewise.
40706
407072011-07-23 Ulrich Drepper <drepper@gmail.com>
40708
40709 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40710 * libio/stido.h: Likewise.
40711
40712 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40713 (AF_NFC): Define.
40714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40715 (AF_NFC): Define.
40716
40717 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40720 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40722
40723 [BZ #13021]
40724 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40725 installed.
40726
40727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40728 typo.
40729 (_dl_x86_64_save_sse): Likewise.
40730
407312011-07-22 Ulrich Drepper <drepper@gmail.com>
40732
40733 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40734 OSXSAVE.
40735 (_dl_x86_64_save_sse): Likewise.
40736
40737 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40738
40739 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40740
407412011-07-21 Andreas Schwab <schwab@redhat.com>
40742
40743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40744 change.
40745 (_dl_x86_64_save_sse): Use correct AVX check.
40746
407472011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40748
40749 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40750 bug in strncpy/strncat.
40751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40752
407532011-07-21 Ulrich Drepper <drepper@gmail.com>
40754
40755 * string/tester.c (test_strcat): Add tests for different alignments
40756 of source and destination.
40757 (test_strncat): Likewise.
40758
407592011-07-20 Ulrich Drepper <drepper@gmail.com>
40760
40761 [BZ #12852]
40762 * posix/glob.c (glob): Check passed in values before using them in
40763 expressions to avoid some overflows.
40764 (glob_in_dir): Likewise.
40765
40766 [BZ #13007]
40767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40768 check for AVX enablement so that we don't crash with old kernels and
40769 new hardware.
40770 * elf/tst-audit4.c: Add same checks here.
40771 * elf/tst-audit6.c: Likewise.
40772
40773 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
40774
407752011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40776
40777 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40778
407792011-07-20 Ulrich Drepper <drepper@gmail.com>
40780
40781 * po/cs.po: Update from translation team.
40782 * po/bg.po: Likewise.
40783
407842011-07-12 Marek Polacek <mpolacek@redhat.com>
40785
40786 * misc/sys/cdefs.h: Add support for const attribute.
40787 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40788 to gnu_dev_{major,minor,makedev} functions.
40789
407902011-07-20 Marek Polacek <mpolacek@redhat.com>
40791
40792 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40793
407942011-07-20 Andreas Schwab <schwab@redhat.com>
40795
40796 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40797 strlen results.
40798
407992011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40800
40801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40802 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40803 register in order to avoid conflicts with the soft frame pointer
40804 being held in r11 when necessary.
40805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40806 (INTERNAL_VSYSCALL_NCS): Likewise.
40807
408082011-07-14 Marek Polacek <mpolacek@redhat.com>
40809
40810 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40811 * elf/dl-fini.c (_dl_fini): Adjust caller.
40812 * elf/dl-close.c (_dl_close_worker): Likewise.
40813 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40814
408152011-07-15 Marek Polacek <mpolacek@redhat.com>
40816
40817 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40818 "aux_cache->nlibs < 0".
40819
40820 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40821 in the reload-count case.
40822
408232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40824
40825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40826 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40827 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40828 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40829 * sysdeps/x86_64/multiarch/strcat.S: New file.
40830 * sysdeps/x86_64/multiarch/strncat.S: New file.
40831 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40832 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40833 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40834 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40835 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40836 (USE_AS_STRCAT): Define.
40837 Add strcat and strncat support.
40838 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40840 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40841 * string/strncat.c: Update.
40842 (USE_AS_STRNCAT): Define.
40843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40844 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40845 and i7.
40846 * sysdeps/x86_64/multiarch/init-arch.h
40847 (bit_Prefer_PMINUB_for_stringop): New.
40848 (index_Prefer_PMINUB_for_stringop): Likewise.
40849 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40850 bit_Prefer_PMINUB_for_stringop.
40851
408522011-07-19 Ulrich Drepper <drepper@gmail.com>
40853
40854 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40855 buffer64.
40856 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40857 of casting of buffer.
40858 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40859 buffer32 and buffer64.
40860 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40861 writes instead of casting of buffer.
40862 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40863 buffer32.
40864 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40865 casting of buffer.
40866
408672011-07-19 Andreas Schwab <schwab@redhat.com>
40868
40869 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40870
408712011-07-19 Ulrich Drepper <drepper@gmail.com>
40872
40873 * nscd/nscd.c (termination_handler): Don't do anything for a database
40874 if it has not yet been initialized.
40875
408762011-07-18 Ulrich Drepper <drepper@gmail.com>
40877
40878 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40879
408802011-07-15 Marek Polacek <mpolacek@redhat.com>
40881
40882 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40883
408842011-07-18 Ulrich Drepper <drepper@gmail.com>
40885
40886 * po/nl.po: Update from translation team.
40887 * po/sv.po: Likewise.
40888
408892011-07-16 Roland McGrath <roland@hack.frob.com>
40890
40891 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40892 now disallowed by GCC.
40893
40894 * configure.in (use-default-link): Default to yes if a test -shared
40895 link meets our qualifications.
40896 * configure: Regenerated.
40897
40898 * config.make.in (output-format): New variable.
40899 * configure.in: Check for ld --print-output-format support.
40900 * configure: Regenerated.
40901 * Makerules ($(common-objpfx)format.lds)
40902 [$(output-format) != unknown]: Just use $(output-format),
40903 instead of the linker-script munging.
40904
409052011-07-14 Roland McGrath <roland@hack.frob.com>
40906
40907 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40908 of $(common-objpfx)shlib.lds.
40909 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40910
40911 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40912 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40913
40914 * configure.in (-z relro check): Adjust test code to add a large
40915 writable data section after it.
40916 * configure: Regenerated.
40917
409182011-07-11 Roland McGrath <roland@hack.frob.com>
40919
40920 * configure.in (-z relro check): Fix test code to make the variable
40921 truly const.
40922 * configure: Regenerated.
40923
409242011-07-11 Ulrich Drepper <drepper@gmail.com>
40925
40926 * nscd/nscd.h (struct traced_file): Define.
40927 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40928 elements. Add traced_files.
40929 (inotify_fd): Declare.
40930 (register_traced_file): Declare.
40931 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40932 (inotify_fd): Export.
40933 (resolv_conf_descr): Remove.
40934 (nscd_init): Move inotify descriptor creation to main.
40935 Don't register files for notification here.
40936 (register_traced_file): New function.
40937 (invalidate_cache): Don't use reset_res to determine whether to call
40938 res_init, go through the list of registered files.
40939 (main_loop_poll): The inotify descriptors are now stored in the
40940 structures for the traced files.
40941 (main_loop_epoll): Likewise
40942 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40943 to __nss_disable_nscd.
40944 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40945 for a database anymore. Check the records for all the registered
40946 files instead.
40947 * nss/Makefile (libnss_files-routines): Add files-init.
40948 (libnss_db-routines): Add db-init.
40949 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40950 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40951 * nss/nss_db/db-init.c: New file.
40952 * nss/nss_files/files-init.c: New file.
40953 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40954 __nss_lookup_function.
40955 (__nss_lookup_function): Call nss_load_library.
40956 (nss_load_all_libraries): New function.
40957 (__nss_disable_nscd): Take parameter with callback function for files
40958 to register. Set is_nscd. Load all the DSOs for the NSS modules
40959 used for the cached services.
40960 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40961 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40962 options for features to all the files in nscd.
40963
40964 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40965
409662011-07-10 Roland McGrath <roland@hack.frob.com>
40967
40968 * csu/elf-init.c (__libc_csu_init): Comment typo.
40969
409702011-07-09 Ulrich Drepper <drepper@gmail.com>
40971
40972 * po/pl.po: Update from translation team.
40973 * po/ja.po: Likewise.
40974 * po/ru.po: Likewise.
40975 * po/ko.po: Likewise.
40976 * po/fr.po: Likewise.
40977
409782011-07-09 Roland McGrath <roland@hack.frob.com>
40979
40980 * configure.in (.ctors/.dtors header and trailer check):
40981 Use an empirical test on a built program.
40982 * configure: Regenerated.
40983
40984 * configure.in (-z relro check): Use an empirical test on a built DSO.
40985 Detect, but do not require, on ia64.
40986 * configure: Regenerated.
40987
40988 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40989 Update tests that use readelf to use $READELF instead.
40990 * configure: Regenerated.
40991
409922011-07-08 Ulrich Drepper <drepper@gmail.com>
40993
40994 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40995 if the result is not used.
40996
409972011-07-05 Andreas Jaeger <aj@suse.de>
40998
40999 [BZ#9696]
41000 * stdlib/tst-strtod.c: Add testcase.
41001
410022011-07-07 Ulrich Drepper <drepper@gmail.com>
41003
41004 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41005 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41006 The latter has a higher limit. Take additional parameter to pass to
41007 the new function.
41008 (__pathconf): Pass file to __statfs_link_max.
41009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41010 __statfs_link_max.
41011 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41012 __statfs_link_max.
41013
41014 [BZ #12868]
41015 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41017 Handle Lustre.
41018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41019 (__statfs_filesize_max): Likewise.
41020 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41021
410222011-07-05 Andreas Jaeger <aj@suse.de>
41023
41024 * resolv/res_comp.c (dn_skipname): Remove unused variable.
41025
410262011-07-06 Marek Polacek <mpolacek@redhat.com>
41027
41028 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41029 `status' variable.
41030 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41031 Likewise.
41032
410332011-07-04 H.J. Lu <hongjiu.lu@intel.com>
41034
41035 * Makefile (strop-tests): Add strncat.
41036 * string/test-strncat.c: New file.
41037
410382011-06-30 Marek Polacek <mpolacek@redhat.com>
41039
41040 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41041
410422011-06-21 Andreas Jaeger <aj@suse.de>
41043
41044 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41045 Copy rule from iconvdata/Makefile.
41046
410472011-07-06 Ulrich Drepper <drepper@gmail.com>
41048
41049 [BZ #12922]
41050 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41051 but no long options are defined, just return 'W'.
41052
410532011-06-22 Marek Polacek <mpolacek@redhat.com>
41054
41055 [BZ #9696]
41056 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41057
410582011-07-06 Ulrich Drepper <drepper@gmail.com>
41059
41060 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41061 netgroups to read.
41062 (innetgr): Likewise.
41063
410642011-07-05 Roland McGrath <roland@hack.frob.com>
41065
41066 * config.make.in (install_root): Default to $(DESTDIR).
41067
410682011-07-05 Ulrich Drepper <drepper@gmail.com>
41069
41070 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41071
410722011-07-02 Roland McGrath <roland@hack.frob.com>
41073
41074 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41075
41076 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41077 containing directory rather than embedding absolute directory names.
41078
41079 * scripts/check-local-headers.sh: Rewritten using awk.
41080 Match by word, not by line. Print error messages for matches.
41081 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41082
41083 * Makerules [shlib-lds-flags empty]:
41084 ($(common-objpfx)libc_pic.opts): New target.
41085 ($(common-objpfx)libc_pic.os.clean): New target.
41086 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41087
41088 * config.make.in (OBJCOPY): New variable.
41089 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41090 * configure: Regenerated.
41091
41092 * config.make.in (use-default-link): New variable.
41093 * configure.in (use_default_link): Grok --with-default-link to set it.
41094 * configure: Regenerated.
41095 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41096 (shlib-lds, shlib-lds-flags): Define to empty.
41097
41098 * Makerules (shlib-lds): New variable.
41099 (shlib-lds-flags): New variable.
41100 (build-shlib, build-moduile, build-module-asneeded): Use it.
41101 ($(common-objpfx)libc.so): Use $(shlib-lds).
41102 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41103 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41104
41105 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41106 DT_FLAGS/DT_FLAGS_1 with zero flags.
41107
41108 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41109 linker script munging.
41110
411112011-07-02 Ulrich Drepper <drepper@gmail.com>
41112
41113 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41114 as 128-bit value.
41115 * crypt/sha512.c (sha512_process_block): Perform total addition using
41116 128-bit if possible.
41117 (__sha512_finish_ctx): Likewise.
41118 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41119 as 64-bit value.
41120 * crypt/sha256.c (SWAP64): Define.
41121 (sha256_process_block): Perform total addition using 64-bit if
41122 possible.
41123 (__sha256_finish_ctx): Likewise.
41124
411252011-07-01 Ulrich Drepper <drepper@gmail.com>
41126
41127 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
41128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41129 * nscd/hstcache.c (cache_addhst): Likewise.
41130 * nscd/grpcache.c (cache_addgr): Likewise.
41131 * nscd/aicache.c (addhstaiX): Likewise
41132 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41133
411342011-07-01 Thorsten Kukuk <kukuk@suse.de>
41135
41136 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41137 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41138 * nscd/hstcache.c (cache_addhst): Likewise.
41139 * nscd/grpcache.c (cache_addgr): Likewise.
41140 * nscd/aicache.c (addhstaiX): Likewise
41141
411422011-07-01 Andreas Schwab <schwab@redhat.com>
41143
41144 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41145 domain only when needed.
41146
411472011-06-30 Andreas Schwab <schwab@redhat.com>
41148
41149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41150 is always restored.
41151
411522011-06-29 Ulrich Drepper <drepper@gmail.com>
41153
41154 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41155 are re-adding the entry.
41156 * nscd/servicescache.c (cache_addserv): Likewise.
41157
411582011-06-30 Aurelien Jarno <aurelien@aurel32.net>
41159
41160 * sysdeps/generic/dl-irel.h: fix protection against multiple
41161 inclusions.
41162 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41163
411642011-06-28 Ulrich Drepper <drepper@gmail.com>
41165
41166 [BZ #12935]
41167 * malloc/memusage.sh: Fix quoting in message.
41168 * debug/xtrace.sh: Likewise.
41169
41170 * configure.in: Remove support for --experimental-malloc option, make
41171 it the default.
41172 * config.make.in: Likewise.
41173 * malloc/Makefile: Likewise.
41174
411752011-06-27 Andreas Schwab <schwab@redhat.com>
41176
41177 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41178 two-byte characters.
41179
411802011-06-27 Roland McGrath <roland@hack.frob.com>
41181
41182 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41183 AC_CACHE_CHECK invocation.
41184 * configure: Regenerated.
41185
41186 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41187
411882011-06-27 Ulrich Drepper <drepper@gmail.com>
41189
41190 [BZ #12350]
41191 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
41192 bit from old_res_options.
41193
41194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41195
41196 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41197 value type for setfct.
41198
411992011-06-23 H.J. Lu <hongjiu.lu@intel.com>
41200
41201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41202 __gettimeofday instead of gettimeofday.
41203
412042011-06-26 Ulrich Drepper <drepper@gmail.com>
41205
41206 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41207
412082011-06-24 H.J. Lu <hongjiu.lu@intel.com>
41209
41210 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41211
41212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41213 info.
41214
412152011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41216
41217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41218 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41219 strcpy-sse2-unaligned strncpy-sse2-unaligned
41220 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41221 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41222 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41223 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41224 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41225 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41226 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41227 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41228 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41229 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41230 (STRCPY): Support SSE2 and SSSE3 versions.
41231
412322011-06-24 Ulrich Drepper <drepper@gmail.com>
41233
41234 [BZ #12874]
41235 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41236 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41237 kernels which artificially limit size of requests.
41238
412392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
41240
41241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41242 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41243 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41244 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41245 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41246 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41247 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41248 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41251 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41252 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41253 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41254 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41255 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41257 Enable unaligned load optimization for Intel Core i3, i5 and i7
41258 processors.
41259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41260 Define.
41261 (index_Fast_Unaligned_Load): Define.
41262 (HAS_FAST_UNALIGNED_LOAD): Define.
41263
412642011-06-23 Marek Polacek <mpolacek@redhat.com>
41265
41266 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41267
412682011-06-22 Ulrich Drepper <drepper@gmail.com>
41269
41270 [BZ #12907]
41271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41272 until it is clear that the information is realy needed.
41273 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41274
412752011-06-22 Andreas Schwab <schwab@redhat.com>
41276
41277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41278
412792011-06-22 Ulrich Drepper <drepper@gmail.com>
41280
41281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41282 /sys/devices/system/cpu/online if it is usable.
41283
41284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41285 reading the information from the /proc filesystem to once a second.
41286
412872011-06-21 Andreas Jaeger <aj@suse.de>
41288
41289 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41290 NULL after inclusion of kernel headers.
41291
412922011-06-21 Ulrich Drepper <drepper@gmail.com>
41293
41294 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41295 calls to internal_setent.
41296
41297 [BZ #12885]
41298 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41299 addresses using gethostbyname4_r ignore IPv4 addresses.
41300
41301 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41302 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
41303
41304 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41305
413062011-06-20 David S. Miller <davem@davemloft.net>
41307
41308 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41309 inclusions.
41310 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41311
41312 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41313 (elf_irel): Use it.
41314 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41315 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41316 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41317 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41318 * sysdeps/x86_64/dl-irel.h: Likewise.
41319
41320 * elf/dl-runtime.c: Use elf_ifunc_invoke.
41321 * elf/dl-sym.c: Likewise.
41322
413232011-06-15 Ulrich Drepper <drepper@gmail.com>
41324
41325 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
41326 need to dereference resplen2.
41327
413282011-06-14 Andreas Schwab <schwab@redhat.com>
41329
41330 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41331
413322011-06-15 Ulrich Drepper <drepper@gmail.com>
41333
41334 * Makeconfig: Define vardbdir and inst_vardbdir.
41335 * nss/Makefile: Add rules to install db-Makefile.
41336
41337 * nss/nss_db/db-XXX.c: Cleanup.
41338
41339 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41340 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41341 GLIBC_PRIVATE.
41342 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41343 * nss/makedb.c: Implement -g option to specify that value strings
41344 are generated and should not be added to table iterated over for
41345 get*ent calls.
41346 * nss/nss_db/db-initgroups.c: New file.
41347
41348 * nss/getent.c: Add support for initgroups lookups through getgrouplist
41349 interface.
41350
41351 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41352 (internal_getgrouplist): Adjust to name change.
41353 Update use_initgroups_entry if this is not the first call.
41354 * nss/databases.def: Add initgroups entry.
41355
41356 * nss/makedb.c (compute_tables): Check result of multiple hash table
41357 sizes to minimize maximum chain length.
41358
413592011-06-14 Ulrich Drepper <drepper@gmail.com>
41360
41361 * Versions.def: Add entry for libnss_db.
41362 * shlib-versions: Likewise.
41363 * nss/Makefile: Add rules to build libnss_db.
41364 * nss/Versions: Add libnss_db information. Organize libnss_files
41365 entries better.
41366 * nss/db-Makefile: Add gshadow support. Change rules for the new
41367 makedb progra. Some minor improvements to generate smaller files.
41368 * nss/nss_db/nss_db.h: Move NSS database header data structures to
41369 here from...
41370 * nss/makedb.c: ...here.
41371 Improve database format to be smaller and require less memory at
41372 runtime.
41373 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
41374 db anymore.
41375 * nss/nss_db/db-netgrp.c: Likewise.
41376 * nss/nss_db/db-open.c: Likewise.
41377 * nss/nss_files/flies-XXX.x: Adjust comments.
41378 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41379 * nss/nss_files/files-grp.c: Likewise.
41380 * nss/nss_files/files-hosts.c: Likewise.
41381 * nss/nss_files/files-network.c: Likewise.
41382 * nss/nss_files/files-proto.c: Likewise.
41383 * nss/nss_files/files-pwd.c: Likewise.
41384 * nss/nss_files/files-rpc.c: Likewise.
41385 * nss/nss_files/files-service.c: Likewise.
41386 * nss/nss_files/files-sgrp.c: Likewise.
41387 * nss/nss_files/files-spwd.c: Likewise.
41388 * nss/nss_db/db-alias.c: Removed.
41389 * nss/nss_db/dummy-db.h: Removed.
41390
413912011-06-02 Ulrich Drepper <drepper@gmail.com>
41392
41393 * nss/makedb.c: Rewritten to not use database library.
41394 * nss/Makefile: Update to build new makedb program.
41395
413962011-06-14 Andreas Jaeger <aj@suse.de>
41397
41398 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41399 memset declaration.
41400
414012011-06-10 Andreas Schwab <schwab@redhat.com>
41402
41403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41404 tmpbuf.
41405
414062011-06-10 Roland McGrath <roland@hack.frob.com>
41407
41408 * Makerules (shlib.lds): Fail if the linker script comes out empty.
41409 * elf/Makefile ($(objpfx)ld.so): Likewise.
41410
41411 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41412 Don't list ld.so twice in dependencies.
41413
41414 * posix/bug-regex31.c: Include <stdlib.h>.
41415
41416 * nscd/hstcache.c (cache_addhst): Remove unused variable.
41417
41418 * nis/nss_compat/compat-spwd.c
41419 (getspent_next_nss_netgr): Remove unused variable.
41420 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41421
41422 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41423 nonmembers" output to use the right array.
41424
41425 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41426
41427 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41428
41429 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41430 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41431 * catgets/gencat.c (read_input_file): Likewise.
41432 * locale/programs/locarchive.c (enlarge_archive): Likewise.
41433
41434 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41435 variable definition inside #if's controlling its use.
41436
41437 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41438
41439 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41440
41441 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41442
41443 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41444 unreachable code.
41445
41446 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41447
41448 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41449 * configure: Regenerated.
41450
41451 * Makerules: Revert last change.
41452 * elf/Makefile: Likewise.
41453
414542011-06-09 Roland McGrath <roland@hack.frob.com>
41455
41456 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41457 * elf/Makefile ($(objpfx)librtld.os): Likewise.
41458 (reloc-link): Likewise.
41459
414602011-06-09 Ulrich Drepper <drepper@gmail.com>
41461
41462 * elf/Makefile: Add rules to build pldd.
41463 * elf/pldd.c: New file.
41464 * elf/pldd-xx.c: New file.
41465
414662011-06-07 Ulrich Drepper <drepper@gmail.com>
41467
41468 * version.h: Update for 2.15 development version.
41469
414702011-06-07 David S. Miller <davem@davemloft.net>
41471
41472 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41473 ifuncs.
41474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41475 elf_machine_lazy_rel): Likewise.
41476 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41478 elf_machine_lazy_rel): Likewise.
41479 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41480 dl_hwcap via passed in argument.
41481 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41482 Likewise.
41483
414842011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41485
41486 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
41487
414882011-06-06 Roland McGrath <roland@hack.frob.com>
41489
41490 [BZ #12849]
41491 * manual/fdl-1.1.texi: New file, verbatim from:
41492 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41493 * manual/lgpl-2.1.texi: New file, verbatim from:
41494 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41495 * manual/Makefile (licenses): New variable, list those new file names.
41496 (texis): Use it.
41497 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41498
41499 * manual/fdl.texi: File removed.
41500 * manual/lesser.texi: File removed.
41501 * manual/libc.texinfo (Copying, Documentation License):
41502 Use new @include file names, put @appendix directive before @include.
41503
415042011-06-04 Jakub Jelinek <jakub@redhat.com>
41505
41506 [BZ #12841]
41507 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41508 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41509 (mq_open): Add __NTH.
41510
415112011-06-02 H.J. Lu <hongjiu.lu@intel.com>
41512
41513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41514 Assume Intel Core i3/i5/i7 processor if AVX is available.
41515
415162011-05-31 Ulrich Drepper <drepper@gmail.com>
41517
41518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41519 typo.
41520
415212011-05-31 Andreas Schwab <schwab@redhat.com>
41522
41523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41524 memory. Use alloca_account. Fix memory leak when retrying.
41525
415262011-05-31 Ulrich Drepper <drepper@gmail.com>
41527
41528 * version.h (RELEASE): Bump for 2.14 release.
41529 * include/features.h (__GLIBC_MINOR__): Bump to 14.
41530
41531 * config.make.in (RANLIB): Remove entry.
41532
415332011-05-30 Ulrich Drepper <drepper@gmail.com>
41534
41535 * po/Makefile (po-sed-cmd): Add ksh to extensions.
41536 (libc.pot): Work around missing support for .ksh extension in xgettext.
41537
41538 [BZ #12684]
41539 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41540 if both request failed.
41541 (send_dg): In case of server errors clear resplen or *resplen2.
41542
41543 [BZ #12454]
41544 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41545 when there are multiple maps.
41546 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41547 (_dl_fini): Remove test here.
41548
41549 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41550
415512011-05-29 Ulrich Drepper <drepper@gmail.com>
41552
41553 [BZ #12350]
41554 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41555 bit from old_res_options.
41556 (gaih_inet): Likewise.
41557
41558 [BZ #11099]
41559 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41560 as signed.
41561
41562 * resolv/res_init.c (res_setoptions): Make the code more compact.
41563
41564 [BZ #11558]
41565 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41566 set RES_USEVC.
41567
41568 [BZ #11634]
41569 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41570
41571 * malloc/malloc.h: Mark malloc hook variables as deprecated.
41572
41573 [BZ #11781]
41574 * malloc/malloc.h: Declare malloc hook variables as volatile.
41575
41576 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41577 in last patch.
41578
41579 [BZ #11799]
41580 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41581 raise in the comment.
41582 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41583 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41584 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41585
415862011-05-28 Ulrich Drepper <drepper@gmail.com>
41587
41588 [BZ #12811]
41589 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41590 grow the buffers more if it already has to be sufficient.
41591 (build_wcs_upper_buffer): Likewise.
41592 * posix/regexec.c (check_matching): Likewise.
41593 (clean_state_log_if_needed): Likewise.
41594 (extend_buffers): Don't enlarge buffers beyond size of the input
41595 buffer.
41596 Patches mostly by Emil Wojak <emil@wojak.eu>.
41597 * posix/bug-regex32.c: New file.
41598 * posix/Makefile (tests): Add bug-regex32.
41599
41600 * locale/findlocale.c (_nl_find_locale): Return right away if
41601 _nl_explode_name failed.
41602 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41603
41604 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41605
41606 * debug/xtrace.sh: Unify messages.
41607 * malloc/memusage.sh: Likewise.
41608
41609 [BZ #12813]
41610 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41611 time symbol from vDSO. Substitute with vsyscall if not available.
41612 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41613 __vdso_time.
41614
41615 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41616 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41617 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41618 Add sendmmsg and internal_sendmmsg.
41619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41620 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41621 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41622
41623 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41624 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41625 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41626
416272011-05-27 Ulrich Drepper <drepper@gmail.com>
41628
41629 [BZ #12813]
41630 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41631 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41632 available.
41633 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41634 __vdso_getcpu.
41635
41636 [BZ #12814]
41637 * iconvdata/Makefile (tests): Add bug-iconv9.
41638 * iconvdata/bug-iconv9.c: New file.
41639
416402011-05-27 Andreas Schwab <schwab@redhat.com>
41641
41642 [BZ #12814]
41643 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41644
416452011-05-25 Jakub Jelinek <jakub@redhat.com>
41646
41647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41648 (struct user_regs_struct): Change intcs field back to cs.
41649
416502011-05-25 Ulrich Drepper <drepper@gmail.com>
41651
41652 * po/ja.po: Update from translation team.
41653
416542011-05-23 Ulrich Drepper <drepper@gmail.com>
41655
41656 [BZ #12795]
41657 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41658 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41659
416602011-05-20 Andreas Schwab <schwab@redhat.com>
41661
41662 * stdlib/longlong.h: Update from GCC.
41663
416642011-05-23 Andreas Schwab <schwab@redhat.com>
41665
41666 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41667 parameter name.
41668 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41669 Add parameter name.
41670 (__sysconf): Pass it down.
41671
416722011-05-22 Ulrich Drepper <drepper@gmail.com>
41673
41674 [BZ #12671]
41675 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41676 some situations.
41677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41678 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41679 add in in __libc_use_alloca calls. Adjust callers.
41680 (glob): Use malloc in some situations.
41681
41682 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41683 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41684 pltexit.
41685
416862011-05-21 Ulrich Drepper <drepper@gmail.com>
41687
41688 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41689 and CLOCK_BOOTTIME_ALARM.
41690
41691 [BZ #12782]
41692 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41693 is returned.
41694
41695 * string/_strerror.c (__strerror_r): Print negative errors as signed
41696 numbers.
41697
41698 [BZ #12777]
41699 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41700 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41701 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41702
41703 * configure.in: Fix typo in redirection and correct removal of test
41704 files in two cases.
41705
41706 [BZ #12788]
41707 * locale/setlocale.c (new_composite_name): Fix test to check for
41708 identical name of all categories.
41709
41710 [BZ #12792]
41711 * libio/filedoalloc.c (local_isatty): New function.
41712 (_IO_file_doallocate): Use local_isatty.
41713 * stdio-common/perror.c (perror): In case a new stream is used
41714 forward the stream error.
41715 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41716 error flag.
41717
417182011-05-20 Ulrich Drepper <drepper@gmail.com>
41719
41720 [BZ #11869]
41721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41722 alloca.
41723 * include/alloca.h (extend_alloca_account): Define.
41724
41725 [BZ #11857]
41726 * posix/regex.h: Fix comments with documentation of user-accessible
41727 fields after compilation and describe correct free'ing of pattern
41728 after re_compile_pattern.
41729 Patch by Reuben Thomas <rrt@sc3d.org>.
41730
417312011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41732
41733 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41734 and -mno-altivec to prevent the compiler from using Altivec and/or
41735 VSX instructions when the corresponding registers are not available.
41736
417372011-05-19 Andreas Schwab <schwab@redhat.com>
41738
41739 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41740
417412011-05-19 Ulrich Drepper <drepper@gmail.com>
41742
41743 * libio/freopen.c (freopen): Use __dup2, not dup2.
41744 * libio/freopen64.c (freopen64): Likewise.
41745
417462011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41747
41748 [BZ #12775]
41749 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41750 * math/Makefile (tests): Add test-powl.
41751 (CFLAGS-test-powl.c): Define.
41752 * math/test-powl.c: New file.
41753
417542011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41755
41756 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41757
417582011-05-17 Ulrich Drepper <drepper@gmail.com>
41759
41760 [BZ #11837]
41761 * iconvdata/gb18030.c: Update to GB18020-2005.
41762
417632011-05-16 Ulrich Drepper <drepper@gmail.com>
41764
41765 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41766 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41767 Patch by Aharon Robbins <arnold@skeeve.com>.
41768
41769 [BZ #11892]
41770 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41771 on the stack.
41772
41773 [BZ #11895]
41774 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41775 through underflows.
41776
41777 [BZ #12766]
41778 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41779 point to strings before performing equality test for error_one_per_line
41780 mode.
41781
41782 [BZ #11697]
41783 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41784
41785 [BZ #11820]
41786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41787 (struct user_fpregs_struct): Avoid __uint*_t types.
41788
41789 [BZ #6420]
41790 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41791 symbol info. Use it instead of calling _dl_addr locally.
41792 (lock_and_info): New function.
41793 (tr_freehook): Call lock_and_info and pass symbol info as additional
41794 parameter to tr_where.
41795 (tr_mallochook): Likewise.
41796 (tr_reallochook): Likewise.
41797 (tr_memalignhook): Likewise.
41798
41799 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41800 used and couldn't be at all thread-safe.
41801
418022011-05-15 Ulrich Drepper <drepper@gmail.com>
41803
41804 * libio/freopen.c (freopen): Don't close old file descriptor
41805 before the new one is opened. Instead dup the new file descriptor
41806 to the old one after the new stream is created.
41807 * libio/freopen64.c (freopen64): Likewise.
41808 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41809 * libio/fileops.c (_IO_new_file_close_it): Handle new
41810 _IO_FLAGS2_NOCLOSE flag.
41811 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41812 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41813 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41814 _IO_FLAGS2_NOCLOSE flag.
41815 * include/unistd.h: Add hidden_proto for dup3.
41816 Define __have_dup3.
41817 * io/dup3.c: Define hidden symbol.
41818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41819
41820 [BZ #7101]
41821 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41822 when an incomplete long option is used.
41823 * posix/tst-getopt_long1.c: New file.
41824 * posix/Makefile (tests): Add tst-getopt_long1.
41825
41826 [BZ #10138]
41827 * scripts/config.guess: Update from autoconf-2.68.
41828 * scripts/config.sub: Likewise.
41829
41830 [BZ #10157]
41831 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41832 tests into ...
41833 (has_cpuclock): ...this. New function.
41834 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41835 macro here based on has_cpuclock code.
41836
41837 [BZ #10149]
41838 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41839 First byte (not low byte) is now always NUL.
41840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41841
41842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41843 Use non-cancelable interfaces.
41844
41845 [BZ #9809]
41846 * locale/iso-639.def: Add entry for Sorani.
41847
41848 [BZ #11901]
41849 * include/stdlib.h: Move include protection to the right place.
41850 Define abort_msg_s. Declare __abort_msg with it.
41851 * stdlib/abort.c (__abort_msg): Adjust type.
41852 * assert/assert.c (__assert_fail_base): New function. Majority
41853 of code from __assert_fail. Allocate memory for __abort_msg with
41854 mmap.
41855 (__assert_fail): Now call __assert_fail_base.
41856 * assert/assert-perr.c: Remove bulk of implementation. Use
41857 __assert_fail_base.
41858 * include/assert.hL Declare __assert_fail_base.
41859 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41860 mmap.
41861 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41862
418632011-05-14 Ulrich Drepper <drepper@gmail.com>
41864
41865 [BZ #11952]
41866 [BZ #12453]
41867 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41868 until all modules are registered in the DTV.
41869 * elf/Makefile: Add rules to build and run tst-tls19.
41870 * elf/tst-tls19.c: New file.
41871 * elf/tst-tls19mod1.c: New file.
41872 * elf/tst-tls19mod2.c: New file.
41873 * elf/tst-tls19mod3.c: New file.
41874 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41875
41876 [BZ #12083]
41877 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41878 correctly.
41879
41880 [BZ #12601]
41881 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41882 two-byte sequence errors.
41883 * iconvdata/Makefile (tests): Add bug-iconv8.
41884 * iconvdata/bug-iconv8.c: New file.
41885
41886 [BZ #12626]
41887 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41888 buf2 definition.
41889
41890 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41891
41892 [BZ #12432]
41893 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41894 (dummy_getcfa): New function.
41895 (init): Get _Unwind_GetCFA address, use dummy if not found.
41896 (backtrace_helper): In recursion check, also check whether CFA changes.
41897 (__backtrace): Completely initialize arg.
41898
41899 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41900 storing incomplete byte sequence in state object. Avoid testing for
41901 guaranteed too small input if we know there is enough data available.
41902
419032011-05-11 Andreas Schwab <schwab@redhat.com>
41904
41905 * Makeconfig (+link-pie): Indent.
41906 * Rules (binaries-pie): Define if $(have-fpie) and
41907 $(build-shared).
41908 (binaries-shared): Also filter out $(binaries-pie).
41909 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41910 * nscd/Makefile (others-pie): Add nscd.
41911 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41912 ($(objpfx)nscd): Remove command override.
41913 * login/Makefile (others-pie): Add pt_chown.
41914 ($(objpfx)pt_chown): Remove command override.
41915 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41916 remove command overrides.
41917
419182011-05-13 Ulrich Drepper <drepper@gmail.com>
41919
41920 * libio/tst_putwc.c: Fix error messages.
41921
41922 [BZ #12724]
41923 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41924 currently writing and seek to current position when not.
41925 * libio/Makefile (tests): Add bug-fclose1.
41926 * libio/bug-fclose1.c: New file.
41927
419282011-05-12 Ulrich Drepper <drepper@gmail.com>
41929
41930 [BZ #12511]
41931 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41932 don't set DF_1_NODELETE here.
41933 (do_lookup_x): When entering new entry test for copy relocation
41934 and if necessary set DF_1_NODELETE flag.
41935 * elf/tst-unique4.cc: New file.
41936 * elf/tst-unique4.h: New file.
41937 * elf/tst-unique4lib.cc: New file.
41938 * elf/Makefile: Add rules to build and run tst-unique4.
41939 Patch by Piotr Bury <pbury@goahead.com>.
41940
419412011-05-11 Ulrich Drepper <drepper@gmail.com>
41942
41943 [BZ #12052]
41944 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41945
41946 [BZ #12625]
41947 * misc/mntent_r.c (addmntent): Flush the stream after the output
41948
41949 [BZ #12393]
41950 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41951 (is_trusted_path_normalize): Skip initial colon. Append slash
41952 to empty buffer. Duplicate is_trusted_path code but allow
41953 constructed patch to be prefix.
41954 (is_dst): Allow $ORIGIN followed by /.
41955 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41956 Correct testing of result of is_trusted_path_normalize
41957 (decompose_rpath): Fix warning.
41958
419592011-05-10 Ulrich Drepper <drepper@gmail.com>
41960
41961 [BZ #11257]
41962 * grp/initgroups.c (internal_getgrouplist): When we found the service
41963 list through the initgroups entry in nsswitch.conf do not always
41964 continue on a successful lookup. Don't always use the
41965 __nss_group_database value if it is set.
41966 * nss/nsswitch.conf (initgroups): Change action for successful db
41967 lookup to continue for compatibility.
41968
419692011-05-09 Ulrich Drepper <drepper@gmail.com>
41970
41971 [BZ #11532]
41972 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41973 and CP774 modules.
41974 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41975 and CP774 modules.
41976 * iconvdata/tst-tables.sh: Likewise.
41977 * iconvdata/cp770.c: New file.
41978 * iconvdata/cp771.c: New file.
41979 * iconvdata/cp772.c: New file.
41980 * iconvdata/cp773.c: New file.
41981 * iconvdata/cp774.c: New file.
41982 * iconvdata/testdata/CP770: New file.
41983 * iconvdata/testdata/CP770..UTF8: New file.
41984 * iconvdata/testdata/CP771: New file.
41985 * iconvdata/testdata/CP771..UTF8: New file.
41986 * iconvdata/testdata/CP772: New file.
41987 * iconvdata/testdata/CP772..UTF8: New file.
41988 * iconvdata/testdata/CP773: New file.
41989 * iconvdata/testdata/CP773..UTF8: New file.
41990 * iconvdata/testdata/CP774: New file.
41991 * iconvdata/testdata/CP774..UTF8: New file.
41992
41993 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41994 END CHARMAP line.
41995 * iconvdata/gen-8bit-gap.sh: Likewise.
41996 * iconvdata/gen-8bit.sh: Likewise.
41997
41998 * locale/iso-639.def: Add ary entry.
41999
42000 [BZ #11258]
42001 * locale/C-translit.h.in: Add U20A1 transliteration.
42002
42003 [BZ #12178]
42004 * locale/iso-639.def: Add wae entry.
42005 Patch by Kevin Bortis <bortis@translate-wae.ch>.
42006
42007 [BZ #12545]
42008 * locale/programs/localedef.c (construct_output_path): Use ssize_t
42009 for n.
42010
42011 [BZ #12711]
42012 * locale/C-translit.h.in: Add entry for U20B9.
42013 Patch by pravin.d.s@gmail.com.
42014
420152011-05-08 Ulrich Drepper <drepper@gmail.com>
42016
42017 [BZ #12713]
42018 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42019 ENAMETOOLONG use generic getcwd.
42020 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
42021 in rtld. Use *stat64.
42022 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42023 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42024 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42025 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42026 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42027 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42028 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42029 __fstatat64 macros.
42030 * include/dirent.h: Add libc_hidden_proto for rewinddir.
42031 * dirent/rewinddir.c: Add libc_hidden_def.
42032 * sysdeps/mach/hurd/rewinddir.c: Likewise.
42033 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
42034
42035 * include/dirent.h (__alloc_dir): Add flags parameter.
42036 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42037 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42038 __alloc_dir.
42039 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
42040 from fdopendir if O_CLOEXEC is already set.
42041
420422011-03-15 Alan Modra <amodra@gmail.com>
42043
42044 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42045 l_tls_firstbyte_offset non-zero. Save padding offset in
42046 l_tls_firstbyte_offset for later use.
42047 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42048 freeing static tls block.
42049
420502011-03-05 Jonathan Nieder <jrnieder@gmail.com>
42051
42052 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42053 where #ifdef was intended. The intent is to prevent ARG_MAX from
42054 being defined by the kernel headers.
42055
420562011-05-07 Ulrich Drepper <drepper@gmail.com>
42057
42058 [BZ #12734]
42059 * resolv/resolv.h: Define RES_NOTLDQUERY.
42060 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42061 no-tld-query and set RES_NOTLDQUERY.
42062 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42063 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42064 modern BIND to search name as TLD unless forbidden.
42065
420662011-05-07 Petr Baudis <pasky@suse.cz>
42067 Ulrich Drepper <drepper@gmail.com>
42068
42069 [BZ #12393]
42070 * elf/dl-load.c (fillin_rpath): Move trusted path check...
42071 (is_trusted_path): ...to here.
42072 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42073 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42074 using is_trusted_path_normalize() in setuid scripts.
42075
420762011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42077
42078 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42079 __BEGIN/__END_DECLS.
42080
420812011-05-06 Ulrich Drepper <drepper@gmail.com>
42082
42083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42084 NSS_STATUS_NOTFOUND if no record was found.
42085
420862011-05-05 Andreas Schwab <schwab@redhat.com>
42087
42088 * sunrpc/Makefile (headers): Add rpc/netdb.h.
42089 (headers-not-in-tirpc): Remove rpc/netdb.h
42090 * resolv/netdb.h: Revert last change.
42091
420922011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42093
42094 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42095 circular dependency between libgcc.a and libc.a.
42096
420972011-05-05 Andreas Schwab <schwab@redhat.com>
42098
42099 * resolv/netdb.h: Don't include <rpc/netdb.h>.
42100 * nis/Makefile: Don't install rpcsvc/*.
42101 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42102 instead of <rpc/types.h>.
42103 (MAXHOSTNAMELEN): Define.
42104
421052011-05-03 Andreas Schwab <schwab@redhat.com>
42106
42107 * elf/ldconfig.c (add_dir): Don't crash on empty path.
42108
421092011-04-28 Maciej Babinski <mbabinski@google.com>
42110
42111 [BZ #12714]
42112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42113 gethostbyname4_r when IPv6 results are possible.
42114
421152011-05-02 Ulrich Drepper <drepper@gmail.com>
42116
42117 [BZ #12723]
42118 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42119 _PC_PIPE_BUF handling.
42120
421212011-04-30 Bruno Haible <bruno@clisp.org>
42122
42123 [BZ #12717]
42124 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42125 * resolv/netdb.h (getnameinfo): Change type of flags parameter
42126 to 'int'.
42127 * inet/getnameinfo.c (getnameinfo): Likewise.
42128
421292011-04-29 Ulrich Drepper <drepper@gmail.com>
42130
42131 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42132 to groups setting in database lookup.
42133 * nss/nsswitch.conf: Add initgroups entry.
42134
421352011-04-22 Ulrich Drepper <drepper@gmail.com>
42136
42137 [BZ #12685]
42138 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42139 mode string.
42140 Patch by Eric Blake <eblake@redhat.com>.
42141
421422011-04-20 H.J. Lu <hongjiu.lu@intel.com>
42143
42144 * sunrpc/Makefile (need-export-routines): Add svc_run.
42145 (routines): Remove svc_run.
42146 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42147 * sunrpc/clnt_perr.c (clnt_perrno): Export.
42148 * sunrpc/svc_run.c (svc_run): Likewise.
42149 * sunrpc/svc_udp.c (svcudp_create): Likewise.
42150
421512011-04-21 Ulrich Drepper <drepper@gmail.com>
42152
42153 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42154 problem in reallocation in last patch.
42155
421562011-04-20 Ulrich Drepper <drepper@gmail.com>
42157
42158 * sunrpc/Makefile: Move inclusion of Rules.
42159
421602011-04-19 Ulrich Drepper <drepper@gmail.com>
42161
42162 * nss/nss_files/files-initgroups.c: New file.
42163 * nss/Makefile (libnss_files-routines): Add files-initgroups.
42164 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42165 _nss_files_initgroups_dyn.
42166
421672011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
42168
42169 * elf/elf.h (R_ARM_IRELATIVE): Define.
42170
421712011-04-19 Ulrich Drepper <drepper@gmail.com>
42172
42173 * po/ru.po: Update from translation team.
42174
421752011-04-17 Ulrich Drepper <drepper@gmail.com>
42176
42177 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42178 dependencies.
42179
421802011-02-06 Mike Frysinger <vapier@gentoo.org>
42181
42182 [BZ #12653]
42183 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42184 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42185 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42186 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42188
421892011-03-28 Andreas Schwab <schwab@linux-m68k.org>
42190
42191 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42192 differing bytes.
42193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42196
421972011-04-17 Ulrich Drepper <drepper@gmail.com>
42198
42199 [BZ #12420]
42200 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42201 storing it.
42202 * stdlib/bug-getcontext.c: New file.
42203 * stdlib/Makefile: Add rules to build and run bug-getcontext.
42204
422052011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42206
42207 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42208 instructions into .machine "z9-109".
42209 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42210 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42211
422122011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42213
42214 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42215 between environment variables and auxiliary vector.
42216
422172011-04-16 Ulrich Drepper <drepper@gmail.com>
42218
42219 * Makefile: Add rules to build linkobj/libc.so.
42220 * include/libc-symbols.h: Define libc_hidden_nolink.
42221 * include/rpc/auth.h: Mark functions which are to be hidden.
42222 * include/rpc/auth_des.h: Likewise.
42223 * include/rpc/auth_unix.h: Likewise.
42224 * include/rpc/clnt.h: Likewise.
42225 * include/rpc/des_crypt.h: Likewise.
42226 * include/rpc/key_prot.h: Likewise.
42227 * include/rpc/pmap_clnt.h: Likewise.
42228 * include/rpc/pmap_prot.h: Likewise.
42229 * include/rpc/pmap_rmt.h: Likewise.
42230 * include/rpc/rpc_msg.h: Likewise.
42231 * include/rpc/svc.h: Likewise.
42232 * include/rpc/svc_auth.h: Likewise.
42233 * include/rpc/xdr.h: Likewise.
42234 * nis/Makefile: Link all DSOs against linkobj/libc.so.
42235 * nss/Makefile: Likewise.
42236 * sunrpc/Makefile: Don't install headers. Build library with normal
42237 entry points. Don't build rpcinfo. Link RPC tests appropriately.
42238 * sunrpc/auth_des.c: Hide exported symbols by default, export some
42239 for the compat linking library. Remove use of INTDEF/INTUSE.
42240 * sunrpc/auth_none.c: Likewise.
42241 * sunrpc/auth_unix.c: Likewise.
42242 * sunrpc/authdes_prot.c: Likewise.
42243 * sunrpc/authuxprot.c: Likewise.
42244 * sunrpc/clnt_gen.c: Likewise.
42245 * sunrpc/clnt_perr.c: Likewise.
42246 * sunrpc/clnt_raw.c: Likewise.
42247 * sunrpc/clnt_simp.c: Likewise.
42248 * sunrpc/clnt_tcp.c: Likewise.
42249 * sunrpc/clnt_udp.c: Likewise.
42250 * sunrpc/clnt_unix.c: Likewise.
42251 * sunrpc/des_crypt.c: Likewise.
42252 * sunrpc/des_soft.c: Likewise.
42253 * sunrpc/get_myaddr.c: Likewise.
42254 * sunrpc/key_call.c: Likewise.
42255 * sunrpc/key_prot.c: Likewise.
42256 * sunrpc/netname.c: Likewise.
42257 * sunrpc/pm_getmaps.c: Likewise.
42258 * sunrpc/pm_getport.c: Likewise.
42259 * sunrpc/pmap_clnt.c: Likewise.
42260 * sunrpc/pmap_prot.c: Likewise.
42261 * sunrpc/pmap_prot2.c: Likewise.
42262 * sunrpc/pmap_rmt.c: Likewise.
42263 * sunrpc/publickey.c: Likewise.
42264 * sunrpc/rpc_cmsg.c: Likewise.
42265 * sunrpc/rpc_common.c: Likewise.
42266 * sunrpc/rpc_dtable.c: Likewise.
42267 * sunrpc/rpc_prot.c: Likewise.
42268 * sunrpc/rpc_thread.c: Likewise.
42269 * sunrpc/rtime.c: Likewise.
42270 * sunrpc/svc.c: Likewise.
42271 * sunrpc/svc_auth.c: Likewise.
42272 * sunrpc/svc_authux.c: Likewise.
42273 * sunrpc/svc_raw.c: Likewise.
42274 * sunrpc/svc_run.c: Likewise.
42275 * sunrpc/svc_simple.c: Likewise.
42276 * sunrpc/svc_tcp.c: Likewise.
42277 * sunrpc/svc_udp.c: Likewise.
42278 * sunrpc/svc_unix.c: Likewise.
42279 * sunrpc/svcauth_des.c: Likewise.
42280 * sunrpc/xcrypt.c: Likewise.
42281 * sunrpc/xdr.c: Likewise.
42282 * sunrpc/xdr_array.c: Likewise.
42283 * sunrpc/xdr_float.c: Likewise.
42284 * sunrpc/xdr_intXX_t.c: Likewise.
42285 * sunrpc/xdr_mem.c: Likewise.
42286 * sunrpc/xdr_rec.c: Likewise.
42287 * sunrpc/xdr_ref.c: Likewise.
42288 * sunrpc/xdr_sizeof.c: Likewise.
42289 * sunrpc/xdr_stdio.c: Likewise.
42290
422912011-04-10 Ulrich Drepper <drepper@gmail.com>
42292
42293 [BZ #12650]
42294 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42295 * sysdeps/ia64/dl-tls.h: Likewise.
42296 * sysdeps/powerpc/dl-tls.h: Likewise.
42297 * sysdeps/s390/dl-tls.h: Likewise.
42298 * sysdeps/sh/dl-tls.h: Likewise.
42299 * sysdeps/sparc/dl-tls.h: Likewise.
42300 * sysdeps/x86_64/dl-tls.h: Likewise.
42301 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42302
423032011-03-14 Andreas Schwab <schwab@redhat.com>
42304
42305 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42306 rpath element also skip the following colon.
42307 (expand_dynamic_string_token): Add is_path parameter and pass
42308 down to DL_DST_REQUIRED and _dl_dst_substitute.
42309 (decompose_rpath): Call expand_dynamic_string_token with
42310 non-zero is_path. Ignore empty rpaths.
42311 (_dl_map_object_from_fd): Call expand_dynamic_string_token
42312 with zero is_path.
42313
423142011-04-08 Andreas Schwab <schwab@linux-m68k.org>
42315
42316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42317 Make cancelable.
42318
423192011-04-09 Ulrich Drepper <drepper@gmail.com>
42320
42321 [BZ #12655]
42322 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42323 Patch by Filipe David Manana <fdmanana@apache.org>.
42324
423252011-04-07 Andreas Schwab <schwab@redhat.com>
42326
42327 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42328 Maintain aligned stack.
42329 (CHECK_RSP): Remove unused macro.
42330
423312011-04-03 Ulrich Drepper <drepper@gmail.com>
42332
42333 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42334 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42335
423362011-04-02 Ulrich Drepper <drepper@gmail.com>
42337
42338 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42339
42340 * include/features.h: Mention __USE_XOPEN2K8 in comment.
42341
423422011-03-26 H.J. Lu <hongjiu.lu@intel.com>
42343
42344 [BZ #12518]
42345 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42346 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42347 * sysdeps/x86_64/memmove.c: New file.
42348 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42349 (memcpy): Renamed to ...
42350 (__new_memcpy): This.
42351 (memcpy): Provide GLIBC_2_14 memcpy.
42352 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42353 (memcpy): Provide GLIBC_2_2_5 memcpy.
42354
423552011-04-01 Ulrich Drepper <drepper@gmail.com>
42356
42357 [BZ #12631]
42358 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42359
423602011-03-30 Andreas Schwab <schwab@redhat.com>
42361
42362 * misc/syncfs.c: New file.
42363 * misc/Makefile (routines): Add syncfs.
42364 * posix/unistd.h: Declare syncfs.
42365 * sysdeps/unix/syscalls.list: Add syncfs.
42366
423672011-04-01 Andreas Schwab <schwab@redhat.com>
42368
42369 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42370 open_by_handle_at.
42371 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42372 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42376 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42378
423792011-04-01 Ulrich Drepper <drepper@gmail.com>
42380
42381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42383 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42385 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42388
42389 * io/Makefile: Compile fallocate.c, fallocate64.c, and
42390 sync_file_range.c with -fexceptions.
42391 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42392 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42393 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42394 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42395 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42396 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42398 sync_file_range as cancellation point
42399 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
42400 now a wrapper around __call_sync_file_range with cancellation handling.
42401 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42402 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
42403 function name to __call_sync_file_range.
42404 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42405 Add call_sync_file_range.
42406
424072011-04-01 Andreas Schwab <schwab@redhat.com>
42408
42409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42410 bits/timex.h.
42411
424122011-04-01 Ulrich Drepper <drepper@gmail.com>
42413
42414 * iconv/iconv.h: Fix typo in comment.
42415 * io/fcntl.h: Likewise.
42416 * libio/stdio.h: Likewise.
42417 * posix/spawn.h: Likewise.
42418 * posix/unistd.h: Likewise.
42419 * stdlib/stdlib.h: Likewise.
42420 * time/time.h: Likewise.
42421 * wcsmbs/wchar.h: Likewise.
42422
42423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42424 open_by_handle): Add.
42425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42426 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
42427 Augment a few comments.
42428 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42433 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42434 open_by_handle.
42435
42436 * io/fcntl.h (AT_EMPTY_PATH): Define.
42437
424382011-03-30 Ulrich Drepper <drepper@gmail.com>
42439
42440 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42441 * sysdeps/unix/sysv/linux/bits/time.h: New file.
42442 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42443 to...
42444 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
42445 * Versions.def: Add GLIBC_2.14.
42446 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42447 Export.
42448
424492011-03-22 Ulrich Drepper <drepper@gmail.com>
42450
42451 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42452 round counter.
42453 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42454
424552011-03-20 H.J. Lu <hongjiu.lu@intel.com>
42456
42457 [BZ #12597]
42458 * string/test-strncmp.c (do_page_test): New function.
42459 (check2): Likewise.
42460 (test_main): Call check2.
42461 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42462
424632011-03-20 Ulrich Drepper <drepper@gmail.com>
42464
42465 [BZ #12587]
42466 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42467 Handle cache information in CPU leaf 4.
42468 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42469
424702011-03-18 Ulrich Drepper <drepper@gmail.com>
42471
42472 [BZ #12583]
42473 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42474 character representation.
42475 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42476
424772011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
42478
42479 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42480 END(__isnan) to END(__isnanf) to match function entry point/label
42481 EALIGN(__isnanf,...).
42482
424832011-03-10 Jakub Jelinek <jakub@redhat.com>
42484
42485 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42486
424872011-03-10 Ulrich Drepper <drepper@gmail.com>
42488
42489 [BZ #12510]
42490 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42491 copy from the symbol referenced in the relocation to initialize the
42492 used variable.
42493 Patch by Piotr Bury <pbury@goahead.com>.
42494 * elf/Makefile: Add rules to build and tst-unique3.
42495 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42496 * elf/tst-unique3.cc: New file.
42497 * elf/tst-unique3.h: New file.
42498 * elf/tst-unique3lib.cc: New file.
42499 * elf/tst-unique3lib2.cc: New file.
42500
42501 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42502
425032011-03-10 Mike Frysinger <vapier@gentoo.org>
42504
42505 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42506 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
42507 to _start.
42508
425092011-03-06 Ulrich Drepper <drepper@gmail.com>
42510
42511 * elf/dl-load.c (_dl_map_object): If we are looking for the first
42512 to-be-loaded object along a path to loader is ld.so.
42513
425142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42515 Ulrich Drepper <drepper@gmail.com>
42516
42517 * sysdeps/x86_64/memset.S: After aligning destination, code
42518 branches to different locations depending on the value of
42519 misalignment, when multiarch is enabled. Fix this.
42520
425212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
42522
42523 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42524 Set _x86_64_preferred_memory_instruction for AMD processsors.
42525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42526 Set bit_Prefer_SSE_for_memop for AMD processors.
42527
425282011-03-04 Ulrich Drepper <drepper@gmail.com>
42529
42530 * libio/fmemopen.c (fmemopen): Optimize a bit.
42531
425322011-03-03 Andreas Schwab <schwab@redhat.com>
42533
42534 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42535
425362011-03-03 Roland McGrath <roland@redhat.com>
42537
42538 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42539
425402011-02-28 Aurelien Jarno <aurelien@aurel32.net>
42541
42542 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42543 __bzero_ultra1 instead of __memset_ultra1.
42544
425452011-02-23 Andreas Schwab <schwab@redhat.com>
42546 Ulrich Drepper <drepper@gmail.com>
42547
42548 [BZ #12509]
42549 * include/link.h (struct link_map): Add l_orig_initfini.
42550 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42551 returning unsuccessfully.
42552 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42553 close of a file loaded at startup, restore the original l_initfini
42554 list.
42555 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42556 list, store the pointer.
42557 * elf/Makefile ($(objpfx)noload-mem): New rule.
42558 (noload-ENV): Define.
42559 (tests): Add $(objpfx)noload-mem.
42560 * elf/noload.c: Include <memcheck.h>.
42561 (main): Call mtrace. Close all opened handles.
42562
425632011-02-17 Andreas Schwab <schwab@redhat.com>
42564
42565 [BZ #12454]
42566 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42567 dependencies are missing.
42568
425692011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
42570
42571 Fix __if_freereq crash: Unlike the generic version which uses free,
42572 Hurd needs munmap.
42573 * sysdeps/mach/hurd/ifreq.h: New file.
42574
425752011-01-27 Petr Baudis <pasky@suse.cz>
42576 Ulrich Drepper <drepper@gmail.com>
42577
42578 [BZ 12445]#
42579 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42580 to extend_alloca().
42581 * stdio-common/bug23.c: New file.
42582 * stdio-common/Makefile (tests): Add bug23.
42583
425842010-09-28 Andreas Schwab <schwab@redhat.com>
42585 Ulrich Drepper <drepper@gmail.com>
42586
42587 [BZ #12489]
42588 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42589 before performing relro protection. At old place add assertion
42590 to make sure nothing changed.
42591
425922011-02-17 Nathan Sidwell <nathan@codesourcery.com>
42593 Glauber de Oliveira Costa <glommer@gmail.com>
42594
42595 * elf/elf.h: Add new ARM TLS relocs.
42596
425972011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
42598
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42600 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42601 cast from r3.
42602 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42603 'tests' variable.
42604 * sysdeps/wordsize-64/tst-writev.c: New file.
42605
426062011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42607
42608 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42609 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42610 insns in _dl_start to prevent a TOC reference before relocs are
42611 resolved.
42612
426132011-02-15 Ulrich Drepper <drepper@gmail.com>
42614
42615 [BZ #12469]
42616 * Makeconfig: Remove RANLIB definition.
42617 * Makerules: Don't use RANLIB.
42618 * aclocal.m4: Remove ranlib test.
42619 * configure.in: No need to check for ranlib.
42620 * elf/rtld-Rules: Don't use RANLIB.
42621
426222011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42623
42624 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42625 protection macro.
42626 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42627 inclusion protection macro.
42628
42629 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42630 SIGRTMIN and SIGRTMAX and print information in that case only when
42631 SIGRTMIN is defined.
42632
426332011-02-11 Jakub Jelinek <jakub@redhat.com>
42634
42635 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42636 arginfo fn returning -1.
42637
42638 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42639 and thousands string is zero terminated.
42640
426412011-02-03 Andreas Schwab <schwab@redhat.com>
42642
42643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42644 sysdeps/unix/sysv/linux/bits/socket.h.
42645
426462011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42647
42648 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42649 (__CPU_COUNT): Remove old macros.
42650 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42651 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42652 (__CPU_ALLOC, __CPU_FREE): Add macros.
42653 (__sched_cpualloc, __sched_cpufree): Add declarations.
42654
426552011-02-05 Ulrich Drepper <drepper@gmail.com>
42656
42657 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42658 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42659 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42660 (readdhstai): Return value of addhstaiX call.
42661 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42662 (addgrbyX): Return value returned by cache_addgr.
42663 (readdgrbyname): Return value returned by addgrbyX.
42664 (readdgrbygid): Likewise.
42665 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42666 (addpwbyX): Return value returned by cache_addpw.
42667 (readdpwbyname): Return value returned by addhstbyX.
42668 (readdpwbyuid): Likewise.
42669 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42670 (addservbyX): Return value returned by cache_addserv.
42671 (readdservbyname): Return value returned by addservbyX:
42672 (readdservbyport): Likewise.
42673 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42674 (addhstbyX): Return value returned by cache_addhst.
42675 (readdhstbyname): Return value returned by addhstbyX.
42676 (readdhstbyaddr): Likewise.
42677 (readdhstbynamev6): Likewise.
42678 (readdhstbyaddrv6): Likewise.
42679 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42680 (readdinitgroups): Return value returned by addinitgroupsX.
42681 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42682 (prune_cache): Keep track of timeout value of re-added entries.
42683 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42684 * nscd/nscd.h: Adjust prototypes of readd* functions.
42685
426862011-02-04 Roland McGrath <roland@redhat.com>
42687
42688 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42689 (nis_stats): Likewise.
42690 * nis/nis_modify.c (nis_modify): Likewise.
42691 * nis/nis_remove.c (nis_remove): Likewise.
42692 * nis/nis_add.c (nis_add): Likewise.
42693
42694 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42695
42696 * posix/fnmatch_loop.c: Add some consts.
42697
42698 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42699
427002011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42701
42702 [BZ #12460]
42703 * config.make.in (config-cflags-novzeroupper): Define.
42704 * configure.in: Substitute libc_cv_cc_novzeroupper.
42705 * elf/Makefile (AVX-CFLAGS): Define.
42706 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42707 (CFLAGS-tst-auditmod4a.c): Likewise.
42708 (CFLAGS-tst-auditmod4b.c): Likewise.
42709 (CFLAGS-tst-auditmod6b.c): Likewise.
42710 (CFLAGS-tst-auditmod6c.c): Likewise.
42711 (CFLAGS-tst-auditmod7b.c): Likewise.
42712 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42713
427142011-02-02 Ulrich Drepper <drepper@gmail.com>
42715
42716 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42717 function to the callback.
42718 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42719
427202011-02-02 Andreas Schwab <schwab@redhat.com>
42721
42722 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42723 of errno.
42724
427252011-01-19 Ulrich Drepper <drepper@gmail.com>
42726
42727 [BZ #11724]
42728 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42729 of constructors.
42730 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42731 of destructors.
42732 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42733
42734 [BZ #11724]
42735 * elf/Makefile: Add rules to build and run new test.
42736 * elf/tst-initorder.c: New file.
42737 * elf/tst-initorder.exp: New file.
42738 * elf/tst-initordera1.c: New file.
42739 * elf/tst-initordera2.c: New file.
42740 * elf/tst-initordera3.c: New file.
42741 * elf/tst-initordera4.c: New file.
42742 * elf/tst-initorderb1.c: New file.
42743 * elf/tst-initorderb2.c: New file.
42744 * elf/tst-order-a1.c: New file.
42745 * elf/tst-order-a2.c: New file.
42746 * elf/tst-order-a3.c: New file.
42747 * elf/tst-order-a4.c: New file.
42748 * elf/tst-order-b1.c: New file.
42749 * elf/tst-order-b2.c: New file.
42750 * elf/tst-order-main.c: New file.
42751 New test case by George Gensure <werkt0@gmail.com>.
42752
427532010-10-01 Andreas Schwab <schwab@redhat.com>
42754
42755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42756 decoding ACE if AI_CANONIDN.
42757
427582011-01-18 Ulrich Drepper <drepper@gmail.com>
42759
42760 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42761
427622011-01-17 Ulrich Drepper <drepper@gmail.com>
42763
42764 * version.h (RELEASE): Bump for 2.13 release.
42765 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42766
42767 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42768
42769 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42770 MADV_NOHUGEPAGE.
42771 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42773 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42774 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42775 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42776 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42777
42778 * posix/getconf.c: Update copyright year.
42779 * catgets/gencat.c: Likewise.
42780 * csu/version.c: Likewise.
42781 * debug/catchsegv.sh: Likewise.
42782 * debug/xtrace.sh: Likewise.
42783 * elf/ldconfig.c: Likewise.
42784 * elf/ldd.bash.in: Likewise.
42785 * elf/sprof.c (print_version): Likewise.
42786 * iconv/iconv_prog.c: Likewise.
42787 * iconv/iconvconfig.c: Likewise.
42788 * locale/programs/locale.c: Likewise.
42789 * locale/programs/localedef.c: Likewise.
42790 * malloc/memusage.sh: Likewise.
42791 * malloc/mtrace.pl: Likewise.
42792 * nscd/nscd.c (print_version): Likewise.
42793 * nss/getent.c: Likewise.
42794
42795 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42796 PF_CAIF, and PF_ALG.
42797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42798
427992011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42800
42801 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42802 (modules-names): Use them.
42803 (ifunc-test-modules, ifunc-pie-tests): Define.
42804 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42805 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42806 (test-extras): Likewise.
42807 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42808 $(compile-command.c).
42809 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42810 (all-built-dso): Define.
42811 (check-textrel.out, check-execstack.out): Depend on it.
42812
42813 * configure.in: Don't override --enable-multi-arch.
42814
428152011-01-15 Ulrich Drepper <drepper@gmail.com>
42816
42817 [BZ #6812]
42818 * nscd/hstcache.c (tryagain): Define.
42819 (cache_addhst): Return tryagain not notfound for temporary errors.
42820 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42821 failed.
42822
428232011-01-14 Ulrich Drepper <drepper@gmail.com>
42824
42825 [BZ #10563]
42826 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42827 to make the syscall.
42828 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42829
42830 [BZ #12378]
42831 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42832 and fall back to matching as normal character if the string ends before
42833 the matching ']' is found. This is what POSIX requires.
42834 * posix/testfnm.c: Adjust test result.
42835 * posix/globtest.sh: Adjust test result. Add new test.
42836 * posix/tst-fnmatch.input: Likewise.
42837 * posix/tst-fnmatch2.c: Add new test.
42838
428392010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42840
42841 * elf/Makefile (check-execstack): Revert last change. Depend on
42842 check-execstack.h.
42843 (check-execstack.h): New target.
42844 (generated): Add check-execstack.h.
42845 * elf/check-execstack.c: Include "check-execstack.h".
42846 (main): Revert last change.
42847 (handle_file): Return zero if GNU_STACK is absent and
42848 DEFAULT_STACK_PERMS doesn't include PF_X.
42849
428502011-01-13 Ulrich Drepper <drepper@gmail.com>
42851
42852 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42853 in child fails because the descriptor is already closed.
42854 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42855 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42856 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42857
42858 [BZ #12397]
42859 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42860 syscall.
42861
42862 [BZ #10484]
42863 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42864 temporary buffer used to handle multi lookups locally.
42865 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42866
428672011-01-12 Ulrich Drepper <drepper@gmail.com>
42868
42869 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42870 loader is ld.so.
42871
428722011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42873
42874 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42875 alignment for SSE2.
42876
428772011-01-12 Ulrich Drepper <drepper@gmail.com>
42878
42879 [BZ #12394]
42880 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42881 characters. When rounding increased number of integer digits recompute
42882 number of groups.
42883 * stdio-common/tst-grouping.c: New file.
42884 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42885
428862011-01-09 Ulrich Drepper <drepper@gmail.com>
42887
42888 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42889 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42890
42891 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42892 void.
42893 * bits/select.h: Likewise.
42894
428952011-01-08 Ulrich Drepper <drepper@gmail.com>
42896
42897 * po/ja.po: Update from translation team.
42898
428992011-01-04 David S. Miller <davem@sunset.davemloft.net>
42900
42901 [BZ #11155]
42902 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42903 implementation just like for lxstat, fxstatat, et al.
42904
429052010-12-27 Jim Meyering <meyering@redhat.com>
42906
42907 [BZ #12348]
42908 * posix/regexec.c (build_trtable): Return failure indication upon
42909 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42910
429112010-12-25 Ulrich Drepper <drepper@gmail.com>
42912
42913 [BZ #12201]
42914 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42915 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42916 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42917 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42918
42919 [BZ #12207]
42920 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42921
42922 [BZ #12204]
42923 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42924 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42925
429262010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42927
42928 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42929 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42930 script has SORT_BY_INIT_PRIORITY.
42931 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42932 NO_CTORS_DTORS_SECTIONS is defined.
42933 * elf/soinit.c: Likewise.
42934 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42935 NO_CTORS_DTORS_SECTIONS is defined.
42936 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42937 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42938 * sysdeps/sh/init-first.c: Likewise.
42939 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42940
429412010-12-24 Ulrich Drepper <drepper@gmail.com>
42942
42943 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42944 always use the slow path.
42945
429462010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42947
42948 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42949 similar rule which adds the sysdep directories to the header search in
42950 order to pick up the correct platform stackinfo.h.
42951 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42952 perform test if it is, otherwise return successfully without testing.
42953 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42954 DEFAULT_STACK_PERMS define in stackinfo.h.
42955 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42956 defined in stackinfo.h.
42957 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42958 DEFAULT_STACK_PERMS defined in stackinfo.h.
42959 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42960 * sysdeps/ia64/stackinfo.h: Likewise.
42961 * sysdeps/s390/stackinfo.h: Likewise.
42962 * sysdeps/sh/stackinfo.h: Likewise.
42963 * sysdeps/sparc/stackinfo.h: Likewise.
42964 * sysdeps/x86_64/stackinfo.h: Likewise.
42965 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42966 PF_X for powerpc64. Retain PF_X for powerpc32.
42967
429682010-12-19 Ulrich Drepper <drepper@gmail.com>
42969
42970 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42971 accurately.
42972 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42973 GETDENTS_64BIT_ALIGNED.
42974
429752010-12-14 Ulrich Drepper <dreper@gmail.com>
42976
42977 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42978
429792010-12-10 Andreas Schwab <schwab@redhat.com>
42980
42981 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42982 _GNU_SOURCE.
42983
42984 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42985 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42986 Remove __restrict.
42987 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42988 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42989
429902010-12-09 Ulrich Drepper <drepper@gmail.com>
42991
42992 [BZ #11655]
42993 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42994 are initialized.
42995
429962010-12-09 Jakub Jelinek <jakub@redhat.com>
42997
42998 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42999
430002010-12-03 Ulrich Drepper <drepper@gmail.com>
43001
43002 * po/it.po: Update from translation team.
43003
430042010-12-01 H.J. Lu <hongjiu.lu@intel.com>
43005
43006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43007 unused codes.
43008
430092010-11-30 Ulrich Drepper <drepper@gmail.com>
43010
43011 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43012
430132010-11-24 Andreas Schwab <schwab@redhat.com>
43014
43015 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43016 specially.
43017 (gaih_getanswer_slice): Likewise.
43018
430192010-10-20 Jakub Jelinek <jakub@redhat.com>
43020
43021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43022
430232010-05-31 Petr Baudis <pasky@suse.cz>
43024
43025 [BZ #11149]
43026 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43027 silently even in the chroot mode.
43028
430292010-11-22 Ulrich Drepper <drepper@gmail.com>
43030
43031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43032 last patch a bit. Pretty printing
43033
430342010-05-31 Petr Baudis <pasky@suse.cz>
43035
43036 [BZ #10085]
43037 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43038 initialization of skip_initgroups_dyn.
43039
430402010-11-19 Ulrich Drepper <drepper@gmail.com>
43041
43042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43044
430452010-11-16 Ulrich Drepper <drepper@gmail.com>
43046
43047 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43048
430492010-11-11 Andreas Schwab <schwab@redhat.com>
43050
43051 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43052 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43053 (tst-fnmatch-ENV): Set MALLOC_TRACE.
43054 ($(objpfx)tst-fnmatch-mem): New rule.
43055 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43056 * posix/tst-fnmatch.c (main): Call mtrace.
43057
430582010-11-11 H.J. Lu <hongjiu.lu@intel.com>
43059
43060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43061 Support Intel processor model 6 and model 0x2c.
43062
430632010-11-10 Luis Machado <luisgpm@br.ibm.com>
43064
43065 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43066 signed comparison.
43067
430682010-11-09 H.J. Lu <hongjiu.lu@intel.com>
43069
43070 [BZ #12205]
43071 * string/test-strncasecmp.c (check_result): New function.
43072 (do_one_test): Use it.
43073 (check1): New function.
43074 (test_main): Use it.
43075 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43076 Support strcasecmp and strncasecmp.
43077
430782010-11-08 Ulrich Drepper <drepper@gmail.com>
43079
43080 [BZ #12194]
43081 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43082 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43083
430842010-11-07 H.J. Lu <hongjiu.lu@intel.com>
43085
43086 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43087 IFUNC support.
43088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43089 memset-x86-64.
43090 * sysdeps/x86_64/multiarch/bzero.S: New file.
43091 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43092 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43093 * sysdeps/x86_64/multiarch/memset.S: New file.
43094 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43096 Set bit_Prefer_SSE_for_memop for Intel processors.
43097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43098 Define.
43099 (index_Prefer_SSE_for_memop): Define.
43100 (HAS_PREFER_SSE_FOR_MEMOP): Define.
43101
431022010-11-04 Luis Machado <luisgpm@br.ibm.com>
43103
43104 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43105 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43106
431072010-11-03 H.J. Lu <hongjiu.lu@intel.com>
43108
43109 [BZ #12191]
43110 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43111 (__x86_64_raw_data_cache_size_half): Likewise.
43112 (__x86_64_raw_shared_cache_size): Likewise.
43113 (__x86_64_raw_shared_cache_size_half): Likewise.
43114
43115 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43116 (__x86_64_raw_data_cache_size_half): Likewise.
43117 (__x86_64_raw_shared_cache_size): Likewise.
43118 (__x86_64_raw_shared_cache_size_half): Likewise.
43119 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43120 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43121 and __x86_64_raw_shared_cache_size_half. Round
43122 __x86_64_data_cache_size_half, __x86_64_data_cache_size
43123 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43124 to multiple of 256 bytes.
43125
431262010-11-03 Ulrich Drepper <drepper@gmail.com>
43127
43128 [BZ #12167]
43129 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43130 of inacessible symlinks. Verify result of symlink before returning it.
43131 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43132 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43133
431342010-10-28 Erich Ritz <erichritz@gmail.com>
43135
43136 * math/math.h (isinf): Fix typo in comment.
43137
431382010-11-01 Ulrich Drepper <drepper@gmail.com>
43139
43140 * po/da.po: Update from translation team.
43141
431422010-10-26 Ulrich Drepper <drepper@gmail.com>
43143
43144 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43145 is added to the list.
43146
431472010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43148 Ulrich Drepper <drepper@gmail.com>
43149
43150 * elf/dl-object.c (_dl_new_object): Don't append the new object to
43151 the global list here. Move code to...
43152 (_dl_add_to_namespace_list): ...here. New function.
43153 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43154 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43155 * elf/dl-load.c (lose): Don't remove the element from the list.
43156 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43157 (_dl_map_object): Likewise.
43158
431592010-10-25 Ulrich Drepper <drepper@gmail.com>
43160
43161 [BZ #12159]
43162 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43163 into all bytes of SSE register.
43164 Patch by Richard Li <richardpku@gmail.com>.
43165
431662010-10-24 Ulrich Drepper <drepper@gmail.com>
43167
43168 [BZ #12140]
43169 * malloc/malloc.c (_int_free): Fill correct number of bytes when
43170 perturbing.
43171
431722010-10-20 Michael B. Brutman <brutman@us.ibm.com>
43173
43174 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43175 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43176 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43179 submachine.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43181
431822010-10-22 Andreas Schwab <schwab@redhat.com>
43183
43184 * include/dlfcn.h (__RTLD_SECURE): Define.
43185 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
43186 mode & __RTLD_SECURE instead.
43187 (open_path): Rename preloaded parameter to secure.
43188 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43189 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43190 * elf/dl-deps.c (openaux): Likewise.
43191 * elf/rtld.c (struct map_args): Remove is_preloaded.
43192 (map_doit): Don't use it.
43193 (dl_main): Likewise.
43194 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43195 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43196
431972010-09-09 Andreas Schwab <schwab@redhat.com>
43198
43199 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43200 (sysd-rules-targets): Remove duplicates.
43201 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43202 rtld-%.$o dependency.
43203
432042010-10-18 Andreas Schwab <schwab@redhat.com>
43205
43206 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43207 _dl_map_object do it.
43208
432092010-10-19 Ulrich Drepper <drepper@gmail.com>
43210
43211 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43212 fast fma builtins, define the macros in the C99 standard.
43213 (FP_FAST_FMAF): Likewise.
43214 (FP_FAST_FMAL): Likewise.
43215 * sysdeps/x86_64/bits/mathdef.h: Likewise.
43216
43217 * bits/mathdef.h: Update copyright year.
43218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43219
432202010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
43221
43222 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43223 builtins, define the macros in the C99 standard.
43224 (FP_FAST_FMAF): Likewise.
43225 (FP_FAST_FMAL): Likewise.
43226 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43227 multiply/add.
43228 (FP_FAST_FMAF): Likewise.
43229
432302010-10-15 Jakub Jelinek <jakub@redhat.com>
43231
43232 [BZ #3268]
43233 * math/libm-test.inc (fma_test): Some new testcases.
43234 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43236 y and infinite z. Do multiplication by C already in long double.
43237 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43239 y and infinite z. Do bitwise or of inexact bit into u.d.
43240 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43241 * sysdeps/i386/fpu/s_fmaf.S: Removed.
43242 * sysdeps/i386/fpu/s_fma.S: Removed.
43243 * sysdeps/i386/fpu/s_fmal.S: Removed.
43244
432452010-10-16 Jakub Jelinek <jakub@redhat.com>
43246
43247 [BZ #3268]
43248 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43250 computation is not scheduled after fetestexcept. Fix value
43251 of minimum denormal long double.
43252
432532010-10-14 Jakub Jelinek <jakub@redhat.com>
43254
43255 [BZ #3268]
43256 * math/libm-test.inc (fma_test): Add some more tests.
43257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43258 correctly.
43259
432602010-10-15 Andreas Schwab <schwab@redhat.com>
43261
43262 * scripts/data/localplt-s390-linux-gnu.data: New file.
43263 * scripts/data/localplt-s390x-linux-gnu.data: New file.
43264
432652010-10-13 Jakub Jelinek <jakub@redhat.com>
43266
43267 [BZ #3268]
43268 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43269 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43270 instead of dbl-64.
43271 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43272 inlines.
43273 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43275 if one of x and y is very large and the other is subnormal.
43276 * sysdeps/s390/fpu/s_fmaf.c: New file.
43277 * sysdeps/s390/fpu/s_fma.c: New file.
43278 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43279 * sysdeps/powerpc/fpu/s_fma.S: New file.
43280 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43281 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43282 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43283
432842010-10-12 Jakub Jelinek <jakub@redhat.com>
43285
43286 [BZ #3268]
43287 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43288 fma tests.
43289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43290 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43291 * sysdeps/i386/i686/multiarch/s_fma.c: Include
43292 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43293 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43294 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43296
432972010-10-12 Ulrich Drepper <drepper@redhat.com>
43298
43299 [BZ #12078]
43300 * posix/regcomp.c (parse_branch): One more memory leak plugged.
43301 * posix/bug-regex31.input: Add test case.
43302
433032010-10-11 Ulrich Drepper <drepper@gmail.com>
43304
43305 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43306 * posix/bug-regex31.input: New file.
43307
43308 [BZ #12078]
43309 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43310 (parse_sub_exp): Fix last change, use postorder.
43311
43312 * posix/bug-regex31.c: New file.
43313 * posix/Makefile: Add rules to build and run bug-regex31.
43314
43315 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43316
43317 [BZ #12078]
43318 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43319
43320 [BZ #12108]
43321 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43322 to have entries in sys_siglist.
43323
43324 [BZ #12093]
43325 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43326 be NULL.
43327
433282010-10-07 Jakub Jelinek <jakub@redhat.com>
43329
43330 [BZ #3268]
43331 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43332 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43333 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43334 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43335 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43336 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43337 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43338 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43339 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43340 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43341 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43342 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43343 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43344 * math/ftestexcept.c (fetestexcept): Likewise.
43345 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43346 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43347 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43348 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43349 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43350 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43351 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43352
433532010-10-11 Ulrich Drepper <drepper@gmail.com>
43354
43355 [BZ #12107]
43356 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43357 newline.
43358
433592010-10-06 Ulrich Drepper <drepper@gmail.com>
43360
43361 * string/bug-strstr1.c: New file.
43362 * string/Makefile: Add rules to build and run bug-strstr1.
43363
433642010-10-05 Eric Blake <eblake@redhat.com>
43365
43366 [BZ #12092]
43367 * string/str-two-way.h (two_way_long_needle): Always clear memory
43368 when skipping input due to the shift table.
43369
433702010-10-03 Ulrich Drepper <drepper@gmail.com>
43371
43372 [BZ #12005]
43373 * malloc/mcheck.c: Handle large requests.
43374
43375 [BZ #12077]
43376 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43377 for strncmp and strncasecmp.
43378 * string/stratcliff.c: Add tests for strcmp and strncmp.
43379 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43380
433812010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43382
43383 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43384 __set_fpscr.
43385
433862010-09-30 Andreas Jaeger <aj@suse.de>
43387
43388 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43389 (CGROUP_SUPER_MAGIC): Define.
43390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43391 Handle btrfs and cgroup file systems.
43392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43393 Likewise.
43394
433952010-09-27 Luis Machado <luisgpm@br.ibm.com>
43396
43397 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43398 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43399
434002010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43401
43402 [BZ #12067]
43403 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43404 trying to locate the ELF header.
43405
434062010-09-27 Andreas Schwab <schwab@redhat.com>
43407
43408 [BZ #11611]
43409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43410 Mask out sign-bit copies when constructing f_fsid.
43411
434122010-09-24 Petr Baudis <pasky@suse.cz>
43413
43414 * debug/stack_chk_fail_local.c: Add missing licence exception.
43415 * debug/warning-nop.c: Likewise.
43416
434172010-09-15 Joseph Myers <joseph@codesourcery.com>
43418
43419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43420 implementing getdents64 using getdents syscall, set d_type if
43421 __ASSUME_GETDENTS32_D_TYPE.
43422
434232010-09-16 Andreas Schwab <schwab@redhat.com>
43424
43425 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43426 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43427
434282010-09-21 Ulrich Drepper <drepper@redhat.com>
43429
43430 [BZ #12037]
43431 * posix/unistd.h: Undo change of feature selection for ftruncate from
43432 2010-01-11.
43433
434342010-09-20 Ulrich Drepper <drepper@redhat.com>
43435
43436 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43437 detection.
43438
434392010-09-20 Andreas Schwab <schwab@redhat.com>
43440
43441 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43442 fanotify_mark.
43443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43444
434452010-09-14 Andreas Schwab <schwab@redhat.com>
43446
43447 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43448 variables after CHECK_SP call.
43449 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43450
434512010-09-13 Andreas Schwab <schwab@redhat.com>
43452 Ulrich Drepper <drepper@redhat.com>
43453
43454 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43455 re-relocationg ld.so.
43456 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43457 _dl_init_paths call.
43458 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
43459 here anymore.
43460
434612010-09-14 Ulrich Drepper <drepper@redhat.com>
43462
43463 * resolv/res_init.c (__res_vinit): Count the default server we added.
43464
434652010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
43466 Ulrich Drepper <drepper@redhat.com>
43467
43468 [BZ #11968]
43469 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43470 (____longjmp_chk): Use %ebx for saving value across system call.
43471 Add unwind info.
43472
434732010-09-06 Andreas Schwab <schwab@redhat.com>
43474
43475 * manual/Makefile: Don't mix pattern rules with normal rules.
43476
434772010-09-05 Andreas Schwab <schwab@linux-m68k.org>
43478
43479 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43480 operation.
43481 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43482 * libio/iofopncook.c (_IO_cookie_init): Likewise.
43483 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43484 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43486 Likewise.
43487
434882010-09-04 Ulrich Drepper <drepper@redhat.com>
43489
43490 [BZ #11979]
43491 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43492 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43493
434942010-09-02 Ulrich Drepper <drepper@redhat.com>
43495
43496 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43497 * sysdeps/x86_64/addmul_1.S: Likewise.
43498 * sysdeps/x86_64/lshift.S: Likewise.
43499 * sysdeps/x86_64/mul_1.S: Likewise.
43500 * sysdeps/x86_64/rshift.S: Likewise.
43501 * sysdeps/x86_64/sub_n.S: Likewise.
43502 * sysdeps/x86_64/submul_1.S: Likewise.
43503
435042010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
43505
43506 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43507 Define __sched_param instead of SCHED_* and sched_param when
43508 <bits/sched.h> is included with __need_schedparam defined.
43509 * bits/sched.h [__need_schedparam]
43510 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43511 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43512 (__defined_schedparam): Define to 1.
43513 (__sched_param): New structure, identical to sched_param.
43514 (__need_schedparam): Undefine.
43515
435162010-08-31 Mike Frysinger <vapier@gentoo.org>
43517
43518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43519 (epoll_create1): Declare.
43520
43521 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43522
435232010-08-31 Andreas Schwab <schwab@redhat.com>
43524
43525 [BZ #7066]
43526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43527 shifting retval into place.
43528
435292010-09-01 Ulrich Drepper <drepper@redhat.com>
43530
43531 * nis/rpcsvc/nis.h: Update copyright notice.
43532 * nis/rpcsvc/nis.x: Likewise.
43533 * nis/rpcsvc/nis_callback.h: Likewise.
43534 * nis/rpcsvc/nis_callback.x: Likewise.
43535 * nis/rpcsvc/nis_object.x: Likewise.
43536 * nis/rpcsvc/nis_tags.h: Likewise.
43537 * nis/rpcsvc/yp.h: Likewise.
43538 * nis/rpcsvc/yp.x: Likewise.
43539 * nis/rpcsvc/ypupd.h: Likewise.
43540 * nis/yp_xdr.c: Likewise.
43541 * nis/ypupdate_xdr.c: Likewise.
43542
43543 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
43544 mainly the body of pmap_getport. Add parameters to specify timeouts.
43545 (pmap_getport): Use __libc_rpc_getport.
43546 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43547 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43548 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43549
435502010-08-31 Andreas Schwab <schwab@linux-m68k.org>
43551
43552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43553 fanotify_mark.
43554
435552010-08-27 Roland McGrath <roland@redhat.com>
43556
43557 * sysdeps/i386/i686/multiarch/Makefile
43558 (CFLAGS-varshift.c): New variable.
43559
435602010-08-27 Ulrich Drepper <drepper@redhat.com>
43561
43562 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43563 * sysdeps/i386/i686/multiarch/varshift.c: New file.
43564
43565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43566
43567 * sysdeps/x86_64/strlen.S: Minimal code improvement.
43568
435692010-08-26 H.J. Lu <hongjiu.lu@intel.com>
43570
43571 * sysdeps/x86_64/strlen.S: Unroll the loop.
43572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43573 strlen-sse2 strlen-sse2-bsf.
43574 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43575 __strlen_no_bsf if bit_Slow_BSF is set.
43576 (__strlen_sse42): Removed.
43577 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43578 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43579
435802010-08-25 Roland McGrath <roland@redhat.com>
43581
43582 * sysdeps/x86_64/multiarch/varshift.S: File removed.
43583 * sysdeps/x86_64/multiarch/varshift.c: New file.
43584 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43585 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43586 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43587 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43588
435892010-08-25 H.J. Lu <hongjiu.lu@intel.com>
43590
43591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43592 strlen-sse2 strlen-sse2-bsf.
43593 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43594 __strlen_sse2_bsf if bit_Slow_BSF is unset.
43595 (__strlen_sse2): Removed.
43596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43599 bit_Slow_BSF for Atom.
43600 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43601 (index_Slow_BSF): Define.
43602 (HAS_SLOW_BSF): Define.
43603
436042010-08-25 Ulrich Drepper <drepper@redhat.com>
43605
43606 [BZ #10851]
43607 * resolv/res_init.c (__res_vinit): When no server address at all
43608 is given default to loopback.
43609
436102010-08-24 Roland McGrath <roland@redhat.com>
43611
43612 * configure.in: Remove config-name.h generation.
43613 * configure: Regenerated.
43614 * config-name.in: File removed.
43615 * scripts/config-uname.sh: New file.
43616 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43617 ($(objdir)config-name.h): New target.
43618
43619 * sunrpc/rpc_parse.h: Avoid nested comment.
43620
436212010-08-24 Richard Henderson <rth@redhat.com>
43622 Ulrich Drepper <drepper@redhat.com>
43623 H.J. Lu <hongjiu.lu@intel.com>
43624
43625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43627 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43628 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43629 _mm_alignr_epi8 with _mm_loadu_si128.
43630 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43631 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43632 (__m128i_shift_right): Removed.
43633 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43634 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43635 * sysdeps/x86_64/multiarch/varshift.h: New file.
43636 * sysdeps/x86_64/multiarch/varshift.S: New file.
43637
436382010-08-21 Mike Frysinger <vapier@gentoo.org>
43639
43640 * configure.in: Move assembler checks to before sysdep dir checking.
43641
436422010-08-20 Petr Baudis <pasky@suse.cz>
43643
43644 * LICENSES: Sync the sunrpc license.
43645
436462010-08-19 Ulrich Drepper <drepper@redhat.com>
43647
43648 * sunrpc/auth_des.c: Update copyright notice once again.
43649 * sunrpc/auth_none.c: Likewise.
43650 * sunrpc/auth_unix.c: Likewise.
43651 * sunrpc/authdes_prot.c: Likewise.
43652 * sunrpc/authuxprot.c: Likewise.
43653 * sunrpc/bindrsvprt.c: Likewise.
43654 * sunrpc/clnt_gen.c: Likewise.
43655 * sunrpc/clnt_perr.c: Likewise.
43656 * sunrpc/clnt_raw.c: Likewise.
43657 * sunrpc/clnt_simp.c: Likewise.
43658 * sunrpc/clnt_tcp.c: Likewise.
43659 * sunrpc/clnt_udp.c: Likewise.
43660 * sunrpc/clnt_unix.c: Likewise.
43661 * sunrpc/des_crypt.c: Likewise.
43662 * sunrpc/des_soft.c: Likewise.
43663 * sunrpc/get_myaddr.c: Likewise.
43664 * sunrpc/getrpcport.c: Likewise.
43665 * sunrpc/key_call.c: Likewise.
43666 * sunrpc/key_prot.c: Likewise.
43667 * sunrpc/openchild.c: Likewise.
43668 * sunrpc/pm_getmaps.c: Likewise.
43669 * sunrpc/pm_getport.c: Likewise.
43670 * sunrpc/pmap_clnt.c: Likewise.
43671 * sunrpc/pmap_prot.c: Likewise.
43672 * sunrpc/pmap_prot2.c: Likewise.
43673 * sunrpc/pmap_rmt.c: Likewise.
43674 * sunrpc/rpc/auth.h: Likewise.
43675 * sunrpc/rpc/auth_unix.h: Likewise.
43676 * sunrpc/rpc/clnt.h: Likewise.
43677 * sunrpc/rpc/des_crypt.h: Likewise.
43678 * sunrpc/rpc/key_prot.h: Likewise.
43679 * sunrpc/rpc/netdb.h: Likewise.
43680 * sunrpc/rpc/pmap_clnt.h: Likewise.
43681 * sunrpc/rpc/pmap_prot.h: Likewise.
43682 * sunrpc/rpc/pmap_rmt.h: Likewise.
43683 * sunrpc/rpc/rpc.h: Likewise.
43684 * sunrpc/rpc/rpc_des.h: Likewise.
43685 * sunrpc/rpc/rpc_msg.h: Likewise.
43686 * sunrpc/rpc/svc.h: Likewise.
43687 * sunrpc/rpc/svc_auth.h: Likewise.
43688 * sunrpc/rpc/types.h: Likewise.
43689 * sunrpc/rpc/xdr.h: Likewise.
43690 * sunrpc/rpc_clntout.c: Likewise.
43691 * sunrpc/rpc_cmsg.c: Likewise.
43692 * sunrpc/rpc_common.c: Likewise.
43693 * sunrpc/rpc_cout.c: Likewise.
43694 * sunrpc/rpc_dtable.c: Likewise.
43695 * sunrpc/rpc_hout.c: Likewise.
43696 * sunrpc/rpc_main.c: Likewise.
43697 * sunrpc/rpc_parse.c: Likewise.
43698 * sunrpc/rpc_parse.h: Likewise.
43699 * sunrpc/rpc_prot.c: Likewise.
43700 * sunrpc/rpc_sample.c: Likewise.
43701 * sunrpc/rpc_scan.c: Likewise.
43702 * sunrpc/rpc_scan.h: Likewise.
43703 * sunrpc/rpc_svcout.c: Likewise.
43704 * sunrpc/rpc_tblout.c: Likewise.
43705 * sunrpc/rpc_util.c: Likewise.
43706 * sunrpc/rpc_util.h: Likewise.
43707 * sunrpc/rpcinfo.c: Likewise.
43708 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43709 * sunrpc/rpcsvc/key_prot.x: Likewise.
43710 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43711 * sunrpc/rpcsvc/mount.x: Likewise.
43712 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43713 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43714 * sunrpc/rpcsvc/rex.x: Likewise.
43715 * sunrpc/rpcsvc/rstat.x: Likewise.
43716 * sunrpc/rpcsvc/rusers.x: Likewise.
43717 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43718 * sunrpc/rpcsvc/spray.x: Likewise.
43719 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43720 * sunrpc/rtime.c: Likewise.
43721 * sunrpc/svc.c: Likewise.
43722 * sunrpc/svc_auth.c: Likewise.
43723 * sunrpc/svc_authux.c: Likewise.
43724 * sunrpc/svc_raw.c: Likewise.
43725 * sunrpc/svc_run.c: Likewise.
43726 * sunrpc/svc_simple.c: Likewise.
43727 * sunrpc/svc_tcp.c: Likewise.
43728 * sunrpc/svc_udp.c: Likewise.
43729 * sunrpc/svc_unix.c: Likewise.
43730 * sunrpc/svcauth_des.c: Likewise.
43731 * sunrpc/xcrypt.c: Likewise.
43732 * sunrpc/xdr.c: Likewise.
43733 * sunrpc/xdr_array.c: Likewise.
43734 * sunrpc/xdr_float.c: Likewise.
43735 * sunrpc/xdr_mem.c: Likewise.
43736 * sunrpc/xdr_rec.c: Likewise.
43737 * sunrpc/xdr_ref.c: Likewise.
43738 * sunrpc/xdr_sizeof.c: Likewise.
43739 * sunrpc/xdr_stdio.c: Likewise.
43740
43741 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43742 handling.
43743
437442010-08-19 Andreas Schwab <schwab@redhat.com>
43745
43746 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43747
437482010-08-19 Luis Machado <luisgpm@br.ibm.com>
43749
43750 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43751 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43753 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43755 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43756 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43757 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43758 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43759 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43760 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43761 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43762 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43763 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43764
437652010-07-26 Anton Blanchard <anton@samba.org>
43766
43767 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43768 * malloc/arena.c (heap_trim): Likewise.
43769
437702010-08-16 Ulrich Drepper <drepper@redhat.com>
43771
43772 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43773 here. Not...
43774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43775 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43776
437772010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43778
43779 * sysdeps/i386/elf/Makefile: New file.
43780
437812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43782
43783 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43784 from fanotify_init.
43785 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43787
437882010-08-15 Ulrich Drepper <drepper@redhat.com>
43789
43790 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43791 of strncasecmp_l.
43792 * sysdeps/multiarch/strcmp.S: Likewise.
43793
437942010-08-14 Ulrich Drepper <drepper@redhat.com>
43795
43796 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43797 strncase_l-nonascii.
43798 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43799 Add strncase_l-ssse3.
43800 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43801 * sysdeps/x86_64/strcmp.S: Likewise.
43802 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43803 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43804 * sysdeps/x86_64/strncase.S: New file.
43805 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43806 * sysdeps/x86_64/strncase_l.S: New file.
43807 * string/Makefile (strop-tests): Add strncasecmp.
43808 * string/test-strncasecmp.c: New file.
43809
43810 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43811 warning.
43812
43813 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43814 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43815
438162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43817
43818 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43819
438202010-08-12 Ulrich Drepper <drepper@redhat.com>
43821
43822 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43823 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43824 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43825
438262010-05-01 Alan Modra <amodra@gmail.com>
43827
43828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43829 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43830 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43831 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43832 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43833 tidying. Don't tail-call __sigjmp_save for static lib.
43834 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43835 save location.
43836 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43837 (CALL_MCOUNT): Add eh info, and nop after bl.
43838 (TAIL_CALL_SYSCALL_ERROR): New macro.
43839 (PSEUDO_RET): Use it.
43840 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43841 Correct save location of integer regs and cr.
43842 (_dl_profile_resolve): Correct cr save location. Delete nops
43843 after bl when SHARED. Reduce cfi size a little by better
43844 placement of cfi directives.
43845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43846 make a stack frame. Instead use parm save area as a temp.
43847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43848 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43850 Don't make a stack frame for parent, use parm save area.
43851 Increase child stack frame to 112 bytes. Don't save unused reg,
43852 and adjust reg usage. Set up cfi on error recovery and
43853 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43855 (__makecontext): Add dummy nop after jump to exit.
43856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43857 Use correct parm save area and cr save, reduce stack frame.
43858 Correct cfi for possible PSEUDO_RET frame setup.
43859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43860 Branch to local label emitted by PSEUDO_RET rather than
43861 __syscall_error.
43862
438632010-08-12 Andreas Schwab <schwab@redhat.com>
43864
43865 [BZ #11904]
43866 * locale/programs/locale.c (print_assignment): New function.
43867 (show_locale_vars): Use it.
43868
438692010-08-11 Ulrich Drepper <drepper@redhat.com>
43870
43871 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43872 field.
43873 (struct statfs64): Likewise.
43874 (_STATFS_F_FLAGS): Define.
43875 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43876 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43877 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43878 (ST_VALID): Define locally.
43879 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43880 __statvfs_getflags, use the provided value.
43881 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43882 __ASSUME_STATFS_F_FLAGS.
43883
43884 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43885
43886 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43887 Add sys/fanotify.h.
43888 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43889 fanotify_mask for GLIBC_2.13.
43890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43891 fanotify_init and fanotify_mark.
43892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43893 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43894
43895 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43896 Add prlimit.
43897 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43898 prlimit64 for GLIBC_2.13.
43899 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43900 prlimit64.
43901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43902 syscall.
43903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43904 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43905 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43906 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43908 add prlimit alias.
43909 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43910
43911 [BZ #11903]
43912 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43913 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43914
43915 * nss/Makefile: Add rules to build and run tst-nss-test1.
43916 * shlib-versions: Add entry for libnss_test1.
43917 * nss/nss_test1.c: New file.
43918 * nss/tst-nss-test1.c: New file.
43919
43920 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43921 (__nss_configure_lookup): Set appropriate entry in
43922 __nss_configure_lookup to true.
43923 * nss/nsswitch.h: Define enum with indeces of databases in
43924 databases and __nss_database_custom arrays. Declare
43925 __nss_database_custom.
43926 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43927 to avoid using nscd when custom rules are installed.
43928 * nss/getXXbyYY_r.c: Likewise.
43929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43930
43931 * nss/nss_files/files-parse.c: Whitespace fixes.
43932
439332010-08-09 Ulrich Drepper <drepper@redhat.com>
43934
43935 [BZ #11883]
43936 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43937 * posix/fnmatch_loop.c: Likewise.
43938
439392010-07-17 Andi Kleen <ak@linux.intel.com>
43940
43941 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43942 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43943 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43944 * Versions.def [GLIBC_2.13]: Add.
43945
439462010-08-06 Ulrich Drepper <drepper@redhat.com>
43947
43948 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43949 Also fail if tpwd after pwuid call is NULL.
43950
439512010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43952
43953 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43954 when converting to ms.
43955
439562010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43957
43958 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43959 EOPNOTSUPP errors with ENOTTY.
43960 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43961 EOPNOTSUPP errors with ENOTTY.
43962
439632010-07-31 Ulrich Drepper <drepper@redhat.com>
43964
43965 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43966 Add strcasecmp_l-ssse3.
43967 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43968 strcasecmp.
43969 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43970 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43971 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43972
439732010-07-30 Ulrich Drepper <drepper@redhat.com>
43974
43975 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43976
43977 * string/Makefile (strop-tests): Add strcasecmp.
43978 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43979 strcasecmp_l-nonascii.
43980 (gen-as-const-headers): Add locale-defines.sym.
43981 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43982 * sysdeps/x86_64/strcasecmp.S: New file.
43983 * sysdeps/x86_64/strcasecmp_l.S: New file.
43984 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43985 * sysdeps/x86_64/locale-defines.sym: New file.
43986 * string/test-strcasecmp.c: New file.
43987
43988 * string/test-strcasestr.c: Test both ends of the range of characters.
43989 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43990
439912010-07-29 Roland McGrath <roland@redhat.com>
43992
43993 [BZ #11856]
43994 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43995
439962010-07-27 Ulrich Drepper <drepper@redhat.com>
43997
43998 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43999 for ld.so.
44000
440012010-07-27 Andreas Schwab <schwab@redhat.com>
44002
44003 * manual/memory.texi (Malloc Tunable Parameters): Document
44004 M_PERTURB.
44005
440062010-07-26 Roland McGrath <roland@redhat.com>
44007
44008 [BZ #11840]
44009 * configure.in (-fgnu89-inline check): Set and substitute
44010 gnu89_inline, not libc_cv_gnu89_inline.
44011 * configure: Regenerated.
44012 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44013
440142010-07-26 Ulrich Drepper <drepper@redhat.com>
44015
44016 * string/test-strnlen.c: New file.
44017 * string/Makefile (strop-tests): Add strnlen.
44018 * string/tester.c (test_strnlen): Add a few more test cases.
44019 * string/tst-strlen.c: Better error reporting.
44020
44021 * sysdeps/x86_64/strnlen.S: New file.
44022
440232010-07-24 Ulrich Drepper <drepper@redhat.com>
44024
44025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44026 lower-latency instructions.
44027
440282010-07-23 Ulrich Drepper <drepper@redhat.com>
44029
44030 * string/test-strcasestr.c: New file.
44031 * string/test-strstr.c: New file.
44032 * string/Makefile (strop-tests): Add strstr and strcasestr.
44033 * string/str-two-way.h: Don't undefine MAX.
44034 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44035
440362010-07-21 Andreas Schwab <schwab@redhat.com>
44037
44038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44039 strcasestr-nonascii.
44040 (CFLAGS-strcasestr-nonascii.c): Define.
44041 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44043 Remove unused attribute.
44044
440452010-07-20 Roland McGrath <roland@redhat.com>
44046
44047 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44048 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
44049 ld.so.cache was broken. With it, there is no way to disable dsocaps
44050 like LD_HWCAP_MASK can disable hwcaps.
44051
440522010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44053
44054 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44055
440562010-07-16 Ulrich Drepper <drepper@redhat.com>
44057
44058 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44059 call in strcasestr.
44060 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44061 __strcasestr_sse42_nonascii.
44062 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44063 strcasestr-nonascii.c.
44064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44065
440662010-06-15 Luis Machado <luisgpm@br.ibm.com>
44067
44068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44070 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44071 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44072
440732010-07-09 Ulrich Drepper <drepper@redhat.com>
44074
44075 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44076 fcntl.
44077
440782010-07-06 Andreas Schwab <schwab@redhat.com>
44079
44080 [BZ #11577]
44081 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44082 dl_signal_cerror.
44083
440842010-07-06 Ulrich Drepper <drepper@redhat.com>
44085
44086 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44087 _PC_PIPE_BUF using F_GETPIPE_SZ.
44088
440892010-07-05 Roland McGrath <roland@redhat.com>
44090
44091 * manual/arith.texi (Rounding Functions): Fix rint description
44092 implicit in round description.
44093
440942010-07-02 Ulrich Drepper <drepper@redhat.com>
44095
44096 * elf/Makefile: Fix linking for a few tests to make recent linker
44097 happy.
44098
440992010-06-30 Andreas Schwab <schwab@redhat.com>
44100
44101 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44102 $(common-objpfx)libc_nonshared.a.
44103
441042010-06-21 Luis Machado <luisgpm@br.ibm.com>
44105
44106 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44107 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44108 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44109 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44110 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44111 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44112 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44113 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44128 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44129 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44130 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44131 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44132 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44133 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44134 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44135 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44136 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44137 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44138 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44139 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44154
441552010-06-25 H.J. Lu <hongjiu.lu@intel.com>
44156
44157 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44158 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
44159 * string/memmove.c (memmove): Renamed to ...
44160 (MEMMOVE): ...this. Default to memmove.
44161 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44162 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44163 (END_CHK): Define.
44164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44165 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44166 mempcpy-ssse3-back memmove-ssse3-back.
44167 * sysdeps/x86_64/multiarch/bcopy.S: New file .
44168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44170 * sysdeps/x86_64/multiarch/memcpy.S: New file.
44171 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44172 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44173 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44174 * sysdeps/x86_64/multiarch/memmove.c: New file.
44175 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44176 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44177 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44178 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44181 Define.
44182 (index_Fast_Copy_Backward): Define.
44183 (HAS_ARCH_FEATURE): Define.
44184 (HAS_FAST_REP_STRING): Define.
44185 (HAS_FAST_COPY_BACKWARD): Define.
44186
441872010-06-21 Andreas Schwab <schwab@redhat.com>
44188
44189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44190 Restore proper fallback handling.
44191
441922010-06-19 Ulrich Drepper <drepper@redhat.com>
44193
44194 [BZ #11701]
44195 * posix/group_member.c (__group_member): Correct checking loop.
44196
44197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44198 OOM in getpwuid_r correctly. Return error number when the caller
44199 should return, otherwise -1.
44200 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44201 call returning > 0 value.
44202 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44203
442042010-06-07 Andreas Schwab <schwab@redhat.com>
44205
44206 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44207 libc_nonshared.a from targets in modules-names.
44208
442092010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
44210
44211 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44212 requires it.
44213
442142010-06-10 Luis Machado <luisgpm@br.ibm.com>
44215
44216 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44217 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44220
442212010-06-02 Andreas Schwab <schwab@redhat.com>
44222
44223 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44224
442252010-06-14 Ulrich Drepper <drepper@redhat.com>
44226
44227 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44228 and F_GETPIPE_SZ.
44229 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44235
442362010-06-14 Roland McGrath <roland@redhat.com>
44237
44238 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44239
442402010-06-07 Jakub Jelinek <jakub@redhat.com>
44241
44242 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44243 __REDIRECT followed by __THROW.
44244 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44245 * posix/getopt.h (getopt): Likewise.
44246
442472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
44248
44249 * hurd/lookup-at.c (__file_name_lookup_at): Accept
44250 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
44251 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44252 in AT_FLAGS.
44253 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44254 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44255
442562010-05-28 Luis Machado <luisgpm@br.ibm.com>
44257
44258 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44259
442602010-05-26 H.J. Lu <hongjiu.lu@intel.com>
44261
44262 [BZ #11640]
44263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44264 Properly check family and model.
44265
442662010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
44267
44268 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44269
442702010-05-24 Luis Machado <luisgpm@br.ibm.com>
44271
44272 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44273
442742010-05-21 Ulrich Drepper <drepper@redhat.com>
44275
44276 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44277 symbol reference.
44278
442792010-05-19 Andreas Schwab <schwab@redhat.com>
44280
44281 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44282 symbol reference.
44283
442842010-05-21 Andreas Schwab <schwab@redhat.com>
44285
44286 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44287 and internal_recvmmsg.
44288 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44289 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44291 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44292
44293 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44294 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44295 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44296
442972010-05-20 Andreas Schwab <schwab@redhat.com>
44298
44299 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44300
443012010-05-17 Luis Machado <luisgpm@br.ibm.com>
44302
44303 POWER7 optimizations.
44304 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44305 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44306
443072010-05-19 Ulrich Drepper <drepper@redhat.com>
44308
44309 * version.h: Update for 2.13 development version.
44310
443112010-05-12 Andrew Stubbs <ams@codesourcery.com>
44312
44313 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44314 exceptions. Return 0.
44315
443162010-05-07 Roland McGrath <roland@redhat.com>
44317
44318 * elf/ldconfig.c (main): Add a const.
44319
443202010-05-06 Ulrich Drepper <drepper@redhat.com>
44321
44322 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44323 (args_options): Add no-idn option.
44324 (ahosts_keys_int): Add idn_flags to ai_flags.
44325 (parse_option): Handle 'i' option to clear idn_flags.
44326
44327 * malloc/malloc.c (_int_free): Possible race in the most recently
44328 added check. Only act on the data if no current modification
44329 happened.
44330
44331See ChangeLog.17 for earlier changes.